[U-Boot] fdt problem

Peng Fan van.freenix at gmail.com
Tue Mar 15 06:34:37 CET 2016


Hi Safa,

Cc Xen experts, Ian.

On Mon, Mar 14, 2016 at 10:21:15AM +0100, Safa Hamza wrote:
>i'm trying to run xen on omap5 ..but i get a problem while doing this
>libfdt fdt_setprop(): FDT_ERR_NOSPACE
>
>******************************************************************************************
>U-Boot#  setenv dtb_addr_r 0x825f0000
>U-Boot# setenv xen_addr_r 0x90000000
>U-Boot# setenv kernel_addr_r 0xa0000000
>U-Boot# setenv xen_bootargs 'sync_console console=dtuart dtuart=serial2'
>U-Boot#  setenv dom0_bootargs 'console=hvc0,115200n8 earlyprintk=xen debug
>ignore_loglevel root=/dev/mmcblk0p2 rw rootwait fixrtc'
>U-Boot# fatload mmc 0:1 $dtb_addr_r omap5-uevm.dtb
>reading omap5-uevm.dtb
>44836 bytes read in 7 ms (6.1 MiB/s)
>U-Boot# fatload mmc 0:1 $xen_addr_r xen-uImage
>reading xen-uImage
>787372 bytes read in 43 ms (17.5 MiB/s)
>U-Boot#  fatload mmc 0:1 $kernel_addr_r zImage
>reading zImage
>4284248 bytes read in 212 ms (19.3 MiB/s)
>U-Boot# fdt addr $dtb_addr_r

I think you need to enlarge the space allocated to device tree.

Change "fdt addr $dtb_addr_r" to "fdt addr $dtb_addr_r 0x100000", then
have a try.

Regards,
Peng.

>U-Boot# fdt resize
>U-Boot# fdt set /chosen xen,xen-bootargs \"$xen_bootargs\"
>U-Boot# fdt resize
>U-Boot# fdt set /chosen xen,dom0-bootargs \"$dom0_bootargs\"
>U-Boot# fdt mknode /chosen modules
>libfdt fdt_add_subnode(): FDT_ERR_NOSPACE
>*********************************************************************************************
>how can i fix this ??
>_______________________________________________
>U-Boot mailing list
>U-Boot at lists.denx.de
>http://lists.denx.de/mailman/listinfo/u-boot


More information about the U-Boot mailing list