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

Orange Pi Development Boards

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.

42
Leave a Reply

avatar
41 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
15 Comment authors
DesertF0xGopipamplinasaoVirnik Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
misko
Guest
misko

nice, thx

misko
Guest
misko

Just one question
Do you know if armhf packages are build with NEON support ?

Lacroser
Guest
Lacroser

What about OpenGL drivers?

geinux
Guest
geinux

how I can enable the ethernet port? lubuntu 12.04

Eric
Guest
Eric

Dear sir,

I am interesting in MELE A1000. Does anyone know how to get source code?

Thanks

trackback

[…] more: http://www.cnx-software.com/2012/07/20/nightly-builds-for-allwinner-a10-u-boot-linux-kernel-and-hard… linaro-precise-ubuntu-desktopのカードができます。 No related links found […]

trackback

[…] Jean-Luc has organized nightly builds of Linux kernel for A10 devices. Also there are scripts which format the SD card and install the […]

Steven Vo
Guest
Steven Vo

I tried mele-a1000-server but it couldn’t support SATA. May I know what I was doing wrong?

Homam Dabis
Guest
Homam Dabis

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.

äxl
Guest
äxl

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

me here
Guest
me here

it seems last nightly that was completely build is this one:
http://dl.linux-sunxi.org/nightly/2012.09.30/

probably a bug!?

randy
Guest
randy

i need the firmware for this device •CVJI-E212 please assist where can i download the firmware

trackback

[…] need a Linux image with an armhf rootfs. I’ll use Lianro ALIP 12.10 rootfs, following the hardware packs instructions. Insert an SD card in the build machine, and make it bootable: wget […]

trackback

[…] You need to use sunxi-media-create.sh, and the instructions are the same as for a1x-media-create.sh. If you want to keep your existing rootfs, and just update the U-Boot, the kernel, kernel modules […]

Virnik
Guest
Virnik

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.

Virnik
Guest
Virnik

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.

Virnik
Guest
Virnik

@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.

sao
Guest
sao

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!

Virnik
Guest
Virnik

@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.

Virnik
Guest
Virnik

@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.

Virnik
Guest
Virnik

@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.

pamplina
Guest
pamplina

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.

pamplina
Guest
pamplina

@cnxsoft
But I need the build directory to compile a driver that asks for it.

pamplina
Guest
pamplina

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!

Gopi
Guest
Gopi

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.

DesertF0x
Guest
DesertF0x

Have the nightly builds been stopped?