Nightly Builds for AllWinner A10 U-boot, Linux Kernel and Hardware Packs

Kent of SCUZ Technologies has graciously provided a build machine (Intel Xeon E5645) for Rhombus Tech (and possibly other) open source projects, and I’ve setup nightly build scripts for AllWinner A10 kernel, bootloader (u-boot) and hardware packs for Mele A1000 (HDMI), Mele A1000 (VGA), A10 mini PCs (using MK802 script.bin) as well as a server build for Mele A1000.

The nightlies are built using  a10-hwpack-bld.sh script which is available in github, and can be downloaded from http://dl.linux-sunxi.org/nightly/

The resulting files are copied to a dropbox folder, until a better solution is found.

For each build, you’ll find the following files :

  • u-boot.bin – U-boot
  • sun4i-spl.bin – U-boot SPL
  • uImage – Kernel image
  • product_YYYY.MM.DD.log (e.g. mele-a1000_2012.07.20.log) – The build logs whether the build succeeds of fails. One per hardware pack.
  • product_hwpack_YYY.MM.DD.log ( e.g. mele-a1000_hwpack_2012.07.20.7z) – The hardware pack with the kernel, u-boot which can be used with a1x-media-create.sh script to create an SD card image or make a bootable SD card.

There are currently 4 hardware packs available:

  • mele-a1000_hwpack_YYYY.MM.DD.7z – For Mele A1000/A2000 with HDMI output
  • mele-a1000-vga_hwpack_YYYY.MM.DD.7z – For Mele A1000/A2000 with VGA and Composite output (Hopefully, we’ll eventually find a way to have just one image for HDMI, VGA and composite)
  • mk802_hwpack_YYYY.MM.DD.7z – For A10 mini PCs such as MK802, AK802, Zero Devices Z802, Uhost, Oval Elephant… (The kernel crashes at boot time for now – See issue 46)
  • mele-a1000-server_hwpack_YYYY.MM.DD.7z – For Mele A1000/A2000. This image located in the “server” directory does not support video output, but provides 512 MB RAM for Linux.

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:


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:


There are two goals to build those nightlies. First, make sure the source code can build, and second provide binaries to people who want to test the latest kernel, but do not have the time to build their own. If this needs improvements, comments are welcome.

Share this:
FacebookTwitterHacker NewsSlashdotRedditLinkedInPinterestFlipboardMeWeLineEmailShare

Support CNX Software! Donate via cryptocurrencies, become a Patron on Patreon, or purchase goods on Amazon or Aliexpress

ROCK 5 ITX RK3588 mini-ITX motherboard

41 Replies to “Nightly Builds for AllWinner A10 U-boot, Linux Kernel and Hardware Packs”

  1. @ misko
    There are no packages in those images, this would be in the rootfs. If you are using Ubuntu / Linaro rootfs, then NEON will be detected at runtime for specific libs.

  2. @ Lacroser
    I’ve got the armel OpenGL ES libs inside, but I’ll update it to armhf soon, since those are now available.
    The Mali drivers that are part of the kernel are included, but the other drivers for X11 support are not.

    Btw, I’ve never seen anything using OpenGL ES working in Linux for Allwinner A10 devices yet.

  3. @ Eric
    Kernel source – https://github.com/amery/linux-allwinner
    u-boot source – https://github.com/hno/uboot-allwinner

    If you want to build it, there are instructions on Internet, or just use a10-hwpack-bld.sh script available on https://github.com/cnxsoft/a10-tools

    If you want to build Android try that: http://linux-sunxi.org/Starting_a_CyanogenMod_device_tree

    And some more details about development documentation – http://www.cnx-software.com/2011/12/28/allwinner-a10a1x-processor-resources-development-board-and-sdk/

  4. I would like to be able to upgrade each of the components (system, kernel and u-boot) individually from within linux. I can do that for the first 2 components using dd. I would like to do the same for the bootloader. Can someone tell me which image I need to dd. I tried u-boot.bin but that was unsuccessful.

  5. To get another u-boot on SD card you need u-boot.bin and sun4i-spl.bin (or sunxi-spl.bin). First delete the old u-boot environment:
    dd if=/dev/zero of=/dev/sdX bs=1024 seek=544 count=128
    Install the SPL loader to the 8th block of the SD:
    dd if=sun4i-spl.bin of=/dev/sdX bs=1024 seek=8
    Install u-boot to block 32 of the SD:
    dd if=u-boot.bin of=/dev/sdX bs=1024 seek=32

  6. @me here
    There must be a slightly newer one (around 15 Oct). I know there is now a problem with compiling U-boot with armhf compiler (since I receive automatic emails about the build failure everyday). I haven’t had time to really look into it, but I should have time next week.

  7. Hello, I want to ask if this kernel support 1024MB RAM? I have downloaded nigly uImage and VGA hw pack, but before I flash it, I want to know if I’ll have 1024MB RAM or not. Latest kernel from Guillaume is tuned so I have almot whole RAM available. I have chineese laptop A10 Boxchip, clone of Allwinner A10. It’s product name is Softwiner EvbV13, it comes with 3x USB, A10 chip, and 1024MB RAM. it also do have webcam, keyboard and touchpad.

    I am actually running ubuntu 12.10 armhf image in NAND from Guillaume, so I suppose it’s enough to flash kernel and hwpack. Do this kernel have X11 support?

    With actual setup, I have something around ~960MB of RAM, and glxgears reports 30fps. I can play mp3 with ffmpeg codec, but I can’t videos make work.

    Thanks for any clues and reply you may provide.

  8. Thanks for answer, but I don’t need uBoot. I am still using original android uBoot, which was already flashed in my laptop. What i am interested in, is if this kernel’s cmdline have or don’t have mem parametter set. Guillaume’s latest kernel 3.0.42+ has this parametter modified to 1024MB, so I am able to use my whole RAM, as seen here:
    http://guillaumeplayground.net/mele-armhf-3-0-57-kernel-update/

    I want to use just uImage (kernel) and hw pack, specifically kernel modules. I don’t need anything else, especially not uBoot. I am running my Ubuntu desktop from NAND, and SD works as my /home and /usr (three standalone partitions, /home, /usr and swap).

    So my plan is to extract uImage and hwpack on the laptop, overwriting /boot/linux/uImage and /usr/lib/ content. Nothing more. It should work, I even to not need mele-a1000-vga.bin, because I am using default script.bin from android, which makes my LCD work fine.

    Correct me please, if I said something wrong.

  9. @cnxsoft Thanks. I will, but for security measures, I will have to buy new SD as a backup, to have something to restore from 😉 Local IT store is five minutes by car away, so I’ll do it today.

  10. Request for help from the Mele owners: Could you test if the mele can send different output to at least two of HDMI/VGA/RCA ports?

    My laptop has a VGA out and HDMI. Using xrandr I can make an extended desktop spanning over two screens, with the VGA out covering one and the HDMI covering the other. I would like to do the same, specifically

    * to display independent (mostly PDF) slides — static images
    * 800×600 resolution is fine (640×400 is probably too low)
    * I do not need to drag a window from one screen to another (xrandr allows that)

    Does mele support this? This is for school use and I need to provide evidence that it would work before I can get one for testing 🙁 so your help is most appreciative. The best scenario for us is to use RCA+VGA — yes we’re still in the dark age.

    THANKS!

  11. @cnxsoft
    So I have tested both kernel and hwpack, and it works. Only thing which I am missing, is actually RAM. Can this kernel be customized, and built with support for 1024MB of RAM? I think that guillaume had to specify mem= parametter on kernel cmdline….

    In his build, mali kernel module can’t be loaded, it complains about bad address.

  12. @sao
    I only tried mirroring in the Mele, and I could output to both VGA and RCA at the same time, but I’m not sure about independent displays. I think it can be set inside script.bin.
    But one guy managed to output to independent displays in the Cubieboard (HDMI and LVDS). https://plus.google.com/communities/110581875917252138216 So I’d assume this is feasible, but you’ve have to work a bit to achieve that.

    @Virnik
    You can have a look at what I had done to get 512MB in a 512MB Mele here: http://www.cnx-software.com/2012/06/22/ubuntu-12-04-server-armhf-image-for-mele-a1000a2000/

  13. @cnxsoft
    Thanks for the link, but your image is headless. I am using this chipset in laptop, so headles is nothing I want. And my chipset does have 1GB RAM, so it is useless to have only 350MB of RAM for me. That is why I have asked.

  14. @cnxsoft Well, it is possible that I’ve described that problem in different thread, not this one…so…I am using original android u-boot, and that version does not support param file. If you need to specify parametters for the kernel, you have to have this record compiled in the binary. And that is what I’ve asked for.

    Haven’t had need to reflesh uBoot too.

  15. I got the latest build (3.0.62+ kernel) from this nightly server, and installed it with the norootfs option. All was OK and works fine, but I found that the /lib/modules/3.0.62+/build directory is an orphan symlink to /home/buildbot/allwinner/build/
    2013.02.14/server/bld_a10_hwpack_2013.02.14/linux-sunxi. I don’t know how to recover it.

  16. I will try the cross-compiling, although I don’t understand why I can’t build the driver on the target system, being a complete Ubuntu Server release.
    The driver comes with an automated script to configure, build and install the driver, but now it seems that I have to do the hard work manually.
    Many thanks for your answer. This site is fantastic!

  17. how to compile android source and kernel for the mele a2000.

    i had compiled one but it was unsuccessful and got stuck at the zygote process. i followed the following steps:

    $./build.sh -p sun4i_crane -k 3.0

    $source build/envsetup.sh
    $lunch

    i chose crane-evb-v13

    $extract-bsp
    $make -j8
    $pack

    can anyone help me out with this…i am terribly need to build a working image please help.

  18. @DesertF0x
    Actually not, and I’m supposed to receive an email with the build status everyday (and it worked according to the email), but this obviously did not work as the last successful build was 2 month ago. Maybe I’ll have a look soon. But you’d better check image created with linux-sunxi.org BSP instead.

Leave a Reply

Your email address will not be published. Required fields are marked *

Boardcon Rockchip and Allwinner SoM and SBC products
Boardcon Rockchip and Allwinner SoM and SBC products