Loading stage image. Check CBFS header at <hangs here>
Normally a hang here means that the whole ROM isn't mapped, so trying to read from the top of the ROM hangs, even though the bootblock accesses work fine.
Yup, sounds like that's the problem. Here's a quick patch to fix it by adding a rom_enable() function (and converting VT8231 to TINYBOOTBLOCK) while I'm at it. The only problem: It won't compile ;)
No time to investigate right now, if someone else sees the problem, please feel free to fix and commit. Probably just some missing "#if defined(ROMCC)" or the like.
I just simplified the patch. TINYBOOTBLOCK can come later.
It compiles.
Signed-off-by: Myles Watson mylesgw@gmail.com
Thanks, Myles