Closed avafinger closed 6 years ago
Just an update:
removed this and now eMMC works as expected, exactly as it was done for 3.10
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
So, that seems if eMMC is not enabled, gmac works!
Do you have any plans for the kernel 4.4 ?
Latest new:
Issues:
[ 25.680255] sunxi-codec-machine sndcodec: ASoC: CODEC DAI codec-aif1 not registered
In my build the only issue left is with bt, do you get bt working?
FYI, attaching a 3G dongle on USB power down the board, my board is old but this does not happen on 3.10.
I tried this 3G dongle, can you check if you have the same issue on your 4.4?
46233.800017] usb 2-2: new high-speed USB device number 11 using ehci-pci
[46233.933356] usb 2-2: New USB device found, idVendor=2001, idProduct=a707
[46233.933361] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[46233.933364] usb 2-2: Product: D-Link DWM-157
[46233.933367] usb 2-2: Manufacturer: D-Link,Inc
[46233.933370] usb 2-2: SerialNumber: 536502508135960
[46233.933887] usb-storage 2-2:1.0: USB Mass Storage device detected
[46233.934876] scsi host10: usb-storage 2-2:1.0
[46234.932614] scsi 10:0:0:0: CD-ROM HSPA USB SCSI CD-ROM 6225 PQ: 0 ANSI: 0 CCS
[46234.936451] sr 10:0:0:0: [sr1] scsi3-mmc drive: 0x/0x caddy
[46234.937092] sr 10:0:0:0: Attached scsi CD-ROM sr1
[46234.937258] sr 10:0:0:0: Attached scsi generic sg3 type 5
[46235.351876] usb 2-2: USB disconnect, device number 11
[46236.144019] usb 2-2: new high-speed USB device number 12 using ehci-pci
[46236.276855] usb 2-2: New USB device found, idVendor=2001, idProduct=7d02
[46236.276861] usb 2-2: New USB device strings: Mfr=9, Product=10, SerialNumber=0
[46236.276864] usb 2-2: Product: D-Link DWM-157
[46236.276867] usb 2-2: Manufacturer: D-Link,Inc
[46236.278378] usb-storage 2-2:1.6: USB Mass Storage device detected
[46236.278611] scsi host11: usb-storage 2-2:1.6
[46236.334874] usbcore: registered new interface driver usbserial
[46236.335397] usbcore: registered new interface driver usbserial_generic
[46236.335464] usbserial: USB Serial support registered for generic
[46236.356259] usbcore: registered new interface driver cdc_ncm
[46236.370002] usbcore: registered new interface driver option
[46236.370017] usbserial: USB Serial support registered for GSM modem (1-port)
[46236.370258] option 2-2:1.2: GSM modem (1-port) converter detected
[46236.370339] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB0
[46236.370382] option 2-2:1.3: GSM modem (1-port) converter detected
[46236.370437] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB1
[46236.370474] option 2-2:1.4: GSM modem (1-port) converter detected
[46236.370528] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB2
[46236.370566] option 2-2:1.5: GSM modem (1-port) converter detected
[46236.370620] usb 2-2: GSM modem (1-port) converter now attached to ttyUSB3
[46236.380774] usbcore: registered new interface driver cdc_wdm
[46236.420243] cdc_mbim 2-2:1.0: cdc-wdm0: USB WDM device
[46236.420538] cdc_mbim 2-2:1.0 wwan0: register 'cdc_mbim' at usb-0000:00:1d.7-2, CDC MBIM, fe:28:31:16:67:ae
[46236.420564] usbcore: registered new interface driver cdc_mbim
[46236.425319] cdc_mbim 2-2:1.0 wwp0s29f7u2: renamed from wwan0
[46237.276607] scsi 11:0:0:0: Direct-Access HSPA USB SCSI CD-ROM 6225 PQ: 0 ANSI: 0 CCS
[46237.276894] sd 11:0:0:0: Attached scsi generic sg3 type 0
[46237.280753] sd 11:0:0:0: [sdc] Attached SCSI removable disk
Closing this monologue here.
This is for your Information and for Documentation about the issues i have, maybe you have a suggestion how to fix.
Bootlog for analysis: https://gist.github.com/avafinger/780864b15261ca1e7e96c694decfc36f
I took a different approach to boot kernel 4.4 (not using BSP) in the following way:
What works and what does not:
What works Board boots just fine with this approach and all peripherals/devices are recognized
What does not work
Question: Do you have this fixed or bsp u-boot play some role to enable eMMC?
sndcodec Was not able to activate sndcodec as you can see in boot log
gmac I can see the fix for the gmac on github, but still issues with IPV4 and i have not tested IPV6 yet (just because i can't). Gmac is up but RX is not working properly, only TX. Gbps and Fast ethernet same problem for ipv4.
One interesting thing is that there is a conflict between SNDCODEC and GMAC, every time i set gmac up or down kernel 4.4 spits a sndcodec error detecting linein. I can see PD14 is shared between the two, maybe it is multiplexed.
Do you have this fixed on your Image generated by BSP?