S4:BL:25dcde;ID:80D9C31D03801925;FEAT:30F:1FFF0000:B002F:19;POC:FF;RCY:0;OVD:0;DFU:0;eMMC:0;RD-0:0;CHK:0;SCS:0;OTP_LIC00 : 0f0300000000ff1f2f000b0000000000 OTP_LIC10 : 008207004501fd010c07001000000300 OTP_LIC20 : ffffffbfffff0700c780580800000000 OTP_LIC30 : 0000000e190000008f03000e1b000000 TE: 150658 BL2 Built : 17:38:34, Jun 11 2021. s4 griscure-review-sc2-bl2-10272020-2-110-geedd079 - jenkins@walle02-sh Board ID = 1 Set sys clock to 24Mhz syspll is 1512Mhz. Locked Set sys clock to 167Mhz hifipll is 1800Mhz. Locked bl2_platform_setup boot area list: 1STBLOB 00000200 0002a000 BL2E 0002a200 00013000 BL2X 0003d200 00011000 DDRFIP 0004e200 00040000 DEVFIP 0008e200 00300000 s_setup from rom:00010081 dma mode derive RSPK OK DDR_DRIVER_VERSION: AML_A_PHY_V_1_13; Built : 17:38:34, Jun 11 2021. s4 griscure-review-sc2-bl2-10272020-2-110-geedd079 - jenkins@walle02-sh Cfg max: 2, cur: 1. ddr id: 255. Force loop cfg dram_type==DDR3 config==Rank0_32bit_ch0 DDR : DDR3 Rank0_32bit_ch0 DDR dramfreq=624 MHz Set ddr clk to 624 MHz package_info_value=106 write_dqs_delay[0]=80prepare training CS0 size: 2048MB(auto) Total size: 2048MB @ 624MHz DDR : 2048MB @624MHz cs0 DataBus test pass cs0 AddrBus test pass bdlr_step_size ps=450 INFO: bl2_load_bl2ex start! INFO: load ... Load: BL2E From: eMMC - 3.0 src: 00002000, dst: 00fffff0, size: 00011000 sdemmc src: ; INFO: check ... INFO: load ... Load: BL2X From: eMMC - 3.0 src: 00000000, dst: 007ffff0, size: 00011000 sdemmc src: ; INFO: check ... run into bl2e info: get valid params from BL2 ! bl2_gd_init BL2E: do things as vendor specific ... Hello world, now in BL2E TE: 322065 BL2E Built : 13:50:50, Jun 7 2021. s4 g605f4b5 - jenkins@walle02-sh Start to do bl2e platform setup! boot area list: 1STBLOB 00000200 0002a000 BL2E 0002a200 00013000 BL2X 0003d200 00011000 DDRFIP 0004e200 00040000 DEVFIP 0008e200 00300000 eMMC boot @ 0 sw-hs2 s tun-w: s=1, sz=4 sw8 s aml log : BL2E load BL3X..... TE: 343165 Load FIP HDR from eMMC, src: 0x00000000, des: 0x00200000, size: 0x00008000, part: 0 Load BL3X from eMMC, src: 0x00008000, des: 0x00208000, size: 0x0026c260, part: 0 bl30 payload size: 0x00010260 bl30 memcpy info: process payload 0 bl3x_toc: 0x00200020 bl3x_data: 0x00208000 rc=146 bl40 payload size: 0x00018470 info: process payload 1 bl3x_toc: 0x00200048 bl3x_data: 0x00219000 rc=186 bl31 payload size: 0x00040470 info: process payload 2 bl3x_toc: 0x00200070 bl3x_data: 0x00232000 rc=217 bl32 payload size: 0x00080470 info: process payload 3 bl3x_toc: 0x00200098 bl3x_data: 0x00273000 rc=259 bl33 memcpy bl33 payload size: 0x00180260 offset: 0x000f4000 info: process payload 4 bl3x_toc: 0x002000c0 bl3x_data: 0x002f4000 rc=290 info: process payload 5 bl3x_toc: 0x002000e8 bl3x_data: 0x002001e0 rc=146 info: process payload 6 bl3x_toc: 0x00200110 bl3x_data: 0x00200fe0 rc=186 info: process payload 7 bl3x_toc: 0x00200138 bl3x_data: 0x00201de0 rc=217 info: process payload 8 bl3x_toc: 0x00200160 bl3x_data: 0x00202be0 rc=259 info: process payload 9 bl3x_toc: 0x00200188 bl3x_data: 0x002039e0 rc=290 info: process payload 10 bl3x_toc: 0x002001b0 bl3x_data: 0x002047e0 rc=335 aml log : BL2E loading BL3X is done...! boot bl2x params to bl2x, address=0x0100b130 Hello, we are in BL2X world ! TE: 418165 BL2X Built : 13:51:51, Jun 7 2021. s4 griscure-review-sc2-bl2x-09132020-52-gd7943eb - jenkins@walle02-sh bl2_platform_setup INFO: get valid list_blobinfo, 0x0100b130 Info: get valid bl31 payload info, address= 0x00232000 size= 0x00040470 Info: bl31 image is now ready ! Info: get valid bl40 payload info, address= 0x00219000 size= 0x00018470 FEAT_DISABLE_SECURE_ENCLAVE: 1 bl2e_2 entry: 0100009c run into bl31 NOTICE: BL31: v1.3(release):2169ef32e NOTICE: BL31: Built : 17:36:03, Jun 18 2021 BL31:tsensor calibration: tsensor1 = 86000030 [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: S4 normal boot! E/TC:0 00 INFO: BL3-2: ATOS-V3.8.0-fc8328578 (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Mon Jun 7 07:26:41 UTC 2021 arm E/TC:0 00 INFO: BL3-2: secure time TEE E/TC:0 00 INFO: BL3-2: Chip: S4 Rev: B (37:B - 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='s905w2 0eac87b8b97b6b6a3fba7385772f5bc70fe0d209 11:40:46 2021-11-22' 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=f701adce reg idx=1 cmd=7 handler=f701adb8 [AOCPU]: mailbox init end Starting timer ... reg idx=2 cmd=b4 handler=f701afbe reg idx=3 cmd=b6 handler=f701aef6 reg idx=4 cmd=11 handler=f701cc60 reg idx=5 cmd=12 handler=f701cc9c reg idx=6 cmd=4 handler=f701a31a reg idx=7 cmd=30 handler=f701a306 reg idx=8 cmd=31 handler=f701a316 Starting task scheduler ... boot bl33 ! env_init: Environment STORAGE init done (ret=-2) U-Boot 2019.01 (Nov 22 2021 - 11:39:45 +0800) DRAM: 2 GiB Relocation Offset is: 7f63f000 Relocating to 7f63f000, new gd at 7962edc8, sp at 7962edb0 board init watchdog disable gpio: pin GPIOH_7 (gpio 43) value is 1 ERR: hdmitx: not find /amhdmitx node: FDT_ERR_NOTFOUND get_sys_clk_rate_mtd:gclock=90000245 get_sys_clk_rate_mtd:P_NAND_CFG=e5 Currently only supports BCH8 1K! NAND device id: 0 ff ff ff ff ff [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 2a000 bl2e 2a200 13000 bl2x 3d200 11000 ddrfip 4e200 40000 devfip 8e200 300000 emmc: tuning start: emmc: best_win_start =1, best_win_size =4 Amlogic Multi-DTB tool GZIP format, decompress... Multi DTB detected. Multi DTB tool version: v2. Support 3 DTBS. Found DTB for "s4_s905w2_2g" get_partition_from_dts() 113: 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 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 CONFIG_AVB2: avb2 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. Support 3 DTBS. Found DTB for "s4_s905w2_2g" 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=55 vpp: g12a/b osd1 matrix rgb2yuv .............. vpp: g12a/b osd2 matrix rgb2yuv.............. vpp: g12a/b osd3 matrix rgb2yuv.............. vpp: vpp osd2 matrix rgb2yuv.............. hdr_func: 4, hdr_process_select 0x1 hdr_func: 5, hdr_process_select 0x1 hdr_func: 64, hdr_process_select 0x1 hdr_func: 1, hdr_process_select 0x1 hdr_func: 2, hdr_process_select 0x1 cvbs: cpuid:0x37 not find /cvbsout node: FDT_ERR_NOTFOUND Start read misc partition datas! rebootstatus is reboot_init, skip check amlsecurecheck - try bootloader/dtb/recovery secure check Usage: amlsecurecheck 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 15b8591bde, store 15b8591bde calc 15b8591bde, store 15b8591bde do nothing [KM]Msg:rawhead hash check successful [EFUSE_MSG]keynum is 4 eth0: ethernet@ff3f0000 CONFIG_AVB2: avb2 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.211122.113945 PHY2=00000000fe03a020,PHY3=00000000fe03a080 0x10 trim value=0x0000007f noSof sof timeout, reset usb phy tuning [KM]Msg:key_num: 20 [EFUSE_MSG]keynum is 4 [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 000015 Snr c227b647 Rev: 0.11 Prod: MAG2GC Type: Removable Hard Disk Capacity: 14910.0 MB = 14.5 GB (30535680 x 512) Filesystem: FAT12 "KEYBOX PART" hpd_state=0 do_hpd_detect: hdmimode=1080p60hz do_hpd_detect: colorattribute=444,8bit 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 [OSD]load fb addr from dts:/fb [OSD]status disabled [OSD]load fb addr from dts:/drm-vpu [OSD]set initrd_high: 0x3f800000 [OSD]fb_addr for logo: 0x3f800000 [OSD]load fb addr from dts:/fb [OSD]status disabled [OSD]load fb addr from dts:/drm-vpu [OSD]fb_addr for logo: 0x3f800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0x3f800000 width=3840, height=2160 bootLogoPart=odm_ext_a ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath} ** File not found /logo_files/bootup.bmp ** Err imgread(L949):Fail in load logo cmd [OSD]osd_hw.free_dst_data: 0,719,0,575 [OSD]osd1_update_disp_freescale_enable vpp: vpp_matrix_update: 2 no performance table cvbs_config_hdmipll_sc2 cvbs_set_vid2_clk vdac_enable: 1, module_sel:0x8 hdr_packet vpp: hdr_policy = 1 vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0 s_version: 01.01.211122.113945 PHY2=00000000fe03a020,PHY3=00000000fe03a080 0x10 trim value=0x0000007f noSof sof timeout, reset usb phy tuning [KM]Msg:key_num: 20 [EFUSE_MSG]keynum is 4 [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 000015 Snr c227b647 Rev: 0.11 Prod: MAG2GC Type: Removable Hard Disk Capacity: 14910.0 MB = 14.5 GB (30535680 x 512) Filesystem: FAT12 "KEYBOX PART" Command: bcb uboot-command Start read misc partition datas! get bootloader message from misc partition: [commannd:bootonce-bootloader] [status:] [recovery:] Start read misc partition datas! active slot = 0 set vendor_boot_mode true ab update mode command mark(uboot-command) not match bootonce-bootloader,don't execute. Hit any key to stop autoboot: 0 card in sd: read crc err, cmd6, status=0x1ff2002 Device: sd Manufacturer ID: 27 OEM: 5048 Name: SD32G Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 28.9 GiB Bus Width: 1-bit Erase Group Size: 512 Bytes 2372 bytes read in 3 ms (771.5 KiB/s) ## Executing script at 00020000 Using device mmc, number 0, partition 1, CoreELEC on eMMC: no ** Unable to read file resolution.ini ** 4640 bytes read in 3 ms (1.5 MiB/s) 25124864 bytes read in 4085 ms (5.9 MiB/s) 68083 bytes read in 14 ms (4.6 MiB/s) avb2: 1 Start read misc partition datas! active slot = 0 set vendor_boot_mode true active_slot is _a ab_suffix is _a AVB2 verify with default kpub size:520, vbmeta kpub size:520 Start read misc partition datas! active slot = 0 set vendor_boot_mode true active_slot is _a _get_part_index_by_name()-175: do not find match in table system_a Start read misc partition datas! active slot = 0 set vendor_boot_mode true active_slot is _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 0x02000000 ... reloc_addr =797baaf0 copy done Kernel load addr 0x02000000 size 17473 KiB No androidboot.dtbo_idx configuredRAM disk load addr 0x01000000 size 7059 KiB load 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 Loading Ramdisk to 3f11b000, end 3f7ffae2 ... OK libfdt fdt_getprop(): FDT_ERR_NOTFOUND Loading Device Tree to 000000001ffec000, end 000000001ffffba8 ... OK Starting kernel ... uboot time: 8528909 us boot 64bit kernel [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd040] [ 0.000000] Linux version 5.15.78 (portisch@ubuntu) (aarch64-libreelec-linux-gnu-gcc-13.2.0 (GCC) 13.2.0, GNU ld (GNU Binutils) 2.41) #1 SMP PREEMPT Mon Jan 8 17:35:25 CET 2024 [ 0.000000] Machine model: Amlogic [ 0.000000] CoreELEC dt-id: s4_s905w2_2g [ 0.000000] aml-uart0 at MMIO 0x00000000fe07a000 (options '') [ 0.000000] bootconsole [aml-uart0] enabled [ 0.000000] 05c00000 - 05d00000, 1024 KB, ramoops@0x08400000 [ 0.000000] 04f00000 - 05000000, 1024 KB, linux,iotrace [ 0.000000] 3d800000 - 3e000000, 8192 KB, linux,meson-fb [ 0.000000] OVERLAP DETECTED! [ 0.000000] linux,secmon (0x0000000005000000--0x0000000008400000) overlaps with ramoops@0x08400000 (0x0000000005c00000--0x0000000005d00000) [ 0.000000] 80000000 - 80000000, 0 KB, linux,codec_mm_reserved [ 0.000000] 7f800000 - 80000000, 8192 KB, linux,cma [ 0.000000] 6e800000 - 7f800000, 278528 KB, linux,ion-fb [ 0.000000] 6b000000 - 6e800000, 57344 KB, heap-fb [ 0.000000] 65800000 - 6b000000, 90112 KB, heap-gfx [ 0.000000] invalid size property in 'linux,ppmgr' node. [ 0.000000] 58800000 - 65800000, 212992 KB, linux,codec_mm_cma [ 0.000000] 05000000 - 08400000, 53248 KB, linux,secmon