
7 Jul
2016
7 Jul
'16
8:23 p.m.
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.