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.8k stars 1.86k forks source link

求e900v21c能用的dtb和bin #860

Closed polegame closed 1 year ago

polegame commented 1 year ago

Device Information | 设备信息

Describe the bug | 问题描述 请教一下,e900v21c能用的dtb和bin,我尝试刷Armbian_23.02.0_amlogic_s905x_bullseye_5.15.84_server_2022.12.21.img.gz,无任何改动,启动时报错网络服务无法启动,开机后获取不到ip

OK J Finished Armbian leds state.
36.534511] Bluetooth: hcio: BCM: failed to write update baudrate (-110)
36.544578] Bluetooth: hcio: Failed to set baudrate
38.355221] system [1]: etc-machine x2did.mount: Succeeded.
38.377676] systemd[1]: Finished Commit a transient machine-id on disk.
] Finished Commit a transient machine-id on disk.
38.543239] ram: Added device: zramo
38.552153] zram: Added device: zram1
38.560989] ram: Added device: zramz
38.667855] Bluetooth: hc10: command Ox0c09 tx timeout
38.697950] zramo: detected capacity change from 0 to 823008
38.760263] Adding 411500k swap on /dev/zramo. Priority:5 extents: 1 across:411500k SSFS
38.927541] meson&b-dumac c9410000.ethernet etho: PHY [O.e40908ff :08] driver [Meson GL Internal PHY] (irq=52)
38.935921] zram1: detected capacity change from 0 to 102400
38.955880] meson8b-dumac c9410000.ethernet etho: Register MEM_TYPE_PAGE_POOL RX0-0
「39.031788] zram2: detected capacity change from 0 to 823008
39.094431] EXT4-fs (zram2): mounted filesystem without journal. Opts: discard. Quota mode: none.
39.105892] ext4 filesystem being mounted at /tmp supports timestamps until 2038 (0x7fffffff)
39.146943] systend [1]: Finished Armbian ZRAM config.
OK ] Finished Armbian ZRAM config.
39.165760] systemd [1]: Starting Armbian memory supported logging...
Starting Armbian memory supported logging..
39.246796] EXT4-fs (zram1): mounted filesystem without journal. Opts: discard. Quota mode: none.
39.258621] ext4 filesystem being mounted at /var/log supports timestamps until 2038 (0x7fffffff)
scord. 208 co04;
39.539275] systend [1]: Finished Wait for network to be configured by ifupdown.
OK 1 Finished Wait for network to be configured by ifupdown.

40.491175] meson8b-dumac C9410000.ethernet etho: No Safety Features support found
40.501729] meson8b-dumac c9410000.ethernet etho: PT not supported by Hw
40.5120161 mesoneb-dumac c9410000 .ethernet etho: configuring for phy/rmii link mode
40.600429] system [1]: networking.service: start operation timed out. Terminating.
40.613898] systemd[1]: networking.service: Main process exited, code-exited, status=1/FAILURE
40.626103] system [1]: networking.service: Killing process 710 (isc-timer) with signal SIGKILL.
40.659087] systemd [1] : networking.service: Failed with result
'timeout
40.670418] systemd [1]: Failed to start Raise network interfaces.
[FAILED] Failed to start Raise network interfaces.
See
'sustenct1 status networking.service' for details.
42.727043] systemd [1]: Finished Armbian memory supported logging.
OK
] Finished Armbian memory supported logging.
42.744622] systemd [1]: Starting Journal Service..
Starting Journal Service...
42.992108] systemd [1]: Started Journal Service.
Ok ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
43.039895] systemd-journald [783]: Received client request to flush runtime Journal.
46.561419] Bluetooth: hcio: BCM: Reset failed (-110)
OK 1 Finished Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories
DK
0.
1 Finished Create Volatile Files and Directories.
] Started Entropy Daemon based on the HAVEGE algorithm.

抱歉日志是图片转文字的,格式有点乱

ophub commented 1 year ago

dtb使用这个:meson-gxl-s905x-nexbox-a95x.dtb 文件,修改/boot/uEnv.txt里dtb的名字。 u-boot使用/boot下的2个测试下: u-boot-s905x-s912.bin u-boot-p212.bin

u-boot可以先不添加,使用5.15内核的固件测试下能否启动,有线网络是否正常。如果有问题再分别测试复制u-boot为u-boot.ext并重启。

polegame commented 1 year ago

不添加u-boot的时候,可以正常从u盘启动,网络不正常,跟上面的报错一样,添加了u-boot以后,无法从u盘启动,在闪屏阶段不断重启

ophub commented 1 year ago

/boot/extlinux/extlinux.conf.bak

这个文件的后缀.bak删除,改名为extlinux.conf后,把里面的dtb也改名为meson-gxl-s905x-nexbox-a95x.dtb,重启试试

polegame commented 1 year ago

不行,还是不停重启

ophub commented 1 year ago

https://blog.vihor.cn/2020/29.html

我在网上看别人的文章,使用meson-gxl-s905x-nexbox-a95x.dtb可以启动,要不你下载他们分享的固件试试。

lragon commented 1 year ago

之前刷过Armbian_5.99_Aml-g12_Debian_buster_default_5.3.0.img.xz,网络也是有问题,不知道这个5.97的行不行,晚上回去试试

polegame commented 1 year ago

重启是u盘速率不行,后来换了个u盘不重启了,现在遇到的问题是armbian-install应该选哪个,选项里没有dtb是meson-gxl-s905x-nexbox-a95x.dtb的 22-42-20

ophub commented 1 year ago

cat /boot/uEnv.txt ls -l /boot/u-boot* 截图

polegame commented 1 year ago

23-30-31

ophub commented 1 year ago

你如果u盘启动正常,有线网络正常,就使用U盘配置安装即可。以测试结果为准。

选择106,这个和你截图一样。 写入emmc后反馈一下结果。有线网络是否正常。

polegame commented 1 year ago

不好意思,上面的截图有误,重新刷了一下u盘,结果如下,u-boot用的是u-boot-s905x-s912.bin 11-10-32

ophub commented 1 year ago

你上图怎么截图的呢?能正确启动就行,有误是什么意思?

ophub commented 1 year ago

下面的这个图,选择0

Please Input SoC Name填: s905l

Please Input DTB Name填: meson-gxl-s905x-nexbox-a95x.dtb

Please Input UBOOT_OVERLOAD填: u-boot-s905x-s912.bin

其他项回车略过。

polegame commented 1 year ago

就是我按照你说的写入到emmc后发现有线网络无法用,我就把dtb改成meson-gxl-s905x-nexbox-a95x.dtb了

ophub commented 1 year ago

改了后在emmc里网络可以使用了?

polegame commented 1 year ago

写入emmc网络就不能用了

polegame commented 1 year ago

我发现一个现象,如果emmc的u-boot跟u盘的一样,插上u盘启动后就会不停的重启,删掉u-boot就可以启动了

ophub commented 1 year ago

写入emmc可以启动了?有线网络正常吗?

写入emmc不要只看显示器,有些设备不支持hdmi显示,但是已经启动了可以ssh连接使用,你去路由 器里找armbian设备的新ip

启动后有2个ip交替重启,等一会儿稳定用最新的连接

polegame commented 1 year ago

写入emmc后可以从emmc启动,有线网络不正常,网线指示灯不闪,这个设备支持hdmi的

ophub commented 1 year ago

试试另外一个u-boot cd /boot cp -f u-boot-s905x-s912.bin u-boot.ext cp -f u-boot-s905x-s912.bin u-boot.emmc chmod +x u-boot.ext u-boot.emmc sync && reboot

polegame commented 1 year ago

试试另外一个u-boot cd /boot cp -f u-boot-s905x-s912.bin u-boot.ext cp -f u-boot-s905x-s912.bin u-boot.emmc chmod +x u-boot.ext u-boot.emmc sync && reboot

执行完命令后盒子重启,1.屏幕花屏,2.大概3秒后自动重启,然后重复1、2,如果在花屏期间按下回车就会停留在花屏界面,花屏期间,网线灯闪烁,但是路由器设备列表里没有盒子,准备放弃了,不行就一直插usb运行系统或者重新买个设备

hotlcc commented 5 months ago

你好,我也是e900v21c,请问一下,你是通过安卓底包引导的还是短接从u盘引导啊?我短接从U盘引导,什么反映都没有,直接进入原先的系统了。

LeosDing commented 5 months ago

你好,我也是e900v21c,请问一下,你是通过安卓底包引导的还是短接从u盘引导啊?我短接从U盘引导,什么反映都没有,直接进入原先的系统了。

上电按遥控器向右方向键

hotlcc commented 5 months ago

你好,我也是e900v21c,请问一下,你是通过安卓底包引导的还是短接从u盘引导啊?我短接从U盘引导,什么反映都没有,直接进入原先的系统了。

上电按遥控器向右方向键

好的,我试试

LeosDing commented 5 months ago

试试另外一个u-boot cd /boot cp -f u-boot-s905x-s912.bin u-boot.ext cp -f u-boot-s905x-s912.bin u-boot.emmc chmod +x u-boot.ext u-boot.emmc sync && reboot

执行完命令后盒子重启,1.屏幕花屏,2.大概3秒后自动重启,然后重复1、2,如果在花屏期间按下回车就会停留在花屏界面,花屏期间,网线灯闪烁,但是路由器设备列表里没有盒子,准备放弃了,不行就一直插usb运行系统或者重新买个设备

Armbian_5.99_Aml-g12_Ubuntu_bionic_default_5.3.0_rtl8189ftv.tar.gz 这个貌似wifi可以用,有线不行。。

LeosDing commented 5 months ago

我试了 Armbian_24.5.0_amlogic_s905l_jammy_5.15.153_server_2024.04.01.img.gz ,貌似wifi和有线都可以了,, 修改uEnv.txt,使用 meson-gxl-s905x-nexbox-a95x.dtb 复制/boot/extlinux/extlinux.conf.bak为/boot/extlinux/extlinux.conf,同样使用meson-gxl-s905x-nexbox-a95x.dtb 上电启动进系统,执行armbian-install安装,选择107(就是s905x-nexbox-a95x)那个 安装完成后重启进系统,进/boot,cp u-boot-s905x-s912.bin u-boot.emmc 重启后花屏,默认的联通log不会显示,等一段时间进入系统,,默认有线可以看到自动获取了地址,iwlist wlan0 scanning也能扫到wifi

问题: RTL871X tty终端不断输出日志,挺烦人啊。。 1683923496

LeosDing commented 5 months ago

我试了 Armbian_24.5.0_amlogic_s905l_jammy_5.15.153_server_2024.04.01.img.gz ,貌似wifi和有线都可以了,, 修改uEnv.txt,使用 meson-gxl-s905x-nexbox-a95x.dtb 复制/boot/extlinux/extlinux.conf.bak为/boot/extlinux/extlinux.conf,同样使用meson-gxl-s905x-nexbox-a95x.dtb 上电启动进系统,执行armbian-install安装,选择107(就是s905x-nexbox-a95x)那个 安装完成后重启进系统,进/boot,cp u-boot-s905x-s912.bin u-boot.emmc 重启后花屏,默认的联通log不会显示,等一段时间进入系统,,默认有线可以看到自动获取了地址,iwlist wlan0 scanning也能扫到wifi

问题: RTL871X tty终端不断输出日志,挺烦人啊。。 1683923496

1

LeosDing commented 5 months ago

试试另外一个u-boot cd /boot cp -f u-boot-s905x-s912.bin u-boot.ext cp -f u-boot-s905x-s912.bin u-boot.emmc chmod +x u-boot.ext u-boot.emmc sync && reboot

执行完命令后盒子重启,1.屏幕花屏,2.大概3秒后自动重启,然后重复1、2,如果在花屏期间按下回车就会停留在花屏界面,花屏期间,网线灯闪烁,但是路由器设备列表里没有盒子,准备放弃了,不行就一直插usb运行系统或者重新买个设备

USB3.0的U盘貌似有问题,,我换了2.0的都正常了。。使用新的版本安装后wifi、有线都可以了,,