From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] olimex_imx233_olinuxino_defconfig: genimage support
Date: Fri, 11 Mar 2016 13:14:12 +0100 [thread overview]
Message-ID: <87shzxi54b.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1457645651-2472-1-git-send-email-phil@zankapfel.net> (Phil Eichinger's message of "Thu, 10 Mar 2016 22:34:11 +0100")
>>>>> "Phil" == Phil Eichinger <phil.eichinger@gmail.com> writes:
> * add a post-image.sh script
> * update defconfig for genimage
> * update readme.txt
> Signed-off-by: Phil Eichinger <phil@zankapfel.net>
Thanks!
> +genimage \
> + --rootpath "${TARGET_DIR}" \
> + --tmppath "${GENIMAGE_TMP}" \
> + --inputpath "${BINARIES_DIR}" \
> + --outputpath "${BINARIES_DIR}" \
> + --config "${GENIMAGE_CFG}"
> +
> +exit $?
I know other post-image scripts do this as well, but there's really no
need for this 'exit $?'.
> +=== Manual creation of SD card image =========================================
> +
> You'll need a spare MicroSD card with Freescale's special partition layout.
> This is basically three partitions:
I'm not sure there's any reason to still document the manual approach,
but ok - I've left it for now.
> diff --git a/configs/olimex_imx233_olinuxino_defconfig b/configs/olimex_imx233_olinuxino_defconfig
> index 9951284..87684fc 100644
> --- a/configs/olimex_imx233_olinuxino_defconfig
> +++ b/configs/olimex_imx233_olinuxino_defconfig
> @@ -39,3 +39,9 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2016.01"
> BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mx23_olinuxino"
> BR2_TARGET_UBOOT_FORMAT_SD=y
> +
> +# To generate SD Image
> +BR2_PACKAGE_HOST_GENIMAGE=y
> +BR2_PACKAGE_HOST_MTOOLS=y
The vfat handling also uses mkdosfs, so we need to add
BR2_PACKAGE_HOST_DOSFSTOOLS=y as well.
I noticed that we are missing it from some of the other defconfigs as
well, so I'll fix that.
Committed with that fixed, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2016-03-11 12:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-10 21:34 [Buildroot] [PATCH 1/1] olimex_imx233_olinuxino_defconfig: genimage support Phil Eichinger
2016-03-11 12:14 ` Peter Korsgaard [this message]
2016-03-12 9:31 ` Arnout Vandecappelle
2016-03-12 9:52 ` Peter Korsgaard
2016-03-12 13:52 ` Phil Eichinger
2016-03-12 14:55 ` 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=87shzxi54b.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 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.