====== Cubieboard 1 (1G RAM Version) ====== ===== Some names/files ===== * ''script.bin'': Compiled [[http://linux-sunxi.org/Fex_Guide|FEX]] file [[http://linux-sunxi.org/Script.bin|[1]]]. * ''u-boot.bin'': U-Boot bootloader binary (can be found after 32KiB (at least) on the SD card) * ''sunxi-spl.bin'' (short for [[http://en.wikipedia.org/wiki/SPL|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'' [[http://rhombus-tech.net/allwinner_a10/a10_boot_process/|Description]] [[http://www.j1nx.nl/u-boot-for-allwinner-explained/|of]] the Boot process. Creating loopback devices for images with partitions: ''losetup --show -f -P test.img'' ===== Installing Arch Linux on SD Card ===== [[http://archlinuxarm.org/platforms/armv7/allwinner/cubieboard|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 [[http://dl.linux-sunxi.org/users/amery/sunxi-3.0/latest/cubieboard_hwpack.tar.xz|hwpack]] ([[http://linux-sunxi.org/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 [[http://archlinuxarm.org/forum/viewtopic.php?f=33&t=3821&start=70|Forums Thread]]. ===== Installing OS on NAND ===== * [[http://linux-sunxi.org/Installing_to_NAND_from_SD_card|Link]] Clean documentation, compiles it own u-boot * [[http://linux-sunxi.org/U-Boot|Link]] Instructions for cimpiling U-Boot * [[https://www.miniand.com/forums/forums/development/topics/boot-ubuntu-lubuntu-from-internal-4g-flash?page=2|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) * [[http://www.cubieforums.com/index.php?topic=72.0|Link]] Forum post describing a way using the original Boot loader * [[https://github.com/cubieplayer/Cubian/wiki/Install-Cubian|Description]] for installing [[http://cubian.org/|Cubian]] on NAND using [[https://github.com/cubieplayer/packages.cubian.org/blob/gh-pages/pool/main/c/cubian-nandinstall/cubian-nandinstall_1.0-5_all.deb|cubian-nandinstall]] * [[http://linux-sunxi.org/Cubieboard/Installing_on_NAND|Link]] Wired instructions using prebuilds ===== System ===== [[../int/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 |