Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [v3, 4/4] beaglebone: adds barebox bootloader defconfig
Date: Sat, 27 Feb 2016 00:48:06 +0100	[thread overview]
Message-ID: <56D0E436.6020008@mind.be> (raw)
In-Reply-To: <56D0E40E.40800@mind.be>

On 02/27/16 00:47, Arnout Vandecappelle wrote:
> On 01/20/16 23:43, Pieter Smith wrote:
>> * Builds barebox MLO and the barebox bootloader.
>> * Barebox integrates a perfectly good device-tree for the bbb, so no dtb is
>>   being generated with the kernel.
>>
>> Signed-off-by: Pieter Smith <pieter@boesman.nl>
>> ---
>>  configs/beaglebone_barebox_defconfig | 39 ++++++++++++++++++++++++++++++++++++
>>  1 file changed, 39 insertions(+)
>>  create mode 100644 configs/beaglebone_barebox_defconfig
>>
>> diff --git a/configs/beaglebone_barebox_defconfig b/configs/beaglebone_barebox_defconfig
>> new file mode 100644
>> index 0000000..b4fd67b
>> --- /dev/null
>> +++ b/configs/beaglebone_barebox_defconfig
>> @@ -0,0 +1,39 @@
>> +# architecture
>> +BR2_arm=y
>> +BR2_cortex_a8=y
>> +BR2_ARM_EABIHF=y
>> +
>> +# system
>> +BR2_TARGET_GENERIC_HOSTNAME="beaglebone"
>> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_DEVTMPFS=y
>> +BR2_TARGET_GENERIC_GETTY_PORT="ttyO0"
>> +# BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW is not set
>> +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/beaglebone/post-image.sh"
>> +
>> +# filesystem
>> +BR2_PACKAGE_AM33X_CM3=y
>> +BR2_TARGET_ROOTFS_EXT2=y
>> +# BR2_TARGET_ROOTFS_TAR is not set
>> +
>> +# lock down headers to avoid breaking with new defaults
>> +BR2_KERNEL_HEADERS_VERSION=y
>> +BR2_DEFAULT_KERNEL_VERSION="3.12.10"
>> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_12=y

 Oh, and this should be SAME_AS_KERNEL of course.

 Regards,
 Arnout

>> +
>> +# bootloader
>> +BR2_TARGET_BAREBOX_TWO_CONFIGS=y
>> +BR2_TARGET_BAREBOX=y
>> +BR2_TARGET_BAREBOX_BOARD_DEFCONFIG="am335x"
>> +BR2_TARGET_BAREBOX_USE_SPECIFIC_IMAGE=y
>> +BR2_TARGET_BAREBOX_IMAGE_FILE="barebox-am33xx-beaglebone.img"
>> +BR2_TARGET_BAREBOX_2=y
>> +BR2_TARGET_BAREBOX_2_BOARD_DEFCONFIG="am335x_mlo"
>> +BR2_TARGET_BAREBOX_2_USE_SPECIFIC_IMAGE=y
>> +BR2_TARGET_BAREBOX_2_IMAGE_FILE="barebox-am33xx-beaglebone-mlo.img"
>> +
>> +# kernel
>> +BR2_LINUX_KERNEL=y
>> +BR2_LINUX_KERNEL_LATEST_VERSION=y
> 
>  Kernel version should be locked down as well.
> 
>> +BR2_LINUX_KERNEL_USE_DEFCONFIG=y
>> +BR2_LINUX_KERNEL_DEFCONFIG="omap2plus"
>> +BR2_LINUX_KERNEL_ZIMAGE=y
> 
>  Perhaps add a comment here that the dtb from barebox will be used.
> 
>  Regards,
>  Arnout
> 
>>
> 
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

  reply	other threads:[~2016-02-26 23:48 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-20 22:43 [Buildroot] [v3, 0/4] Supporting building a second Barebox config Pieter Smith
2016-01-20 22:43 ` [Buildroot] [v3, 1/4] barebox: prepare for secondary config build Pieter Smith
2016-02-22 11:03   ` Yegor Yefremov
2016-02-26 23:17   ` Arnout Vandecappelle
2016-02-28  8:12     ` Pieter Smith
2016-02-29  7:47       ` Pieter Smith
2016-03-01 23:08         ` Arnout Vandecappelle
2016-03-02  7:50           ` Pieter Smith
2016-03-02 18:12             ` Arnout Vandecappelle
2016-03-02 21:32               ` Pieter Smith
2016-03-05 13:16                 ` Pieter Smith
2016-03-06 21:16                   ` Arnout Vandecappelle
2016-03-07 18:31                     ` Pieter Smith
2016-02-29  7:57     ` Pieter Smith
2016-01-20 22:43 ` [Buildroot] [v3, 2/4] barebox: adds option to build secondary config Pieter Smith
2016-02-22 11:03   ` Yegor Yefremov
2016-02-26 23:26   ` Arnout Vandecappelle
2016-02-29  8:01     ` Pieter Smith
2016-01-20 22:43 ` [Buildroot] [v3, 3/4] barebox: user selection of build output images Pieter Smith
2016-02-22 11:03   ` Yegor Yefremov
2016-02-26 23:43   ` Arnout Vandecappelle
2016-02-29  8:38     ` Pieter Smith
2016-03-01 23:14       ` Arnout Vandecappelle
2016-03-02  7:54         ` Pieter Smith
2016-03-02 18:18           ` Arnout Vandecappelle
2016-03-02 21:40             ` Pieter Smith
2016-03-06 23:03               ` Arnout Vandecappelle
2016-01-20 22:43 ` [Buildroot] [v3, 4/4] beaglebone: adds barebox bootloader defconfig Pieter Smith
2016-02-22 11:04   ` Yegor Yefremov
2016-02-26 23:47   ` Arnout Vandecappelle
2016-02-26 23:48     ` Arnout Vandecappelle [this message]
2016-02-29  8:44     ` Pieter Smith
2016-03-01 23:15       ` Arnout Vandecappelle
2016-03-02  7:55         ` Pieter Smith
2016-02-16 11:55 ` [Buildroot] [v3, 0/4] Supporting building a second Barebox config Yegor Yefremov
2016-02-16 18:55   ` Pieter Smith
2016-02-16 21:27     ` Yegor Yefremov
2016-02-21 17:25       ` Pieter Smith

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=56D0E436.6020008@mind.be \
    --to=arnout@mind.be \
    --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