Opened 5 years ago

Last modified 4 months ago

#11099 new task

ARM: Cubieboard (A10) / Cubieboard 2 (A20) support

Reported by: dsjonny Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: ARM, Cubieboard, A20, Cc:
Blocked By: Blocking:
Has a Patch: no Platform: arm

Description

It would be fine if there would be a Cubieboard compatible version of the Haiku's ARM port.

Cubieboard A20 is an ARM based mini SoC system. It has an Allwinner A20 CPU with 2 cores, 1 GiB RAM, build-in 4 GiB NAND chip, SATA, Mali VGA with HDMI output, ethernet, USB 2.0 and ALSA sound.

Some URLs: http://docs.cubieboard.org/products/start#cubieboard2 http://docs.cubieboard.org/resources http://dl.cubieboard.org/software/a20-cubieboard/

Actually it runs some Linux distributions but I think Haiku would be better and much more usable.

I have attached all the details what I found on the running system using Fedora 20 (I don't know what is useful in this case).

Attachments (4)

Cubieboard2.txt (13.1 KB ) - added by dsjonny 5 years ago.
alsa.txt (8.2 KB ) - added by dsjonny 5 years ago.
usb.txt (2.7 KB ) - added by dsjonny 5 years ago.
dmesg.txt (26.8 KB ) - added by dsjonny 5 years ago.

Download all attachments as: .zip

Change History (12)

by dsjonny, 5 years ago

Attachment: Cubieboard2.txt added

by dsjonny, 5 years ago

Attachment: alsa.txt added

by dsjonny, 5 years ago

Attachment: usb.txt added

by dsjonny, 5 years ago

Attachment: dmesg.txt added

comment:1 by pulkomandy, 5 years ago

More useful would be:

  • Hardware schematics
  • Programming manual of the chips used (Allwinner A20 itself and any support chips for bluetooth, sound, etc.)
  • Donating/lending one such board to Haiku developers to make this happen.

Unfortunately providing manuals is not where Allwinner is shining.

I have some Allwinner A10 based hardware I plan to play with, but didn't have time to dig into this yet.

comment:2 by dsjonny, 5 years ago

You can find some technical documents here:

http://dl.cubieboard.org/docs/EN/ http://linux-sunxi.org/Main_Page http://linux-sunxi.org/Sunxi_disp_driver_interface http://dl.cubieforums.com/pdf/ http://linux-sunxi.org/Category:Register_guide

Unfortunatelly I have only one of the Cubieboard 2, but maybe I can provide this for Haiku to help the ARM port.

comment:3 by ithamar, 5 years ago

All Allwinner hardware I've encountered so far (and that's quite a bit) is all using U-Boot, so that helps a little too. Also, they did a proper GPL release and there are reference manuals around. I agree this would be an interesting target too. At the moment though, I think we should get the ARM build stable again, before adding more targets. Once I get a chance to start DeviceTree support, it will become much cleaner to add targets (I hope to do that in the BeGeistert coding sprint).

comment:4 by pulkomandy, 5 years ago

Milestone: R1Unscheduled

comment:5 by danboid, 4 years ago

I'd love to be able run run Haiku on the BananaPi / Cubieboard etc. They seem like a perfect match.

comment:6 by haiqu, 4 years ago

Basic cubieboard is supported. The problem is lack of the Allwinner A20 CPU support. The Cubie4 uses the A80.

If it isn't supported in the qemu-linaro fork it probably won't get done.

comment:7 by pulkomandy, 4 years ago

Basic cubieboard has some support in qemu, but I could not get it to run u-boot IIRC. I don't know if the support is low level enough or if they can only start a linux kernel.

The qemu-linaro fork is used only because it has the beagle-xm support, for other boards we will use whatever has the support (mainstream qemu or yet another fork).

comment:8 by waddlesplash, 4 months ago

Component: - GeneralSystem/Kernel
Note: See TracTickets for help on using tickets.