Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
| software:linux:buildroot:buildrootsystemerstellen [2017-06-07 13:38] – angelegt kalberer | software:linux:buildroot:buildrootsystemerstellen [2017-06-07 15:20] (aktuell) – kalberer | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== rootfs | + | ====== rootfs |
| + | |||
| + | To create your own rootfs with Buildroot, clone the Buildroot Repository from [[https:// | ||
| + | |||
| + | Then configure buildroot according to your needs. Configuration can be done typing the following command in the root folder of buildroot: | ||
| + | < | ||
| + | $ make menuconfig | ||
| + | </ | ||
| + | |||
| + | For the Colibri iMX6 you can find a buildroot defconfig in our NTB Buildroot-Fork: | ||
| + | |||
| + | Bildroot will build a rootfs image from your config and if you want to add some specific files and users this can be done with a rootfs overlay and a user file. | ||
| + | The current rootfsOverlay for the iMX6 running a 3.14 Preempt RT Kernel can be found on [[https:// | ||
| + | * Kernel modules for [[http:// | ||
| + | * Startup Script to load the FPGA at boot-time and load the needed kernel modules for flink (/ | ||
| + | * FPGA config file (/ | ||
| + | * firmware for a Edimax Wifi Stick (EW-7811) (/ | ||
| + | * flink Userspace Library (/ | ||
| + | * symlinks for all libraries from /usr/lib to / | ||
| + | * initial-setup script: Since our rootfs is mounted read-only it will mount the filesystem read-write so that the SSH-Keys can be generated. Also the read-write mounted data partition is formatted initially (/ | ||
| + | |||
| + | The path to the rootfs overlay has to be entered in your Buildroot config at '' | ||
| + | |||
| + | If you want to add additional users (except root), you can add a user table file to Buildroot. The path to this file needs to be entered in your Buildroot config at '' | ||