Update README.md with build instructions (#1)
This commit is contained in:
parent
1842065fdf
commit
393bc3d166
15
README.md
15
README.md
|
@ -2,3 +2,18 @@ Caraboot
|
|||
========
|
||||
|
||||
U-Boot for Carambola2 based boards
|
||||
|
||||
|
||||
Build
|
||||
-------
|
||||
|
||||
Use buildroot toolchain (http://buildroot.org/download.html) to build Caraboot. OpenWRT toolchain is known to generate broken binaries.
|
||||
To build suitable toolchain in buildroot's menuconfig select: MIPS big endian architecture (mips32 r2 variant), and GCC version - 4.7.x (other GCC versions untested, but may work)
|
||||
|
||||
Change Makefile's CONFIG_TOOLCHAIN_PREFIX variable to your buildroot path, for example:
|
||||
```
|
||||
CONFIG_TOOLCHAIN_PREFIX=~/build/buildroot/output/host/usr/bin/mips-linux-
|
||||
```
|
||||
|
||||
run ```make```, binary will be in ```bin/carambola2_u-boot.bin```
|
||||
|
||||
|
|
Loading…
Reference in New Issue