-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
X96Max+ PHY (IP1001M) support #258
Comments
Thanks for sharing, I will test it |
do you have this device? Take a photo. You need to take more high-definition pictures. Around the chip, the package of ip1001 is different from that of 8211, and the external network components are different. There are also startup logs. |
You can point places, which interest you, and I will take a photo of them. More photos here: https://drive.google.com/drive/folders/1sEZd837fwvmknJ2FtDvdf_i-f9Y1YnNm?usp=sharing |
Okay, let's share a few days first |
Take a frontal photo around the ip1001m chip, take a few more photos, and take a look at the surrounding package structure. |
According to the log, the phy addr is incorrect, so it is necessary to measure the addr, specifically whether the level of the above 5 pins is high or low. The phy addr of RTL8211F is 0, but this value may be other values, there are 32 kinds from 00000-11111, or you can try one by one. If you have a multimeter, it is very convenient, you can get the correct result once you measure it, otherwise you have to keep changing the dtb These two feet are also tested, involving the values of rx_delay and tx_delay |
Pins and voltages: |
Received, thanks for the feedback |
According to your feedback, there are a total of 4 possibilities. You download the file and decompress it, put the
|
All 4 dtb-files working normally. After reboot with each of them network is normal. Interface speed was 100 Mbit/s, because I did not have gigabit switch. Boot logs and another info I will send further. |
These two are the first choice, but the first one cannot be optimized, and the second one can be further fine-tuned. Attached is the fine-tuned dtb, you can test which one is better.
|
I connected X96Max+ to PC with gigabit ethernet adapter (192.168.5.3) and launched
All results are stored in files named |
Thank you very much for your test. Now the dtb file of
|
execution result: 0x02430d91 |
Thank you very much for the very detailed test report for x96max plus v5.1 (ip1001m phy), your contribution has been recorded in the contributor list. Now unifreq has added that dtb in his relevant kernel. In the future, more users of this network card can benefit from your contribution. |
I found my tvbox model X96Max_Plus2_AI has a ip1001m chip. It's ethernet works fine in anroid9. Recently I tested the armbian system, changed uEnv.txt FDT option to meson-sm1-x96-max-plus-ip1001m.dtb in /dtb/amlogic/ directory and above zips, but the eth0 still doesn't work. I missed something? need recompile a new kernel? uname -a dmesg |grep eth |
Download today's firmware test |
换成5月9日固件错识依旧。拆了测电压和psergeevich测的数据基本一致,但pin7不同。我测的pin7电压0.17v,与上面的数据电平相反。 |
用dtc工具反编译成dts,修改后再编译成dtb 安装工具包: 这是反编译命令: 这是编译命令: |
@harrydou123 |
不好意,忙回复晚了。我用dtc工具作了穷举测试USB启动都没成功。万用表笔不趁手,正在网购中,我尽快反馈。 |
psergeevich重新测试了,结果还是一样的,等你测试完了反馈下 |
测了一下最新版本Armbian_Aml_jammy_server_05.18.2024中的Armbian_22.05.0_Aml_s905x3_jammy_5.10.116_2022.05.18.1932.img镜像,出现多个版本都能重现的问题,只是不同版本phandler冲突值不同。 按照5.10内核补丁提示,比较两个设备树。
根据上下文,得到meson-sm1-x96-max-plus-ip1001m.dts
在系统设置arm中armbian-config中,逐层找到armbian-config--System--Dtc--current.dts,mdio@0中ethernet-phy@3部分未加载。
将差别部分
插入current.dts,由armbian自己生成dtb文件,和hdmi部分的phandle号冲突,报以下错误: |
补充: 特细的表笔发货慢已动态清零,重新买了个有细笔头的万用表,针脚电压请再等几日。 |
附件是我从网卡可以正常工作的android9系统/proc/device-tree中copy下来的 ethernet@ff3f0000目录,不知是否有帮助。 |
我测的电压 |
meson-sm1-x96-max-plus-ip1001m.dtb.zip Download this file and unzip it, then overwrite the file with the same name in /boot/dtb/amlogic/meson-sm1-x96-max-plus-ip1001m.dtb and restart it. Feedback the test results. |
最新的dtb armbian不会报error-19了,但是连接电脑会一直无法获取ip地址。 |
How can I get in touch with you. My box is also ip1001M, which can only use 100M rate. Please help to debug it. Thanks 48 - 0v |
ethernet@ff3f0000 { |
The ICPLUS IP1001M Ethernet Transceiver installed on TV-box, and it does not supported by Armbian. There are driver sources: https://github.com/torvalds/linux/blob/master/drivers/net/phy/icplus.c
Can you add IP1001M support to your Armbian image?
The text was updated successfully, but these errors were encountered: