ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.45k stars 1.74k forks source link

TOX1 Network not working #726

Closed arikoza closed 1 year ago

arikoza commented 1 year ago

Standard chat template, no routine, no chat. 标准聊天模板,无套路不聊天。

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 Network not working (ethernet and wifi). WiFi module RTL8822BS When starting from a sd card, it says "Failed to start Raise network interfaces" . In the armbian-config, there are no settings and no Wi-Fi network search at all.

NPBvfWHrHYg Np_hNXO5dlI Fzl0n_jiN7A

ophub commented 1 year ago

There is no driver for the wireless network card(rtl8822bs)

Do not change the s905x3 firmware, what is the problem with starting

try: /boot/uEnv.txt meson-sm1-tx3-qz.dtb

arikoza commented 1 year ago

try: /boot/uEnv.txt meson-sm1-tx3-qz.dtb I re-recorded the SD card, changed it in /boot/uEnv.txt to FDT=/dtb/amlogic/meson-sm1-tx3-qz.dtb Doesn't start at all. Hanging on the Android logo

ophub commented 1 year ago

use usb

arikoza commented 1 year ago

It did not work, it also does not see LAN

photo_2022-11-24_09-51-23 photo_2022-11-24_09-51-27 photo_2022-11-24_09-53-01 photo_2022-11-24_09-53-50

ophub commented 1 year ago
cat /boot/uEnv.txt
sha256sum /boot/u-boot*

https://github.com/ophub/amlogic-s9xxx-armbian/blob/5071dcac5530b500e4b36ec2648b117bc25a1cdb/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf#L92-L114

try them all

meson-sm1-sei610.dtb meson-sm1-x96-air-gbit.dtb meson-sm1-x96-max-plus-100m.dtb meson-sm1-x96-air.dtb meson-sm1-x96-max-plus.dtb

Is the wired network card Gigabit or 100M?

After changing, restart and try.

arikoza commented 1 year ago

Gigabit card None worked. Maybe I'm doing something wrong? I record the USB via balenaEtcher , change it in the uEnv.txt file to the new values that you sent and insert it into the TV box.

ophub commented 1 year ago
cat /boot/uEnv.txt
sha256sum /boot/u-boot*
arikoza commented 1 year ago

photo_2022-11-24_13-59-44

ophub commented 1 year ago

The ip is assigned by the router, have you connected the box to the network?

Plug in network cable.

ifconfig

arikoza commented 1 year ago

When the Android network is loaded, the Internet works via cable. 111 photo_2022-11-24_14-26-59

arikoza commented 1 year ago

3333

ophub commented 1 year ago

What is a wired network card chip?

Try the 5.15 kernel firmware

arikoza commented 1 year ago

rtl8211f 5,15 also does not see the network

ophub commented 1 year ago

The address of phy is different, the default is 0, and the optional range is 0-31

Use a multimeter to measure, or try each number.

https://github.com/unifreq/linux-5.15.y/blob/main/arch/arm64/boot/dts/amlogic/meson-sm1-x96-max-plus.dts

FD1BA4AB-C3C2-413B-925C-737C86E11F31

e.g:

https://github.com/unifreq/linux-5.15.y/blob/6963c647802a06ad057601d71b7958c9463ea174/arch/arm64/boot/dts/amlogic/meson-sm1-x96-max-plus-ip1001m.dts#L23-L26

ophub commented 1 year ago

test1-7.zip

Unzip, put 7 files in the /boot/dtb/amlogic directory, modify the dtb name in /boot/uEnv.txt, from 1 to 7 in sequence, save each modification, and restart the test.

arikoza commented 1 year ago

None work :(

ophub commented 1 year ago

Did you restart the test after modifying all 7?

arikoza commented 1 year ago
  1. sudo su
  2. nano /boot/uEnv.txt
  3. new name
  4. sync && reboot And so 7 times
ophub commented 1 year ago
sudo apt install device-tree-compiler

# This is the decompile command
dtc -I dtb -O dts -o /tmp/xxxxx.dts xxxxxx.dtb

# Here is the compile command
dtc -I dts -O dtb -o xxxxxxx .dtb xxxxxxxx.dts

0-7 has been tested invalid, continue to test 8-31, you test one by one