From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] lego: ev3: use mainline kernel
Date: Tue, 16 May 2017 22:56:02 +0200 [thread overview]
Message-ID: <878tlw8qsd.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1494890483-11249-1-git-send-email-david@lechnology.com> (David Lechner's message of "Mon, 15 May 2017 18:21:23 -0500")
>>>>> "David" == David Lechner <david@lechnology.com> writes:
> It is finally possible to boot LEGO MINDSTORMS EV3 from the mainline
> Linux kernel. This patch updates the defconfg to use the mainline kernel
> instead of the custom ev3dev kernel.
Great, thanks!
> .../patches/linux/0001-adc-device-tree-node.patch | 56 ++++++++++++++
> .../linux/0002-sound-device-tree-node.patch | 85 ++++++++++++++++++++++
I see these patches are already in mainline post-4.11, so that's great.
> +++ b/board/lego/ev3/genimage.cfg
> @@ -19,7 +19,7 @@ image flash.bin {
> size = 320K
> }
> partition uimage {
> - image = "uImage"
> + image = "uImage.da850-lego-ev3"
> size = 3M
> offset = 0x50000
> }
I guess this change isn't strictly needed because of the symlink, but
OK.
> diff --git a/configs/lego_ev3_defconfig b/configs/lego_ev3_defconfig
> index 543a227..0996b8c 100644
> --- a/configs/lego_ev3_defconfig
> +++ b/configs/lego_ev3_defconfig
> @@ -2,22 +2,26 @@
> BR2_arm=y
> BR2_arm926t=y
> +# Build options
> +BR2_GLOBAL_PATCH_DIR="board/lego/ev3/patches"
> +
> # system
> BR2_TARGET_GENERIC_GETTY=y
> BR2_TARGET_GENERIC_GETTY_PORT="ttyS1"
> BR2_ROOTFS_POST_IMAGE_SCRIPT="board/lego/ev3/post-image.sh"
> -# Linux headers same as kernel, a 4.4 series
> -BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_4=y
This shouldn't be dropped (after changing to 4.11) as the defconfig
would otherwise break whenever 4.12 gets added.
Committed to next with that fixed, thanks.
I see you are still using a relatively old u-boot and ext3. Any reason
to not use 2017.05 and ext4?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2017-05-16 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-15 23:21 [Buildroot] [PATCH 1/1] lego: ev3: use mainline kernel David Lechner
2017-05-16 20:56 ` Peter Korsgaard [this message]
2017-05-17 15:28 ` David Lechner
2017-05-17 19:49 ` 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=878tlw8qsd.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