Closed mengliwunian closed 1 year ago
@7Ji 按上面分区信息写入EMMC后启动不了,是不是需要把logo分区保留
gxl_p211_v1#reboot
reboot use default mode: normal
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: 0x1
ERROR: gxbb System Reset: SCP error 1.
GXLX2:BL1:3cfee7:42a5ae;FEAT:ADFD318C:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 39460
BL2 Built : 13:35:42, Jun 1 2021.
gxl g49d5acc - liqiang.hou@droid07-sz
Board ID = 12, adc=918
set vcck to 1070 mv
set vddee to 1070 mv
CPU clk: 1200MHz
DDR4 chl: Rank0+1 @ 912MHz - FAIL
DDR4 chl: Rank0 @ 912MHz
bist_test rank: 0 1e 00 3d 31 17 4c 1d 00 3a 36 1b 52 1b 00 37 3b 20 56 19 00 33 39 20 52 630 - PASS
Rank0: 2048MB(auto)-2T-18
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: 0x00002600
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0004dc00
NOTICE: BL3-1: v1.0(debug):27617c8a4
NOTICE: BL3-1: Built : 18:02:23, Aug 18 2021
NOTICE: BL31: GXL normal boot!
NOTICE: BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-923400455-dirty 2020-12-28 18:42:52 xingyu.chen@droid12-sz]
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 b6 b3 60 a0 0 c5 not ES chip
[0.560601 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 (Oct 21 2021 - 04:30:34), Build: jenkins-J_CMCC_HG680-LY_2_S905L_CMCCGUANGDONG-194
DRAM: 2 GiB
Relocation Offset is: 76edf000
gpio: pin GPIODV_25 (gpio 44) value is 1
register usb cfg[0][1] = 0000000077f5d738
[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 = 0x0000000073ecfac0
aml_priv->desc_buf = 0x0000000073ed1de0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
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 = 12
Multi dtb tool version: v2 .
Support 6 dtbs.
aml_dt soc: gxlx2 platform: p291 variant: 2g
dtb 0 soc: gxlx2 plat: p291 vari: 1g
dtb 1 soc: gxlx2 plat: p291 vari: 2g
dtb 2 soc: gxlx2 plat: p291 vari: 3g
dtb 3 soc: gxlx2 plat: p295 vari: 1g
dtb 4 soc: gxlx2 plat: p295 vari: 2g
dtb 5 soc: gxlx2 plat: p295 vari: 3g
Find match dtb: 1
start dts,buffer=0000000073ed4610,dt_addr=0000000073ed4610
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 : 12
hpd_state=0
do_hpd_detect: hdmimode=720p50hz
do_hpd_detect: colorattribute=444,8bit
cvbs performance type = 7, table = 2
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-924: calc 20a349c7, store 20a349c7
_verify_dtb_checksum()-924: calc 20a349c7, store 20a349c7
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 = 12
Multi dtb tool version: v2 .
Support 6 dtbs.
aml_dt soc: gxlx2 platform: p291 variant: 2g
dtb 0 soc: gxlx2 plat: p291 vari: 1g
dtb 1 soc: gxlx2 plat: p291 vari: 2g
dtb 2 soc: gxlx2 plat: p291 vari: 3g
dtb 3 soc: gxlx2 plat: p295 vari: 1g
dtb 4 soc: gxlx2 plat: p295 vari: 2g
dtb 5 soc: gxlx2 plat: p295 vari: 3g
Find match dtb: 1
Net: eth_initialize:396 dwmac.c9410000 idx:0
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
wipe_data=successful
wipe_cache=successful
_get_part_index_by_name()-165: do not find match in table vendor
Err imgread(L536):invalid partition name(vendor)
ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath}
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Err imgread(L543):Fail in load logo cmd
logo part bootup
_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(L336):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: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]addr=0x7f800000 width=3840, height=2160
There is no valid bmp file at the given address
upgrade_step=0
upgrade_step12=0
amlkey_init() enter!
amlkey_init() 70: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[cmei] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[authkey] not programed yet
key1 = 7d82dd22
key2 = 7e81dd22
key3 = 728ddd22
time_out = 7a120
ir init
irkey - irkey key_value1 key_value2 key_value3 time_value
Usage:
irkey
rebootmode=normal
Hit any key to stop autoboot: 0
_find_partition_by_name()-188: do not find match in table boot
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(L135):Fail to read 0x100000B from part[boot] at offset 0
Enter USB burn
Try connect time out 1001, 1000, 1387
card out
[MSG]mmcinfo failed!
(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 0 **
** File not found /recovery/dtb.img **
** File not found /recovery/recovery.img **
_find_partition_by_name()-188: do not find match in table recovery
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(L135):Fail to read 0x100000B from part[recovery] at offset 0
gxl_p211_v1#
parts: 1 00: data ffffffffffffffff 4
ampart已经把你的盒子的布局调整成只有data了,上面的参数根本是不需要的
上面失败的是安卓启动的流程,env可能被你用ampart却写了这种布局导致损坏了,所以回退到了默认启动参数。能用ampart调整分区的话不要用这里的表格推算,你现在再看分区表绝对和之前的不一样。
U-boot 命令行打 reboot update
再加载一下外面U盘或者sd卡的启动脚本,然后用纯默认的armbian-install装
Standard chat template, no routine, no chat. 标准聊天模板,无套路不聊天。
Device Information | 设备信息
Armbian Version | 系统版本
Describe the bug | 问题描述 Describe the problem in detail and attach screenshots if necessary. 详细描述问题,并在必要时附上屏幕截图。
使用Armbian_23.02.0_amlogic_s905l2_jammy_6.1.8_server_2023.01.28 固件
dtb 尝试了很多个, meson-gxl-s905l2-ipbs9505.dtb、 meson-gxl-s905l2-x7-5g.dtb、 meson-gxl-s905l3b-e900v22e.dtb
能识别EMMC,但是写入EMMC失败,尝试过降频到100的meson-gxl-s905l2-e900v21e能识别,还是写不进去
EMMC型号是康佳KAS03111,见后图
EMMC型号:![康佳EMMC](https://user-images.githubusercontent.com/13015428/215347439-71ea3f47-8369-4c04-aa5f-adc3ba149b54.jpg)
官方安卓提取dtb及dts: gxlx2_p291_2g.zip
附上错误日志: