SC2:BL:635f8f;ID:8056101AC4902A14;FEAT:30F:1FFE0000:B002F: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 : 0f0300000000fe1f2f000b0000000000 OTP_LIC10 : 00820700aa01fe00ff00001f00400300 OTP_LIC20 : ffffffbf00000000c280000000000001 OTP_LIC30 : 000000f201000000ff0200f207000000 TE: 171741 BL2 Built : 14:14:47, Jan 10 2022. sc2 gSynamedia_v1.0-2-gfdd87fd - jenkins@walle02-sh Board ID = 1 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 DDR driver_vesion: LPDDR4_PHY_SC2_0_1_25 build time: Jan 10 2022 14:14:40 ddr clk to 792MHz ddr fw flag:1 fw_type:1, cfg max:6, mask:003f DDR4 probe ddr clk to 1320MHz Check phy result dram_init read enable training fine write leveling Training has failed! 1D training failed fw_type:1, cfg max:6, mask:003d DDR4 probe ddr clk to 1320MHz Check phy result dram_init read enable training fine write leveling Training has failed! 1D training failed fw_type:1, cfg max:6, mask:0039 try next fw type:0 fw_type:0, cfg max:6, mask:0039 DDR3 probe ddr clk to 792MHz Load: DDRFIP From: eMMC - 3.0 src: 00000000, dst: f700ab90, size: 00009600sdemmc src: ; Check phy result dram_init read enable training fine write leveling read dq deskew mpr read training Write leveling coarse 1d write dqs 1d read dqs read latency training Training successfully! 1D training succeed auto size-- 65535DDR cs0 size: 4096MB DDR cs1 size: 0MB DMC_DDR_CTRL: 00000055DDR size: 3856MB cs0 DataBus test pass cs0 AddrBus test pass non-sec scramble use random key sec scramble use random key ddr scramble enabled 100bdlr_step_size ps== 420 load mask:01 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: ; Load: DDRFIP From: eMMC - 3.0 src: 00028000, dst: f700ab90, size: 00009600sdemmc src: ; Load: DDRFIP From: eMMC - 3.0 src: 00032000, 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: 410910 BL2E Built : 14:01:00, Nov 11 2021. sc2 g22f2c67 - 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: 419406 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: 495300 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):dc606ac74 NOTICE: BL31: Built : 14:13:47, Nov 11 2021 BL31:tsensor calibration: pll tsensor: 0xfa0080be, ddr tsensor: 0xfa008079 [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! NOTICE: BL31: BL33 decompress pass E/TC:0 00 INFO: BL3-2: ATOS-V3.8.0-63f63ec45 (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Thu Nov 4 06:56:51 UTC 2021 arm E/TC:0 00 INFO: BL3-2: secure time TEE E/TC:0 00 INFO: BL3-2: Chip: SC2 Rev: D (32:D - 0:1) Hello world again, bl2e meet you guys! valid entry info for bl33, pc = 0x00000000 ======== smc start aocpu ======== Starting AOCPU FreeRTOS... AOCPU image version='(非分支) 33771007ebfa0b15e9b0de1358a9af182b1a688b 11:21:33 2022-04-18' 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=f702dac2 reg idx=1 cmd=7 handler=f702daac [AOCPU]: mailbox init end Starting timer ... reg idx=2 cmd=b4 handler=f702b608 reg idx=3 cmd=b5 handler=f702b5a4 reg idx=4 cmd=b6 handler=f702b0fe reg idx=5 cmd=bb handler=f702b0be reg idx=6 cmd=bc handler=f702b0de reg idx=7 cmd=11 handler=f702df3c reg idx=8 cmd=12 handler=f702df76 reg idx=9 cmd=4 handler=f702a482 reg idx=10 cmd=30 handler=f702a46e reg idx=11 cmd=31 handler=f702a47e Starting task scheduler ... boot bl33 ! ddr size -------ddr_size:0xf1000000.env_init: Environment STORAGE init done (ret=-2) U-Boot 2019.01-g88ec360-dirty (Apr 18 2022 - 11:21:22 +0800) DRAM: 3.8 GiB Relocation Offset is: f0663000 Relocating to f0663000, new gd at ea652dc8, sp at ea652db0 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: 0x7671B2B762AECE5E != 0x5452415020494645 Amlogic Multi-DTB tool GZIP format, decompress... Multi DTB detected. Multi DTB tool version: v2. Found 2 DTBS. checkhw:461 ddr_size:0xf1000000 dtb 0 soc: sc2 plat: s905x4 vari: ah212 dtb 1 soc: sc2 plat: s905x4 vari: ah212-4g Matched DTB for "sc2_s905x4_ah212-4g" get_partition_from_dts() 232: ret 0 Amlogic Multi-DTB tool Single DTB detected parts: 25 00: frp 0000000000200000 1 01: factory 0000000000800000 11 02:vendor_boot_a 0000000001800000 1 enable vendor_boot 03:vendor_boot_b 0000000001800000 1 enable vendor_boot 04: tee 0000000002000000 1 05: logo 0000000000800000 1 06: misc 0000000000200000 1 07: dtbo_a 0000000000200000 1 08: dtbo_b 0000000000200000 1 09: cri_data 0000000000800000 2 10: param 0000000001000000 2 11: odm_ext_a 0000000001000000 1 12: odm_ext_b 0000000001000000 1 13: oem_a 0000000002000000 1 14: oem_b 0000000002000000 1 15: boot_a 0000000004000000 1 set has_boot_slot = 1 16: boot_b 0000000004000000 1 17: rsv 0000000001000000 1 18: metadata 0000000001000000 1 19: vbmeta_a 0000000000200000 1 20: vbmeta_b 0000000000200000 1 21:vbmeta_system_a 0000000000200000 1 22:vbmeta_system_b 0000000000200000 1 23: super 0000000070800000 1 enable dynamic_partition 24: userdata ffffffffffffffff 4 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 true ab mode, read dtb from kernel [imgread]partname = vendor_boot_a Amlogic Multi-DTB tool Multi DTB detected. Multi DTB tool version: v2. Found 2 DTBS. checkhw:461 ddr_size:0xf1000000 dtb 0 soc: sc2 plat: s905x4 vari: ah212 dtb 1 soc: sc2 plat: s905x4 vari: ah212-4g Matched DTB for "sc2_s905x4_ah212-4g" 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 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 buff: 8056101ac4902a14 Net: pwr up eth in-phy chip num 3 not set tx_amp_src [KM]Msg:key_num: 20 [KM]Msg:normal key used! the key partition size is:40000 byte calc 10878201f9, store 10878201f9 calc 10878201f9, store 10878201f9 do nothing [KM]Msg:rawhead hash check successful [EFUSE_MSG]keynum is 4 eth0: ethernet@ff3f0000 Start read misc partition datas! active slot = 0 set vendor_boot_mode true ab mode, read dtb from kernel recovery_status= upgrade_step=2 reboot_mode:::: cold_boot s_version: 01.01.220418.112122 [KM]Msg:key_num: 20 [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L401:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet [KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet Interface: MMC Device 1: Vendor: Man 000090 Snr 16f91cc4 Rev: 10.4 Prod: HBG4a2 Type: Removable Hard Disk Capacity: 29820.0 MB = 29.1 GB (61071360 x 512) Filesystem: FAT12 "KEYBOX PART" do_hpd_detect, hpd_state=1 vout_hdmi_hpd: hdmimode=1080p60hz vout_hdmi_hpd: colorattribute=444,10bit set outputmode: hdmimode=1080p60hz edid_monitorcapable861: ycbcr444=1, ycbcr422=1 HDMI_EDID_BLOCK_TYPE_VENDER: prxcap->ColorDeepSupport=0x38 sink preferred_mode is 1080p60hz[16] hdr mode is 0 dv mode is ver:0 len: 0 hdr10+ mode is 0 edid_monitorcapable861: ycbcr444=1, ycbcr422=1 HDMI_EDID_BLOCK_TYPE_VENDER: prxcap->ColorDeepSupport=0x38 read hdmichecksum: 0x69420000, hdmimode: 1080p60hz, colorattribute: 444,10bit TV is same, initial mode is: 1080p60hz attr: 444,10bit , checksum: 0x69420000 dolby_status 0 1 dolby_vision_process: hpd: dv disabled Saving Environment to STORAGE... OK WATERMARK: Watermark is disabled [OSD]load fb addr from dts:/fb [OSD]status disabled [OSD]load fb addr from dts:/drm-vpu [OSD]set initrd_high: 0xdf800000 [OSD]fb_addr for logo: 0xdf800000 [OSD]load fb addr from dts:/fb [OSD]status disabled [OSD]load fb addr from dts:/drm-vpu [OSD]fb_addr for logo: 0xdf800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0xdf800000 width=3840, height=2160 dolby_status 0 1 bootLogoPart=odm_ext_a ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath} 4147272 bytes read in 30 ms (131.8 MiB/s) [imgread]load bmp from ext4 part okay [OSD]osd_hw.free_dst_data: 0,1919,0,1079 [OSD]osd1_update_disp_freescale_enable vpp: vpp_matrix_update: 2 set hdmitx VIC = 16 set hdmitx VIC = 16 CS = 2 CD = 5 aml_audio_init pll[0x90001c0] reset 1 times hdmi_tx_set: save mode: 1080p60hz, attr: 444,10bit , hdmichecksum: 0x69420000 Saving Environment to STORAGE... OK 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.220418.112122 [KM]Msg:key_num: 20 [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L401:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L401:key[region_code] not programed yet [KM]Error:f[key_manage_query_size]L401:key[deviceid] not programed yet Interface: MMC Device 1: Vendor: Man 000090 Snr 16f91cc4 Rev: 10.4 Prod: HBG4a2 Type: Removable Hard Disk Capacity: 29820.0 MB = 29.1 GB (61071360 x 512) Filesystem: FAT12 "KEYBOX PART" gpio: pin GPIOD_3 (gpio 32) value is 1 SARADC mode is average SARADC channel(2) is 1016. saradc - saradc sub-system Usage: saradc saradc open - 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 - return 0 if current value in the range of current channel Command: bcb uboot-command Start read misc partition datas! get bootloader message from misc partition: [commannd:bootonce-bootloader] [status:] [recovery:] ab update mode command mark(uboot-command) not match bootonce-bootloader,don't execute. No ----gpio-vbus-power PHY2=00000000fe03a020,PHY3=00000000fe03a080 noSof sof timeout, reset usb phy tuning Hit any key to stop autoboot: 0 card in Device: sd Manufacturer ID: ad OEM: 4c53 Name: LX32G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 29.5 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes 2248 bytes read in 1 ms (2.1 MiB/s) ## Executing script at 00020000 Bad data crc 17352704 bytes read in 745 ms (22.2 MiB/s) 86852 bytes read in 5 ms (16.6 MiB/s) avb2: 1 active_slot is _a ab_suffix is _a AVB2 verify with default kpub:520, vbmeta kpub:520 _get_part_index_by_name()-175: do not find match in table system_a _get_part_index_by_name()-175: do not find match in table system_a avb verification: locked = 1, result = 0 avb2: 1 ## Booting Android Image at 0x00020000 ... reloc_addr =ea8dfa20 copy done Kernel load addr 0x01080000 size 10486 KiB No androidboot.dtbo_idx configuredload dtb from 0x1000000 ...... Amlogic Multi-DTB tool Single DTB detected env select addr: 0x0x1000000 ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x1000000 active_slot is _a Start read dtbo_a partition datas! find 1 dtbos No androidboot.dtbo_idx configured And no dtbos will be applied Uncompressing Kernel Image ... Uncompressing Kernel Image ... OK libfdt fdt_getprop(): FDT_ERR_NOTFOUND Loading Device Tree to 000000001ffe7000, end 000000001ffff4f9 ... OK Starting kernel ... uboot time: 3960012 us boot 64bit kernel [ 0.000000@0]d Booting Linux on physical CPU 0x0 [ 0.000000@0]d Linux version 4.9.269 (portisch@ubuntu) (gcc version 12.2.0 (GCC) ) #1 SMP PREEMPT Thu Mar 16 15:12:39 CET 2023 [ 0.000000@0]d Boot CPU: AArch64 Processor [412fd050] [ 0.000000@0]d CoreELEC dt-id: sc2_s905x4_4g_1gbit [ 0.000000@0]d Machine model: Amlogic [ 0.000000@0]d earlycon: aml-uart0 at MMIO 0x00000000fe07a000 (options '') [ 0.000000@0]d bootconsole [aml-uart0] enabled