FunKey-OS/FunKey/board/funkey
Vincent-FK fa986e1506 added funkey_gpio_mapping.conf from last commit and added email address in Free games's copyright text 2020-11-12 20:17:52 +01:00
..
patches bumped linux to latest Funkey_S with integrated patches 2020-10-18 13:03:02 +02:00
rootfs-overlay added funkey_gpio_mapping.conf from last commit and added email address in Free games's copyright text 2020-11-12 20:17:52 +01:00
busybox.config changed defconfig 2020-11-09 10:40:56 +01:00
device_table.txt Make buildroot a git submodule 2019-03-24 23:24:40 +01:00
linux.config used different boot logo for Recovery 2020-11-01 00:38:35 +01:00
local.mk added funkey-gpio-mapping 2020-01-06 23:11:11 +01:00
post-build.sh remove /var/db/dhcpcd dir and link to /tmp 2020-11-04 18:28:39 +01:00
readme.txt Moved from zImage to uImage to anticipate for U-Boot Falcon Mode 2019-05-05 19:45:44 +02:00
sw-description working automatic partition update 2020-10-25 22:04:47 +01:00
swupdate.config add swupdate to rootfs too 2020-11-05 14:46:49 +01:00
uboot.config working multi-boot 2020-10-15 23:17:49 +02:00
update_partition simplify update_partition script 2020-11-10 15:26:11 +01:00
users_table.txt Make buildroot a git submodule 2019-03-24 23:24:40 +01:00

readme.txt

# 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 git@bitbucket.org:keymu2/funkey-os.git <Funkey directory>

Then enter into the created directory:

  $ cd <Funkey directory>

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
    `-- uImage

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 directory>/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.