kumquat-buildroot/board/netcube/kumquat
2025-01-30 10:50:25 +01:00
..
linux-dts Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
patches/uboot/2024.10 Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
rootfs_overlay/etc Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
uboot-dts Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
extlinux.conf Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
genimage.cfg Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
linux.config Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
post-build.sh Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
readme.txt Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00
uboot.config Restructure according to buildroot upstream. Make output gpt with PARTUUID for boot selection. Add fix for building devicetrees in 6.12.x kernels. 2025-01-30 10:50:25 +01:00

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.