Should "imls" show ramdisk_image.gz copied into the flash ?
=> tftpboot 200000 uimage
Using FCC2 ETHERNET device
TFTP from server 192.168.1.100; our IP address is 192.168.1.103 Filename "uimage".
Load address: 0x200000
Loading:
done
Bytes transferred = 864364 (d306c hex)
=> tftp 0x2c0000 ramdisk_image.gz
Using FCC2 ETHERNET device
TFTP from server 192.168.1.100; our IP address is 192.168.1.103 Filename 'ramdisk_image.gz'.
Load address: 0x2c0000
Loading: done
Bytes transferred = 1400198 (155d86 hex)
=> flinfo
Bank # 1: Sharp 28F016SC (16 Mbit, 32 x 64K)
Size: 8 MB in 32 Sectors
Sector Start Addresses:
FF800000 FF840000 FF880000 FF8C0000 FF900000
FF940000 FF980000 FF9C0000 FFA00000 FFA40000
FFA80000 FFAC0000 FFB00000 FFB40000 FFB80000
FFBC0000 FFC00000 FFC40000 FFC80000 FFCC0000
FFD00000 FFD40000 FFD80000 FFDC0000 FFE00000
FFE40000 FFE80000 FFEC0000 FFF00000 (RO) FFF40000 (RO)
FFF80000 FFFC0000=> imls
=> era FF800000 FFEBFFFF
........................... done
Erased 27 sectors
=> cp.b 0x2c0000 FF800000 155d86
Copy to Flash... done
=> imls
************* no output from "imls" **********
Should "imls" show the presence of the ramdisk_image.gz copied into the flash ?? (and I do not see it ...)(.
If above issue/question is resolved, I presume my next U-Boot command should be:
=> bootm 200000 FF800000
Am I guessing correctly ?
One more question - what bootargs I should preset in U-Boot for this scenario ?
Thanks,
Alex
________________________________________________________________
Get your name as your email address.
Includes spam protection, 1GB storage, no ads and more Only $1.99/ month - visit http://www.mysite.com/name today!
Quoted 1 line · In message <[email protected]> you wrote:
...
Quoted 1 line
Should "imls" show the presence of the ramdisk_image.gz copied into the flash ?? (and I do not see it ...)(.
No, it should not. "imls" will only show valid U-Boot images.
ramdisk_image.gz is missing a valid U-boot header.
Quoted 5 lines
If above issue/question is resolved, I presume my next U-Boot command should be:
=> bootm 200000 FF800000
Am I guessing correctly ?
No. U-Boot will not use a ramdisk_image.gz image.
Quoted 1 line
One more question - what bootargs I should preset in U-Boot for this scenario ?
Whatever you like. The "root=/dev/ram" part is mandatory, of cource.
Best regards,
Wolfgang Denk
Signature · 6 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The Buddha, the Godhead, resides quite as comfortably in the circuits
of a digital computer or the gears of a cycle transmission as he does
at the top of a mountain or in the petals of a flower.
- R. Pirsig, "Zen and the Art of Motorcycle Maintenance"