ArchLinux ARM for CubieTruck : any ideas ?

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

ArchLinux ARM for CubieTruck : any ideas ?

Postby HLFH » Tue Nov 12, 2013 8:17 am

Hi,

It would be nice if ArchLinux ARM could support CubieTruck (Cubieboard3).

Thanks in advance,
HLFH
 
Posts: 8
Joined: Sun Nov 18, 2012 1:20 am

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby WarheadsSE » Tue Nov 12, 2013 12:28 pm

It would be, but we don't have one.

Needed:
- Fex
- Uboot
- Kernel

Use:
- any other sunxi 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: ArchLinux ARM for CubieTruck : any ideas ?

Postby WebReflection » Tue Nov 12, 2013 6:20 pm

surely a board would be essential but there is already everything you asked in their repo.

the fex is there: https://github.com/linux-sunxi/sunxi-bo ... config/a20

and via sunxi-bsp you basically need just to

$this->bbcode_second_pass_code('', '
./configure cubietruck
make
')

… well, you know that already :D
Last edited by WarheadsSE on Tue Nov 12, 2013 6:23 pm, edited 1 time in total.
Reason: FTFY: fed v fex
WebReflection
 
Posts: 99
Joined: Tue Apr 02, 2013 6:49 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby kentowen » Sun Nov 17, 2013 12:50 am

I got my cubietruck booted following the Cubieboard 2 instructions, although I can't seem to get the ethernet connection to work, I'm assuming because it's a different model than the Cubieboard. I'm currently connected through serial (UART -> USB). Currently reading everything I can to get it all working, I'd love to help out.
kentowen
 
Posts: 1
Joined: Sun Nov 17, 2013 12:46 am

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby e33b1711 » Tue Nov 26, 2013 8:27 pm

Hi there,

look at this: http://www.cubieforums.com/index.php?topic=977.0

I think somebody allready has made it work!

I´ll try tomorrow and post if it worked for me.
e33b1711
 
Posts: 1
Joined: Mon Nov 25, 2013 8:04 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby moscar » Thu Nov 28, 2013 9:42 pm

I'm running ArchLinux on my cubietruck, but with a kernel compiled on debian with gcc 4.6. The reason for that is that I have not been able to get a kernel compiled with gcc 4.7 to work yet.

This is the kernel I use:
https://github.com/cubieboard/linux-sunxi

with this config:
https://github.com/cubieboard/cubie_con ... _defconfig

And this is the fex:
https://github.com/linux-sunxi/sunxi-bo ... etruck.fex
moscar
 
Posts: 24
Joined: Wed Nov 20, 2013 6:18 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby issue » Fri Nov 29, 2013 7:47 pm

stage/sunxi-3.4 compiled fine for me with gcc 4.7. I put together a hwpack that can be flashed with the archrootfs to an sdcard
https://www.dropbox.com/sh/k1f565ahsi0vjhh/m69wRBJkCl
ct.tar.xz is the hwpack

Also uploaded a PKGBUILD and package for the kernel
issue
 
Posts: 5
Joined: Fri Nov 29, 2013 7:43 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby maribu » Wed Dec 04, 2013 4:54 pm

Hi, issue!

I can't get my CubieTruck booting with your kernel packages. This is what I did:

I followed the instructions for the Cubieboard 2 from here http://archlinuxarm.org/platforms/armv7/allwinner/cubieboard-2. With this I get a booting sdcard, but my ethernet port does not work.

What I did then was chrooting in the root system of the working arch linux sdcard and removing linux-sun7i and installing your linux-sunxi kernel package and header package. With this new kernel, it does not boot anymore. I replaced the u-boot ($this->bbcode_second_pass_code('', 'dd if=sunxi-spl.bin of=/dev/sdX bs=1024 seek=8') and $this->bbcode_second_pass_code('', 'dd if=sunxi-spl.bin of=/dev/sdX bs=1024 seek=32')) with the versions on your dropbox. I tried both version you provided, the one directly in your dropbox folder in the version in ct.tar.xz. I also tried different versions of script.bin (the "default" script.bin in the official arch linux rootfs, the one from your ct.tar.xz and also the you get by fex2bin using this fex file: https://github.com/linux-sunxi/sunxi-bo ... etruck.fex).

I also tried the kernel in your ct.tar.xz, a kernel I compiled myself from https://github.com/cubieboard/linux-sunxi with different defconfs. Still no image boots, only the default arch linux cubiarboard 2 image and the official linaro image from cubieboard.org.

Is there anything I missed? Would you mind also uploading your script.bin and uEnv.txt? Do you use one big ext4 partition on your sdcard, as the instructions for cubieboard 2 suggest? Or do you have a small boot partition and a big ext4 partition?

Thanks!
maribu
 
Posts: 33
Joined: Wed Nov 23, 2011 12:39 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby WarheadsSE » Wed Dec 04, 2013 7:48 pm

Can this be merged with the existing sun7i ?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby maribu » Wed Dec 04, 2013 8:42 pm

@WarheadSE This would be wonderfull. This was actually my first try to get the ethernet port working. I change the the _commit variable to the lastest commit and answered all the questions during compile to match the defconfig from here https://github.com/cubieboard/cubie_configs/blob/master/kernel-configs/3.4/cubietruck_defconfig

For me this didn't work. Just like the linux-sunxi kernel the system stopped booting for me.

Regards,
maribu
maribu
 
Posts: 33
Joined: Wed Nov 23, 2011 12:39 pm

Next

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 6 guests