December 14, 2019, 10:25:32 pm

News:

Have you visited the Allwinner Chipset wiki? - http://linux-sunxi.org/


Cubieboard v2 (A20) images

Started by GastonLagaffe, July 06, 2013, 11:05:29 am

Previous topic - Next topic

patwood

Quote from: phireis on July 16, 2013, 11:01:06 am
Is it possible to use pl2303 module with this image?

No, but I see the driver source in the kernel tree, so you should be able to build it.

patwood

Quote from: Rossini on July 16, 2013, 04:09:22 pm
hi there, can someone explain how i can change the kernel with the new one with nand support, please? i'm new to this linux/kernel/boot partition things.

thanks!

I'll be posting a tutorial in this topic soon: http://www.cubieforums.com/index.php/topic,511.0.html

Rossini

Quote from: patwood on July 16, 2013, 05:06:39 pm
Quote from: Rossini on July 16, 2013, 04:09:22 pm
hi there, can someone explain how i can change the kernel with the new one with nand support, please? i'm new to this linux/kernel/boot partition things.

thanks!

I'll be posting a tutorial in this topic soon: http://www.cubieforums.com/index.php/topic,511.0.html


happy waiting :) thanks
Cubieboard2 A20: Pure Debian Jessie

phireis

Quote from: patwood on July 16, 2013, 05:04:20 pm
Quote from: phireis on July 16, 2013, 11:01:06 am
Is it possible to use pl2303 module with this image?

No, but I see the driver source in the kernel tree, so you should be able to build it.

It is possible to build this single module on the cubieboard? Could you point me out how?

patwood

July 18, 2013, 08:02:37 pm #34 Last Edit: July 28, 2013, 10:36:48 pm by patwood
Quote from: phireis on July 18, 2013, 10:55:06 am
Quote from: patwood on July 16, 2013, 05:04:20 pm
Quote from: phireis on July 16, 2013, 11:01:06 am
Is it possible to use pl2303 module with this image?

No, but I see the driver source in the kernel tree, so you should be able to build it.

It is possible to build this single module on the cubieboard? Could you point me out how?

You can give this a try: http://dl.cubieforums.com/patwood/pl2303.ko.gz.  It's completely untested, but should be compatible with the bluetooth and nand support kernels/modules I uploaded on the 10th and 14th (but probably not with the original one in writesd or cubiuntu-0.5-A20.img.7z; you'd need to update the kernel and modules as described here: http://www.cubieforums.com/index.php/topic,504.msg2430.html#msg2430.  Edit: I have removed this file; new up-to-date kernel and modules are here: http://dl.cubieforums.com/patwood/A20-kernel-3.3.0.tar.gz.

sanyigz

I've tested again this image VS the cisco modem. It's still crashes the modem at "waiting for network setup", but after the OS is fully booted, and then i connect to the network, it gets the settings correctly from the modem through dhcp, and the internet access works.

patwood

Quote from: sanyigz on July 21, 2013, 07:14:28 am
I've tested again this image VS the cisco modem. It's still crashes the modem at "waiting for network setup", but after the OS is fully booted, and then i connect to the network, it gets the settings correctly from the modem through dhcp, and the internet access works.

That's useful information.  I just found out that the ethernet driver on the A20 is significantly changed from the A10 version.  Also, there's an initial handshake between the ethernet HW to determine speed and duplex.  This is completely out of band with respect to network packets and anything tools like ifconfig will report for data transmission.  Perhaps that's causing your problem.

There's really nobody out there handling ethernet driver issues on the A10 or A20, so I wouldn't hold my breath on getting this fixed.

sanyigz

Im writing this post from cubie2 using the new debian 7.1 image, and the same happened at boot, like with your image :(
So it seems i need to disconnect cubie2 from network every time when i start it. I will look around if i can config these systems to boot with disabled network, then enable it manually with ifup eth0 or something.
But the strange is, the default android have problems with DHCP, but still not crashing the modem at boot.

patwood

July 21, 2013, 10:03:03 pm #38 Last Edit: July 21, 2013, 10:06:42 pm by patwood
Try turning auto off for eth0 in /etc/network/interfaces, and stick an ifup eth0 in /etc/rc.local (or maybe ifconfig eth0 up).

patwood

Quote from: sanyigz on July 21, 2013, 11:55:40 am
Im writing this post from cubie2 using the new debian 7.1 image, and the same happened at boot, like with your image :(

Not surprising, same kernel.
Quote
But the strange is, the default android have problems with DHCP, but still not crashing the modem at boot.

That is strange, as the Ethernet driver I have came from the cb2 android Linux sources.  I'll look at the commit logs, but I don't think anything changed.

sanyigz

Quote from: patwood on July 21, 2013, 10:03:03 pm
Try turning auto off for eth0 in /etc/network/interfaces, and stick an ifup eth0 in /etc/rc.local (or maybe ifconfig eth0 up).


That's exactly how i disable it? "Just "auto off eth0"?

patwood


sanyigz

July 23, 2013, 02:23:16 pm #42 Last Edit: July 23, 2013, 02:55:57 pm by sanyigz
It works without problem if i comment the auto eth0 line cubie2 doesn't make the modem crash, but if i put ifup eth0 in /etc/rc.local it doesn't, i need to ifup manually from terminal after every boot.

drkbcn

Quote from: sanyigz on July 23, 2013, 02:23:16 pm
It works without problems if i comment the auto eth0 line, but if i put ifup eth0 in /etc/rc.local it doesn't, i need to ifup manually from terminal after every boot.


Try with ~/.xsession or ~/.xinitrc if you are using X.
Blog sobre Raspberry Pi, Cubieboard y Linux
http://belinuxmyfriend.blogspot.com

patwood

Quote from: drkbcn on July 23, 2013, 02:54:09 pm
Quote from: sanyigz on July 23, 2013, 02:23:16 pm
It works without problems if i comment the auto eth0 line, but if i put ifup eth0 in /etc/rc.local it doesn't, i need to ifup manually from terminal after every boot.


Try with ~/.xsession or ~/.xinitrc if you are using X.

Make sure the ifup goes in first before any of the cpu freq settings. rc.local exits on the first error, and I seem to recall that one of these may be failing on the A20 image.