NetCube Systems Kumquat
=======================
https://kumquat.readthedocs.io/en/latest/
How to build it
===============
Configure buildroot:
$ make netcube_kumquat_defconfig
Change settings to fit your needs (optional):
$ make menuconfig
Compile everything and build the rootfs image:
$ make
Result of the build
===================
After building, the output/images directory contains:
output/images
├── allwinner
│ └── sun8i-v3s-netcube-kumquat.dtb
├── nor-flash.img
├── rootfs.ext2
├── rootfs.ext4 -> rootfs.ext2
├── sdcard.img
├── u-boot-sunxi-with-spl.bin
└── zImage
Flashing the SD card image
==========================
To install the image on a SDCard simply copy sdcard.img to the storage (e.g. SD, eMMC)
$ sudo dd if=output/images/sdcard.img of=<your-sd-device>
Flashing the SPI-NOR Flash
==========================
* Connect the USB-OTG and USB-Console
* If the board has a working U-Boot, erase it using:
- sf probe; sf erase 0 0x1000; reset;
* Write the new Image using sunxi-fel:
- sunxi-fel -p spiflash-write 0 output/images/nor-flash.img
* Reset the board into the new Bootloader
- sunxi-fel wdreset
Preparing the board
===================
* Connect the USB-Console to the board
* Insert the SD card
* Power-up the board
Booting the board
=================
By default the bootloader will search for the first valid image, starting
with the eMMC/SD. Followed by USB and Ethernet.