Skip to contentSkip to conversation

Queston about Walnut

DISCUSSION Jacky Lam 2 participants 2 messages Oct 2, 2003

lore
Share & tools
lore

Jacky Lam

author
#0 lore raw

Dear all,

I get a IBM 405 GP evaluation board recently. After I compile the
toolchain and kernel 2.4.22 using the crosstools. I try to boot the kernel on the board by u-boot. I follow the instruction of uboot to create a uImage as follows:

powerpc-405-linux-gnu-objcopy -O binary -R .note -R .comment -S vmlinux
linux.bin
gzip -9 linux.bin
./mkimage -A ppc -O linux -T kernel -C gzip -a 0x00400000 -e
0x00400000 -n "test" -d linux.bin.gz uImage

and load the image by tftpboot. But after I type bootm, only the
following is displayed and the whole system hangs:

    ## Booting image at 00400000 ...
   Image Name:   test
   Created:      2003-10-02   8:51:50 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    612743 Bytes = 598.4 kB

Load Address: 00400000
Entry Point: 00400000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
<Hangs afterwards...>

I haven't modified any source yet. I don't know even it is needed. Could anyone kindly tell me what's wrong about my steps? Thanks so much.

Regards,
Jacky

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 5 lines · In message <012801c388c5$f4378540$2803050a@JackyLam> you wrote:

I get a IBM 405 GP evaluation board recently. After I compile the
toolchain and kernel 2.4.22 using the crosstools. I try to boot the kernel on the board by u-boot. I follow the instruction of uboot to create a uImage as follows:

Who gave you such (obviously wrong) instructions?

Quoted 7 lines
    ## Booting image at 00400000 ...
   Image Name:   test
   Created:      2003-10-02   8:51:50 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    612743 Bytes = 598.4 kB

Load Address: 00400000
Entry Point: 00400000

For PowerPC systems, both Load Address and Entry Point must be specified as 0.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] It may be that your whole purpose in life is simply to serve as a warning to others.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/