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

河北联通HG680-L(高安版)安装armbian后无网络 #2329

Closed
hellowzt opened this issue May 22, 2024 · 0 comments
Closed

河北联通HG680-L(高安版)安装armbian后无网络 #2329

hellowzt opened this issue May 22, 2024 · 0 comments

Comments

@hellowzt
Copy link

Device Information | 设备信息

  • SOC: [e.g. S095lb]
  • Model [HG680-L]

Armbian Version | 系统版本

  • Kernel Version: [e.g. 5.15.156]
  • Release: [e.g. jammy]

Describe the bug | 问题描述
河北联通HG680-L(高安版)安装armbian后无网络

硬件
1

22222
3333

按照SOC型号,安装的Armbian_24.5.0_amlogic_s905lb-r3300l_jammy_5.15.156_server_2024.05.03.img(其他型号的版本也尝试过许多,结论类似)
U盘启动后,无IP。将系统写入EMMC,可以启动,无IP。
按照其他讨论中的经验,尝试修改 /boot/uEnv.txt 里dtb,均无IP。
参考#577,复制u-boot-r3300l.bin,改为u-boot.ext,U盘启动有IP,启动时屏幕有花屏。此时默认/boot/extlinux/extlinux.conf。改为extlinux.conf.bak后U盘就无法启动了。
写入EMMC时不加参数,选择129,成功写入后,启动无花屏,无IP。
写入后,参考#978
cd /boot

cp -f u-boot-r3300l.bin u-boot.emmc
chmod +x u-boot.emmc

sync && reboot

上述操作,通过学习,理解为启用了overload。

重启,卡在花屏。

GXL:BL1:9ac50e:bb16dc;FEAT:BDFD31BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0;
TE: 100178

BL2 Built : 14:48:45, Sep 26 2018.
gxl g6d68897 - yao.zhang@droid07

Board ID = 6, adc=462
set vcck to 1070 mv
set vddee to 1070 mv
ddr3-2 board
CPU clk: 1200MHz
DDR3
DDR3 chl: Rank0 @ 792MHz

