From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Preliminary support for Raspberry Pi 3.
Date: Fri, 22 Apr 2016 22:38:29 +0200 [thread overview]
Message-ID: <87twits7ju.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20160422222551.700fdf70@free-electrons.com> (Thomas Petazzoni's message of "Fri, 22 Apr 2016 22:25:51 +0200")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
> Hello,
> On Fri, 22 Apr 2016 22:18:51 +0200, Peter Korsgaard wrote:
>> Thanks. Aren't these basically identical to the rpi1/rpi2 variants
>> (except for the genimage script)? Please rework it to simply add a
>> raspberrypi3 symlink like we do for raspberrypi2.
> Why do we even have a symlink? If all files are the same, why aren't we
> referencing board/raspberrypi/ files from the raspberrypi2_defconfig?
Because of some magic in post-image.sh that looks at the dirname to
figure out what genimage configuration to use:
BOARD_DIR="$(dirname $0)"
BOARD_NAME="$(basename ${BOARD_DIR})"
GENIMAGE_CFG="${BOARD_DIR}/genimage-${BOARD_NAME}.cfg"
According to git blame this comes from 8dd797a0549869 that you applied
;)
We could also solve it by passing an argument to the script using
BR2_ROOTFS_POST_SCRIPT_ARGS (or the generic genimage support stuff).
--
Venlig hilsen,
Peter Korsgaard
next prev parent reply other threads:[~2016-04-22 20:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-20 11:04 [Buildroot] [PATCH 1/1] Preliminary support for Raspberry Pi 3 Ubaldo Porcheddu
2016-04-22 15:01 ` Benoît Allard
2016-04-22 20:25 ` Peter Korsgaard
2016-04-22 20:18 ` Peter Korsgaard
2016-04-22 20:25 ` Thomas Petazzoni
2016-04-22 20:38 ` Peter Korsgaard [this message]
2016-04-22 20:41 ` Thomas Petazzoni
2016-04-22 21:22 ` Peter Korsgaard
-- strict thread matches above, loose matches on Subject: below --
2016-04-23 17:02 ubaldo porcheddu
[not found] <571baa9a.a6dec20a.5b3db.ffffd33eSMTPIN_ADDED_MISSING@mx.google.com>
2016-04-23 17:19 ` Peter Korsgaard
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=87twits7ju.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.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