Cubieboard 1 (1G RAM Version)

Some names/files

  • script.bin: Compiled FEX file [1].
  • u-boot.bin: U-Boot bootloader binary (can be found after 32KiB (at least) on the SD card)
  • sunxi-spl.bin (short for Secondary Program Loader, no cubieboard/allwinner specific name): Boot0, which will be loaded by BROM and loads in turn U-Boot (can be found after 8KiB (at least) on the SD card)
  • BROM: The very first immutable stage of the boot process. Tries to load Boot0 and falls back to FEL boot.
  • boot.src: Kernel parameters compiled from boot.cmd

Description of the Boot process.

Creating loopback devices for images with partitions: losetup –show -f -P test.img

Installing Arch Linux on SD Card

Official installation instructions

The official instructions cover only the 512M RAM version. Therefore the OS can actually only see 512M of RAM on a 1G board.

To get the full 1G, you have to …

  • use sunxi-spl.bin and u-boot.bin from the hwpack (info)
  • change fexfile=cubieboard_512.bin to fexfile=cubieboard.bin in the uEnv.txt (cubieboard.bin is already on the SD card)
  • Replace ethaddr with mac_addr and change the MAC address in uEnv.txt

Section „Creating a uEnv.txt“ can be ignored since you already copied a uEnv.txt. Never the less you have to modify it as described above.

At the end, uEnv.txt should look similar to this:

boot_mmc=fatload mmc 0 0x43000000 ${fexfile}; fatload mmc 0 0x48000000 ${kernel}; bootm 0x48000000
extraargs=mac_addr=00:CE:39:xx:xx:xx console=tty0
fexfile=cubieboard.bin

Start HDMI output: modprobe lcd && modprobe hdmi && modprobe fbcon

Arch Linux Forums Thread.

Installing OS on NAND

  • Link Clean documentation, compiles it own u-boot
  • Link Instructions for cimpiling U-Boot
  • Link patwood's Forum post describing a way using the original bootloader but a custom U-Boot (inkl. modified files) for Miniand Smart TV (also a A10 based board)
  • Link Forum post describing a way using the original Boot loader
  • Description for installing Cubian on NAND using cubian-nandinstall
  • Link Wired instructions using prebuilds

System

cubieboard

Test Gerät
Laptop HD SD Card NAND
Sequncial Timing cached reads [MB/sec] 520.85 351.32 401.73
Timing buffered disk reads [MB/sec] 61.98 9.86 13.52
Random access rate [seeks/sec] 54 640 430
access time [ms] 18.36 1.56 2.32
users/skruppy/ext/cubieboard.txt · Zuletzt geändert: 2014/03/03 06:00 von skruppy