objdump -D Release/tinyloader.bin --target=binary --architecture=xscale
The -D option is key. You can't use -d, since you are starting with a binary file that has no sections. The -D option ignores sections and disassembled everything.
Daily log of firmware development issues and how I fixed them. Hopefully useful to the worldwide community.
objdump -D Release/tinyloader.bin --target=binary --architecture=xscale
use File::Basename;
use Win32::Sound;
my $wavfile = dirname($INC{"Scream.pm"})."/argh.wav";
Win32::Sound::Play($wavfile);
; --- Enable 96K of RAM & Enable DTCM & AHB wait-states, disable PFQ/BC until it is flushed. The bootloader has cached the IRQ already and that is BAD!
LDR R0, = SCU_BASE_Address
LDR R1, = 0x0196 ; not 0x0191 as in other boot code!
STR R1, [R0, #SCU_SCR0_OFST]
SCU_PFQBCCmd(ENABLE); // Enabled Branch Cache feature of STR91x.