EAX=00000004 EBX=00000000 ECX=00000000 EDX=00000001 ESI=00000000 EDI=00000000 EBP=ffef7fe8 ESP=ffef7fb8 EIP=0009ff66
So code at 9ff66 is trying to jump to a0000. This is all sorts of wrong. Start by looking at what is going on at 9ff66. Obviously make sure that your toolchain is working. I believe VIA startup has some assembly. Verify that your disassembled binaries have 1:1 of the source. All basic bringup.
I will check this.
It could be something wrong in
src/cpu/via/car/cache_as_ram.inc
Here are my bases and sizes, always default
CONFIG_DCACHE_RAM_BASE=0xffef0000 CONFIG_DCACHE_RAM_SIZE=0x8000 CONFIG_XIP_ROM_SIZE=0x100000 CONFIG_XIP_ROM_BASE=0xfff00000 CONFIG_RAMTOP=0x200000 CONFIG_RAMBASE=0x100000
In this file are many calculations, but my assembler lessons are ten years ago :)
thanks chris