From: Linus Walleij <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Nicolas Pitre <nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: David Brown <davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org>,
devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: Appended devicetree with Torvalds' HEAD
Date: Mon, 19 Sep 2011 09:48:23 +0200 [thread overview]
Message-ID: <CACRpkdZ9K8swOz_SS8LZnXrAUMWis1H5+vifsN3V82eoPhReCw@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1109181327000.20358-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
On Sun, Sep 18, 2011 at 7:31 PM, Nicolas Pitre <nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org> wrote:
> What I do to thest it here is along those lines:
>
> make <whatever_foo_defconfig_you_want>
> make zImage
> cat foobar.dtb >> arch/arm/boot/zImage
> make uImage
BTW this sequence does not work, and that is why I wrote the patch
attaching the DTB from a specified file in the first place.
After you have issued "cat foobar.dtb >> arch/arm/boot/zImage"
and you issue "make uImage" the zImage is rebuilt and
overwrites your zImage, since the timestamp changes.
So they mkimage command creating the uImage has to be
issued outside of the kernel build with
mkimage <various parameters> zImage uImage
Which is very inconvenient, but as I understood it, this was
intended.
Just making sure it is as inconvenient as you'd want it, and not
overly inconvenient...
For testing uImage I'm using my patch, of course, it's the easiest
way to get a uImage with attached device tree out. I guess
most people wanting to use uImages with attached trees will
use that out-of-tree patch too...
Linus Walleij
next prev parent reply other threads:[~2011-09-19 7:48 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 9:35 Appended devicetree with Torvalds' HEAD Linus Walleij
[not found] ` <CACRpkdb1iD2RkpmMkN1d5VNVr-M3KgrkE7Xg-Bxcr-xd2fcuPw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-06 12:28 ` Shawn Guo
2011-09-06 17:52 ` Nicolas Pitre
[not found] ` <alpine.LFD.2.00.1109061347410.20358-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2011-09-06 19:24 ` Linus Walleij
[not found] ` <CACRpkdZFT6+FNxupNT0xZN4ZvEx1rNF3=xiSo-0H4hOZwj4Ygg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-08 9:52 ` Linus Walleij
[not found] ` <CACRpkdZDxwkr4ybf6jWAAMpKd3MWfdi-p6uWR2tBx=h_=vkd1w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-08 16:35 ` Nicolas Pitre
[not found] ` <alpine.LFD.2.00.1109080927010.20358-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2011-09-08 21:46 ` Linus Walleij
2011-09-07 6:46 ` David Brown
2011-09-12 12:15 ` Linus Walleij
[not found] ` <CACRpkdaVL5L2-DR8gshN9b0sOn5rDY5QyP4fwZggXjFPmFr9-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-12 13:25 ` Nicolas Pitre
[not found] ` <20110912155414.GA28954@glitch.intra.local>
[not found] ` <20110912155414.GA28954-DoxiOL6zdryAm1IiwMqfSqzUEOm+Xw19@public.gmane.org>
2011-09-12 16:15 ` Nicolas Pitre
2011-09-13 18:42 ` David Brown
[not found] ` <20110913184207.GA20440-AOX6H5vLt3Uj8izMo0bVsAC/G2K4zDHf@public.gmane.org>
2011-09-18 10:34 ` Linus Walleij
[not found] ` <CACRpkdbvq2A_eJgCgq5JWgO-VDBd25D0qhrVTf9isnDxZ2k+4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-18 15:17 ` David Brown
[not found] ` <20110918151755.GA1426-AOX6H5vLt3Uj8izMo0bVsAC/G2K4zDHf@public.gmane.org>
2011-09-19 7:34 ` Linus Walleij
2011-09-18 17:31 ` Nicolas Pitre
[not found] ` <alpine.LFD.2.00.1109181327000.20358-QuJgVwGFrdf/9pzu0YdTqQ@public.gmane.org>
2011-09-19 7:39 ` Linus Walleij
2011-09-19 7:48 ` Linus Walleij [this message]
[not found] ` <CACRpkdZ9K8swOz_SS8LZnXrAUMWis1H5+vifsN3V82eoPhReCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-09-19 15:04 ` Nicolas Pitre
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=CACRpkdZ9K8swOz_SS8LZnXrAUMWis1H5+vifsN3V82eoPhReCw@mail.gmail.com \
--to=linus.walleij-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=davidb-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org \
--cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
--cc=nicolas.pitre-QSEj5FYQhm4dnm+yROfE0A@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).