From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] board/freescale: switch create-boot-sd.sh to parted
Date: Wed, 21 Oct 2015 12:14:32 +0300 [thread overview]
Message-ID: <20151021091432.GE2650@sapphire.tkos.co.il> (raw)
In-Reply-To: <1445417826-9634-1-git-send-email-vincent.stehle@freescale.com>
Hi Vincent,
On Wed, Oct 21, 2015 at 10:57:06AM +0200, Vincent Stehl? wrote:
> Starting with version 2.26, sfdisk defaults to a unit of 512 B sectors.
> With those recent versions of sfdisk, the create-boot-sd.sh script ends
> up creating a boot partition of 240 KB, which is too small to contain a
> Linux kernel.
>
> As it is difficult to address both pre and post v2.26 sfdisk versions in
> a single command, we change the create-boot-sd.sh script to use parted
> instead. While at it, we set the boot partition size to 64 MB, which
> should be enough for everyone.
You should mention in the relevant readme.txt files under board/freescale/
that parted needs to be installed on the host.
Alternatively, you can enable host-parted in the config files, and use that in
create-boot-sd.sh.
> Signed-off-by: Vincent Stehl? <vincent.stehle@freescale.com>
> Cc: Luca Ceresoli <luca@lucaceresoli.net>
> Cc: Gary Bisson <gary.bisson@boundarydevices.com>
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 -
next prev parent reply other threads:[~2015-10-21 9:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 14:03 [Buildroot] Repair boot from SD card on i.MX6 Sabre boards Vincent Stehlé
2015-10-14 14:03 ` [Buildroot] [PATCH 1/2] board/freescale: refresh create-boot-sd.sh Vincent Stehlé
2015-10-14 16:04 ` Luca Ceresoli
2015-10-14 21:10 ` Arnout Vandecappelle
2015-10-15 8:30 ` Gary Bisson
2015-10-21 8:57 ` [Buildroot] [PATCH v2] board/freescale: switch create-boot-sd.sh to parted Vincent Stehlé
2015-10-21 9:14 ` Baruch Siach [this message]
2015-10-21 18:37 ` Arnout Vandecappelle
2015-10-22 10:08 ` Vincent Stehlé
2015-10-14 14:03 ` [Buildroot] [PATCH 2/2] imx6sabre: use zImage format for kernel Vincent Stehlé
2015-10-15 13:03 ` [Buildroot] Repair boot from SD card on i.MX6 Sabre boards Jeremy Rosen
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=20151021091432.GE2650@sapphire.tkos.co.il \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox