Discussion
How to get a working kernel
108
24489
|
tkaiser replied at Wed Nov 12, 2014 05:31 
should always do the job
Well spotted |
|
|
|
|
|
|
|
Edited by tkaiser at Wed Nov 12, 2014 06:57
dupont-y replied at Wed Nov 12, 2014 05:45 
for multiport sata card ... you just have to edit drivers/ata/ahci_sunxi.c
Ok, I opened a new thread and tried to collect all available/confirmed information in one place: http://forum.lemaker.org/thread-9207-1-1.html
Could you please check the dmesg output of your JMB321 and correct me there if I'm wrong?  |
|
|
|
|
|
|
|
Replied on the thread. The signature is good.
|
|
|
|
|
|
|
|
strangely enough, just git pulled uboot denx. The gmac patch is here, I checked it. Build it and burned it on my sdcard (no kernel changes, still my custom made kernel).
And next reboot show lots of packet drops ! Very strange.
Pity because I that case, the 2 CPU are onlined...
Time to try other uboots !
|
|
|
|
|
|
|
|
Edited by f4exb at Fri Nov 14, 2014 02:12
Hello,
well it seems that my eth0 problem is not related to the kernel or u-boot but rather lies in some obfuscated configuration file. In fact both mii-tool and ethtool report the interface to be set correctly:
mii-tool:- sudo mii-tool -v
- eth0: negotiated 100baseTx-FD, link ok
- product info: vendor 00:07:32, model 17 rev 5
- basic mode: autonegotiation enabled
- basic status: autonegotiation complete, link ok
- capabilities: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
- advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
- link partner: 1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Copy the Code ethtool:- Settings for eth0:
- Supported ports: [ TP MII ]
- Supported link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Supported pause frame use: No
- Supports auto-negotiation: Yes
- Advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- 1000baseT/Half 1000baseT/Full
- Advertised pause frame use: No
- Advertised auto-negotiation: Yes
- Link partner advertised link modes: 10baseT/Half 10baseT/Full
- 100baseT/Half 100baseT/Full
- Link partner advertised pause frame use: Symmetric
- Link partner advertised auto-negotiation: Yes
- Speed: 100Mb/s
- Duplex: Full
- Port: MII
- PHYAD: 0
- Transceiver: external
- Auto-negotiation: on
- Supports Wake-on: d
- Wake-on: d
- Current message level: 0x0000003f (63)
- drv probe link timer ifdown ifup
- Link detected: yes
Copy the Code The only variation with my working eth0 on the other BPi that runs the 3.4.100 kernel are the supported ports: TP AUI BNC MII FIBRE instead of only TP MII in the "non working" case. This is irrelevant as MII protocol is used anyway. Also the new driver has WOL support but I think this is irrelevant too (and should be pretty cool only if it would work...) |
|
|
|
|
|
|
|
Hello,
I am just fed up with fiddling with the config files, see my new post in an attempt to do some lobbying to get mainline kernel support. I think we are very close to it only if the special GMAC would be supported. In the meantime I think the best option with the Banana-Pi is to forget the on board Ethernet interface. You can get cheap USB/Ethernet adapters or use even cheaper WiFi dongles. Mine works great with the mainline kernel 3.18-rc4 and WiFi to get console access. I only need very little fiddling with DTB sources for Banana-Pi and this will become mainline in 3.19. Starting from the sun7i config and adapting to your needs works perfectly.
Best regards.. |
|
|
|
|
|
|
|
I use mostly wifi and ethernet works here on 100mbit without errors. Cant test gbit here. |
|
|
|
|
|
|