From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] fdt problem
Date: Tue, 15 Mar 2016 13:34:37 +0800 [thread overview]
Message-ID: <20160315053435.GA18926@linux-7smt.suse> (raw)
In-Reply-To: <CAFwQ9hH=d5ob2MymXXjeSbonzMRRzRZw43-PFrwtbfipaSw0yQ@mail.gmail.com>
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
next prev parent reply other threads:[~2016-03-15 5:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-14 9:21 [U-Boot] fdt problem Safa Hamza
2016-03-15 5:34 ` Peng Fan [this message]
[not found] ` <CAFwQ9hGq_CXGifLfs6Fwrnd-07ju5w9KiObyUvOPFSYN19Cwxg@mail.gmail.com>
2016-03-17 2:08 ` Peng Fan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160315053435.GA18926@linux-7smt.suse \
--to=van.freenix@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox