SC2:BL:fb9e82;ID:00560001C3902F25;FEAT:3FF0F0F:9FFE0000:9002F:1;POC:FF;RCY:0;OVD:0;DFU:0;eMMC:0;RD-0:0;CHK:0;RVK-N:8000;RVK-C:8000;RVK-A:800;RVK-C:8800;RVK-A:800;RVK-C:8800;RVK-N:8000;RVK-C:8800;SCS:0;RVK-N:00004000;RVK-C:0000c800;RVK-N:00002000;RVK-C:0000e800;
build in ddr magic:ddr4
OTP_LIC00 : 0f0fff030000fe9f2f00090000000000
OTP_LIC10 : 01820700aa01fe00ff00001f00400300
OTP_LIC20 : ffffffbf00000000c080000000000001
OTP_LIC30 : 000000f201000000ff0200f207000000
TE: 176648
BL2 Built : 14:46:55, Apr 24 2022. sc2 gSynamedia_v1.0-6-gcb1dffb - jenkins@walle02-sh
Board ID = 4
Set sys clock to 24Mhz
gp1pll is 1200Mhz. Locked
syspll is 1512Mhz. Locked
Set sys clock to 167Mhz
hifipll is 1800Mhz. Locked
bl2_platform_setup
boot area list:
1STBLOB 00000200 00040000
BL2E 00040200 00013000
BL2X 00053200 00011000
DDRFIP 00064200 00040000
DEVFIP 000a4200 00300000
s_setup from rom:00010081
dma mode
derive RSPK OK
derive PCPK OK
read PFID OK
derive PFPK OK
DDR driver_vesion: LPDDR4_PHY_SC2_0_1_26 build time: Apr 24 2022 14:46:33
ddr clk to 1320MHz
ddr fw flag:1
fw_type:1, cfg max:6, mask:003f
DDR4 probe
ddr clk to 1320MHz
Check phy result
dram_init
Training has failed!
1D training failed
fw_type:1, cfg max:6, mask:003e
DDR4 probe
ddr clk to 1320MHz
Check phy result
dram_init
Training has failed!
1D training failed
fw_type:1, cfg max:6, mask:003c
try next fw type:0
fw_type:0, cfg max:6, mask:003c
DDR3 probe
ddr clk to 912MHz
Load: DDRFIP From: eMMC - 3.0 src: 00000000, dst: f700ab90, size: 00009600sdemmc src: ;
Check phy result
dram_init
Training has failed!
1D training failed
fw_type:0, cfg max:6, mask:002c
DDR3 probe
ddr clk to 912MHz
Check phy result
dram_init
Training has failed!
1D training failed
fw_type:0, cfg max:6, mask:000c
try next fw type:2
fw_type:2, cfg max:6, mask:000c
LPDDR4 probe
ddr clk to 1200MHz
Load: DDRFIP From: eMMC - 3.0 src: 00028000, dst: f700ab90, size: 00009600sdemmc src: ;
Check phy result
CA training
dram_init
Training successfully!
Check phy result
dram_init
read enable training
fine write leveling
read dq deskew
mpr read training
Write leveling coarse
1d read dqs
Training successfully!
Check phy result
dram_init
mpr read training
1d write dqs
1d read dqs
read latency training
Training successfully!
1D training succeed
Load: DDRFIP From: eMMC - 3.0 src: 00032000, dst: f7013b90, size: 00009600sdemmc src: ;
Check phy result
dram_init
2d read
2d read
2d write
2d write
Training successfully!
soc_vref_reg_value 0x 0000001d 0000001d 0000001e 0000001d 0000001e 0000001e 0000001e 00000021 0000001d 0000001f 0000001e 0000001e 0000001d 0000001d 0000001c 0000001f 0000001e 0000001d 0000001c 0000001d 0000001e 0000001d 00000020 0000001f 0000001f 00000020 0000001d 0000001e 0000001f 0000001e 0000001f 0000001d dram_vref_reg_value 0x 0000004e
2D training succeed
auto size-- 65535DDR cs0 size: 2048MB
DDR cs1 size: 2048MB
DMC_DDR_CTRL: 00e00044DDR size: 3856MB
cs0 DataBus test pass
cs1 DataBus test pass
cs0 AddrBus test pass
cs1 AddrBus test pass
non-sec scramble use random key
sec scramble use random key
ddr scramble enabled
100bdlr_step_size ps== 443
load mask:31
Load: DDRFIP From: eMMC - 3.0 src: 0000a000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 00014000, dst: f700ab90, size: 00009600sdemmc src: ;
Load: DDRFIP From: eMMC - 3.0 src: 0001e000, dst: f700ab90, size: 00009600sdemmc src: ;
result report
boot times 0
INFO: bl2_load_bl2ex start!
INFO: load ...
Load: BL2E From: eMMC - 3.0 src: 00002000, dst: 00fffff0, size: 00011000sdemmc src: ;
INFO: check ...
SHA CHK OK!
INFO: load ...
Load: BL2X From: eMMC - 3.0 src: 00000000, dst: 007ffff0, size: 00011000sdemmc src: ;
INFO: check ...
SHA CHK OK!
RVK-A:00000400;RVK-C:0000ec00;RVK-N:00004000;RVK-C:0000ec00;RVK-N:00002000;RVK-C:0000ec00;RVK-A:00000400;RVK-C:0000ec00;run into bl2e
info: get valid params from BL2 !
bl2_gd_init
BL2E: do things as vendor specific ...
Hello world, now in BL2E
TE: 671896
BL2E Built : 21:09:37, Apr 21 2022. sc2 gd41dde3 - jenkins@walle02-sh
Start to do bl2e platform setup !
boot area list:
1STBLOB 00000200 00040000
BL2E 00040200 00013000
BL2X 00053200 00011000
DDRFIP 00064200 00040000
DEVFIP 000a4200 00300000
eMMC boot @ 0
sw-hs2 s
tun-w: s=2, sz=4
sw8 s
aml log : BL2E load BL3X.....
TE: 682989
Load FIP HDR from eMMC, src: 0x00000000, des: 0x00300000, size: 0x00008000, part: 0
Load BL3X from eMMC, src: 0x00008000, des: 0x00308000, size: 0x0026c260, part: 0
bl30 payload size: 0x00010260
bl30 memcpy
info: process payload 0 bl3x_toc: 0x00300020 bl3x_data: 0x00308000 rc=148
bl40 payload size: 0x00018470
info: process payload 1 bl3x_toc: 0x00300048 bl3x_data: 0x00319000 rc=188
bl31 payload size: 0x00040470
info: process payload 2 bl3x_toc: 0x00300070 bl3x_data: 0x00332000 rc=211
bl32 payload size: 0x00080470
info: process payload 3 bl3x_toc: 0x00300098 bl3x_data: 0x00373000 rc=245
bl33 memcpy
bl33 payload size: 0x00180260 offset: 0x000f4000
info: process payload 4 bl3x_toc: 0x003000c0 bl3x_data: 0x003f4000 rc=268
info: process payload 5 bl3x_toc: 0x003000e8 bl3x_data: 0x003001e0 rc=148
info: process payload 6 bl3x_toc: 0x00300110 bl3x_data: 0x00300fe0 rc=188
info: process payload 7 bl3x_toc: 0x00300138 bl3x_data: 0x00301de0 rc=211
info: process payload 8 bl3x_toc: 0x00300160 bl3x_data: 0x00302be0 rc=245
info: process payload 9 bl3x_toc: 0x00300188 bl3x_data: 0x003039e0 rc=268
info: process payload 10 bl3x_toc: 0x003001b0 bl3x_data: 0x003047e0 rc=314
aml log : BL2E loading BL3X is done...!
boot bl2x
params to bl2x, address=0x0100c130
Hello, we are in BL2X world !
TE: 802208
BL2X Built : 14:16:10, Jan 10 2022. sc2 gSynamedia_v1.0-3-g61a1ae4 - jenkins@walle02-sh
bl2_platform_setup
INFO: get valid list_blobinfo, 0x0100c130
Info: get valid bl31 payload info, address= 0x00332000 size= 0x00040470
Info: bl31 image is now ready !
Info: get valid bl40 payload info, address= 0x00319000 size= 0x00018470
RVK-A:00000200;RVK-C:0000ee00;RVK-A:00000200;RVK-C:0000ee00;
FEAT_DISABLE_SECURE_ENCLAVE: 1
szmin_default_areas: 0
bl2e_2 entry: 010000c0
run into bl31
NOTICE: BL31: v1.3(release):0da1128eb
NOTICE: BL31: Built : 12:15:05, Oct 8 2022
BL31:tsensor calibration: pll tsensor: 0xfa000001, ddr tsensor: 0xfa00007a
[mhu]: mhu_init-v1
[mhu]: 0xfe007080, 0x12120210
[mhu]: 0xfe007084, 0x12121002
[mhu]: 0xfe00708c, 0xa0a0802
[mhu]: 0xfe007010, 0x2
[mhu]: 0xfe007018, 0x10
[mhu]: 0xfe007014, 0x8
[mhu]: 0xfe007020, 0x89
[mhu]: 0xfe007024, 0x440
[mhu]: 0xfe007028, 0x6
[mhu]: mhu_init-v1 done
DEVICE_MVN=0x0
NOTICE: BL31: SC2 normal boot!
E/TC:0 00 INFO: BL3-2: ATOS-V3.8.0-0cd2a2106 (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Tue Apr 19 08:29:21 UTC 2022 arm
E/TC:0 00 INFO: BL3-2: secure time TEE
E/TC:0 00 INFO: BL3-2: Chip: SC2 Rev: B (32:B - 0:4)
Hello world again, bl2e meet you guys!
valid entry info for bl33, pc = 0x00000000
======== smc start aocpu ========
Starting AOCPU FreeRTOS...
AOCPU image version='(no c8cf5c1588edfd60ef646bec9e928d3f20da8852 17:48:35 2023-08-02'
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
AOCPU_IRQ_SEL=0x0
[AOCPU]: mailbox init start
reg idx=0 cmd=6 handler=f702ab3e
reg idx=1 cmd=7 handler=f702ab28
[AOCPU]: mailbox init end
Starting timer ...
reg idx=2 cmd=b4 handler=f702ba08
reg idx=3 cmd=b6 handler=f702b940
reg idx=4 cmd=11 handler=f7029fc4
reg idx=5 cmd=12 handler=f7029ffe
reg idx=6 cmd=4 handler=f702a0ce
reg idx=7 cmd=30 handler=f702a0ba
reg idx=8 cmd=31 handler=f702a0ca
Starting task scheduler ...
boot bl33 !
env_init: Environment STORAGE init done (ret=-2)
U-Boot 2019.01-g1688a249c7 (Aug 02 2023 - 17:48:22 +0800)
DRAM: 3.8 GiB
Relocation Offset is: f065e000
Relocating to f065e000, new gd at ea64ddc8, sp at ea64ddb0
board init
watchdog disable
gpio: pin GPIOH_8 (gpio 49) value is 0
ERR: hdmitx: not find /amhdmitx node:[meson_mmc_probe]sd: Controller probe success!
[meson_mmc_probe]emmc: Controller probe success!
emmc: resp timeout, cmd8, status=0x1ff2800
emmc: resp timeout, cmd55, status=0x1ff2800
store flag: 0, types: 1
emmc init success!
boot_device:1
boot_seq:0
boot_bakups:3
rebuid_id :0
boot area list:
bl2 200 40000
bl2e 40200 13000
bl2x 53200 11000
ddrfip 64200 40000
devfip a4200 300000
emmc: tuning start:
emmc: best_win_start =2, best_win_size =4
GUID Partition Table Header signature is wrong: 0xED31668D204C4D40 != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
fill_ept_by_gpt: invalid gpt ***
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
Amlogic Multi-DTB tool
check_valid_dts: FDT_ERR_BADMAGIC
get_partition_from_dts() 232: ret -9
get_partition_from_dts() 235: ret -9
get_ptbl_from_dtb()-372: get partition table from dts faild
mmc_device_init()-1417: get partition table from dtb failed
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!!!
emmc probe success
Loading Environment from STORAGE... OK
In: serial@a000
Out: serial@a000
Err: serial@a000
board late init
upgrade_step 2
Start read misc partition datas!
active slot = 0
set vendor_boot_mode false
the dtb partition size is:40000 byte
_verify_dtb_checksum()-2815: calc 447e43, store 447e43
_verify_dtb_checksum()-2815: calc 447e43, store 447e43
dtb_read()-3030: total valid 2
update_old_dtb()-3011: do nothing
Amlogic Multi-DTB tool
Err imgread(L387):Fail in get_multi_dt_entry
Fail in load dtb with cmd[imgread dtb _aml_dtb ${dtb_mem_addr}]
vpu: find AML_VPU_CLK_LEVEL_DFT: 7
vpu: clk_level in dts: 7
vpu: vpu_power_on_new
vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100)
vpu: vpu_module_init_config
vpu: vpu_probe
vpp: vpp_init, chip_id=50
vpp: set_osd1_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd2_rgb2yuv rgb2yuv on = 0..............
vpp: set_osd3_rgb2yuv rgb2yuv on = 0..............
vpp: vpp osd2 matrix rgb2yuv..............
hdr_func: 0x8, hdr_process_select 0x1
hdr_func: 0x1, hdr_process_select 0x1
hdr_func: 0x2, hdr_process_select 0x1
cvbs: cpuid:0x32
vdac_gsw_init: no cali_cvbs data or chip not verify
cvbs: find performance_pal config
cvbs: find performance_ntsc config
checkhw: hwid = 4
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
Start read misc partition datas!
rebootmode is cold_boot
forUpgrade_socType=32
forUpgrade_secureBoot=false
forUpgrade_robustOta=true
forUpgrade_flashType=BOOT_EMMC
forUpgrade_bootloaderCopies=3
forUpgrade_bootloaderIndex=0
forUpgrade_1stBootIndex=0
Saving Environment to STORAGE... OK
GUID Partition Table Header signature is wrong: 0xED31668D204C4D40 != 0x5452415020494645
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
gpt is invalid
wrn:--read bootloader ok, check valib gpt---
GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645
no gpt partition table
rebootstatus is reboot_init, skip check
amlsecurecheck - try bootloader/dtb/recovery secure check
Usage:
amlsecurecheck
Start read misc partition datas!
save boot-info
do_SetUpdateTries boot_ctrl.roll_flag = 0
buff: 5601c3902f25
Net: pwr up eth
ex-phy
chip num 3
set rgmii
chip num 3
designware_eth_probe, ret=0
extern phy check ok!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
No FDT memory address configured. Please configure
the FDT address via "fdt addr <address>" command.
Aborting!
failed to get ethernet offset, pls check dts
[KM]Error:f[keymanage_dts_parse]L299:not a fdt at 0x0000000001000000
MACADDR:02:ad:32:01:4b:a2(from sec_reg)
eth0: ethernet@ff3f0000
Start read misc partition datas!
active slot = 0
set vendor_boot_mode false
recovery_status=
upgrade_step=2
reboot_mode:::: cold_boot
s_version: 01.01.230802.174822
[KM]Error:f[keymanage_dts_parse]L299:not a fdt at 0x0000000001000000
Interface: MMC
Device 1: Vendor: Man 0000d6 Snr 0e9b7392 Rev: 1.0 Prod: A3A551
Type: Removable Hard Disk
Capacity: 29600.0 MB = 28.9 GB (60620800 x 512)
Filesystem: FAT12 "KEYBOX PART"
do_hpd_detect, hpd_state=0
vout_hdmi_hpd: hdmimode=2160p60hz
vout_hdmi_hpd: colorattribute=420,10bit
no sink, fallback to 720p60hz[4]
hdr mode is 0
dv mode is ver:0 len: 0
hdr10+ mode is 0
HDMI HPD low, no need parse EDID
dolby_status 0 1
dolby_vision_process: no tv and dv disabled
Saving Environment to STORAGE... OK
WATERMARK: Watermark is disabled
[OSD]load fb addr from dts:/fb
[OSD]set initrd_high: 0x7f800000
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts:/fb
[OSD]fb_addr for logo: 0x7f800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0x7f800000 width=3840, height=2160
dolby_status 0 1
_get_part_index_by_name()-175: do not find match in table odm_ext
Err imgread(L1152):fail find part index for name(odm_ext)
[OSD]osd_hw.free_dst_data: 0,719,0,575
[OSD]osd1_update_disp_freescale_enable
vpp: vpp_matrix_update: 2
cvbs_performance_enhancement
cvbs_config_hdmipll_sc2
cvbs_set_vid2_clk
vdac_enable: 1, module_sel:0x8
dolby_status 0 1
dolby_status 0 1
hdr_packet
vpp: hdr_policy = 0
vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0
s_version: 01.01.230802.174822
[KM]Error:f[keymanage_dts_parse]L299:not a fdt at 0x0000000001000000
Interface: MMC
Device 1: Vendor: Man 0000d6 Snr 0e9b7392 Rev: 1.0 Prod: A3A551
Type: Removable Hard Disk
Capacity: 29600.0 MB = 28.9 GB (60620800 x 512)
Filesystem: FAT12 "KEYBOX PART"
SARADC mode is average
saradc - saradc sub-system
Usage:
saradc saradc open <channel> <mode> - open a SARADC channel
mode: 1:average 2:high precision 3:high resolution 4:decim filter
saradc close - close the SARADC
saradc getval - get the value in current channel
saradc test - test the SARADC by channel-7
saradc get_in_range <min> <max> - return 0 if current value in the range of current channel
Command: bcb uboot-command
Start read misc partition datas!
starting USB...
USB0: No ----gpio-vbus-power
Register 3000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus 0 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
ERR(../drivers/usb/gadget/v2_burning/v2_common/optimus_fat.c)L960:fail in blk_get_device_part_str
** Unable to use [usb 0] for device probe **
Fail to detect device usb 0
BCB hasn't any datas,exit!
Hit any key to stop autoboot: 0
card in
Device: sd
Manufacturer ID: 12
OEM: 3456
Name: SDBus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** No partition table - mmc 0 **
** Unable to read file kernel.img **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unable to read file cfgload **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
** Unrecognized filesystem type **
_find_partition_by_name()-200: do not find match in table boot
_find_partition_by_name()-200: do not find match in table boot
error partition name!
4096 bytes read in 2 ms (2 MiB/s)
_find_partition_by_name()-200: do not find match in table boot
_find_partition_by_name()-200: do not find match in table boot
error partition name!
4194304 bytes read in 2 ms (2 GiB/s)
avb2: 1
active_slot is normal
ab_suffix is
_find_partition_by_name()-200: do not find match in table vbmeta
_find_partition_by_name()-200: do not find match in table vbmeta
get partition info failed !!
_find_partition_by_name()-200: do not find match in table vbmeta
_find_partition_by_name()-200: do not find match in table vbmeta
error partition name!
Failed to read 65536B from part[vbmeta] at 0
avb_slot_verify.c:721: ERROR: vbmeta: Error loading vbmeta data.
avb verification: locked = 0, result = 2
try upgrade as booting failure
PHY2=00000000fe03a020,PHY3=00000000fe03a080
noSof
sof timeout, reset usb phy tuning
Device: sd
Manufacturer ID: 12
OEM: 3456
Name: SDBus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 7.4 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes
** Unable to read file aml_autoscript **
** Unable to read file recovery.img **
active_slot: normal
_find_partition_by_name()-200: do not find match in table recovery
_find_partition_by_name()-200: do not find match in table recovery
error partition name!
Err imgread(L199):Fail to read 0x2000B from part[recovery] at offset 0
Amlogic Multi-DTB tool
Err imgread(L387):Fail in get_multi_dt_entry
restore dtb
the dtb partition size is:40000 byte
dtb_read_shortcut()-2873: short cut in...
Amlogic Multi-DTB tool
Err imgread(L387):Fail in get_multi_dt_entry
[imgread]read from part: recovery
_find_partition_by_name()-200: do not find match in table recovery
_find_partition_by_name()-200: do not find match in table recovery
error partition name!
Err imgread(L455):Fail to read 0x100000B from part[recovery] at offset 0
sc2_ah212#
still struggling…