Author Topic: Cubieboard v2 (A20) images  (Read 73046 times)

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #30 on: July 16, 2013, 05:04:20 pm »
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.

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #31 on: July 16, 2013, 05:06:39 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

Offline Rossini

  • Newbie
  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #32 on: July 16, 2013, 05:21:27 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

  • Guest
Re: Cubieboard v2 (A20) images
« Reply #33 on: July 18, 2013, 10:55: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?

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #34 on: July 18, 2013, 08:02:37 pm »
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.
« Last Edit: July 28, 2013, 10:36:48 pm by patwood »

Offline sanyigz

  • Full Member
  • ***
  • Posts: 100
  • Karma: +1/-2
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #35 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.

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #36 on: July 21, 2013, 11:26:21 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.

Offline sanyigz

  • Full Member
  • ***
  • Posts: 100
  • Karma: +1/-2
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #37 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 :(
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.

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #38 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).
« Last Edit: July 21, 2013, 10:06:42 pm by patwood »

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #39 on: July 21, 2013, 10:24:48 pm »
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.

Offline sanyigz

  • Full Member
  • ***
  • Posts: 100
  • Karma: +1/-2
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #40 on: July 22, 2013, 07:19:45 am »
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"?

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #41 on: July 22, 2013, 09:48:06 am »
No. Delete the entire line.

Offline sanyigz

  • Full Member
  • ***
  • Posts: 100
  • Karma: +1/-2
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #42 on: July 23, 2013, 02:23:16 pm »
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.
« Last Edit: July 23, 2013, 02:55:57 pm by sanyigz »

Offline drkbcn

  • Full Member
  • ***
  • Posts: 101
  • Karma: +16/-1
    • View Profile
    • Cubieboard, Raspberry Pi & Linux
Re: Cubieboard v2 (A20) images
« Reply #43 on: July 23, 2013, 02:54:09 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

Offline patwood

  • Linux geek
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1660
  • Karma: +129/-0
    • View Profile
Re: Cubieboard v2 (A20) images
« Reply #44 on: July 23, 2013, 03:48:43 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.