I just found, that I can't install LE to eMMC on generic boxes
But I didn't find more detailed answer why not?
I thought that LE use own u-boot? Or does it rely on some functionality from the Android part?
Is it same e.g. on BananaPi M5 which is officially supported for installation to eMMC?
Posts by Benik3
-
-
I confirm that with this image ETH is working fine with my dtb
Here are also brcmfmac4354 files.
.txt is from Android FW, bin files are from RPi (with Android ones box see a wifis but is not able to connect to them). -
Nope, that's the problem
Sure, here it is. Original Android use dts n.3
Here is also log from LE: https://paste.libreelec.tv/glad-elephant.logFor some reason, with your version the ETH still has the same problem with no getting the address.
I think it has something to do with the kernel driver, which you patched (which I assume is not included).Because on your image:
LibreELEC:~ # ethtool --show-phys eth0
PHY for eth0:
PHY index: 1
Driver name: Generic PHY
PHY device name: mdio_mux-0.0:01
Upstream type: macOn my patched image:
LibreELEC:~ # ethtool --show-phys eth0
PHY for eth0:
PHY index: 1
Driver name: ICPlus IP1001
PHY device name: mdio_mux-0.0:01
Upstream type: mac -
Ah, the problem with the speed is, that for some reason it goes through WiFi, not ETH (even that I use IP from ETH in iperf).
-
Sorry for late response.
Yes, of course, I just wanted to do some tests to see, if it really works wellI found one weird thing. When I disconnect and reconnect the Ethernet cable, I'm not able to get more then 220/130Mbit (105/75 in FullDuplex) with iperf3. But both ends are correctly linked to 1G FullDuplex (checked ethtool, dmesg and my router).
Here is my dts:
-
yes, finally!
In the unifreq dts the rx delay was too high, after lowering it I got connection on gigabit and throughput is full when tested using iperf
Now I just need to get the display (VFD) to work. -
I had some time again to play with it.
It looks like the kernel patch doesn't have effect to ethernet.
What I found, it's linked properly to 1Gbit. I can even see in my router log, that if offers IP to the box. But it's not received.
This also corresponds with counter from ethtool, where are errors on rx side:
mmc_rx_crc_error: 10
mmc_rx_ipv4_hderr: 2
mmc_rx_ipv4_hderr_octets: 270
phy_eee_wakeup_error_n: 31085WiFi is working fine after copying of files from unifreq. Bluetooth also works (tested with Xbox controller).
-
Thanks!
Yeah, I didn't know about this problem when I was buying the box...
I will try the Linux patch of identifier, when I will have again some free time
I will also try to find and add the brcmfmac driver.I want also try to load the armbian image, if the same problem exists there.
-
Ok, I have partial success
IP1001M works, but only in 100Mbit. What I found, it's common problem (in 1Gbit mode the eth looks working but it's not linking).
Now I fight with the wifi. From dmesg it's correctly detected (BCM4354), but it fails with
brcmfmac mmc2:0001:1: Direct firmware load for brcm/brcmfmac4354-sdio.bin failed with error -2
which I found is also common and it should load default driver, which is not happening -
Thank you for the reply!
I see, I will test it out
Yes, I noticed that Coreelec has some custom dtb, but there is also unifreq kernel, which has dts for Max+, so I will try it out.
I will also try to pull original dtb from the Android system to check it. -
Hi.
I would like to try compile dts for x96 Max Plus (S905X3 with IP1001N ethernet).
I have dts for it, but I'm still fighting with compilation.
The box is able to start with meson-sm1-x96-air-gbit.dtb, but without any network.I have working build environment and I made first image build without any changes (12.2).
Now I'm struggling with the dts compilation (I'm pretty new to compiling whole Linux).
I found steps for coreelec, but it doesn't work with LibreElec: https://discourse.coreelec.org/t/step-by-step…e-files/18792/3When I tried to build the dtb manually (using cpp and dtc), even the air-gbit.dtb doesn't work for me (bootlooping, no display output).
Can you please share right steps to do it? I tried to search online but without success
Thank you