From: Walter Goossens <waltergoossens-CmkmPbn3yAE@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Cc: nios2-dev <nios2-dev-1eJk0qcHJCcaeqlQEoCUNoJY59XmG8rH@public.gmane.org>
Subject: Re: Device tree flattening code not copying properties from blob
Date: Wed, 12 Jun 2013 21:12:39 +0200 [thread overview]
Message-ID: <51B8C827.7060704@home.nl> (raw)
In-Reply-To: <CACxGe6urthkotuwU2OtqEMn8WmBxU=hSmrKyffHR=Pbayo_HKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 06/12/13 20:23, Grant Likely wrote:
> On Wed, Jun 12, 2013 at 6:33 PM, Collins, Rod
> <Rod.Collins-eu1g02Y2shuDvotElmWtJA@public.gmane.org> wrote:
>> The blob is built into the zImage.initramfs.gz image which is put into
>> flash. The zImage.initramfs.gz is self copied from flash to RAM, then
>> uncompressed to the running area. I will dig into the location of the
>> blob in the image and report back.
> Thanks. If it is appended to the zImage wrapper, then things should be
> fine (this is the expected way to do when not passed in from the
> bootloader). If a *.dtb.o target has been used to embedded it into the
> kernel-proper (vmlinux) then you will have a problem. The *.dtb.S
> target puts the dtb data into the dtb.init.rodata section which gets
> discarded.
>
> g.
Hi Grant,
you're right that's exactly what nios2 is doing...
I guess we could modify the section where it gets loaded but that sounds
to me a bit like a hack... What is the best target to look at for a
clean, similar solution? Arm with CONFIG_ARM_APPENDED_DTB?
Walter
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
>
next prev parent reply other threads:[~2013-06-12 19:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-12 14:32 Device tree flattening code not copying properties from blob Collins, Rod
[not found] ` <8BE8E6569B96CE4AA5EDE9F8314B7FB1EEF696-gEjpXB0kThW1wM3WIAwN2vV4jgPAACGKVpNB7YpNyf8@public.gmane.org>
2013-06-12 16:02 ` Grant Likely
[not found] ` <CACxGe6sdsXp0g9MJ2npupQedXpnge7kp_v=BqnErf+J6oXnyeg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-12 17:33 ` Collins, Rod
[not found] ` <8BE8E6569B96CE4AA5EDE9F8314B7FB1EEF722-gEjpXB0kThW1wM3WIAwN2vV4jgPAACGKVpNB7YpNyf8@public.gmane.org>
2013-06-12 18:23 ` Grant Likely
[not found] ` <CACxGe6urthkotuwU2OtqEMn8WmBxU=hSmrKyffHR=Pbayo_HKg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-12 19:12 ` Walter Goossens [this message]
[not found] ` <51B8C827.7060704-CmkmPbn3yAE@public.gmane.org>
2013-06-12 23:21 ` [Nios2-dev] Device tree flattening code not copying propertiesfrom blob Collins, Rod
2013-06-15 13:14 ` Device tree flattening code not copying properties from blob Grant Likely
2013-06-15 18:59 ` Walter Goossens
[not found] ` <51BCB9A9.4040707-CmkmPbn3yAE@public.gmane.org>
2013-06-15 19:46 ` Grant Likely
2013-06-13 22:49 ` Collins, Rod
[not found] ` <8BE8E6569B96CE4AA5EDE9F8314B7FB1EEF975-gEjpXB0kThW1wM3WIAwN2vV4jgPAACGKVpNB7YpNyf8@public.gmane.org>
2013-06-13 23:47 ` Grant Likely
[not found] ` <CACxGe6s+Br8mYDfULsDcA9Ym3mqtyXZ41uK1un-nzcZH0BHtDg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-06-14 15:55 ` Collins, Rod
[not found] ` <8BE8E6569B96CE4AA5EDE9F8314B7FB1EEFA19-gEjpXB0kThW1wM3WIAwN2vV4jgPAACGKVpNB7YpNyf8@public.gmane.org>
2013-06-15 19:53 ` Grant Likely
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=51B8C827.7060704@home.nl \
--to=waltergoossens-cmkmpbn3yae@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=nios2-dev-1eJk0qcHJCcaeqlQEoCUNoJY59XmG8rH@public.gmane.org \
/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;
as well as URLs for NNTP newsgroup(s).