From: Frank R. <fr...@ya...> - 2008-08-19 17:47:35
|
try: GUM>setenv bootcmd "icache on; katload 100000 && bootm" then GUM>bootd if it boots, go back to the GUM command line....same command as above...but run saveenv before bootd --- On Tue, 8/19/08, Chuck Randall <shi...@ro...> wrote: From: Chuck Randall <shi...@ro...> Subject: [Gumstix-users] "bad magic number" after reflash of connex To: "General mailing list for gumstix users." <gum...@li...> Date: Tuesday, August 19, 2008, 1:17 PM I just reflashed my connex-400xm with a newly built gumstix-basic- image. Now I get a "bad magic number" when I try to boot it. What could have gone wrong? The log of the reflash procedure is show below. Chuck U-Boot 1.2.0 (May 10 2008 - 13:33:03) - 400 MHz - 1604 *** Welcome to Gumstix *** DRAM:64 MB Flash: 16 MB Using default environment SMC91C1111-0 Net: SMC91C1111-0 Hit any key to stop autoboot: 0 Instruction Cache is ON Copying kernel to 0xa2000000 from 0x00f00000 (length 0x00100000)...done ## Booting image at a2000000 ... Bad Magic Number GUM> mmcinit Detected: 1970176 blocks of 1024 bytes (1924MB) MMC card. Vendor: Man 1e OEM ffff "MMC " Date 05/2008 Product: 479 Revision: N/A GUM> fatls mmc 1 8943420 rootfs 1041360 uimage 2 file(s), 0 dir(s) GUM> fatload mmc 1 a20000000 rootfs reading rootfs 8943420 bytes read GUM> protect on 1:0-1 Protect Flash Sectors 0-1 in Bank # 1 .. done GUM> erase all Erase Flash Bank # 1 - Warning: 2 protected sectors will not be erased! ............................................................................... done GUM> cp.b a20000000 40000 ${filesize} Copy to Flash... done GUM> fatload mmc 1 a20000000 uimage reading uimage 1041360 bytes read GUM> katinstall 100000 Copying kernel from 0xa2000000 to 0x00f00000 (length 0x00100000)...Erasing... ........ done Erased 8 sectors Writing...done GUM> katload 100000 Copying kernel to 0xa2000000 from 0x00f00000 (length 0x00100000)...done GUM> bootm ## Booting image at a2000000 ... Bad Magic Number GUM> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |