Mirror of funkey-project/funkey-os@github.com - OS for the FunKey kickstarter-funded handheld games console.
Go to file
Michel Stempin 2f327c0c45 remove boot scripts
Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
2020-10-14 22:44:10 +02:00
FunKey remove boot scripts 2020-10-14 22:44:10 +02:00
FunKey-OS-docker added docker README in french 2020-09-15 22:58:57 +02:00
buildroot@b120226e0e bumped buildroot to 2020.02.6 2020-10-06 22:46:48 +02:00
.gitignore modified assembly tests: no more QR code steep, and logging tensions/data measured by axp209 2020-09-21 23:09:28 +02:00
.gitmodules Removed obsolete submodules 2020-06-06 22:23:19 +02:00
README.md correct url in README 2020-09-24 19:04:15 +02:00
fel-boot.sh PCBA uses zImage kernel 2020-07-28 22:16:22 +02:00
fun Added PCBA build 2020-07-27 21:09:31 +02:00
have Added PCBA build 2020-07-27 21:09:31 +02:00
pcba Added PCBA build 2020-07-27 21:09:31 +02:00

README.md

FunKey

Intro

This directory contains a buildroot-based external configuration for building the FunKey.

How to get it

Clone the FunKey OS repository and the required submodules from BitBucket:

$ git clone --recurse-submodules https://github.com/FunKey-Project/FunKey-OS.git

Then enter into the created directory:

$ cd

How to build it

Configure Buildroot

There is only one Funkey defconfig files in Buildroot:

$ ./fun funkey_defconfig

Build the rootfs

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 ;-) )

Result of the build

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

How to write the SD card

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:

https://etcher.io/

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.