bist_test rank: 0 25 00 4b 3b 19 5d 25 00 4a 41 20 62 21 00 43 42 23 61 21 00 43 40 20 60 612
Rank0: 1024MB(auto)-2T-11
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
aml log : R1024 check pass!
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00007600
aml log : R1024 check pass!
Load bl301 from eMMC, src: 0x00018200, des: 0x01700000, size: 0x00002200
aml log : R1024 check pass!
Load bl31 from eMMC, src: 0x0001c200, des: 0x01700000, size: 0x00019600
aml log : R1024 check pass!
Load bl33 from eMMC, src: 0x00038200, des: 0x01700000, size: 0x00047400
aml log : R1024 check pass!
NOTICE:  BL3-1: v1.0(debug):521e8c3
NOTICE:  BL3-1: Built : 14:22:49, Jun  5 2018
NOTICE:  BL31: GXL secure boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-9234004 2018-12-27 10:43:23 yao.zhang@droid07]
efuse init ops = c4
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 7 1c c 0 12 b4 c8 a0 0 c4 not ES chip
[0.747914 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 (Jul 23 2019 - 15:38:51), Build: jenkins-201726-HG680-LLLKX-59_S905L_CUCC_HEBEI-coverity-30

DRAM:  1 GiB
Relocation Offset is: 36eef000
gpio: pin GPIOAO_6 (gpio 106) value is 0
gpio: pin GPIOH_7 (gpio 56) value is 1
gpio: pin GPIOH_8 (gpio 57) value is 0
gpio: pin GPIOAO_9 (gpio 109) value is 0
gpio: pin GPIOAO_5 (gpio 105) value is 0
register usb cfg[0][1] = 0000000037f61a08
[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
MMC:   aml_priv->desc_buf = 0x0000000033edfdc0
aml_priv->desc_buf = 0x0000000033ee20e0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
[mmc_startup] mmc refix success
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 = 6
      Multi dtb tool version: v2 .
      Support 9 dtbs.
        aml_dt soc: gxl platform: p211 variant: 1g
        dtb 0 soc: gxl   plat: p205   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 1g
        dtb 2 soc: gxl   plat: p215   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 1g
        dtb 4 soc: gxlx   plat: p261   vari: 2g
        dtb 5 soc: gxlx   plat: p265   vari: 1g
        dtb 6 soc: gxlx   plat: p265   vari: 2g
        dtb 7 soc: gxlx2   plat: p291   vari: 1g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
      Find match dtb: 1
start dts,buffer=0000000033ee4910,dt_addr=0000000033ee4910
      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 : 6
reboot_mode_val is : 0
hpd_state=1
[1080p50hz] is invalid for cvbs.
set hdmitx VIC = 31
config HPLL = 2970
HPLL: 0xc000027b
config HPLL done
j = 4  vid_clk_div = 1
hdmitx: set enc for VIC: 31
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 337819a3, store 337819a3
_verify_dtb_checksum()-924: calc 337819a3, store 337819a3
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 = 6
      Multi dtb tool version: v2 .
      Support 9 dtbs.
        aml_dt soc: gxl platform: p211 variant: 1g
        dtb 0 soc: gxl   plat: p205   vari: 1g
        dtb 1 soc: gxl   plat: p211   vari: 1g
        dtb 2 soc: gxl   plat: p215   vari: 1g
        dtb 3 soc: gxlx   plat: p261   vari: 1g
        dtb 4 soc: gxlx   plat: p261   vari: 2g
        dtb 5 soc: gxlx   plat: p265   vari: 1g
        dtb 6 soc: gxlx   plat: p265   vari: 2g
        dtb 7 soc: gxlx2   plat: p291   vari: 1g
        dtb 8 soc: gxlx2   plat: p295   vari: 1g
      Find match dtb: 1
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=2160
There is no valid bmp file at the given address
upgrade_step=2
amlkey_init() enter!
[EFUSE_MSG]keynum is 2
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
into irremote_update
key1 = 29d64cb3
key2 = 7b84c43b
key3 = e21dee11
time_out = 30d40
ir init
irkey - irkey key_value1 key_value2 key_value3 time_value

Usage:
irkey
rebootmode=cold_boot
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... 2 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 2 ms (405.3 KiB/s)
## Executing script at 01020000
reading u-boot.emmc
633376 bytes read in 20 ms (30.2 MiB/s)
## Starting application at 0x01000000 ...

<debug_uart>


U-Boot 2023.01-00006-g1463c7dc28-dirty (Feb 02 2023 - 11:26:32 +0800) r3300l

Model: Amlogic Meson GXL (S905L) BesTV R3300L
SoC:   Amlogic Meson GXL (S905L) Revision 21:d (c4:2)
DRAM:  1 GiB
Core:  169 devices, 23 uclasses, devicetree: separate
MMC:   mmc@70000: 2, mmc@72000: 0, mmc@74000: 1
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... 2 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
unable to select a mode : -110
Speed: 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.103 (498 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
missing environment variable: pxeuuid
Retrieving file: pxelinux.cfg/01-aa-54-cf-e5-84-15
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A80167
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8016
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A801
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A80
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A8
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0A
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C0
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/C
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-meson-p212
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm-meson
Speed: 100, full duplex
*** ERROR: `serverip' not set
Retrieving file: pxelinux.cfg/default-arm
Speed: 100, full duplex
*** ERROR: `serverip' not set
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.1.103 (498 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET
Speed: 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 192.168.1.103 (495 ms)
*** ERROR: `serverip' not set
Cannot autoload with TFTPGET

参考#1519中,O大的回复”写入emmc没网络一般是安卓底包系统不合适。
写入emmc无法启动一般是u-boot不合适。“

网上查到,河北这个型号的机器都时高安版。能安装并运行的安卓系统也只有一个。

难道我只能放弃了吗?希望O大解惑。

@ophub ophub closed this as completed Jun 2, 2024
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

2 participants