All of lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] Solid-Run HummingBoard i2eX defconfig and bootable microSD Bash script
Date: Fri, 29 May 2015 07:40:05 +0300	[thread overview]
Message-ID: <20150529044005.GM2260@tarshish> (raw)
In-Reply-To: <1432820170-10513-1-git-send-email-yba@tkos.co.il>

Hi Yonatan,

On Thu, May 28, 2015 at 04:36:10PM +0300, Jonathan Ben-Avraham wrote:
> Signed-off-by: Jonathan Ben-Avraham <yba@tkos.co.il>
> ---
>  board/solid-run/hummingboard-i2eX/make_sd_card.sh | 207 ++++++++++++++++++++++

The board directory should also have a readme.txt file with prose description 
board specific Buildroot installation instructions.

>  configs/hummingboard_i2eX_defconfig               |  24 +++
>  2 files changed, 231 insertions(+)
>  create mode 100755 board/solid-run/hummingboard-i2eX/make_sd_card.sh
>  create mode 100644 configs/hummingboard_i2eX_defconfig
> 
> diff --git a/board/solid-run/hummingboard-i2eX/make_sd_card.sh b/board/solid-run/hummingboard-i2eX/make_sd_card.sh
> new file mode 100755
> index 0000000..55c0f17
> --- /dev/null
> +++ b/board/solid-run/hummingboard-i2eX/make_sd_card.sh
> @@ -0,0 +1,207 @@
> +#!/bin/bash -eu

Are you sure bash is mandatory? All other scripts we have under board/ or 
support/ use /bin/sh.

> +# @(#) Create a bootable SD card from Buildroot tree for the HummingBoard i2eX
> +#
> +# Copyright (c) 2015 Tk Open Systems Ltd. all rights reserved
> +# License granted for public use under the terms of the "Attribution-ShareAlike
> +# 4.0 International" license, See full text at
> +# https://creativecommons.org/licenses/by-sa/4.0/legalcode

Buildroot code itself is under GPLv2. See 
http://nightly.buildroot.org/manual.html#_complying_with_the_buildroot_license. 
Is this license GPLv2 compatible?

Is this script better/different than board/freescale/create-boot-sd.sh? I 
think we should have one script for this job. A "SoM vendor neutral" location 
for this script is likely to be board/freescale/ in this case. The readme.txt 
file, once added, should mention this script.

[...]

> diff --git a/configs/hummingboard_i2eX_defconfig 
> b/configs/hummingboard_i2eX_defconfig
> new file mode 100644
> index 0000000..0463bae
> --- /dev/null
> +++ b/configs/hummingboard_i2eX_defconfig
> @@ -0,0 +1,24 @@

Most other defconfigs have section titles. See 
configs/freescale_imx6qsabreauto_defconfig for example.

> +BR2_arm=y
> +BR2_cortex_a9=y
> +BR2_ARM_EABIHF=y
> +BR2_ARM_FPU_VFPV3=y
> +BR2_TOOLCHAIN_EXTERNAL=y
> +BR2_TARGET_GENERIC_HOSTNAME="HummingBoard"
> +BR2_TARGET_GENERIC_ISSUE="Welcome to HummingBoard i2eX"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_GIT=y
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/SolidRun/linux-imx6-3.14.git"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="ea83bda1b403d745c67fbf6ea307d05ca138577f"
> +BR2_LINUX_KERNEL_DEFCONFIG="imx_v7_cbi_hb"
> +BR2_LINUX_KERNEL_ZIMAGE=y
> +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-hummingboard"
> +BR2_LINUX_KERNEL_INSTALL_TARGET=y
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BOARDNAME="mx6_cubox-i"
> +BR2_TARGET_UBOOT_CUSTOM_GIT=y
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="https://github.com/SolidRun/u-boot-imx6.git"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="e817fa3165a607b581433a6abfe37e095a5d1dc9"
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="SPL"
> +BR2_PACKAGE_HOST_UBOOT_TOOLS=y

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2015-05-29  4:40 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-28 13:36 [Buildroot] [PATCH 1/1] Solid-Run HummingBoard i2eX defconfig and bootable microSD Bash script Jonathan Ben-Avraham
2015-05-29  4:40 ` Baruch Siach [this message]
2015-05-29  5:19   ` Jonathan Ben Avraham
2015-05-29  5:26   ` Jonathan Ben Avraham
2015-05-29  6:56   ` Jonathan Ben Avraham
2015-05-31  4:14     ` Baruch Siach
2015-05-31  7:06       ` Thomas Petazzoni
2015-05-31  7:51         ` Jonathan Ben Avraham
2015-05-29  7:56   ` Jonathan Ben Avraham
2015-05-31  6:25     ` Baruch Siach
2015-05-31  7:57       ` Jonathan Ben Avraham
2015-05-31  9:18         ` Baruch Siach
2015-05-31  9:37           ` Jonathan Ben Avraham

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=20150529044005.GM2260@tarshish \
    --to=baruch@tkos.co.il \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.