Welcome to minicom 2.10 OPTIONS: Compiled on Feb 22 2025, 10:10:35. Port /dev/tty.usbserial-A50285BI, 16:56:10 [F] Press Meta-Z for help on special keys ?S4:BL:25dcde;ID:8099951DC3C1282A;FEAT:30F:1FFF0000:B002F:1;POC:CF;RCY:0;OVD:0;DFU:0;SD:0;RD-0:0;CHK:0;SCS:0; chip_family_id:0x37 ops_bining:72d80700 efuse volate:800get efuse index value:2 Configure no pdvf to adjust vddee voltage OTP_LIC00 : 0f0300000000ff1f2f000b0000000000 OTP_LIC10 : 008207000001fc000c00001000000300 OTP_LIC20 : ffffffbfffff0700c780000800000000 OTP_LIC30 : 00000002010000008f03000203000000 TE: 314613 BL2 Built : 05:08:42, May 14 2024. s4 projects/s4 g1fa0a49 - bl.autobuild@walle02-sh Board ID = 3 Set sys clock to 24Mhz syspll is 1992Mhz. Locked Set sys clock to 167Mhz hifipll is 1179Mhz. Locked boot area list: 1STBLOB 00000200 0002a000 BL2E 0002a200 00013000 BL2X 0003d200 00011000 DDRFIP 0004e200 00040000 DEVFIP 0008e200 00300000 s_setup from rom:59b40381 dma mode DDR_DRIVER_VERSION: AML_A_PHY_V_1_35; Built : 05:08:42, May 14 2024. s4 projects/s4 g1fa0a49 - bl.autobuild@walle02-sh Cfg max: 1, cur: 1. ddr id: 255. Force loop cfg dram_type==LPDDR4 config==Rank0_32bit_ch0 Set ddr clk to 1176 MHz check_gate_training! index 99 sub_index 0 phase 342 index 99 sub_index 1 phase 355 index 99 sub_index 2 phase 344 index 99 sub_index 3 phase 312 index 99 sub_index 4 phase 0 index 99 sub_index 5 phase 0 index 99 sub_index 6 phase 0 index 99 sub_index 7 phase 0 check_gate_training! CS0 size: 2048MB(auto) Total size: 2048MB @ 1176MHz DDR : 2048MB @1176MHz dmc_margin_rx=43 steps dmc_margin_tx=44 steps bdlr_step_size ps=416 INFO: bl2_load_bl2ex start! INFO: load ... Load: BL2E From: SD - 1.0 src: 00002000, dst: 00fffff0, size: 00011000 sdemmc src: ; INFO: check ... SHA CHK OK! INFO: load ... Load: BL2X From: SD - 1.0 src: 00000000, dst: 007ffff0, size: 00011000 sdemmc src: ; INFO: check ... SHA CHK OK! run into bl2e info: get valid params from BL2 ! bl2_gd_init BL2E: do things as vendor specific ... Hello world, now in BL2E TE: 2586559 BL2E Built : 11:21:51, Apr 17 2024. s4 projects/amlogic-dev g31eecf9 - bl.autobuild@walle02-sh Start to do bl2e platform setup! aml log : BL2E load BL3X..... TE: 2588530 Load: FIP HDR From: SD - 1.0 src: 00000000, des: 00308000, size: 00008000 off:0008e200 Load: BL3X From: SD - 1.0 src: 00008000, des: 00310000, size: 0026c260 off:00096200 aml log : BL2E loading BL3X is done...! boot bl2x params to bl2x, address=0x0100c0e0 Hello, we are in BL2X world ! TE: 3516654 BL2X Built : 11:36:21, Apr 25 2024. s4 projects/amlogic-dev g767c913 - bl.autobuild@walle02-sh Not loading secpu fw bl2e_2 entry: 010000c0 run into bl31 NOTICE: BL31: start aocpu AOCPU: configure PMP for memory 0xf7018000 ~ 0xf7025c00 AOCPU: configure PMP end Starting AOCPU FreeRTOS... AOCPU image version='u-boot-legacy-khadas-vim1s 9fd0716ccebacba974fc8fabeef0708e5ffd7db1 02:48:23 2025-03-04' AOCPU_IRQ_SEL=0x0 AOCPU_IRQ_SEL=0x0 AOCPU_IRQ_SEL=0x0 AOCPU_IRQ_SEL=0x0 [AOCPU]: mailbox init start [AOCPU]: mailbox init end [AOCPU Led]: leds state init! [AOCPU Led]: Starting leds task ... Starting timer ... Starting task scheduler ... NOTICE: BL31: v1.3(release):ca3e01f67 NOTICE: BL31: Built : 13:07:14, May 13 2024. s4 amlogic-dev-1.3 gca3e01f67 - bl.autobuild@walle02-sh BL31:tsensor calibration: tsensor1 = 8600800a [mhu]: mhu_init-v1 DEVICE_MVN=0x0 NOTICE: BL31: S4 normal boot! NOTICE: BL31: BL33 decompress pass E/TC:0 00 INFO: BL3-2: ATOS-V3.8.0-ec8c40b03-jenkins@walle02-sh (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 Sat 11 May 2024 02:27:28 AM UTC 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:4) E/TC:0 00 INFO: BL3-2: Secure Timer Initialized. boot bl33 ! Hello world, Now in BL33Z. reboot reason: 0x00 CFG:0x00000000 normal boot. RUN back to bl33 uboot! env_init: Environment nowhere init done (ret=0) U-Boot 2019.01-g9fd0716cceb-dirty (Mar 04 2025 - 02:46:58 +0000) DRAM: 2 GiB Relocation Offset is: 7f5e9000 Relocating to 7f5e9000, new gd at 795d85c0, sp at 795d85b0 board init watchdog disable ERR: hdmitx: not find /amhdmitx node: FDT_ERR_NOTFOUND Error getting FEAT_DISABLE_HDCP_TX_22: 101 Error getting FEAT_DISABLE_HDMI_TX_3D: 101 gpio: pin GPIOZ_7 (gpiget_sys_clk_rate_mtd:gclock=90000245 get_sys_clk_rate_mtd:P_NAND_CFG=e5 Currently only supports BCH8 1K! NAND device id: 0 cf cf cf cf cf [meson_mmc_probe]sd: Controller probe success! [meson_mmc_probe]emmc: Controller probe success! emmc: resp timeout, cmd8, status=0x1cf2800 emmc: resp timeout, cmd55, status=0x1cf2800 store flag: 0, types: 1 emmc init success! record = 0x2 boot_device:1 boot_seq:0 boot_backups:3 rebuild_id :4 bl2e_size=13000 bl2x_size=11000 current->type=1 ssp->boot_entry[0] offset:0x200, size:0x2a000 cal_copy:0x1 align_size:0x1000 reserved_size:0x0 align_size2:4096 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 =0, best_win_size =3 emmc: clk = 10000245, dly1 = 0, dly2 = 0, adj = 12000, cfg = 804872 1 blocks read: OK gpt_alt->magic _mmc_check_gpt: gpt is invalid and can't be repair gpt is complete 34 blocks read: OK mmc_gpt_read: invalid GPT 34 blocks read: OK mmc_gpt_read: invalid GPT fill_ept_by_gpt: invalid gpt check_valid_dts: FDT_ERR_BADMAGIC get_partition_from_dts() 244: ret -9 get_partition_from_dts() 247: ret -9 get_ptbl_from_dtb()-373: get partition table from dts faild mmc_device_init()-1979: get partition table from dtb failed get_ptbl_rsv()-638: magic faild MPT, mmc_device_init()-2013: dtb&rsv are not exist, no LPT source emmc probe success In: serial@a000 Out: serial@a000 Err: serial@a000 board common misc_init board late init init front ## Error: "bcb_cmd" not defined the dtb partition size is:40000 byte _verify_dtb_checksum()-2960: calc 0, store 0 update_dtb_info()-3068: cpy 1 is not valid _verify_dtb_checksum()-2960: calc 0, store 0 update_dtb_info()-3068: cpy 0 is not valid dtb_read()-3175: total valid 0 Err imgread(L502):Fail read dtb from rsv with sz 0x40000 Err imgread(L558):Fail read dtb from _aml_dtb, ret -503 Load DTB from eMMC (1:1) ... ** Invalid partition 1 ** ** Invalid partition 1 ** Fail in load dtb with cmd[imgread dtb _aml_dtb ${dtb_mem_addr} || if test ${boot_source} = emmc; then echo Load DTB from eMMC (1:1) ...;load mmc 1:1 ${dtb_mem_addr} dtb/${fdtfile};else if test ${boot_soub syntax error reboot_mode the dtb partition size is:40000 byte _verify_dtb_checksum()-2960: calc 0, store 0 update_dtb_info()-3068: cpy 1 is not valid _verify_dtb_checksum()-2960: calc 0, store 0 update_dtb_info()-3068: cpy 0 is not valid dtb_read()-3175: total valid 0 Err imgread(L502):Fail read dtb from rsv with sz 0x40000 Err imgread(L558):Fail read dtb from _aml_dtb, ret -503 libfdt fdt_check_header(): FDT_ERR_BADMAGIC no dtb at 0x01000000 [KM]Err:L302:not a fdt at 0x0000000001000000 stick_reboot_flag = 0x0 board_set_boot_source, boot_source: sd 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: set_osd1_rgb2yuv rgb2yuv on = 0.............. vpp: set_osd2_rgb2yuv rgb2yuv on = 0.............. vpp: vpp osd2 matrix rgb2yuv.............. hdr_func: 0x8, hdr_process_select 0x20000001 hdr_func: hdr_process_select = 536870913 hdr_func: 0x1, hdr_process_select 0x1 hdr_func: 0x2, hdr_process_select 0x1 cvbs: cpuid:0x37 retcnt=8 vdac_gsw_init: 0x5e not find /cvbsout node: FDT_ERR_NOTFOUND init tail outputmode=1080p60hz ## Error: "connector_type" not defined Unknown command 'update_env_part' - try 'help' buff: 8099951dc3c1282a NOTICE: reg_addr = fe02e028,reg_val = 4f524400! card in Device: sd Manufacturer ID: 1b OEM: 534d Name: JB1Q5 Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 29.8 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes ** Unrecognized filesystem type ** Net: pwr up eth in-phy chip num 3 phy_pll_mode 0 not set tx_amp_src Can't get reset: -524 [KM]Err:L302:not a fdt at 0x0000000001000000 MACADDR:02:ad:37:01:bf:0a(from sec_reg) eth0: ethernet@ff3f0000 recovery_status= upgrade_step=0 reboot_mode:::: cold_boot do_hpd_detect, hpd_state=1 vout_hdmi_hpd: hdmimode=none vout_hdmi_hpd: colorattribute=444,8bit dump EDID rawdata 00ffffffffffff004c2d320d48435030111a0103803c22782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450056502100001e000000fd0032481e5111000a202020202020000000fc00433237463331 HDMI_EDID_BLOCK_TYPE_VENDER: prxcap->ColorDeepSupport=0x80 find IEEEOUT check sum valid check sum valid no ubootenv user_prefer_dv_type no ubootenv dolby_status read hdmichecksum: 0x00000000, user hdmimode: none, colorattribute: null, dv_type: -1 TV has changed, now crc: 0xf4610000 no ubootenv user_prefer_dv_type no ubootenv user_prefer_dv_type no ubootenv dolby_status ubootenv user_dv_type: -1, dv_sts:0, hdr_priority: 0, hdr_policy: 0 ubootenv best_mode: 1, best_color: 1, framerate_priority:1, hdr_force_mode:2 no ubootenv dolby_status no ubootenv dolby_status no ubootenv dolby_status set HDMI to highest edid mode: 1080p60hz support current mode:[1080p60hz], deep color:[444,8bit] colorattribute = 444,8bit sdr final_displaymode:1080p60hz, final_deepcolor:444,8bit no ubootenv dolby_status update outputmode: 1080p60hz update colorattribute: 444,8bit update hdmichecksum: 0xf4610000 dump EDID rawdata 00ffffffffffff004c2d320d48435030111a0103803c22782a5295a556549d250e5054bb8c00b30081c0810081809500a9c001010101023a801871382d40582c450056502100001e000000fd0032481e5111000a202020202020000000fc00433237463331 Manufacturer: SAM Model d32 Serial Number 810566472 EDID version: 1.3 Established timings supported: 720x400@70Hz 640x480@60Hz 640x480@67Hz 640x480@72Hz 800x600@56Hz 800x600@60Hz 800x600@72Hz 1024x768@60Hz 1024x768@70Hz Standard timings supported: 1680x1050@60Hz 1280x720@60Hz 1280x800@60Hz 1280x1024@60Hz 1440x900@60Hz 1600x900@60Hz Detailed mode (1) : Clock 148 MHz, 598 mm x 336 mm 1920 2008 2052 2200 hborder 0 1080 1084 1089 1125 vborder 0 +hsync +vsync Monitor ranges (GTF): 50-72Hz V, 30-81kHz H, max dotclock 170MHz Monitor name: C27F390 Serial number: HTQH402104 Has 1 extension blocks Checksum: 0xf4 (valid) CEA extension block Extension version: 3 22 bytes of CEA data VIC 16 1920x1080@60Hz (native) VIC 4 1280x720@60Hz VIC 31 1920x1080@50Hz VIC 19 1280x720@50Hz VIC 18 720x576@50Hz VIC 3 720x480@60Hz Linear PCM, max channels 2 Vendor-specific data block, OUI 000c03 (HDMI) Supports_AI Detailed mode (1) : Clock 74 MHz, 598 mm x 336 mm 1280 1720 1760 1980 hborder 0 720 725 730 750 vborder 0 +hsync +vsync Detailed mode (1) : Clock 27 MHz, 598 mm x 336 mm 720 732 796 864 hborder 0 576 581 586 625 vborder 0 -hsync -vsync Detailed mode (1) : Clock 27 MHz, 598 mm x 336 mm 720 736 798 858 hborder 0 480 489 495 525 vborder 0 -hsync -vsync Checksum: 0x61 (valid) Warning: Max TMDS clock is not set, some DTD information will be ignored khadas_support_mode 1080p60hz bestmode is 1080p60hz, IEEEOUI 0x000c03 HDMI Mode dolby_vision_process: hpd_state=1 not dolby stb chip 37 dolby_vision_process: hpd: dv disabled Unknown command 'saveenv' - try 'help' 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=5760, height=2160 not dolby stb chip 37 ** Invalid partition 2 ** ** Invalid partition 2 ** ** Invalid partition 2 ** ** Invalid partition 2 ** ** Invalid partition 3 ** ** Invalid partition 3 ** [OSD]osd0_update_disp_freescale_enable set hdmitx VIC = 16 set hdmitx VIC = 16 CS = 2 CD = 4 aml_audio_init config HPLL = 5940000 frac_rate = 1 hdmitx: set enc for VIC: 16 hdmitx: set audio hdmi_tx_set: save mode: 1080p60hz, attr: 444,8bit, hdmichecksum: 0xf4610000 not dolby stb chip 37 not dolby stb chip 37 hdr_packet vpp: hdr_policy = 0, hdr_force_mode = 0 vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0 vpp: Rx hdr_info.hdr_sup_eotf_hlg = 0 s_version: 01.01.250304.024658 [KM]Err:L302:not a fdt at 0x0000000001000000 Setting bus to 1 usid=01000036b002f3 usid=01000036b002f3 Setting bus to 1 mac=c8:63:14:73:eb:96 [FACTORY-PROVISION] Being 'EMMC' storage medium _get_part_index_by_name()-178: do not find match in table factory _get_part_index_by_name()-178: do not find match in table rsv ** No valid partitions found ** _get_part_index_by_name()-178: do not find match in table factory _get_part_index_by_name()-178: do not find match in table factory emmc: resp timeout, cmd8, status=0x1cf2800 emmc: resp timeout, cmd55, status=0x1cf2800 emmc: tuning start: emmc: best_win_start =0, best_win_size =3 emmc: clk = 10000245, dly1 = 0, dly2 = 0, adj = 12000, cfg = 804872 1 blocks read: OK gpt_alt->magic _mmc_check_gpt: gpt is invalid and can't be repair gpt is complete 34 blocks read: OK mmc_gpt_read: invalid GPT 34 blocks read: OK mmc_gpt_read: invalid GPT fill_ept_by_gpt: invalid gpt check_valid_dts: FDT_ERR_BADMAGIC get_partition_from_dts() 244: ret -9 get_partition_from_dts() 247: ret -9 get_ptbl_from_dtb()-373: get partition table from dts faild mmc_device_init()-1979: get partition table from dtb failed get_ptbl_rsv()-638: magic faild MPT, mmc_device_init()-2013: dtb&rsv are not exist, no LPT source switch to partitions #0, OK mmc1(part 0) is current device mmc switch to user success _find_partition_by_name()-203: do not find match in table rsv _find_partition_by_name()-203: do not find match in table rsv Cannot find dev. [FACTORY-PROVISION] ERROR: command[mmc dev 1;amlmmc switch 1 user;amlmmc erase rsv;] failed [FACTORY-PROVISION] ERROR: make fat file system failed gpio: pin GPIOD_8 (gpio 32) value is 1 Hit any key to stop autoboot: 0 starting USB... USB0: 0x10 trim value=0x0000007f 0x10 trim value=0x0000007f Register 2000120 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus 0 for devices... 4 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found Device 0: unknown device card in switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... Found U-Boot script /boot/boot.scr 3623 bytes read in 2 ms (1.7 MiB/s) U-boot default fdtfile: amlogic/kvim1s.dtb 195 bytes read in 2 ms (94.7 KiB/s) bootargs=rootflags=data=writeback rw rootfstype=ext4 no_console_suspend fsck.repair=yes net.ifnames=0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 loop.max_part=4 scramble_rS 93656 bytes read in 8 ms (11.2 MiB/s) 302 bytes read in 4 ms (73.2 KiB/s) Applying kernel provided DT overlay s4-s905y4-panfrost.dtbo 41138688 bytes read in 1766 ms (22.2 MiB/s) 39108330 bytes read in 1659 ms (22.5 MiB/s) check_ramdump, ramdump_enable = libfdt fdt_getprop(): FDT_ERR_NOTFOUND load dtb from 0x1000000 ...... ## Flattened Device Tree blob at 01000000 Booting using the fdt blob at 0x1000000 check_ramdump, ramdump_enable = Loading Ramdisk to 77089000, end 795d4eea ... OK libfdt fdt_getprop(): FDT_ERR_NOTFOUND reserving fdt memory region: addr=1000000 size=7d000 Loading Device Tree to 000000001ff80000, end 000000001fffffff ... OK Enable kaslr Starting kernel ... uboot time: 11517979 us boot 64bit kernel [ 0.000000][0 T0 ..] 07400000 - 07500000, 1024 KB, ramoops@0x08400000 [ 0.000000][0 T0 ..] 00000000 - 00080000, 512 KB, linux,dmc_monitor [ 0.000000][0 T0 ..] 04f00000 - 05000000, 1024 KB, linux,iotrace [ 0.000000][0 T0 ..] 05000000 - 07400000, 36864 KB, linux,secmon [ 0.000000][0 T0 ..] 7f800000 - 80000000, 8192 KB, linux,meson-fb [ 0.000000][0 T0 ..] 7e000000 - 7e800000, 8192 KB, linux,cma [ 0.000000][0 T0 ..] 7d400000 - 7e000000, 12288 KB, linux,vdin1_cma [ 0.000000][0 T0 ..] 6f000000 - 77000000, 131072 KB, linux,ion-dev [ 0.000000][0 T0 ..] 79c00000 - 7d400000, 57344 KB, heap-fb [ 0.000000][0 T0 ..] 69800000 - 6f000000, 90112 KB, heap-gfx [ 0.000000][0 T0 ..] 68000000 - 69800000, 24576 KB, linux,ge2d_cma [ 0.000000][0 T0 ..] 46400000 - 68000000, 552960 KB, linux,codec_mm_cma [ 0.000000][0 T0 ..] 05000000 - 07400000, 36864 KB, linux,secmon