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

M411A S905L3 安装 armbian 的尝试 #1817

Closed foobarjimmy closed 8 months ago

foobarjimmy commented 8 months ago

Device Information | 设备信息

Armbian Version | 系统版本

DTB meson-gxl-s905l3b-m302a.dtb

Hardware 2GiB ram 16GiB emmc

Describe the bug | 问题描述 目前我安装的步骤是

  1. 刷入安卓9 来源是 固件 密码 nnw3 里的 “A《当贝桌面纯净完美版--固件大全》(固件种类更多)”-“1《魔百盒(CM/M)固件合集》”-“M411A”-"530-福建移动M411A(CW创维代工)S905L3B_UWE5621DS_安卓9.0-线刷固件包【乐天固件】(亲测)"

  2. 选择 release 里的 Armbian_23.11.0_amlogic_s905l3-cm211_jammy_6.1.57_server_2023.10.13.img.gz 写入U盘

  3. 连接TTL: 输入 reboot update

  4. 可以从U盘启动 网口正常获取ip

  5. 选择序号 121: CM211-1 可以写入EMMC

Notes:

  1. release里只有 s905l3-cm211_jammy_6.1.57 可以正常获取ip
  2. s905l3 以meson-gxl-s905l2-x7-5g.dtb为dtb的均无法启动
  3. s905l3-cm211 内核版本K5.15.x 以及 K6.1.59均无法获取ip,只有K6.1.57可以

型号图片: IMG_8256

luojiahao2000 commented 3 months ago

@you2366 我刷入emmc也是看不到ip了,我看ophub大神有回复你这个问题,你后面解决了吗?是怎样做的?我可能比较愚蠢,所以我看他的回答,我就把bin的文件名改了而已。

KaoluAngel commented 3 months ago

感谢你分享测试结果,这已经描述的很清楚了。我把这个设备加入支持列表里。

@ophub 设备信息 |设备信息 [S905L3] 型号 [M411A] 24.5.0 Jammy with Linux 5.15.149-ophub 启动后网络无连接。网口指示灯不亮。 解决方法: 将U盘插在电脑上,将文件 u-boot-p212.bin复制多一个副本并改名为 u-boot.ext 弹出U盘,到盒子启动就有IP了,网口指示灯正常。 用121 ext4写入emmc后启动还是没有IP,网口指示灯不亮。

万分感谢,按照这个方法,终于有armbian的ip出现了 (我都要怀疑人生了) 土拨鼠尖叫.jpg 感谢各位大佬 辛苦了~

KaoluAngel commented 3 months ago

u-boot.emmc 这是在emmc里复制成的名字

启动后将u-boot.ext文件改名为u-boot.emmc后重启。网口指示灯亮\

感谢大佬们, 我这边u盘启动后把/boot/u-boot.ext文件改名为u-boot.emmc然后再armbian-install一遍 最后poweroff后把电源线和u盘都拔了以后, 再插上电源线就可以正常启动获取IP并且能连上SSH了 💕

you2366 commented 3 months ago

u-boot.emmc 这是在emmc里复制成的名字

启动后将u-boot.ext文件改名为u-boot.emmc后重启。网口指示灯亮\

感谢大佬们, 我这边u盘启动后把/boot/u-boot.ext文件改名为u-boot.emmc然后再armbian-install一遍 最后poweroff后把电源线和u盘都拔了以后, 再插上电源线就可以正常启动获取IP并且能连上SSH了 💕

你用的是哪个Android刷机包,然用刷哪个版本的armbian包。

KaoluAngel commented 3 months ago

u-boot.emmc 这是在emmc里复制成的名字

启动后将u-boot.ext文件改名为u-boot.emmc后重启。网口指示灯亮\

感谢大佬们, 我这边u盘启动后把/boot/u-boot.ext文件改名为u-boot.emmc然后再armbian-install一遍 最后poweroff后把电源线和u盘都拔了以后, 再插上电源线就可以正常启动获取IP并且能连上SSH了 💕

你用的是哪个Android刷机包,然用刷哪个版本的armbian包。

因为我没有串口线,所以就想用adb远程进入u盘启动模式,但是开始的安卓9的固件我不知道怎么进u盘启动模式还有开发者模式, 所以就换成了现在这个固件

you2366 commented 3 months ago

u-boot.emmc 这是在emmc里复制成的名字

启动后将u-boot.ext文件改名为u-boot.emmc后重启。网口指示灯亮\

感谢大佬们, 我这边u盘启动后把/boot/u-boot.ext文件改名为u-boot.emmc然后再armbian-install一遍 最后poweroff后把电源线和u盘都拔了以后, 再插上电源线就可以正常启动获取IP并且能连上SSH了 💕

