Skip to content
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

魔百和CM211-1 S905l-3 网卡不识别 #1519

Closed
harck24 opened this issue Jul 4, 2023 · 31 comments
Closed

魔百和CM211-1 S905l-3 网卡不识别 #1519

harck24 opened this issue Jul 4, 2023 · 31 comments

Comments

@harck24
Copy link

harck24 commented Jul 4, 2023

Device Information | 设备信息

  • SOC: [e.g. S095l3] s905l-3
  • Model [e.g. HK1]

Armbian Version | 系统版本

  • Kernel Version: [e.g. 6.1.32]
  • Release: [e.g. bullseye] bullseye

Describe the bug | 问题描述
All issues will only remain open for one week to prioritize resolving them.
After that period, they will be closed but can still continue to be discussed in the thread.
所有的问题都只保留一周的开启状态供重点关注解决,超时将关闭,但任然可以长期继续跟帖讨论。

Please provide a detailed description of the issue and, if necessary, attach a screenshot.
详细描述问题,并在必要时附上屏幕截图。

5272ebef01bb5337d28c36b81e427ed
3bd21ed51f5a183b082fb876ce2bf50
a0bed54af9f7718a57e970d2c83e68b

盒子是CM211-1 芯片是S905L-3 刷的Android4.4.2的系统
链接: https://pan.baidu.com/s/1QFzEvXo5q6CQJdGMwb453Q
提取码: xdtd
魔百盒CM201-1-CM211-1-ZG-CH-YS-CW多种代工黑马通用线刷包.img

Armbian刷的Armbian_23.08.0_amlogic_s905l3-cm211_bullseye_6.1.32_server_2023.06.05.img.gz,U盘启动成功,写人emmc也成功,所有功能都正常就是不识别网卡,网线口的灯都不亮。
启动的时候报错:
[FAILED] Failed to start Network Name Resolution.
See 'systemctl status systemd-resolved.service' for details.

执行systemctl status systemd-resolved.service
image

@harck24
Copy link
Author

harck24 commented Jul 4, 2023

SOC选择的118 s905l3 CM211-1 meson-gxl-s905l3b-m302a.dtb

@janko888
Copy link
Contributor

janko888 commented Jul 4, 2023

盒子是CM211-1 芯片是S905L-3 刷的Android4.4.2的系统

找到一个可用用的安卓9的固件刷进去,再启动系统试试

@harck24
Copy link
Author

harck24 commented Jul 4, 2023

盒子是CM211-1芯片是S905L-3刷的Android4.4.2的系统

找到一个可用的Android 9的固件入口,然后启动系统尝试

我找到很多Android9的固件都没有刷成功的,才用的Android4.4.2的系统

@bailiangjin
Copy link

这个需要是先刷Android9的固件再刷ambian才能成功吗,我的创维E900V21C,芯片S905L,也是,U盘启动相应的armbian之后能正常运行,但就是连不了网,盒子本身的系统是Android4.4.2

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

这个需要是先刷Android9的固件再刷ambian才能成功吗,我的创维E900V21C,芯片S905L,也是,U盘启动相应的armbian之后能正常运行,但就是连不了网,盒子本身的系统是Android4.4.2

按照@janko888的意思是的,我准备找Android9的固件试试,看可不可以成功

@ophub
Copy link
Owner

ophub commented Jul 5, 2023

从首页的设备列表,点对应的设备,可以查看之前的适配帖子,下载他使用的安卓试试

#1318

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

从首页的设备列表,点对应的设备,可以查看之前的适配帖子,下载他使用的安卓试试

#1318

https://github.com/ophub/kernel/releases/tag/tools 下载的 android_tv_cm211-1_s905l3 系统刷机成功,有线网络也获取到二零IP,然后U盘刷的Armbian_23.08.0_amlogic_s905l3-cm211_bullseye_6.1.32_server_2023.06.05.img,机顶盒从U盘启动网络的日志:
image

启动成功以后:
image

ip还是没有获取到,网卡灯也不亮。

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

从首页的设备列表,点对应的设备,可以查看之前的适配帖子,下载他使用的安卓试试
#1318

