From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/5] manual: update beyond Buildroot section
Date: Thu, 22 Aug 2013 20:03:35 +0200 [thread overview]
Message-ID: <52165277.30109@mind.be> (raw)
In-Reply-To: <CAHXCMMLz6y46OSor3NPthHqpBwbuGJ1asGd3aVw1StEXYiN1Fw@mail.gmail.com>
On 15/08/13 21:01, Samuel Martin wrote:
> All,
>
> 2013/8/13 Arnout Vandecappelle <arnout at mind.be <mailto:arnout@mind.be>>
> >
> > On 08/08/13 20:01, Thomas Petazzoni wrote:
> >>
> >> Dear Samuel Martin,
> >>
> >> On Thu, 8 Aug 2013 14:36:39 +0200, Samuel Martin wrote:
> >>>
> >>> So, its right place may not be the manual, but some extended readme
> >>> and/or sample
> >>> post-image scripts.
> >>> What about this?
> >>
> >>
> >> I do believe it has its place into the manual, but it needs to be
> >> written up properly, taking into account the other use cases (booting
> >> on ARM/PowerPC platforms), and find a better place for this.
> >
> >
> > However, I think the "needs to be written up properly" aspect should
> not stop a piece of documentation to be added to the manual. Even if it
> is not written up properly, it will be useful for some people.
>
> Right.
>
> To move forward on this, I'd like to have people's opinion about a couple
> of questions:
> 1- what is the best place in the manual for such a section?
> - between the current chapters 3 - "Working with Buildroot" - and 4 -
> the FAQ/troubleshooting;
> - or in the "Beyond Buildroot" chapter
> - or in appendices
> - somewhere else
I think 'Beyond buildroot' is the proper place. Only, that chapter
should be called "Deploying the buildroot images". The introductory text
you added looks really good. It is just missing the following at the end:
For some of the off-the-shelf boards that buildroot supports, you can
find a specific explanation in a readme file in the _board_ directory.
> 2- should we put the "network boot" in another section, rather than just
> aside the disk image creation? (so, split the main addition of the patch
> in 2 clearly distinguished section/chapter?)
No, looks like the right place to me. It is a way of deploying the
kernel/rootfs to the target.
> 3- should we add a chapter focus on booting the image?
I think that is part of using/deploying the images, so it is the same
chapter. Also there is usually a tight relation between how the image is
installed and how it is booted.
> 4- where should the VM disk image creation section belong to?
Same chapter.
> 5- how do you think the manual should be organized about these topics
> (which are: "booting images", "generating disk image for device or vm")?
> what should be the perimeter these sections?
>
>
>
> Eventually, I think the manual needs something right after the chapters 3
> - "Working with Buildroot" - dealing with booting the image (title
> suggestion is more than welcome).
> This chapter could include:
> - generic things about deployment on the actual hardware (rougthly:
> "refer to the readme in the board directory of the vendor instructions");
Exactly :-)
> - booting the qemu images;
> - boot over nfs (as a way to speed up the development process);
> - and redirect to the "Beyond Buildroot" chapter for less common ways
> (chroot, etc).
I don't see why that shouldn't be in the same chapter.
>
> The "Beyond Buildroot" chapter could talk about:
> - chroot/binfmt/etc;
> - generating disk image for specific device (e.g. a disk image for a RPi,
> containing several partitions, and so on. IIRC, Yann quickly talked about
> it months ago, maybe he could fill some gaps in the doc or provide sample
> scripts...);
I think if it is really for a specific device, then it belongs in the
board/ directory.
> - generating disk image for a VM (like Willy already wrote it down).
Except for binfmt, I think all of this fits in the deployment chapter.
>
> In this view, I don't know yet to what section/chapter PXE boot belongs
> to because it's something rather x86-oriented to me...
PXE itself is, but after that it's exactly the same as a tftp/nfs boot.
PXE just adds the step of getting the actual bootloader to the device. So
maybe it could be rewritten to focus more on the tftp aspect, and just
mention the three references for more PXE information.
Regards,
Arnout
> Opinions, comments, suggestions, critics?
> TIA for your inputs.
>
>
> Regards,
>
> --
> Samuel
--
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: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2013-08-22 18:03 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-06 21:36 [Buildroot] [PATCH 0/5] Manual updates Samuel Martin
2013-08-06 21:36 ` [Buildroot] [PATCH 1/5] Docu: Add LIBFOO_EXTRACT_CMDS Samuel Martin
2013-08-06 21:36 ` [Buildroot] [PATCH 2/5] manual: add patch revision and versioning section Samuel Martin
2013-08-06 22:18 ` Thomas Petazzoni
2013-08-07 17:41 ` Samuel Martin
2013-08-07 17:53 ` Thomas De Schampheleire
2013-08-07 5:40 ` Thomas De Schampheleire
2013-08-07 17:41 ` Samuel Martin
2013-08-06 21:36 ` [Buildroot] [PATCH 3/5] manual: update beyond Buildroot section Samuel Martin
2013-08-07 6:15 ` Thomas De Schampheleire
2013-08-07 9:39 ` Thomas Petazzoni
[not found] ` <CAKvQZ_3UxzreEtWQ3E++3xZ1o4W_Rn1gzKrYQo2CNOnQ_hZpfg@mail.gmail.com>
2013-08-08 12:36 ` Samuel Martin
2013-08-08 18:01 ` Thomas Petazzoni
2013-08-13 5:59 ` Arnout Vandecappelle
2013-08-15 19:01 ` Samuel Martin
2013-08-22 18:03 ` Arnout Vandecappelle [this message]
2013-09-25 20:31 ` Thomas De Schampheleire
2013-08-06 21:36 ` [Buildroot] [PATCH 4/5] manual: add tips to build manual Samuel Martin
2013-08-07 6:18 ` Thomas De Schampheleire
2013-08-06 21:36 ` [Buildroot] [PATCH 5/5] manual: minor formating fixes Samuel Martin
2013-08-07 6:16 ` Thomas De Schampheleire
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=52165277.30109@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