This repository will allow you to build a buildroot image for the Citronics supported devices:
- Fairphone 2
- Lemon
These systems don't include a bootloader by default. You can find some important information about it in the bootloader documentation.
If you want to understand how partitioning is used, or you plan on implementing a more complex partition table, then head out to the partitioning documentation
- Run
cd buildroot && make BR2_EXTERNAL=../buildroot-external/ fairphone2_defconfig# Or another defconfig - Run
make BR2_EXTERNAL=../buildroot-external/ all - Reboot your device in fastboot mode.
- Run
fastboot flash userdata output/images/sdcard.img - Reboot your device
- With your device plugged to your computer via USB, you should see a new network interface, it should be assigned the 10.0.42.2 ip automatically (the fp2 will be 10.0.42.1)
- Type
ssh root@10.0.42.1, password isroot
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation.
The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html
To build and use the buildroot stuff, do the following:
- run 'make menuconfig'
- select the target architecture and the packages you wish to compile
- run 'make'
- wait while it compiles
- find the kernel, bootloader, root filesystem, etc. in output/images
You do not need to be root to build or run buildroot. Have fun!
Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations.
Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC.
If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches