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
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot