From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] configs/olimex_imx233_olinuxino: switch to u-boot
Date: Mon, 22 Feb 2016 23:49:08 +0100 [thread overview]
Message-ID: <20160222234908.5cd7b5a7@free-electrons.com> (raw)
In-Reply-To: <1456122476-6210-1-git-send-email-phil@zankapfel.net>
Dear Phil Eichinger,
On Mon, 22 Feb 2016 07:27:56 +0100, Phil Eichinger wrote:
> Signed-off-by: Phil Eichinger <phil@zankapfel.net>
> Tested-by: Phil Eichinger <phil@zankapfel.net>
Tested-by tags are meant to be given by other people, not the patch
author, since we assume you have tested the patches you are
submitting :-)
> -BR2_LINUX_KERNEL_APPENDED_ZIMAGE=y
> +BR2_LINUX_KERNEL_APPENDED_UIMAGE=y
> +BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x42000000"
Any reason to use an appended uImage? If you're using a recent version
of U-Boot, you should use bootz to boot a zImage, and boot with a DTB
separate from the kernel.
Also:
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx23_olinuxino"
> +BR2_TARGET_UBOOT_FORMAT_SD=y
Please used a fixed U-Boot version, otherwise your defconfig might
break in the future when we bump the default U-Boot version. See other
defconfig.
Another thing is that you removed some comments from the defconfig,
while some of them were really useful, such as the one that explains
why BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_MDEV=y is enabled. We normally
don't enable mdev support in our default defconfig, but this defconfig
has a specific reason for doing so, so this comment should be kept.
Finally, but this is a possible improvement for the future, you could
probably replace the complicated sequence of commands to build the SD
card by a nice post-image script that relies on genimage. But this is
for another patch.
Could you send an updated version that takes into account the above
suggestions?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-02-22 22:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-21 17:24 [Buildroot] [PATCH 1/1] configs/olimex_imx233_olinuxino: switch to u-boot Phil Eichinger
2016-02-21 18:32 ` Baruch Siach
2016-02-22 6:27 ` [Buildroot] [PATCH v2] " Phil Eichinger
2016-02-22 22:49 ` Thomas Petazzoni [this message]
2016-02-22 23:24 ` Phil Eichinger
2016-02-23 9:12 ` Thomas Petazzoni
2016-02-27 18:40 ` [Buildroot] [PATCH v3] " Phil Eichinger
2016-02-27 20:58 ` Arnout Vandecappelle
2016-03-06 20:12 ` Peter Korsgaard
2016-03-07 7:42 ` Phil Eichinger
2016-03-07 8:52 ` 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=20160222234908.5cd7b5a7@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