你用的是哪个Android刷机包,然用刷哪个版本的armbian包。

  • Android刷机包: @foobarjimmy 的链接 密码nnw3 里的 "A《当贝桌面纯净完美版--固件大全》(固件种类更多)"-"【《通刷固件包》】一包通刷多种型号"-"7《魔百盒CM201-1、CM211-1、CM211-1增强版、UNT402A、MGV2000、M302A等-ZG/%20CH/YS/CW等多种代工-S905L3-通用线刷固件包(支持UWE5621DS及多种WIFI无线型号)》"-"9-魔百盒CM201-1、CM211-1、CM211-1增强版、UNT402A、MGV2000、M302A等-ZG/ CH/YS/CW等多种代工-S905L3-通用线刷固件包(支持UWE5621DS及多种WIFI无线型号).zip"
  • armbian版本: 我是照着 @foobarjimmy 来操作的 Armbian_24.5.0_amlogic_s905l3-cm211_jammy_6.1.82_server_2024.03.16.img (uEnv.txt 里面 meson-gxl-s905l3b-m302a.dtb)

因为我没有串口线,所以就想用adb远程进入u盘启动模式,但是开始的安卓9的固件我不知道怎么进u盘启动模式还有开发者模式, 所以就换成了现在这个固件

我用你说的固件包和armbian包刷的。最后系统起不来。 Hit any key to stop autoboot: 0 card out emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 emmc/sd response timeout, cmd1, status=0x1ff2800 (Re)start USB... USB0: USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Bad device usb 0 Bad device usb 1 Bad device usb 2 Bad device usb 3 reading emmc_autoscript 831 bytes read in 3 ms (270.5 KiB/s)

Executing script at 01020000

reading u-boot.emmc 606670 bytes read in 20 ms (28.9 MiB/s)

Starting application at 0x01000000 ...

U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212

Model: Amlogic Meson GXL (S905X) P212 Development Board SoC: Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2) DRAM: 2 GiB MMC: mmc@70000: 0, mmc@72000: 1, mmc@74000: 2 Loading Environment from nowhere... OK In: serial Out: serial Err: serial [BL31]: tee size: 0 [BL31]: tee size: 0 Net: eth0: ethernet@c9410000 Hit any key to stop autoboot: 0 starting USB... Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2 Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus usb@c9000000 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 switch to partitions #0, OK mmc2(part 0) is current device Scanning mmc 2:1... Found U-Boot script /boot.scr 1025 bytes read in 1 ms (1001 KiB/s)

Executing script at 08000000

Start AMLOGIC mainline U-boot

Error: "bootfromsd" not defined

373 bytes read in 1 ms (364.3 KiB/s)

Error: "mac" not defined

Error: "eth_mac" not defined

ethaddr=4e:a6:c7:91:df:2c Error reading cluster Unable to read file /zImage Failed to load '/zImage' Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 SCRIPT FAILED: continuing... Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 libfdt fdt_check_header(): FDT_ERR_BADMAGIC Card did not respond to voltage select! : -110 Scanning disk mmc@70000.blk... Disk mmc@70000.blk not ready Card did not respond to voltage select! : -110 Scanning disk mmc@72000.blk... Disk mmc@72000.blk not ready Scanning disk mmc@74000.blk... fs_devread read error - block Failed to mount ext2 filesystem... Unrecognized filesystem type Found 3 disks No EFI system partition BootOrder not defined EFI boot manager: Cannot load any image Card did not respond to voltage select! : -110 Speed: 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.119.105 (119 ms) ** ERROR: `serverip' not set Cannot autoload with TFTPGET missing environment variable: pxeuuid missing environment variable: bootfile Retrieving file: pxelinux.cfg/01-4e-a6-c7-91-df-2c Speed: 100, full duplex ERROR: serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A87769 Speed: 100, full duplex *** ERROR:serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A8776 Speed: 100, full duplex ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A877 Speed: 100, full duplex ERROR: serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A87 Speed: 100, full duplex *** ERROR:serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A8 Speed: 100, full duplex ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0A Speed: 100, full duplex ERROR: serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C0 Speed: 100, full duplex *** ERROR:serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/C Speed: 100, full duplex ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-meson-p212 Speed: 100, full duplex ERROR: serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm-meson Speed: 100, full duplex *** ERROR:serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default-arm Speed: 100, full duplex ERROR: `serverip' not set missing environment variable: bootfile Retrieving file: pxelinux.cfg/default Speed: 100, full duplex ERROR: serverip' not set Config file not found Speed: 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.119.105 (92 ms) *** ERROR:serverip' not set Cannot autoload with TFTPGET Speed: 100, full duplex BOOTP broadcast 1 DHCP client bound to address 192.168.119.105 (105 ms) *** ERROR: `serverip' not set Cannot autoload with TFTPGET =>

luojiahao2000 commented 3 months ago

@you2366 好像我刷的安卓4.4.2的固件包都可以,就是foobarjimmy大佬刷的安卓9不行,其他都能顺利启动。通常都是插u盘直接启动第一次100%黑屏,然后直接关机重启就进去了。或者用开心电视助手连接ADB,点从u盘启动。

因为我重启就可以不用连adb,所以我都是直接开了一两分钟,然后直接重启就进了。

luojiahao2000 commented 3 months ago

现在尝试了KaoluAngel老哥说的,改名字后,成功只用盒子启动了,开心!!!!

KaoluAngel commented 3 months ago

现在尝试了KaoluAngel老哥说的,改名字后,成功只用盒子启动了,开心!!!!

@luojiahao2000 太好了~!!!

@you2366 我是线刷的固件包 擦除了flash 和 bootloader 不知道是不是这个的影响

robot-bear commented 2 months ago

无线和蓝牙有大佬搞通了吗