u-boot, kernel and "hardware packs" are now build daily, using nightly.sh script.
The directory contains u-boot, u-boot spl, uImage, hardware packs and build logs.
There are 2 build "flavors":
- STB - For Mele A1000/A2000 and A10 mini PCs e.g. MK802, in the root directory
- Server - For Mele STBs, but video output is disabled and 512 MB memory is available under Linux, in server directory
The easiest way to update your SD card with the latest u-boot and kernel is to use the hardware packs. If you already have an SD card with your own rootfs and files installed, and do not want to delete those files, but still want to update u-boot, the kernel and the kernel modules, you can run the following command:
./a1x-media-create.sh /dev/sdX mele-a1000_hwpack_YYYY.MM.DD.7z norootfs
If you want to create a bootable SD card, get a rootfs of your choice (see bottom of that post) and run the command like:
./a1x-media-create.sh /dev/sdb mele-a1000_hwpack_YYYY.MM.DD.7z linaro-precise-ubuntu-desktop-20120524-177.tar.gz
a1x-media-create.sh script can be found here
Further details are available there.
How to add a new device to the nightly build.
- Retrieve your evb.bin or script.bin from your devices
- Convert it to fex using fex2bin (https://github.com/amery/sunxi-tools/) and give it a since name, e.g. product_name.fex
- Fork https://github.com/cnxsoft/a10-config, add your file and submit a pull request
- Fork https://github.com/cnxsoft/a10-tools, edit nightly.sh and add a line bldhwpack product_name .
under other similar lines. product_name must must the name in product_name.fex
then submit a pull request
That's it! After the pull request has been approved, you should find an hardware pack called product_name-hwpack_YYYY.MM.DD.7z in http://dl.linux-sunxi.org/nightly/latest/ within 24-hours.
Building with initramfs
here peter has documented how to modify the above to build images with an initrd (ram disk) at boot-up, which is necessary for e.g. standard debian kernels: http://www.j1nx.nl Update: A script called a1x-initramfs.sh is now present in the hardware pack files. Simply run a1x-initramfs.sh in the device after the first boot to create an nintramfs. For details and example, see: http://www.cnx-software.com/2012/08/03/allwinner-a10-initramfs-support-and-linaro-12-07-image