* [U-Boot] fdt problem @ 2016-03-14 9:21 Safa Hamza 2016-03-15 5:34 ` Peng Fan 0 siblings, 1 reply; 3+ messages in thread From: Safa Hamza @ 2016-03-14 9:21 UTC (permalink / raw) To: u-boot 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 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 ?? ^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] fdt problem 2016-03-14 9:21 [U-Boot] fdt problem Safa Hamza @ 2016-03-15 5:34 ` Peng Fan [not found] ` <CAFwQ9hGq_CXGifLfs6Fwrnd-07ju5w9KiObyUvOPFSYN19Cwxg@mail.gmail.com> 0 siblings, 1 reply; 3+ messages in thread From: Peng Fan @ 2016-03-15 5:34 UTC (permalink / raw) To: u-boot 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <CAFwQ9hGq_CXGifLfs6Fwrnd-07ju5w9KiObyUvOPFSYN19Cwxg@mail.gmail.com>]
* [U-Boot] fdt problem [not found] ` <CAFwQ9hGq_CXGifLfs6Fwrnd-07ju5w9KiObyUvOPFSYN19Cwxg@mail.gmail.com> @ 2016-03-17 2:08 ` Peng Fan 0 siblings, 0 replies; 3+ messages in thread From: Peng Fan @ 2016-03-17 2:08 UTC (permalink / raw) To: u-boot On Tue, Mar 15, 2016 at 09:27:51AM +0100, Safa Hamza wrote: >the same problem ... but when i wrote fdt resize before?U-Boot# fdt mknode / >chosen modules no error appeared? >is that right ? Yeah. correct. "fdt mknode /xxx" needs more space, so need to first "fdt addr xxx [0x100000]", then "fdt resize", then "mknode" Regards, Peng. > >On Tue, Mar 15, 2016 at 6:34 AM, Peng Fan <van.freenix@gmail.com> wrote: > > 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 > > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-03-17 2:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-14 9:21 [U-Boot] fdt problem Safa Hamza
2016-03-15 5:34 ` Peng Fan
[not found] ` <CAFwQ9hGq_CXGifLfs6Fwrnd-07ju5w9KiObyUvOPFSYN19Cwxg@mail.gmail.com>
2016-03-17 2:08 ` Peng Fan
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox