From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrejs Cainikovs Date: Tue, 07 Oct 2008 15:41:25 +0300 Subject: [U-Boot] Run hello world with Uboot ! In-Reply-To: <19851315.post@talk.nabble.com> References: <19851315.post@talk.nabble.com> Message-ID: <48EB58F5.3060601@GlobalAutomationSystems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de http://www.denx.de/wiki/DULG/UBootStandalone Kind regards, Andrejs Cainikovs thaoth wrote: > Hi, > > I'm working on SH7727?T-Engine Board (MS7727CP02)(sh3) and I'm trying to > load Hello World example in U-boot (use Serial, ymodem and hello_world.bin), > ... > => loady 0x8e000000 > ## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps... > CCCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 5 retries > ## Total Size = 0x000112ec = 70380 Bytes > => go 0x8e000000 > ## Starting application at 0x8E000000 ... > ... > but my board reset when I run Hello world. I also try with hello_world.srec > (serial, Kermit mode) and an uboot image: > "mkimage -A sh -O u-boot -T standalone -C none -a 0x8c000000 -e 0x8c000000 > -n 'Hello Image' -d examples/hello_world hello.img" > ... > => loady > ## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps... > CCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 4 retries > ## Total Size = 0x0001132c = 70444 Bytes > => bootm 0x8e000000 > * kernel: cmdline image address = 0x8e000000 > ## Booting kernel from Legacy Image at 8e000000 ... > Image Name: Hello Image > Image Type: SuperH U-Boot Standalone Program (uncompressed) > Data Size: 70380 Bytes = 68.7 kB > Load Address: 8c000000 > Entry Point: 8c000000 > Verifying Checksum ... OK > Wrong Image Type for bootm command > ERROR: can't get kernel image! > ... > Could you give me an advice? > I think i have wrong image format? But how can I get correct format ? > > Best regards. >