[U-Boot-Users] initrd

hi,
My own buildt U-boot runs on my evalboard. Now i ve downloaded the linuxppc_2_4_devel, have configured it for 8270 and builded it (with ELDK). How are the right steps for initializing the board with kernel and initrd? I thing it is: unlock ...... erase .... tftpboot 100000 kernelimage printenv filesize cp.b 100000 100000 filesize tftpboot 100000 uInitRD printenv filesize cp.b 100000 300000 filesize setenv bootm 100000 300000 saveenv bootm reset Can i do this like this way ???
Thanks Marco
--------- Marco Schramel R&D Bartec GmbH Schulstr. 30 94239 Gotteszell, Germany www.bartec.de Marco.Schramel@go.bartec.de Phone: +49 (0)9929/301332 Fax: +49 (0)9929/301112

Dear marco,
in message 200402251718.23099.Schramel.Linux@go.bartec.de you wrote:
My own buildt U-boot runs on my evalboard. Now i ve downloaded the linuxppc_2_4_devel, have configured it for 8270 and builded it (with ELDK). How are the right steps for initializing the board with kernel and initrd?
See http://www.denx.de/twiki/bin/view/DULG/LinuxRamdiskRoot (and previous sections).
unlock ......
What's "unlock" ?
erase .... tftpboot 100000 kernelimage printenv filesize cp.b 100000 100000 filesize
Makes no sense. Traget address should be != source address. Use "$(filesize)" instead of filesize.
tftpboot 100000 uInitRD printenv filesize cp.b 100000 300000 filesize
If you just copy from RAM to RAM then why not TFTP to 300000? Also, "$(filesize)" is required.
setenv bootm 100000 300000
This does not do what you think yo do. I guess what you want is more like
setenv bootcmd 'tftp 200000 kernelimage;tftp 300000 uInitRD;bootm 200000 300000'
saveenv bootm
Syntax error. "saveenv" does not take arguments.
Can i do this like this way ???
You _can_ do this, but it won't make you happy ;-)
Best regards,
Wolfgang Denk
participants (2)
-
Marco Schramel
-
Wolfgang Denk