Fixed
Created: Aug 1, 2014
Updated: Dec 3, 2018
Resolved Date: Aug 1, 2014
Previous ID: LIN7-349
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async
Problem Description
======================
The lsi-axm55xx can't be booted from u-boot's ramdisk image.
The boot error looks like:
=> bootm 0x4000000 0x10000000 0x4600000
bootm 0x4000000 0x10000000 0x4600000
## Booting kernel from Legacy Image at 04000000 ...
Image Name: Linux-3.10.38-ltsi-WR7.0.0.0_sta
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4198616 Bytes = 4 MiB
Load Address: 00408000
Entry Point: 00408000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 10000000 ...
Image Name: wrlinux-image-glibc-small-lsi-ax
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 11972608 Bytes = 11.4 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 04600000
Booting using the fdt blob at 0x04600000
Loading Kernel Image ... OK
OK
reserving fdt memory region: addr=0 size=400000
ERROR: Failed to allocate 0xb6b000 bytes below 0xffffffff.
ramdisk - allocation error
FDT creation failed! hanging...### ERROR ### Please RESET the board ###
Expected Behavior
======================
Boot lsi-axm55xx-glibc-small-standard-dist.cpio.u-boot
Observed Behavior
======================
The cpio.u-boot image (and other u-boot images) can't be loaded on lsi-axm55xx board.
Logs
======================
Attached.
Misc Info
======================
The u-boot ramdisk images can be booted on fsl-b4xxx target.
:lsi-axm55xx-standard-glibc-small> cat config.log
# Generated by wrlinux configure at Thu Jul 17 13:48:22 CST 2014
/buildarea1/product/wrlinux-x/wrlinux/configure --enable-board=lsi-axm55xx --enable-kernel=standard --enable-rootfs=glibc-small --enable-bootimage=cpio.bz2.u-boot,cpio.gz.u-boot,cpio.lzma.u-boot,cpio.u-boot,ext2.bz2.u-boot,ext2.gz.u-boot,ext2.lzma.u-boot,ext2.u-boot,ext3.bz2.u-boot,ext3.gz.u-boot,ext3.lzma.u-boot,ext3.u-boot,ext4.bz2.u-boot,ext4.gz.u-boot,ext4.lzma.u-boot,ext4.u-boot --enable-parallel-pkgbuilds=8 --enable-jobs=8 --with-sstate-dir=/buildarea1/build/SSTATE --with-rcpl-version=0
make fs
boot target
load kernel image
load dtb image
load u-boot ramdisk image
boot