ArchLinux ARM for CubieTruck : any ideas ?

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

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby Tangente » Wed Mar 19, 2014 9:04 pm

$this->bbcode_second_pass_quote('moscar', 'W')hat does your uEnv.txt look like?

yeah, also wondered about it. Original it just includes a "machid=.." and after updates zero content.

What should it look like on cubieboard2 with alarm with ram just reserved for mali basic text output?
Tangente
 
Posts: 9
Joined: Mon Dec 30, 2013 7:23 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby WarheadsSE » Wed Mar 19, 2014 9:21 pm

The machid should be removed, correct. This is thanks to the changes we've pulled in.

The PR fixing the display was merged.
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 Tangente » Wed Mar 19, 2014 9:42 pm

Yup, but it still does not work. What is meant by serial? serial cable/ console/ ..?
The boot screen shows me the two Linux Tuxes and the rest of the screen is black. Using an advanced uEnv.txt also does not work.
Ty
Tangente
 
Posts: 9
Joined: Mon Dec 30, 2013 7:23 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby moscar » Wed Mar 19, 2014 10:02 pm

Hello Tangente

You need something like this:

$this->bbcode_second_pass_code('', 'extraargs=disp.screen0_output_type=3 disp.screen0_output_mode=10')

http://linux-sunxi.org/Fex_Guide#disp_i ... figuration
moscar
 
Posts: 24
Joined: Wed Nov 20, 2013 6:18 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby fabian20 » Thu Mar 20, 2014 12:12 am

If you don't own a cable/converter like Prolific PL2303 used for serial connection to cubietruck (see http://linux-sunxi.org/Cubieboard/TTL) you can try adding console=tty0 to your extraargs in uEnv.txt like this:
$this->bbcode_second_pass_code('', 'extraargs=console=tty0 disp.screen0_output_type=3 disp.screen0_output_mode=10')
or for standard VGA output you can leave it like
$this->bbcode_second_pass_code('', 'extraargs=console=tty0')

This should give you kernel messages as soon as you can see the two tuxes, so you can further examine your problem.
See here http://linux-sunxi.org/Kernel_arguments for kernel arguments to tune reserved graphics memory, etc.
fabian20
 
Posts: 10
Joined: Tue Mar 18, 2014 2:59 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby Tangente » Thu Mar 20, 2014 6:17 am

Plugging the SD into my PC and changing the uEnv there doesn't change anything, does it? I haven't checked it out yet but I think my problem then was that I used kernelargs instead of extraargs.
Tangente
 
Posts: 9
Joined: Mon Dec 30, 2013 7:23 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby fabian20 » Thu Mar 20, 2014 9:43 am

It sure does if you are booting from SD - it's pretty much your only option :)
fabian20
 
Posts: 10
Joined: Tue Mar 18, 2014 2:59 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby Tangente » Thu Mar 20, 2014 7:26 pm

Uh sorry extremely bad question I meant doesn't change anything more then with serial cable.
Now it hangs at "PCLK=.." but I think I can get it to work on my own.
Thank you for now I just still don't understand why you didn't integrate the extraargs section in the updated uEnv in the alarm repo.
Tangente
 
Posts: 9
Joined: Mon Dec 30, 2013 7:23 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby fabian20 » Sun Mar 23, 2014 5:38 pm

No problem :)
With standard VGA output/serial console/partitioning you don't really need entries in uEnv.txt, that's why.

My PR for fixing display on cubietruck was basically reverted, and according to https://github.com/archlinuxarm/PKGBUILDs/commit/9dffd3a07a143e056d66a4f2635c9d26a6e777ab Cubieboard 2 won't boot when FB_SUNXI_LCD gets built into the kernel.

I did some testing to find the most minimalistic set of changes to bring my Cubietruck to show display output and it seems that it would only work when all of FB_SUNXI are statically compiled into the kernel. This is also the recommended default kernel config by Cubietech:
$this->bbcode_second_pass_code('', 'CONFIG_FB_SUNXI=y
CONFIG_FB_SUNXI_RESERVED_MEM=y
CONFIG_FB_SUNXI_UMP=y
CONFIG_FB_SUNXI_LCD=y
CONFIG_FB_SUNXI_HDMI=y
CONFIG_HDMI_CEC=m') (src:http://dl.cubieboard.org/software/a20-cubietruck/lubuntu/ct-lubuntu-nand-v1.00/ct-lubuntu-server-20131026/cubietruck_defconfig) and is also true for any other working Cubietruck distribution I tried.

There was no combination of blacklisting/module loading orders which lead to any success on my board.

After throughouly testing this issue I think that the Cubieboard 2 / Cubietruck can't both completely work with the exact same kernel in place, at least as long as the underlying LCD driver problem hasn't been fixed for Cubieboard 2.
fabian20
 
Posts: 10
Joined: Tue Mar 18, 2014 2:59 pm

Re: ArchLinux ARM for CubieTruck : any ideas ?

Postby Sqozz » Mon Mar 24, 2014 11:39 pm

Hi Guys,

the past 5 hours i tried to get alarm running on my cubietruck. I stumbled across an old entry (viewtopic.php?f=33&t=6413&hilit=hwpack&start=10#p36642) and tried to make my own alarm sd-card.

Unfortunately the linked hwpack is not available anymore, so i tried to compiled by myself on my arch notebook but this also went wrong. After selecting the cubietruck (./configure cubietruck) and running make it always stop with an error: "recipe for target "u-boot" failed". Is this an dependency problem? Or is there meanwhile an even simpler way to get alarm running on the cubietruck?
Sqozz
 
Posts: 1
Joined: Mon Mar 24, 2014 11:29 pm

PreviousNext

Return to Allwinner

Who is online

Users browsing this forum: No registered users and 5 guests