[Buildroot] [PATCH v2 15/15] configs: nitrogen*: bump u-boot version to 2017.07

Gary Bisson gary.bisson at boundarydevices.com
Sun Jan 7 19:07:24 UTC 2018


Hi Thomas,

On Sun, Jan 7, 2018 at 3:55 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
>
> Hello,
>
> On Fri,  5 Jan 2018 15:39:47 +0100, Gary Bisson wrote:
>
> >  board/boundarydevices/common/boot.cmd      | 155 +++++++++++++++++++++++++++++
> >  board/boundarydevices/common/post-build.sh |   7 +-
> >  board/boundarydevices/common/upgrade.cmd   | 154 ++++++++++++++++++++++++++++
>
> Note: I start to find it annoying that we have 300+ lines of U-Boot
> script code specific to the Boundary Devices board. I assume this stuff
> is also duplicated in Yocto ? Shouldn't this be added to some common
> repository ?

I understand although as it is said in the commit log, the previous
scripts will be removed in a future release.

As for where those scripts are located, we actually have them in our
U-Boot repo now:
https://github.com/boundarydevices/u-boot-imx6/tree/boundary-v2017.07/board/boundary/bootscripts

That is how it is used in Yocto. I don't mind using it from U-Boot
directly, but what's the best way to do so? Is there a bootloader
equivalent to LINUX_DIR so I can easily point to the bootloader
source?

Also, would you guys be ok with a
BR2_TARGET_UBOOT_BOOT_SCRIPT_INSTALL_TARGET option? That would reduce
the post-build script for several configs which copies it manually to
TARGET_DIR/boot/ right now.

Regards,
Gary



More information about the buildroot mailing list