Hwpack

"hwpack" means a "hardware-specific package".

Latest hwpacks for various Allwinner devices are available from:


 * http://dl.linux-sunxi.org/amery/sunxi-3.0/latest/

You can also create a new hwpack by using sunxi-bsp tools.

Extracting
You can extract the downloaded hwpack file by running: tar -xf *_hwpack.tar.xz

Contents
After unpacking you will have three directories:


 * bootloader: contains sunxi-spl and u-boot;
 * kernel: contains kernel uImage and script.bin;
 * rootfs: contains some configuration files and kernel modules.

Updating an SD-card with u-boot from a hwpack
u-boot consists of two files in the bootloader directory:


 * sunxi-spl.bin
 * u-boot.bin

You need to write them into fixed areas of your SD-card: dd if=sunxi-spl.bin of=/dev/sdX bs=1024 seek=8 dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32 ...where /dev/sdX is your SD card (make sure you use the correct device name here).