[meta-xilinx] Wrong Image Format for bootm command
Edward Vidal
vidal.develone at gmail.com
Fri Jan 31 08:02:13 PST 2014
Hello,
Does anyone have sound working on zedboard with the 3.10 kernel?
After getting core-image-minimal working on a vfat partition. I am trying a
core-image-sato
Is the file
core-image-sato-zedboard-zynq7-20140130183221.rootfs.ext2.gz.u-boot -->
uramdisk.image.gz needed when the rootfs is extracted to ext2 or ext4
partition?
>From the file
uImage--3.10-xilinx+gitefc27505715e64526653f35274717c0fc56491e3-r1-zedboard-zynq7-mmcblk0p2-20140130012558.dtb
I see the bootargs below.
bootargs = "console=ttyPS0,115200 root=/dev/mmcblk0p2 ro earlyprintk";
U-Boot 2013.07 (Jan 29 2014 - 10:07:38)
Memory: ECC disabled
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: zynq_sdhci: 0
SF: Detected S25FL256S_64K with page size 64 KiB, total 32 MiB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: Gem.e000b000
Hit any key to stop autoboot: 3 2 1 0
Device: zynq_sdhci
Manufacturer ID: 2
OEM: 544d
Name: SA32G
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 29.3 GiB
Bus Width: 4-bit
reading uEnv.txt
** Unable to read file uEnv.txt **
Copying Linux from SD to RAM...
reading uImage
2985240 bytes read in 466 ms (6.1 MiB/s)
reading devicetree.dtb
23080 bytes read in 20 ms (1.1 MiB/s)
reading uramdisk.image.gz
48036327 bytes read in 7243 ms (6.3 MiB/s)
Wrong Image Format for bootm command
ERROR: can't get kernel image!
zynq-uboot>
I did the following at the uboot cmd line.
fatload mmc 0 0x00008000 uImage
fatload mmc 0 0x2A00000 devicetree.dtb
fatload mmc 0 0x2000000 uramdisk.image.gz
bootm 0x00008000 0x2000000 0x2A00000
## Booting kernel from Legacy Image at 00008000 ...
Image Name: Linux-3.10.0-xilinx
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2985176 Bytes = 2.8 MiB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 02000000 ...
Image Name: core-image-sato-zedboard-zynq7-2
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 48036263 Bytes = 45.8 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree
Any and all help is appreciated.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-xilinx/attachments/20140131/632a59c0/attachment.html>
More information about the meta-xilinx
mailing list