uboot.log
G12B:BL:6e7c85:2a3b91;FEAT:E0F97180:4020.
bl2_stage_init 0x01
bl2_stage_init 0x81
hw id: 0x0001 - pwm id 0x00
bl2_stage_init 0xc0
bl2_stage_init 0x02
L0:00000000
L1:00000700
L2:0000c067
L3:14000020
B2:00402000
B1:e0f97180
TE: 132085
BL2 Built : 15:42:20, Aug 2 2019. g12b gfa34f81 - luan.yuan@droid15-sz
Board ID = 12
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 00024c2b
eMMC boot @ 0
sw8 s
DDR driver_vesion: LPDDR4_PHY_V_0_1_15 build time: Aug 2 2019 15:42:16
board id: 12
Load FIP HDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, par0
fw parse done
Load ddrfw from eMMC, src: 0x00060200, des: 0xfffd0000, size: 0x0000c000, part:0
Load ddrfw from eMMC, src: 0x00038200, des: 0xfffd0000, size: 0x00004000, part:0
PIEI prepare done
fastboot data load
00000000
emmc switch 1 ok
ddr saved addr:00016000
Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000
00000000
emmc switch 0 ok
fastboot data verify
verify result: 0
enable_fast_boot
dmc_margin_rx==12 dmc_margin_tx==12 steps
DDR4 probe
ddr clk to 1152MHz
dmc_version 0001
Load ddrfw from eMMC, src: 0x00020200, des: 0xfffd0000, size: 0x0000c000, part:0
Check phy result
INFO : End of initialization
INFO : Training has run successfully!
R0_RxClkDly_Margin==0 ps 0
R0_TxDqDly_Margi==0 ps 0
R1_RxClkDly_Margin==0 ps 0
R1_TxDqDly_Margi==0 ps 0
dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):0001
soc_vref_reg_value 0x 00000034 00000032 00000036 00000032 0000002f 00000030 0000
aml_ddr_fw_vesion: LPDDR4_PHY_V_0_1_15 build time: Jun 18 2019 20:30:33
DDR cs0 size: 3928MB
DDR cs1 size: 0MB
DMC_DDR_CTRL: 0050002dDDR size: 3928MB
cs0 DataBus test pass
cs0 AddrBus test pass
non-sec scramble use zero key
ddr scramble enabled
100bdlr_step_size ps== 425
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
BL2: rpmb counter: 0x0000001c
00000000
emmc switch 0 ok
Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, par0
Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x00120000, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
MVN_1=0x00000000
MVN_2=0x00000000
[Image: g12b_v1.1.3389-92241b5 2019-07-02 17:23:01 luan.yuan@droid15-sz]
OPS=0x40
ring efuse init
chipver efuse init
29 0b 40 00 da 57 41 ae e1 6a 87 09 d1 4b 65 09
[0.018960 Inits done]
secure task start!
high task start!
low task start!
run into bl31
NOTICE: BL31: v1.3(release):4fc40b1
NOTICE: BL31: Built : 15:58:17, May 22 2019
NOTICE: BL31: G12A normal boot!
NOTICE: BL31: BL33 decompress pass
INFO: BL3-2: ATOS-V2.4.2-13-gc341bc0 #1 Thu Jun 27 19:33:34 2019 +0800 arm
INFO: BL3-2: Chip: G12B Rev: B (29:B - 40:2)
INFO: BL3-2: crypto engine DMA
INFO: BL3-2: secure time TEE
INFO: BL3-2: CONFIG_DEVICE_SECURE 0xb200000e
U-Boot 2015.01-g93f15c4 (Sep 15 2020 - 14:36:27)
DRAM: 3.8 GiB
Relocation Offset is: d6e25000
spi_post_bind(spicc): req_seq = 0
spi_post_bind(spifc): req_seq = 1
register usb cfg[0][1] = 00000000d7f31be8
NAND: get_sys_clk_rate_mtd() 290, clock setting 200!
NAND device id: 0 ff ff ff ff ff
No NAND device found!!!
nand init failed: -6
get_sys_clk_rate_mtd() 290, clock setting 200!
NAND device id: 0 ff ff ff ff ff
No NAND device found!!!
nand init failed: -6
MMC: aml_priv->desc_buf = 0x00000000d3e15b10
aml_priv->desc_buf = 0x00000000d3e17e50
SDIO Port B: 0, SDIO Port C: 1
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x3, tx-dly 0, clock 400000
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
co-phase 0x3, tx-dly 0, clock 400000
co-phase 0x1, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x172000
[mmc_startup] mmc refix success
init_part() 297: PART_TYPE_AML
[mmc_init] mmc init success
Amlogic multi-dtb tool
Multi dtb detected
cpu_id.chip_rev: b
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: g12b platform: w400 variant: b
dtb 0 soc: g12b plat: w400 vari: a
dtb 1 soc: g12b plat: w400 vari: b
Find match dtb: 1
start dts,buffer=00000000d3e1a6c0,dt_addr=00000000d3e31ec0
get_partition_from_dts() 91: ret 0
Amlogic multi-dtb tool
Multi dtb detected
cpu_id.chip_rev: b
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: g12b platform: w400 variant: b
dtb 0 soc: g12b plat: w400 vari: a
dtb 1 soc: g12b plat: w400 vari: b
Find match dtb: 1
parts: 17
00: logo 0000000000800000 1
01: recovery 0000000001800000 1
02: misc 0000000000800000 1
03: dtbo 0000000000800000 1
04: cri_data 0000000000800000 2
05: param 0000000001000000 2
06: boot 0000000001000000 1
set has_boot_slot = 0
07: rsv 0000000001000000 1
08: metadata 0000000001000000 1
09: vbmeta 0000000000200000 1
10: tee 0000000002000000 1
11: vendor 0000000030000000 1
12: odm 0000000008000000 1
13: system 0000000080000000 1
14: product 0000000008000000 1
15: cache 0000000046000000 2
16: data ffffffffffffffff 4
init_part() 297: PART_TYPE_AML
eMMC/TSD partition table have been checked OK!
crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!!
crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!!
crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!!
mmc env offset: 0x4d400000
In: serial
Out: serial
Err: serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3406: calc e3ea02a3, store e3ea02a3
_verify_dtb_checksum()-3406: calc e3ea02a3, store e3ea02a3
dtb_read()-3623: total valid 2
update_old_dtb()-3604: do nothing
Amlogic multi-dtb tool
Multi dtb detected
cpu_id.chip_rev: b
Multi dtb tool version: v2 .
Support 2 dtbs.
aml_dt soc: g12b platform: w400 variant: b
dtb 0 soc: g12b plat: w400 vari: a
dtb 1 soc: g12b plat: w400 vari: b
Find match dtb: 1
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
vpu: clk_level in dts: 7
vpu: vpu_power_on
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpp: vpp_init
vpp: vpp osd2 matrix rgb2yuv..............
cvbs: cpuid:0x29
lcd: detect mode: tablet, key_valid: 0
lcd: load config from dts
lcd: pinctrl_version: 2
lcd: use panel_type=lcd_1
lcd: bl: pinctrl_version: 2
lcd: bl: name: backlight_pwm, method: 1
lcd: bl: aml_bl_power_ctrl: 0
SARADC closed.
Net: dwmac.ff3f0000amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
MACADDR:02:e1:ae:41:57:da(from chipid)
CONFIG_AVB2: null
Start read misc partition datas!
info->magic =
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
reboot_mode:::: cold_boot
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
lcd: error: outputmode[720p60hz] is not support
hpd_state=1
edid preferred_mode is 720p60hz[4]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
[OSD]load fb addr from dts:/meson-fb
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/meson-fb
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=5760, height=2160
[OSD]osd_hw.free_dst_data: 0,1279,0,719
[OSD]osd1_update_disp_freescale_enable
cvbs: outputmode[720p60hz] is invalid
vpp: vpp_matrix_update: 2
set hdmitx VIC = 4
config HPLL = 5940000 frac_rate = 1
HPLL: 0x3b3a04f7
HPLL: 0x1b3a04f7
HPLLv1: 0xdb3a04f7
config HPLL done
j = 3 vid_clk_div = 1
hdmitx: set enc for VIC: 4
hdmitx phy setting done
enc_vpu_bridge_reset[1249]
rx version is 1.4 or below div=10
vpp: sdr_mode = 2
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
Command: bcb uboot-command
Start read misc partition datas!
BCB hasn't any datas,exit!
InUsbBurn
noSof
sof timeout, reset usb phy tuning
amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
[KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[mac] not programed yet
[KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet
Hit Enter or space or Ctrl+C key to stop autoboot -- : 0
card in
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 400000
co-phase 0x2, tx-dly 0, clock 40000000
aml_sd_retry_refix[983]:delay = 0x0,gadjust =0x12000
[mmc_startup] mmc refix success
init_part() 282: PART_TYPE_DOS
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 9c
OEM: 534f
Name: SD000
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.3 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading cfgload
1940 bytes read in 3 ms (630.9 KiB/s)
## Executing script at 01080000
Using device mmc, number 0, partition 1, CoreELEC on eMMC: no
reading dtb.img
73138 bytes read in 7 ms (10 MiB/s)
reading resolution.ini
114 bytes read in 3 ms (37.1 KiB/s)
reading config.ini
7028 bytes read in 3 ms (2.2 MiB/s)
reading kernel.img
16486400 bytes read in 900 ms (17.5 MiB/s)
avb2: 0
## Booting Android Image at 0x01080000 ...
reloc_addr =d3e9aa20
copy done
No androidboot.dtbo_idx configuredStart read misc partition datas!
info->magic =
info->version_major = 1
info->version_minor = 0
info->slots[0].priority = 15
info->slots[0].tries_remaining = 7
info->slots[0].successful_boot = 0
info->slots[1].priority = 14
info->slots[1].tries_remaining = 7
info->slots[1].successful_boot = 0
info->crc32 = -1075449479
active slot = 0
active_slot is normal
load dtb from 0x1000000 ......
Amlogic multi-dtb tool
Single dtb detected
find 1 dtbos
No androidboot.dtbo_idx configured
And no dtbos will be applied
Uncompressing Kernel Image ... OK
kernel loaded at 0x01080000, end = 0x02c59808
Loading Ramdisk to 7f321000, end 7f800000 ... OK
Loading Device Tree to 000000001ffeb000, end 000000001ffffe67 ... OK
Starting kernel ...
uboot time: 5516063 us