Michel-FK 4c4f5b8001 Make buildroot a git submodule | 5 anni fa | |
---|---|---|
FunKey | 5 anni fa | |
buildroot @ 4fa524144b | 5 anni fa | |
.gitignore | 5 anni fa | |
.gitmodules | 5 anni fa | |
README.md | 5 anni fa | |
fun | 5 anni fa | |
have | 5 anni fa |
This directory contains a buildroot-based external configuration for building the FunKey.
There is only one Funkey defconfig files in Buildroot:
$ ./fun funkey_defconfig
Note: you will need to have access to the network, since Buildroot will download the packages’ sources.
You may now build your FunKey with:
$ ./have fun
(This may take a while, consider getting yourself a coffee ;-) )
After building, you should obtain this tree:
FunKey/output/images/
+-- boot.scr
+-- boot.vfat
+-- rootfs.ext2
+-- rootfs.ext4 -> rootfs.ext2
+-- sdcard.img
+-- sun8i-v3s-funkey.dtb
+-- u-boot.bin
+-- u-boot-sunxi-with-spl.bin
`-- zImage
Once the build process is finished you will have an image called «sdcard.img» in the FunKey/output/images/ directory.
Copy the bootable «sdcard.img» onto an SD card with «dd»:
$ sudo dd if=/FunKey/output/images/sdcard.img of=/dev/sdX
Alternatively, you can use the Etcher graphical tool to burn the image to the SD card safely and on any platform:
Once the SD card is burned, insert it into your FunKey board, and power it up. Your new system should come up now and start a console on the UART0 serial port.