With the Speedway tutorial lab2_3, I am facing issues with ramdisk creation. I am booting from the SD card and get the following error message:
zynq-uboot>
U-Boot 2012.10 (Mar 02 2013 - 13:11:18)
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: SDHCI: 0
SF: Detected S25FL256S with page size 64 KiB, total 32 MiB
SF: Warning - Only lower 16MB is accessible in 3 byte addressing mode
In: serial
Out: serial
Err: serial
Net: zynq_gem
Hit any key to stop autoboot: 0
Copying Linux from SD to RAM...
Device: SDHCI
Manufacturer ID: 12
OEM: 3456
Name: SMI
Tran Speed: 50000000
Rd Block Len: 512
SD version 2.0
High Capacity: Yes
Capacity: 3.7 GiB
Bus Width: 4-bit
reading uImage
2883984 bytes read
reading devicetree.dtb
7284 bytes read
reading ramdisk32M.image.gz
** Unable to read "ramdisk32M.image.gz" from mmc 0:1 **
## Booting kernel from Legacy Image at 03000000 ...
Image Name: Linux-3.6.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2883920 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Wrong Ramdisk Image Format
Ramdisk image is corrupt or invalid
------------------------------------------
If I print the environment variables this is what I see:
zynq-uboot>
zynq-uboot> printenv
baudrate=115200
bootcmd=run modeboot
bootdelay=3
devicetree_image=devicetree.dtb
devicetree_size=0x20000
ethact=zynq_gem
ethaddr=00:0a:35:00:01:22
fdt_high=0x20000000
filesize=88C08C
initrd_high=0x20000000
ipaddr=192.168.0.99
jtagboot=echo TFTPing Linux to RAM...;tftp 0x3000000 ${kernel_image};tftp 0x2A00000 ${devicetree_image};tftp 0x2000000 ${ramdisk_image};bootm 0x3000000 0x2000000 0x2A00000
kernel_image=uImage
kernel_size=0x500000
modeboot=run sdboot
nandboot=echo Copying Linux from NAND flash to RAM...;nand read 0x3000000 0x100000 ${kernel_size};nand read 0x2A00000 0x600000 ${devicetree_size};echo Copying ramdisk...;nand read 0x2000000 0x620000 ${ramdisk_size};bootm 0x3000000 0x2000000 0x2A00000
norboot=echo Copying Linux from NOR flash to RAM...;cp 0xE2100000 0x3000000 ${kernel_size};cp 0xE2600000 0x2A00000 ${devicetree_size};echo Copying ramdisk...;cp 0xE2620000 0x2000000 ${ramdisk_size};bootm 0x3000000 0x2000000 0x2A00000
qspiboot=echo Copying Linux from QSPI flash to RAM...;sf probe 0 0 0;sf read 0x3000000 0x100000 ${kernel_size};sf read 0x2A00000 0x600000 ${devicetree_size};echo Copying ramdisk...;sf read 0x2000000 0x620000 ${ramdisk_size};bootm 0x3000000 0x2000000 0x2A00000
ramdisk_image=ramdisk32M.image.gz
ramdisk_size=0x2000000
sdboot=echo Copying Linux from SD to RAM...;mmcinfo;fatload mmc 0 0x3000000 ${kernel_image};fatload mmc 0 0x2A00000 ${devicetree_image};fatload mmc 0 0x2000000 ${ramdisk_image};bootm 0x3000000 0x2000000 0x2A00000
serverip=192.168.0.101
stderr=serial
stdin=serial
stdout=serial
Environment size: 1589/131068 bytes
I am a newbie to linux and will appreciate some help with this.
Thanks