https://github.com/ophub/kernel/releases/tag/tools 下载的 android_tv_cm211-1_s905l3 系统刷机成功,有线网络也获取到二零IP,然后U盘刷的Armbian_23.08.0_amlogic_s905l3-cm211_bullseye_6.1.32_server_2023.06.05.img,机顶盒从U盘启动网络的日志: image

启动成功以后: image

ip还是没有获取到,网卡灯也不亮。

向上饭有个错误:
image

/lib/systemd/system/systemd-networkd.socket

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

image

@janko888
Copy link
Contributor

janko888 commented Jul 5, 2023

1,刷的是安卓9?
2,换jammy版本看看
3,换回内核5.15看看

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

1,刷的是安卓9? 2,换jammy版本看看 3,换回内核5.15看看

那个连接提供的Android固件不是9的是4.4.2的,内核是3.14的
我还是要找固件

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

是固件选择的问题安卓的版本没有影响安卓4也可以,固件选择Armbian_23.08.0_amlogic_s905l3-cm211_jammy_6.1.36_server_2023.07.01.img,
U盘启动正常,重启也正常,但是有时候会出现网络异常的情况,再重启一下就好了。
armbian-install安装到emcc,选择119

@janko888
Copy link
Contributor

janko888 commented Jul 5, 2023

只要你刷足够多,就会发现安卓、发行版和内核都可能会产生影响,蝴蝶效应;)

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

从首页的设备列表,点对应的设备,可以查看之前的适配帖子,下载他使用的安卓试试

#1318

安装教程安装以后的日志:

INFO:    PSCI Affinity Map:
INFO:      AffInst: Level 0, MPID 0x0, State ON
INFO:      AffInst: Level 0, MPID 0x1, State OFF
INFO:      AffInst: Level 0, MPID 0x2, State OFF
INFO:      AffInst: Level 0, MPID 0x3, State OFF
bl31 reboot reason: 0x1
bl31 reboot reason: 0x0
ERROR:   gxbb System Reset: SCP error 16.
GXLX2:BL1:3cfee7:42a5ae;FEAT:ADFC318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 75482

BL2 Built : 13:36:55, Jun 22 2020.
gxl g85d6ad1 - longyong.chen@droid02-sz

Board ID = 3, adc=225
set vcck to    1120 mv
set vddee to 1000 mv
CARD_3 high, old board
CPU clk: 1200MHz

DDR3 chl: Rank0+1 @ 792MHz
bist_test rank: 0 22 0b 3a 33 1d 4a 1b 00 37 3b 23 53 26 0b 41 34 1a 4e 1f 01 3d 38 1e 53 664  rank: 1 1d 0c 2f 35 20 4a 17 00 2f 3c 25 53 1e 0a 33 35 21 4a 17 00 2e 39 25 4e 664   - PASS

Rank0: 1024MB(auto)-2T-11

Rank1: 1024MB(auto)-2T-11
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002400
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0007b000
NOTICE:  BL3-1: v1.0(debug):361f8a7
NOTICE:  BL3-1: Built : 16:43:26, Dec 19 2018
NOTICE:  BL31: GXL normal boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 ad b3 78 a0 0 c5 not ES chip
[0.696786 Inits done]
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2015.01 (Mar 29 2021 - 17:09:00)

DRAM:  2 GiB
Relocation Offset is: 76e8c000
this uboot is for hw_1_8, set GPIODV_24gpio: pin GPIODV_24 (gpio 43) value is 1
gpio: pin GPIOZ_14 (gpio 73) value is 1
register usb cfg[0][1] = 0000000077f5bc10
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073e7cc00
aml_priv->desc_buf = 0x0000000073e7ef20
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
dtb magic 00088b1f
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 3
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx2 platform: p295 variant: 2g
        dtb 0 soc: gxl   plat: p211   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 2g
        dtb 2 soc: gxlx   plat: p261   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 2g
        dtb 4 soc: gxlx   plat: p265   vari: 1g
        dtb 5 soc: gxlx   plat: p265   vari: 2g
        dtb 6 soc: gxlx2   plat: p291   vari: 1g
        dtb 7 soc: gxlx2   plat: p291   vari: 2g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
        dtb 9 soc: gxlx2   plat: p295   vari: 2g
      Find match dtb: 9
start dts,buffer=0000000073e81750,dt_addr=0000000073e81750
      Amlogic multi-dtb tool
      Single dtb detected
parts: 1
00:      data   ffffffffffffffff 4
init_part() 278: PART_TYPE_DOS
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x7400000
In:    serial
Out:   serial
Err:   serial
board id is : 3
hpd_state=1
[1080p60hz] is invalid for cvbs.
set hdmitx VIC = 16
config HPLL = 2970
HPLL: 0xc000027b
config HPLL done
j = 4  vid_clk_div = 1
hdmitx: set enc for VIC: 16
HDMITX-DWC addr=0x10004006 rd_data=0x40
Error: HDMITX-DWC exp_data=0xff mask=0x9f
hdmitx phy setting done
div40 = 0
hdmtix: set audio
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-924: calc ce89ebd0, store ce89ebd0
_verify_dtb_checksum()-924: calc ce89ebd0, store ce89ebd0
dtb_read()-1046: total valid 2
dtb_read()-1113: do nothing
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 3
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx2 platform: p295 variant: 2g
        dtb 0 soc: gxl   plat: p211   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 2g
        dtb 2 soc: gxlx   plat: p261   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 2g
        dtb 4 soc: gxlx   plat: p265   vari: 1g
        dtb 5 soc: gxlx   plat: p265   vari: 2g
        dtb 6 soc: gxlx2   plat: p291   vari: 1g
        dtb 7 soc: gxlx2   plat: p291   vari: 2g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
        dtb 9 soc: gxlx2   plat: p295   vari: 2g
      Find match dtb: 9
wipe_data=successfulSecd
wipe_cache=successful
_find_partition_by_name()-188: do not find match in table logo
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store mbr addr
   update mbr/partition table by dtb

cmd store failed
Err imgread(L333):Fail to read 0x2000B from part[logo] at offset 0
There is no valid bmp file at the given address
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[CANVAS]addr=0x3dc00000 width=3840, height=1440
There is no valid bmp file at the given address
upgrade_step=2
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[ch_code] not programed yet
rebootmode=cold_boot
Enter USB burn
Try connect time out 701, 700, 806
key1 = 7d82dd22
key2 = 7e81dd22
key3 = 728ddd22
time_out = 7a120
ir init
irkey - irkey key_value1 key_value2 key_value3 time_value

