New UGOOS X4Q (new form factor)

it’s online now, thx. will take a look later on.
FYI: I will temporary disable Kodi so it stay in boot logo forever, just that you don’t get scared.

please hurry, your in my private net.
I dont want this to be open too long.

it’s a secured session with public/private key, no danger

I know, but you have access to my internal servers ;-).
And fritz box blocks the request in guest mode.

can you please send me the dtb.img.gz located in backup on the device?
I currently not able to download the file directly, thx.

dtb.img.gz (97,8 KB)

thx, and please also connect the LAN of the device that I can check if eth0 will come online or not

Its connected.

We need to talk to Ugoos what they use as this PHY is not known:

[    9.298950@1]  ++++ stmmac_init_dma_engine(2234) PHY ID: FFFF4411
[    9.400440@0]  meson8b-dwmac fdc00000.ethernet: Failed to reset the dma
[    9.400457@0]  meson8b-dwmac fdc00000.ethernet eth0: stmmac_hw_setup: DMA engine initialization failed
[    9.400462@0]  meson8b-dwmac fdc00000.ethernet eth0: stmmac_open: Hw setup failed

@ast261 you can disable tmate for now until we have some more background information

EDIT:
Please wait, maybe I have seen something different to the X4.

Ok, USB is now dead so the ETH adapter does not work anymore.
Please just replace dtb.img on COREELEC partition by the original one.
tmate is now not needed anymore until we got more information, thx.

good luck!

I have extracted the missing wifi firmware blobs (AP6271) from the X4Q image:

ll vendor_a/etc/wifi/AP6271
total 3,2M
-rw-r--r-- 1 axel axel  29K  7. Jan 18:34 clm_bcm4359c51a2_ag.blob
-rw-r--r-- 1 axel axel  19K  7. Jan 18:34 clm_bcm43751a1_ag.blob
-rw-r--r-- 1 axel axel 766K  7. Jan 18:34 fw_bcm4359c51a2_ag_apsta.bin
-rw-r--r-- 1 axel axel 766K  7. Jan 18:34 fw_bcm4359c51a2_ag.bin
-rw-r--r-- 1 axel axel 806K  7. Jan 18:34 fw_bcm43751a1_ag_apsta.bin
-rw-r--r-- 1 axel axel 806K  7. Jan 18:34 fw_bcm43751a1_ag.bin
-rw-r--r-- 1 axel axel 7,3K  7. Jan 18:34 nvram_ap6271s.txt
-rw-r--r-- 1 axel axel 6,8K  7. Jan 18:34 nvram_ap6398sv.txt

I guess the files must be added here:

Additionally, a hcd file is required (?)
I found some in the bluetooth folder.
Not sure, if a correct file is there:

ll vendor_a/etc/bluetooth
total 796K
-rw-r--r-- 1 axel axel  38K  7. Jan 18:34 4343.hcd
-rw-r--r-- 1 axel axel 1,5K  7. Jan 18:34 auto_pairing.conf
-rw-r--r-- 1 axel axel  26K  7. Jan 18:34 BCM20702.hcd
-rw-r--r-- 1 axel axel  35K  7. Jan 18:34 BCM20703A2.hcd
-rw-r--r-- 1 axel axel  33K  7. Jan 18:34 BCM2076.hcd
-rw-r--r-- 1 axel axel  15K  7. Jan 18:34 bcm43241b4.hcd
-rw-r--r-- 1 axel axel  54K  7. Jan 18:34 BCM4330.hcd
-rw-r--r-- 1 axel axel  13K  7. Jan 18:34 bcm43341b0.hcd
-rw-r--r-- 1 axel axel  65K  7. Jan 18:34 bcm4335c0.hcd
-rw-r--r-- 1 axel axel  65K  7. Jan 18:34 BCM4345C0.hcd
-rw-r--r-- 1 axel axel  39K  7. Jan 18:34 BCM4345C5.hcd
-rw-r--r-- 1 axel axel  80K  7. Jan 18:34 BCM4350.hcd
-rw-r--r-- 1 axel axel  64K  7. Jan 18:34 BCM4354.hcd
-rw-r--r-- 1 axel axel  52K  7. Jan 18:34 bcm43569a2.hcd
-rw-r--r-- 1 axel axel  69K  7. Jan 18:34 BCM4359C0.hcd
-rw-r--r-- 1 axel axel  32K  7. Jan 18:34 BCM4362A1.hcd
-rw-r--r-- 1 axel axel  79K  7. Jan 18:34 BCM4362A2.hcd
-rw-r--r-- 1 axel axel  401  7. Jan 18:34 blacklist.conf
-rw-r--r-- 1 axel axel  718  7. Jan 18:34 rtkbt.conf

The firmware must be added to a file config.txt (example):

17200 4 nvram_ap6330.txt \

What does the first and second column mean ?

Edit:
I found it out myself. First column is chip-id, second is chip-rev.
I added all firmware blobs to the package and…

Wifi works now !!

This is the new line:

43752 2 nvram_ap6398sv.txt

Chip-id and chip-rev are the same as in entry with nvram_ap6275s.txt.
Not sure, if this will cause problems.

I will do further tests now.
tbc.

Ok, so the driver we have need a update for WiFi.
Can you bring the device tomorrow again online with tmate @ast261?
I might be also able to solve the Ethernet issue as well.

@ast261 thank you, I tested what I thought be the issue but it’s not working. So you can turn off tmate again for now, thx!

Can you make a PR for the WiFi driver?

If not please collect all needed data so we can add the firmware for this chip, thx.

What about the double entry ?

Your last log I have seen is not with CE image. So I am not sure if you have last changes I have done to ap6xxx-aml package.
Please update with last Amlogic-ne nightly and make a new dmesg again. Maybe Wifi is working or maybe not so you will need to use your adapter.

http://ix.io/4lrr

  • pure nightly image from today
  • USB/LAN adapter
    → no Wifi

Ok, now it using the correct config.txt.

Place the files you extracted from android image:
clm_bcm4359c51a2_ag.blob and fw_bcm4359c51a2_ag.bin

to

/storage/.config/firmware/brcm

Then reboot and make a dmesg | paste again, thx

http://ix.io/4lrO

Wifi seems to be okay.

x4q-firmware.tar.gz (477,5 KB)

Ok, thx. I will add it to nightly.