From: Alex Suykov <alex.suykov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] board: add support for Chromebook Snow
Date: Wed, 18 Nov 2015 05:27:52 +0200 [thread overview]
Message-ID: <20151118032752.GA893@vostro> (raw)
In-Reply-To: <564A3F3E.1020207@mind.be>
Mon, Nov 16, 2015 at 09:40:30PM +0100, Arnout Vandecappelle wrote:
> > +Create the partitions, marking the kernel partition as bootable.
> > +
> > + $CGPT add -i 1 -b $start -s $kernelsize \
> > + -t kernel -l kernel\
> > + -S 1 -T 1 -P 10 $SD
> > + $CGPT add -i 2 -b $[start+kernelsize] -s $rootfssize \
> > + -t data -l rootfs $SD
>
> Wouldn't it be possible to do all this in a post-image script that generates an
> SD card image?
Seems to be possible. The resulting image has secondary GPT in the wrong
location, but as long as the primary one is ok it should not cause trouble.
This also adds host-parted dependency, but that would be needed anyway.
I was working with a partitioned card and did not notice it, but cgpt
does not write protective MBR.
Sending v2.
next prev parent reply other threads:[~2015-11-18 3:27 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-16 17:54 [Buildroot] [PATCH 0/2] Samsung XE303C12 aka Chromebook Snow Alex Suykov
2015-11-16 17:54 ` [Buildroot] [PATCH 1/2] vboot-utils: new package Alex Suykov
2015-11-16 18:42 ` Baruch Siach
2015-11-16 20:03 ` Alex Suykov
2015-11-16 20:19 ` Arnout Vandecappelle
2015-11-16 21:52 ` Alex Suykov
2015-11-16 22:00 ` Arnout Vandecappelle
2015-12-08 21:11 ` Mike Frysinger
2015-11-16 17:54 ` [Buildroot] [PATCH 2/2] board: add support for Chromebook Snow Alex Suykov
2015-11-16 20:40 ` Arnout Vandecappelle
2015-11-18 3:27 ` Alex Suykov [this message]
2015-11-16 23:42 ` [Buildroot] [PATCH 1/2 v3] vboot-utils: new package Alex Suykov
2015-12-24 11:36 ` Thomas Petazzoni
2015-12-24 18:42 ` Alex Suykov
2015-11-18 3:29 ` [Buildroot] [PATCH 2/2 v2] board: add support for Chromebook Snow Alex Suykov
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=20151118032752.GA893@vostro \
--to=alex.suykov@gmail.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