From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 2/3] Add LINUX_DIR to EXTRA_ENV for use in post-build scripts
Date: Sat, 18 Mar 2017 15:31:36 +0100 [thread overview]
Message-ID: <20170318153136.5f460040@free-electrons.com> (raw)
In-Reply-To: <78a51dc2-e493-4b74-bd65-0e3f579ebba7@mind.be>
Hello,
On Sat, 18 Mar 2017 14:59:35 +0100, Arnout Vandecappelle wrote:
> > What about instead using BR2_LINUX_KERNEL_VMLINUX_BIN, to get
> > vmlinux.bin copied to output/images, and then compress it in the
> > post-build script ?
>
> I considered that in one of my reviews, but vmlinux.bin doesn't contain the
> load and start address. The post-build script would have to retrieve those in
> some other way.
vmlinux.bin.gz also does not contain the load/start address. Only
uImage does, and they get them from uImage.
So one possibility would be to make the Linux package behave like the
U-Boot package: instead of having a choice...endchoice for the image
format to install, you simply have a list of options so that you can
select several of them.
> However, Abhimanyu reported that there is upstream support for generating a
> fitImage in the kernel build itself. That's of course preferable...
Yes, it would be much better obviously.
Otherwise, hardcoding the load/start address in the .its.in file is
also good enough, this file is anyway board-specific.
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-03-18 14:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-16 11:43 [Buildroot] [PATCH v4 1/3] uccp420wlan: new package Abhimanyu V
2017-03-16 11:43 ` [Buildroot] [PATCH v4 2/3] Add LINUX_DIR to EXTRA_ENV for use in post-build scripts Abhimanyu V
2017-03-17 22:39 ` Arnout Vandecappelle
2017-03-18 13:23 ` Thomas Petazzoni
2017-03-18 13:59 ` Arnout Vandecappelle
2017-03-18 14:31 ` Thomas Petazzoni [this message]
2017-03-20 7:13 ` Abhimanyu V
2017-03-20 7:08 ` Abhimanyu V
2017-03-16 11:43 ` [Buildroot] [PATCH v4 3/3] Add defconfig for MIPS Creator ci40 Abhimanyu V
2017-03-17 22:36 ` [Buildroot] [PATCH v4 1/3] uccp420wlan: new package Arnout Vandecappelle
2017-03-18 14:34 ` Thomas Petazzoni
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=20170318153136.5f460040@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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