Changes

Jump to: navigation, search

XUELK-AN-003: Running Buildroot distribution

211 bytes added, 15:47, 18 September 2018
no edit summary
{{AppliesToSBCLynx}}
{{InfoBoxBottom}}
{{WarningMessage|text=This application note was validated against specific versions of the kit only. It may not work with other versions. Supported versions are listed in the ''History'' section.}}
== History ==
{| class="wikitable" border="1"
|}
==Introduction==
By default, [[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)|AXEL ULite and SBC Lynx Embedded Linux Kit (XUELK)]] comes with a Yocto distribution. Nevertheless, other distributions can be used as well. This application note shows how to run one of them, [https://buildroot.org Buildroot].
Buildroot is known to be very simple to configure and build. An exhaustive discussion of Buildroot is beyond the scope of this application note. Interested The interested reader can refer for example to [http://events.linuxfoundation.org/sites/events/files/slides/belloni-petazzoni-buildroot-oe_0.pdf this presentation] which compares in detail Yocto and Buildroot.
The test bed used for this application note is composed of the same hardware/software platform delivered along with the XUELK. About Buildroot, the version 2016.11.2 was used.
[[File:Buildroot-cortex-A7.png|thumb|center|600px|]]
That's it: after saving your configuration, and exiting <code>menuconfig</code> , you can start the build process, by simply issuing the <code>make</code> command.
==Mounting the Buildroot file system on the target==
Once the build process is completed, in the <code>output/images</code> subdirectory the file <code>rootfs.tar</code> is available. This file contains the root file system for the target.
4,650
edits

Navigation menu