On 29.02.2012, at 20:55, Alexander Graf wrote:
On 29.02.2012, at 20:26, Guillaume Gardet wrote:
Le 27/02/2012 22:01, Alexander Graf a écrit :
On 27.02.2012, at 20:05, Guillaume Gardet wrote:
[...]
No. My previous trick no more works. Well, I tried another thing. I dd if=/dev/zero to erase the first sectors to be sure to have a good card to start and then dd the raw image. Then I tried to boot and get a "60" on the serial port which means no suitable MLO where found where it is ecpected! Hrm - weird. Could you please try to dd if=/dev/zero the first couple MB and then just dd MLO straight into offset 128kb? Try again for offset 0.
With openSUSE MLO it boots something (since it does not try UART boot, which print 60) but nothing is printed on screen (crash?). With the openSUSE sources and patches with a code sourcery toolchain, I get a running MLO. So, it should be a problem with the toolchain or some optimisations flag (which are not supported by beagleboard?).
Very interesting. What I'm still not grasping is why you actually had a booting x-loader a while back.
Ok, so I have good and bad news on this. The good news is, it breaks in QEMU the same way. The bad news is, it breaks :): R00=40014060 R01=40304350 R02=00000000 R03=00000000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000000 R13=4020fcb0 R14=00000000 R15=40014168 PSR=400001df -Z-- A sys32 ---------------- IN: 0x40014168: e240001c sub r0, r0, #28 ; 0x1c 0x4001416c: e1a0f001 mov pc, r1 R00=40014044 R01=40304350 R02=00000000 R03=00000000 R04=00000000 R05=00000000 R06=00000000 R07=00000000 R08=00000000 R09=00000000 R10=00000000 R11=00000000 R12=00000000 R13=4020fcb0 R14=00000000 R15=40304350 PSR=400001df -Z-- A sys32 qemu: fatal: Trying to execute code outside RAM or ROM at 0x40304350 Still need to figure out what exactly is going wrong there. But it's definitely the MLO code that's broken, not the boot rom. Alex -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org