X96 mini armbian wifi

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

armbian-install, wifi, ethernet not working on x96 mini (s905w) #621

armbian-install, wifi, ethernet not working on x96 mini (s905w) #621

documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

Before You Open ISSUE, Make Sure You have Read Armbian Firmware Instructions and Documentation

Describe the bug

  • I booted Armbian_22.11.0_Aml_s905w_jammy_5.15.73_server_2022.10.13.img.gz from SD card by renaming u-boot-s905x-s912.bin to u-boot.ext and extlinux.conf.bak to extlinux.conf
  • While Loading, it notifies that wifi, ethernet failed to load. ( see screenshot below )
  • armbian-install complains that there is no onboard emmc present. ( see screenshot below )

Expected behavior

  • Wifi, ethernet should load during startup.
  • armbian-install should install armbian to x96 mini emmc.

Screenshots

Armbian Version
IMG_20221014_004245525
IMG_20221014_004423522
IMG_20221014_004448309

Device (please complete the following information):

Additional context

  • Wifi works with external usb adapter TP Link Archer T3U( mediatek chip )
  • Last rom flashed was Android 9 Stock Rom
  • Photos of my box below:

IMG_20221014_011222378
IMG_20221014_011229616
IMG_20221014_011536238
IMG_20221014_011757508

The text was updated successfully, but these errors were encountered:

Don’t rename extlinux.conf.bak, don’t rename u-boot, can you send me the tutorial address where you see these 2 operations.

Try to modify the dtb name:
vi /boot/uEnv.txt
Modify the name of the dtb file

Test the following 2 files separately
meson-sm1-sei610.dtb
meson-g12a-x96-max-rmii.dtb

Can you show your /dev folder? The Sv6051 wifi chip seems don’t have a driver in the kernel, it’s normal that wifi don’t work.

Don’t rename extlinux.conf.bak, don’t rename u-boot, can you send me the tutorial address where you see these 2 operations.

I realized that renaming u-boot-s905x-s912.bin to u-boot.ext is not needed but the system fails to boot without renaming extlinux.conf.bak to extlinux.conf ( check attached photo below )

 No renaming of any files

It only boots if I rename extlinux.conf.bak to extlinux.conf

Test the following 2 files separately
meson-sm1-sei610.dtb
meson-g12a-x96-max-rmii.dtb

Tried both of them, none work. The system boots, but armbian-install complains that there is no emmc present and wifi doesn’t work.

Can you show your /dev folder? The Sv6051 wifi chip seems don’t have a driver in the kernel, it’s normal that wifi don’t work.

I see. There’s only one mmcblk under your /dev and it seems like your sd card. Your internal emmc wasn’t recognized by the system. Strange 🤔

Читайте также:  Макбук принтер вай фай

Snip20221014_1

If you use extlinux.conf, modify dtb in both his and uEnv.txt files.

u-boot is not needed, you will cause a lot of errors if you add it. For unknown devices, do not add these unwanted files arbitrarily.

Snip20221014_1

The u-boot.ext was unnecessary, my fault.

If you use extlinux.conf, modify dtb in both his and uEnv.txt files.

Will try modifying in both and report.

u-boot is not needed, you will cause a lot of errors if you add it. For unknown devices, do not add these unwanted files arbitrarily.

Yes, the system boots without u-boot.
But it doesn’t boot if I don’t rename extlinux.conf.bak, This error

Test these public version files to see which one can drive your wired network card.

meson-gxl-s905x-p212.dtb meson-gxl-s905w-p281.dtb

Test these public version files to see which one can drive your wired network card.

Tried both, none worked sadly.

IMG_20221014_145451851

I hope the above config is correct. I tried 281 too, same results.
Would it be worth giving the debian image a try?

Can you show your /dev folder? The Sv6051 wifi chip seems don’t have a driver in the kernel, it’s normal that wifi don’t work.

I see. There’s only one mmcblk under your /dev and it seems like your sd card. Your internal emmc wasn’t recognized by the system. Strange 🤔

Yes, it completely fails to detect the internal emmc.

IMG_20221014_145844972

There is no independent network card chip on the motherboard, which is integrated by the soc.

Do you know which NIC driver the box needs?

There is no independent network card chip on the motherboard, which is integrated by the soc.

Do you know which NIC driver the box needs?

I’ll check if wifi works on bables150’s firmware to confirm. On another note, the wifi isn’t related with the emmc not being detected right?

There is no independent network card chip on the motherboard, which is integrated by the soc.
Do you know which NIC driver the box needs?

I’ll check if wifi works on bables150’s firmware to confirm. On another note, the wifi isn’t related with the emmc not being detected right?

Yeah, doesn’t work on that either, I checked on armbian forums, and more users faced similar with sv6051/sv6051p(ssv6051/ssv6051p) wifi chips.
There is a driver for sv6051/p, but it’s for 3.x kernel and the driver is poorly written and needs to be re-written for 5.x kernel.

So apparently wifi will be completely dead and I’ll have to use my wifi adaptor for that. I’m fine with that for now, but is there any solution for the emmc not being detected?

Читайте также:  Вай фай точка антенна

try below instruction for detect internal EMMC:

sudo apt-get install device-tree-compiler

dtc -I dtb -O dts -o meson-gxl-s905w-p281.dts meson-gxl-s905w-p281.dtb

edit this file searching for «mmc@74000» block
max-frequency = ;
5f5e100 in hex = 100000000 in dec
edit it to 0x2faf080, 50000000 in dec

dtc -I dts -O dtb -o meson-gxl-s905w-p281.dtb meson-gxl-s905w-p281.dts

try below instruction for detect internal EMMC:

sudo apt-get install device-tree-compiler

dtc -I dtb -O dts -o meson-gxl-s905w-p281.dts meson-gxl-s905w-p281.dtb

edit this file searching for «mmc@74000» block max-frequency = ; 5f5e100 in hex = 100000000 in dec edit it to 0x2faf080, 50000000 in dec

dtc -I dts -O dtb -o meson-gxl-s905w-p281.dtb meson-gxl-s905w-p281.dts

Thanks a lot, install to emmc works.
meson-gxl-s905w-p281.zip
@ophub could the above dtb be added in source(for x96 mini) with @TThanhXuan as author ?

Thanks for sharing, I will add your two names to the dts source code.

Did you test that both wired and wireless work?

I compiled it according to the above revisions. After you download it, unzip it, upload it to the /boot/dtb/amlogic directory, change the previous two configuration files( extlinux.conf & uEnv.txt ), and restart the test to see if it is correct.

ophub added documentation Improvements or additions to documentation support This need is supported labels Oct 16, 2022

You download the dtb file in the above post and test feedback, no problem. I submitted it to the unifreq kernel source repository.

// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2018 Martin Blumenstingl . * Based on meson-gxl-s905d-p231.dts: * - Copyright (c) 2016 Endless Computers, Inc. * Author: Carlo Caione * github.com/TThanhXuan, github.com/box-automation1, github.com/unifreq */ /dts-v1/; #include "meson-gxl-s905w-p281.dts" / < compatible = "amlogic,p281", "amlogic,s905w", "amlogic,meson-gxl"; model = "X96 mini"; >; /* eMMC */ &sd_emmc_c < max-frequency = ; >; 

Did you test that both wired and wireless work?

This only fixes armbian-install
Wifi cannot be fixed due to missing drivers 🙁 [ Need to rewrite drivers from 3.xx kernel to 5.xx )

Works with armbian-install. lsblk also detects internal emmc

Is the wired network card working?

Strange, just found this issue, but my old version downloaded here can detect emmc directly.
Same X96 mini with S905W 2+16G, inferior CPU can only go up to 1.2G.
Installed to emmc and running for about one year.
uname -a Linux X96mini 5.4.184-flippy-70+o #395 SMP PREEMPT Fri Mar 11 22:39:41 CST 2022 aarch64 aarch64 aarch64 GNU/Linux

cat /etc/armbian-release # PLEASE DO NOT EDIT THIS FILE BOARD=lepotato BOARD_NAME="Aml s905w" BOARDFAMILY=meson-gxl BUILD_REPOSITORY_URL=https://github.com/armbian/build.git BUILD_REPOSITORY_COMMIT=2daf351 VERSION=22.05.0-trunk LINUXFAMILY=meson64 ARCH=arm64 IMAGE_TYPE=user-built BOARD_TYPE=conf INITRD_ARCH=arm64 KERNEL_IMAGE_TYPE=Image BRANCH=current 

ophub added new box Research Fills in the Blanks and removed essence Recommended essence posts labels Feb 12, 2023

x96 mini emmc中已经安装来armbian系统想重装,需要先擦除emmc中都系统才能从U盘中启动吗?

20230215201955

因为我都系统有点问题。我忘记来root密码导致系统无法正常启动不能访问emmc无法访问emmc下的文件

Just installed armbian with kernel version 6.1.34 on a X96-Mini. Setup went smooth following the suggestions on this issue.
However, the system is only recognising 923Mb of RAM instead of the 2Gb the board has.
Do you have any idea why this might be happening @ophub ?

Try updating other kernels

armbian-update -k 6.1.33

Try updating other kernels

Tried it, but it didn’t work ai’m afraid

Читайте также:  Телевидение через вай фай на телевизоре

Try updating other kernels

Just installed armbian with kernel version 6.1.34 on a X96-Mini. Setup went smooth following the suggestions on this issue. However, the system is only recognising 923Mb of RAM instead of the 2Gb the board has. Do you have any idea why this might be happening @ophub ?

I have this exact same issue. I have 2 x96 mini. One of them shows up as 2gb ram and other shows up as 1gb only. In android, both of them show up as 2gb ram.

I’ve noticed something weird though. On the 2gb box, the ram utilization is ~600mb and on the box that falsely shows up as 1gb, the ram utilization is exactly half, i.e. ~300mb. These observations were made by running both the boxes side-by-side. Ram measurements in both cases are directly after boot.

Another observation is with a desktop environment running with the same video playback on both the boxes. The first box reported 1400mb ram usage and the second box reported exactly half (~700mb) ram usage with the same desktop environment and same video playback.

This makes me believe that the entire ram is being used, but the software reports utlization by a ratio of 0.5

Just to note, to avoid confusion, the account box-automation1 is mine, and the images posted above of the box is the one that works correctly (software reports 2gb ram)

Same issue with x96 mini. Wired interface is working, but wireless interface is not existed. It is under the latest kernel version «6.1.34». @ophub

$ uname -a Linux armbian 6.1.34-ophub #1 SMP Thu Jun 15 22:19:25 EDT 2023 aarch64 aarch64 aarch64 GNU/Linux $ ip a 1: lo: LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: sit0@NONE: NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 link/sit 0.0.0.0 brd 0.0.0.0 3: ip6tnl0@NONE: NOARP> mtu 1452 qdisc noop state DOWN group default qlen 1000 link/tunnel6 :: brd :: permaddr 5613:86a2:308:: 4: eth0: BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000 link/ether a2:b1:d2:61:69:b1 brd ff:ff:ff:ff:ff:ff inet 192.168.1.81/24 brd 192.168.1.255 scope global dynamic noprefixroute eth0 valid_lft 85651sec preferred_lft 85651sec inet6 fe80::9d9e:d5f0:9339:a2a5/64 scope link noprefixroute valid_lft forever preferred_lft forever

What version of the kernel did you have before you could use the wireless function normally?

What version of the kernel did you have before you could use the wireless function normally?

It is an Android TV, not Armbian. The kernel version is 3.14.29.

CleanShot 2023-06-21 at 16 38 49@2x

CleanShot 2023-06-21 at 16 40 26@2x

documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Источник

Оцените статью
Adblock
detector