"hwpack" means a "hardware-specific package".
Latest hwpacks for various Allwinner devices are available from:
You can also create a new hwpack by using sunxi-bsp tools.
Please refer to BSP guide for hwpack automatic installation.
You can extract the downloaded hwpack file by running:
tar -xf *_hwpack.tar.xz
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:
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).
If you do this on an already existing SD-card image you may also want to clear the u-boot environment area, to remove any old settings that may have been saved there and return to the (very reasonable) u-boot defaults:
dd if=/dev/zero of=/dev/sdX bs=1024 seek=544 count=128