Usage:
irkey
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 /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
397 bytes read in 1 ms (387.7 KiB/s)
1:      Armbian
Retrieving file: /uInitrd
Error reading cluster
** Unable to read file /uInitrd **
Failed to load '/uInitrd'
Skipping Armbian for failure retrieving initrd
SCRIPT FAILED: continuing...
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
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 1 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
** No partition table - mmc 2 **
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.223 (7959 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
Retrieving file: /extlinux/pxelinux.cfg/01-0a-e4-58-e9-47-a2
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A802DF
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A802D
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A802
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A80
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A8
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0A
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C0
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/C
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/default-arm-meson-p212
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/default-arm-meson
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/default-arm
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: /extlinux/pxelinux.cfg/default
Speed: 100, full duplex
*** ERROR: `serverip' not set
Config file not found
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.223 (2219 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.223 (2348 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET

@janko888
Copy link
Contributor

janko888 commented Jul 5, 2023

换个uboot看看,例如用122重新写入emmc

@harck24
Copy link
Author

harck24 commented Jul 5, 2023

换个uboot看看,例如用122重新写入emmc

我明天再试试看看

@harck24
Copy link
Author

harck24 commented Jul 6, 2023

换个uboot看看,例如用122重新写入emmc

我明天再试试看看

修改armbian-install,添加:

# Set partition size (Unit: MiB)
elif [[ "${AMLOGIC_SOC}" == "s905l3" ]]; then
    BLANK1="100"
    BOOT="520"
    BLANK2="60"

121   s905l3     UNT400G1                       meson-gxl-s905l2-x7-5g.dtb      
122   s905l2     E900v21E                       meson-gxl-s905l2-x7-5g.dtb      
123   s905l3b    IP103H                         meson-gxl-s905l3b-m302a.dtb     
0     Other      Customize                      Enter-custom-dtb-name           

[ OPTIONS ] Please Input ID: 0
Please Input SoC Name(such as s9xxx): s905l3
Please Input DTB Name(such as meson-xxx.dtb): meson-gxl-s905l3b-m302a.dtb
Please Input UBOOT_OVERLOAD Name(such as u-boot-xxx.bin): u-boot-p212.bin
Please Input MAINLINE_UBOOT Name(such as xxx-u-boot.bin.sd.bin):
Please Input BOOTLOADER_IMG Name(such as xxx-bootloader.img):

写人EMMC 成功,网络连接正常,reboot重启成功,断电重启成功。

感情大佬的支持

@ophub
Copy link
Owner

ophub commented Jul 6, 2023

# Set partition size (Unit: MiB)
elif [[ "${AMLOGIC_SOC}" == "s905l3" ]]; then
    BLANK1="100"
    BOOT="520"
    BLANK2="60"

这个是查看安卓分区表的结果?

@harck24
Copy link
Author

harck24 commented Jul 6, 2023

# Set partition size (Unit: MiB)
elif [[ "${AMLOGIC_SOC}" == "s905l3" ]]; then
    BLANK1="100"
    BOOT="520"
    BLANK2="60"

这个是查看安卓分区表的结果?

不是我是看的你推荐那个帖子,里面的数据调整的

@ophub
Copy link
Owner

ophub commented Jul 6, 2023

那个是那个,不是你的,你不能使用不匹配的分区,如果错了可能会砖。

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/documents/README.cn.md

12.10里是查看安卓分区的方法,在没刷机前还是安卓系统的时候,从U盘启动armbian,然后一条命令就看到了。既然你写入没事就这样吧。你刷入的是哪个安卓系统?把这个安卓的下载链接分享一下。

@ophub
Copy link
Owner

ophub commented Jul 6, 2023

119 :CM211-1 :s905l3 :meson-gxl-s905l3b-m302a.dtb :u-boot-p212.bin :NA :NA :2+8G,100Mb-Nic :stable :amlogic :meson-gxl :uEnv.txt :Ivanriver :s905l3-cm211 :yes

你手动输入0,写入的是119的配置,就是cm211-1默认配置,你直接输119即可。这个配置和之前贡献者反馈的一致。在releases里下载固件时搜s905l3-cm211查找,下载的固件什么也不用改默认就是这配置。

@harck24
Copy link
Author

harck24 commented Jul 6, 2023

119 :CM211-1 :s905l3 :meson-gxl-s905l3b-m302a.dtb :u-boot-p212.bin :NA :NA :2+8G,100Mb-Nic :stable :amlogic :meson-gxl :uEnv.txt :Ivanriver :s905l3-cm211 :yes

你手动输入0,写入的是119的配置,就是cm211-1默认配置,你直接输119即可。这个配置和之前贡献者反馈的一致。

我之前尝试过输入119,没有成功。
手动配置的才成功,还有armbian-install里面有没有s905l3的分区配置,都是我后来手动添加的。

@ophub
Copy link
Owner

ophub commented Jul 6, 2023

你手动输入的和119一样,无区别。
你添加的分区不是你真实的,这样盲填还不如不填,填错了会砖。
你要填就使用上面的工具,准确识别分区位置,设置对了。

@harck24
Copy link
Author

harck24 commented Jul 7, 2023

你手动输入的和119一样,无区别。 你添加的分区不是你真实的,这样盲填还不如不填,填错了会砖。 你要填就使用上面的工具,准确识别分区位置,设置对了。

今天换了一个盒子芯片也是s905l3按照之前的配置又失败了:
c4869bd8178689fcce349d69a14f0e3

https://7ji.github.io/ampart-web-reporter/?dsnapshot=logo::33554432:1%20recovery::33554432:1%20rsv::8388608:1%20tee::8388608:1%20crypt::33554432:1%20misc::33554432:1%20instaboot::536870912:1%20boot::33554432:1%20system::1073741824:1%20cache::754974720:2%20params::67108864:2%20bootfiles::754974720:2%20data::-1:4&esnapshot=bootloader:0:4194304:0%20reserved:37748736:67108864:0%20cache:113246208:754974720:2%20env:876609536:8388608:0%20logo:893386752:33554432:1%20recovery:935329792:33554432:1%20rsv:977272832:8388608:1%20tee:994050048:8388608:1%20crypt:1010827264:33554432:1%20misc:1052770304:33554432:1%20instaboot:1094713344:536870912:1%20boot:1639972864:33554432:1%20system:1681915904:1073741824:1%20params:2764046336:67108864:2%20bootfiles:2839543808:754974720:2%20data:3602907136:3871342592:4

image

image


BL2 Built : 13:36:55, Jun 22 2020.
gxl g85d6ad1 - longyong.chen@droid02-sz

Board ID = 4, adc=304
set vcck to 1070 mv
set vddee to 1070 mv
CARD_3 high, old board
CPU clk: 1200MHz

DDR3 chl: Rank0+1 @ 792MHz - FAIL
DDR3 chl: Rank0 @ 792MHz
bist_test rank: 0 27 04 4a 39 19 59 24 00 49 3d 1c 5e 28 07 4a 38 17 5a 26 00 4c 3a 16 5f 637   - PASS

Rank0: 2048MB(auto)-2T-11
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002400
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0007b000
NOTICE:  BL3-1: v1.0(debug):361f8a7
NOTICE:  BL3-1: Built : 16:43:26, Dec 19 2018
NOTICE:  BL31: GXL normal boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 b3 b3 90 a0 0 c5 not ES chip
[0.619725 Inits done]
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2015.01 (Mar 29 2021 - 17:09:00)

DRAM:  2 GiB
Relocation Offset is: 76e8c000
this uboot is for hw_1_8, set GPIODV_24gpio: pin GPIODV_24 (gpio 43) value is 1
gpio: pin GPIOZ_14 (gpio 73) value is 1
register usb cfg[0][1] = 0000000077f5bc10
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000073e7cc00
aml_priv->desc_buf = 0x0000000073e7ef20
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
dtb magic 00088b1f
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 4
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx2 platform: p291 variant: 2g
        dtb 0 soc: gxl   plat: p211   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 2g
        dtb 2 soc: gxlx   plat: p261   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 2g
        dtb 4 soc: gxlx   plat: p265   vari: 1g
        dtb 5 soc: gxlx   plat: p265   vari: 2g
        dtb 6 soc: gxlx2   plat: p291   vari: 1g
        dtb 7 soc: gxlx2   plat: p291   vari: 2g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
        dtb 9 soc: gxlx2   plat: p295   vari: 2g
      Find match dtb: 7
start dts,buffer=0000000073e81750,dt_addr=0000000073e81750
      Amlogic multi-dtb tool
      Single dtb detected
parts: 1
00:      data   ffffffffffffffff 4
init_part() 278: PART_TYPE_DOS
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x7400000
In:    serial
Out:   serial
Err:   serial
board id is : 4
hpd_state=1
[1080p60hz] is invalid for cvbs.
set hdmitx VIC = 16
config HPLL = 2970
HPLL: 0xc000027b
config HPLL done
j = 4  vid_clk_div = 1
hdmitx: set enc for VIC: 16
HDMITX-DWC addr=0x10004006 rd_data=0x40
Error: HDMITX-DWC exp_data=0xff mask=0x9f
hdmitx phy setting done
div40 = 0
hdmtix: set audio
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-924: calc ce8ca670, store ce8ca670
_verify_dtb_checksum()-924: calc ce8ca670, store ce8ca670
dtb_read()-1046: total valid 2
dtb_read()-1113: do nothing
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 4
      Multi dtb tool version: v2 .
      Support 10 dtbs.
        aml_dt soc: gxlx2 platform: p291 variant: 2g
        dtb 0 soc: gxl   plat: p211   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 2g
        dtb 2 soc: gxlx   plat: p261   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 2g
        dtb 4 soc: gxlx   plat: p265   vari: 1g
        dtb 5 soc: gxlx   plat: p265   vari: 2g
        dtb 6 soc: gxlx2   plat: p291   vari: 1g
        dtb 7 soc: gxlx2   plat: p291   vari: 2g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
        dtb 9 soc: gxlx2   plat: p295   vari: 2g
      Find match dtb: 7
wipe_data=successfulSecd
wipe_cache=successful
_find_partition_by_name()-188: do not find match in table logo
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store mbr addr
   update mbr/partition table by dtb

cmd store failed
Err imgread(L333):Fail to read 0x2000B from part[logo] at offset 0
There is no valid bmp file at the given address
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x3dc00000
[CANVAS]addr=0x3dc00000 width=3840, height=1440
There is no valid bmp file at the given address
upgrade_step=2
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[ch_code] not programed yet
rebootmode=cold_boot
Enter USB burn
Try connect time out 701, 700, 803
key1 = 7d82dd22
key2 = 7e81dd22
key3 = 728ddd22
time_out = 7a120
ir init
irkey - irkey key_value1 key_value2 key_value3 time_value

Usage:
irkey
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...
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
** No partition table - mmc 2 **
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 1 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
** No partition table - mmc 2 **
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
BOOTP broadcast 5
BOOTP broadcast 6
BOOTP broadcast 7
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.231 (8256 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-9a-37-dd-07-31-62
Speed: 100, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A802E7
Speed: 100, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A802E
Speed: 100, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A802
Speed: 100, full duplex
*** ERROR: `serverip' not set
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/C0A80
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
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.231 (2185 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
Speed: 100, full duplex
BOOTP broadcast 1
BOOTP broadcast 2
BOOTP broadcast 3
BOOTP broadcast 4
*** Unhandled DHCP Option in OFFER/ACK: 224
*** Unhandled DHCP Option in OFFER/ACK: 224
DHCP client bound to address 192.168.2.231 (2348 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
=>

@ophub
Copy link
Owner

ophub commented Jul 7, 2023

不是所有的s905l3都可以使用相同的固件

@harck24
Copy link
Author

harck24 commented Jul 7, 2023

你手动输入的和119一样,无区别。 你添加的分区不是你真实的,这样盲填还不如不填,填错了会砖。 你要填就使用上面的工具,准确识别分区位置,设置对了。

已经尝试过的固件有:
Armbian_23.08.0_amlogic_s905l3-cm211_bullseye_6.1.32_server_2023.06.05.img
Armbian_23.08.0_amlogic_s905l3-cm211_jammy_6.1.36_server_2023.07.01.img
Armbian_23.08.0_amlogic_s905l3-cm211_lunar_6.1.36_server_2023.07.01.img

@harck24
Copy link
Author

harck24 commented Jul 7, 2023

Armbian_23.08.0_amlogic_s905l3-cm211_bullseye_6.1.32_server_2023.06.05.img
可以写入emmc,启动成功,但是没有网络。
Armbian_23.08.0_amlogic_s905l3-cm211_jammy_6.1.36_server_2023.07.01.img
Armbian_23.08.0_amlogic_s905l3-cm211_lunar_6.1.36_server_2023.07.01.img
U盘启动成功,也有网络,但是写入emmc,启动失败。

@ophub
Copy link
Owner

ophub commented Jul 7, 2023

新机测试,使用5.15.y,这个只需要dtb正确即可。
找到合适的dtb再测试手动复制u-boot为u-boot.ext,测试出合适的u-boot就全部内核都可以使用。

写入emmc没网络一般是安卓底包系统不合适。
写入emmc无法启动一般是u-boot不合适。

@harck24
Copy link
Author

harck24 commented Jul 7, 2023

新机测试,使用5.15.y,这个只需要dtb正确即可。 找到合适的dtb再测试手动复制u-boot为u-boot.ext,测试出合适的u-boot就全部内核都可以使用。

好的,我再把所有的5.15的都测试一下,再提交测试结果。

@ophub ophub closed this as completed Jul 17, 2023
@bailiangjin
Copy link

这个需要是先刷Android9的固件再刷ambian才能成功吗,我的创维E900V21C,芯片S905L,也是,U盘启动相应的armbian之后能正常运行,但就是连不了网,盒子本身的系统是Android4.4.2

按照@janko888的意思是的,我准备找Android9的固件试试,看可不可以成功

找到 Android9的固件了吗,如果找到了,还请分析一下链接,谢谢!

@harck24
Copy link
Author

harck24 commented Aug 20, 2023

这个需要是先刷Android9的固件再刷ambian才能成功吗,我的创维E900V21C,芯片S905L,也是,U盘启动相应的armbian之后能正常运行,但就是连不了网,盒子本身的系统是Android4.4.2

按照@janko888的意思是的,我准备找Android9的固件试试,看可不可以成功

找到 Android9的固件了吗,如果找到了,还请分析一下链接,谢谢!

不是固件的问题,我的流程都是对的。问题在刷机成功以后reboot的时候不要拔U盘,等重新好了以后再poweroff,这个时候拔U盘,开机就好了。0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants