From: Timur Tabi <timur@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] What do I do if fdt_setprop() returns -FDT_ERR_NOSPACE?
Date: Fri, 07 Dec 2007 20:44:25 -0600 [thread overview]
Message-ID: <475A0509.8040703@freescale.com> (raw)
In-Reply-To: <4759BE83.7000402@ge.com>
Jerry Van Baren wrote:
> I would try 0x4000 and see if it works. :-)
I increased it to 0x8000 and it still didn't work. Something else must be
wrong. I noticed that no one else calls fdt_setprop_string(). Could you
please try using it yourself and see if you can get it to work?
Another possibility is that I'm creating the 'firmware' node wrong. I'm tryin
to create a new node called 'firmware' under the 'qe' node, and put some new
properties in it. I think my call to fdt_add_subnode() is right, because
/proc/device_tree shows it:
/proc/device-tree/qe at e0100000 # ls -l firmware/
-r--r--r-- 1 root root 9 Nov 12 20:34 name
I'm using the return value from fdt_add_subnode() as the second parameter to
fdt_setprop_string(). Is that right?
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2007-12-08 2:44 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-07 21:28 [U-Boot-Users] What do I do if fdt_setprop() returns -FDT_ERR_NOSPACE? Timur Tabi
2007-12-07 21:43 ` Jerry Van Baren
2007-12-08 2:44 ` Timur Tabi [this message]
2007-12-10 15:22 ` Kumar Gala
2007-12-10 19:04 ` Timur Tabi
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=475A0509.8040703@freescale.com \
--to=timur@freescale.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