Cubieboard anyone?

This forum is for supported devices using an ARMv7 Allwinner SoC.

Re: Cubieboard anyone?

Postby andre » Sun Dec 16, 2012 1:38 pm

My CubieBoard arrived last friday, but I only had time to take a look at it today.
First of all it turned out to be the 512 MB version. I assumed it would be an 1 GB
version, as this was advertised on the Indiegogo campaign.

So far my findings:

Using the Mele A100 instructions, which script.bin file as described above,
does not boot. The ArchLinuxARM kernel appears to be having problems with the CubieBoard.

Using the kernel from http://dl.linux-sunxi.org/amery/sunxi-3 ... ack.tar.xz
The board boots up correctly. I tested the script.bin from this image with the ArchLinuxARM kernel,
so rule out the problem being caused by an incorrect script.bin file. The Arch kernel still having
the problem, but the linux-sunxi kernel booting fine. So, the issue is with the kernel in combination
with the board.

So, the installation procedure would be:
Partition the SD Card using the mkA10card.sh from Mele-bootloader.tar.gz
Extract the ArchLinuxARM-sun4i-latest.tar.gz to the root partition
copy the content of the bootloader and kernel directory from cubieboard_512_hwpack.tar.xz to the boot partition
copy uEnv.txt from Mele-bootloader.tar.gz to the boot partition
copy the content of the rootfs directory to the root partition

This boots the system, giving a console on the serial port. I still have no output on the HDMI port. I will have to do some more investigations about this issue.
andre
 
Posts: 69
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: Cubieboard anyone?

Postby WarheadsSE » Sun Dec 16, 2012 7:12 pm

Thanks for the feedback. I really need to get back to this kernel & the guys developing it.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard anyone?

Postby andre » Mon Dec 17, 2012 9:28 am

You're welcome.
I believe I forgot to attach the kernel log. (When trying to add it, extension txt is not allowed)
I've also written about the CubieBoard on my blog, so I'll link to the kernel log there:
http://andre.blaatschaap.be/2012/12/cubieboard-and-a-little-pi/arch-kernel/
andre
 
Posts: 69
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: Cubieboard anyone?

Postby WarheadsSE » Mon Dec 17, 2012 5:27 pm

I took a look at the log, definitely a problem with the hcd init, probably because that kernel needs updated :P I've seen that problem with slight mis-configs as well.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard anyone?

Postby ealrann » Thu Jan 03, 2013 12:25 am

Thanks for the post.

Does anybody tryed the SPDIF on the GPIO ? I only have the default audio (sun4i-CODEC) and the hdmi (sun4i-sndhdmi) but no SPDIF output.

Edit : I also tried the last sunxi kernel (3.4), but still no SPDIF.
ealrann
 
Posts: 2
Joined: Thu Jan 03, 2013 12:21 am

Re: Cubieboard anyone?

Postby ealrann » Thu Jan 03, 2013 6:23 pm

Ok, spdif detected (use modules in /lib/modules/3.4.19/kernel/sound/soc/sun4i/spdif).
ealrann
 
Posts: 2
Joined: Thu Jan 03, 2013 12:21 am

Re: Cubieboard anyone?

Postby zaghaghi » Sat Jan 26, 2013 12:08 pm

$this->bbcode_second_pass_quote('andre', '
')So, the installation procedure would be:
Partition the SD Card using the mkA10card.sh from Mele-bootloader.tar.gz
Extract the ArchLinuxARM-sun4i-latest.tar.gz to the root partition
copy the content of the bootloader and kernel directory from cubieboard_512_hwpack.tar.xz to the boot partition
copy uEnv.txt from Mele-bootloader.tar.gz to the boot partition
copy the content of the rootfs directory to the root partition


I used your instruction, also move kernel modules from /lib/modules to /usr/lib/modules so all modules loaded on boot time, so hdmi output works well.

UPDATE: @andre: As I see now you update installation procedure on http://andre.blaatschaap.be/2013/01/ins ... ubieboard/
zaghaghi
 
Posts: 1
Joined: Sat Jan 26, 2013 12:04 pm

Re: Cubieboard anyone?

Postby WarheadsSE » Sat Jan 26, 2013 1:43 pm

I have also updated the kernel from linux-sunxi, and placed it into the repo. I need to make a new rootfs.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Cubieboard anyone?

Postby andre » Mon Jan 28, 2013 4:25 pm

I am still looking at getting X working.
There is a package in AUR, xf86-video-mali, which appears to be broken.
It depends on mali400, which only contains binaries, but no headers, and during build <ump/ump.h> is missing.
( using https://github.com/linux-sunxi/libump it builds )
However, it builds it's own xorg-server-mali replacing teh xorg-mali, resulting in ABI conflicts.

This also brings me to take another look at my guide, what to do with the libraries from the hardware pack? As they are in mali400, and libump comes from the git repository mentioned above.
andre
 
Posts: 69
Joined: Wed Jan 25, 2012 1:39 pm
Location: Eindhoven

Re: Cubieboard anyone?

Postby rvalles » Sat Feb 02, 2013 11:20 am

Just received mine. For now I'm using the linaro that's available from berryboot to install, but intend to move to arch later on, perhaps when dd-able images are available.
rvalles
 
Posts: 5
Joined: Sat Feb 02, 2013 11:18 am

PreviousNext

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 4 guests