[U-Boot] [PATCH 09/11] buildman: Add a quick-start note
Tom Rini
trini at konsulko.com
Fri Jul 8 16:27:14 CEST 2016
On Thu, Jul 07, 2016 at 12:23:37PM -0600, Stephen Warren wrote:
> On 07/03/2016 03:14 PM, Simon Glass wrote:
> >For those who just want to build a board, it is useful to see a quick hint
> >right at the start of the documentation. Add a few commands showing how to
> >download toolchains and build a board.
>
> >diff --git a/tools/buildman/README b/tools/buildman/README
>
> >+If you just want to quickly set up buildman so you can build something (for
> >+example Raspberry Pi 2), and don't mind downloading lots of stuff:
> >+
> >+ cd /path/to/u-boot
> >+ PATH=$PATH:`pwd`/tools/buildman
> >+ buildman --fetch-arch all
> >+ buildman -k rpi_2
> >+ ls ../current/rpi_2
> >+ # u-boot.bin is the output image
>
> For just an rpi_2 build, perhaps "--fetch-arch arm" would be
> quicker, although I suppose then you'd have to make the text more
> complicated by pointing out that it only downloads an ARM toolchain
> and so the user would need to --fetch-arch again for anything else.
I think for a "quick start" section it's OK to have it just download ARM
and if they then fail when building aarch64 or powerpc or whatever, it's
reasonable to assume the user will come back to read more of the
documentation (or at least dig into --fetch-arch).
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160708/5e1b3bcd/attachment.sig>
More information about the U-Boot
mailing list