Skip to content

Instantly share code, notes, and snippets.

@macromorgan
Created September 4, 2023 01:51
Show Gist options
  • Save macromorgan/80b24e9a9ab2a652b089b0baa15e9aa1 to your computer and use it in GitHub Desktop.
Save macromorgan/80b24e9a9ab2a652b089b0baa15e9aa1 to your computer and use it in GitHub Desktop.
UART Dump of RG405V
UUUUUERS
ROM
RBS
SHARKL5pro ddr init...
vref_adj_p0x00000050 0x00000050
0x0021C8C8 0x50000022
ddr target freq:0x00000400 MHz
ddr target freq:0x00000400 MHz
bist test is pass!!!
ddr init pass!!!
chip id : 0x6B4C3550 0x53686172 0x00000003
pmic id : 0x0000B000 0x00002730
option 1 : 0x00000000
option 2 : 0x00000001
option 3 : 0x00000000
option 4 : 0x00000000
option 5 : 0x00000001
option 6 : 0x00000001
NOTICE: BL31: v1.4, sharkl5pro, 0415943b(release) (builder@ceshhud0032)
NOTICE: BL31: Built : 02:13:56, Jun 14 2022
NOTICE: CPU info: freq 1536MHz, MIPS 1843
U-Boot 2015.07 (Aug 11 2023 - 22:48:23 +0800)SHARKL5PRO
DRAM: 1 GiB
Error!ofnode_read_u32_default(): Node pmic@0 has bad/missing spi-tx-bus-width property
Error!ofnode_read_u32_default(): Node pmic@0 has bad/missing spi-rx-bus-width property
WARNING in /home/builder/android/Lzq_work/InsureCode_405V/sprd_android12_RG405V/bsp/bootloader/u-boot15/drivers/misc/adi.c line 354
last shutdown flag ANA_REG_GLB_POR_OFF_FLAG:0x0
regu_ldo 000000009f0b8700 (vddrf1v25) 1245 = 900 +345mv (trim=23 step=15000uv)
[LED] init led]
@@@@@@@@@@@@@@@@@@@@pmic_lowpower_config !!!!!!!!
sprd_sdhci_init: host version: 4
sdhci_send_command: ret = -1, interrupt status: 0x18000
sdhci_send_command interrupt status: 0x18001, CMD8, delay: 0x0
sdhci_send_command: ret = -1, interrupt status: 0x18000
sdhci_send_command interrupt status: 0x18001, CMD55, delay: 0x0
csd register(128 bit): d0270132 0f5903ff f6dbffef 8e404000
dll config 0xe0250d23, dll count 44, tuning length: 66
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_send_command interrupt status: 0x208002, CMD21, delay: 0xd409097f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40a0a7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40b0b7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40c0c7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40d0d7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40e0e7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd40f0f7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd410107f
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_send_command interrupt status: 0x208002, CMD21, delay: 0xd43a3a7f
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_send_command interrupt status: 0x208002, CMD21, delay: 0xd43b3b7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd43c3c7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd43d3d7f
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_send_command interrupt status: 0x208002, CMD21, delay: 0xd43e3e7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd43f3f7f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd440407f
sdhci_transfer_data: Error detected in status(0x208002)!
sdhci_send_command interrupt status: 0x208002, CMD21, delay: 0xd441417f
sdhci_send_command: ret = -1, interrupt status: 0xa8001
sdhci_send_command interrupt status: 0x2a8003, CMD21, delay: 0xd442427f
the best tuning step range 22-43(the length is 22)
the best step 33, phase 0xc0, delay value 0xd4c0c07f
mmc speed mode: HS200 (200MHz) (freq : 200 MHz)
mmc_init: 0, time 398
(eMMC)Using default environment
In: serial
Out: serial
Err: serial
aw32257 init
aw32257 register charge ops!
aw32257_sw_reset
eica status bat1
eica status bat1
[gpio keys] init!
time is 2023.08.29_15:50:44
Hit any key to stop autoboot: 0
ANDROID: Booting slot_b
is_bat_low vbat_vol:4181,comp_vbat:2900
check_reboot_mode:get raw reg_rst_mode is 2000
check_reboot_mode:get raw rst_mode is 40 and sysdump_flag is 0
hw watchdog int raw status 0x0
register reboot method reg_rst_mode is 2000
(sprd_dump): (write_sysdump_before_boot): Check dump info ......
fulldumpdb partition is not exsit ... mark flag ok
(sprd_dump): (show_check_enable_status_result): ------------------ show_check_enable_status_result ------------------ .
(sprd_dump): (show_check_enable_status_result): full_dump_enable : 0 .
(sprd_dump): (show_check_enable_status_result): mini_dump_enable : 1 .
(sprd_dump): (show_check_enable_status_result): full_dump_allow : 0 .
(sprd_dump): (show_check_enable_status_result): mini_dump_allow : 0 .
(sprd_dump): (show_check_enable_status_result): reset_mode : (2)-(normal) .
(sprd_dump): Error!sysdump_save_extend_information(): sysdumpdb: Not exception mode .do nothing
(sprd_dump): Error!add_uboot_log_to_section(): add section: bootloader_last_log failed!!
(sprd_dump): (write_sysdump_before_boot): is_partition_ok : 1 , mini_dump_allow : 0 . !!!
(sprd_dump): (write_sysdump_before_boot): NO need minidump !!!
(sprd_dump): (write_sysdump_before_boot): is_partition_ok : 1 , full_dump_allow : 0 . !!!
(sprd_dump): (write_sysdump_before_boot): NO need full dump memory !!!
enter boot mode 2
lcd start init time:2134ms
[sprdfb][of_parse_panel] panel: lcd_d53e6ea8966_mipi_2lane_960X544
[sprdfb][of_parse_panel] Can't get sprd,dual_dsi_en, set default value
[sprdfb][mipi_dsi_init] escape clk div = 3
[sprdfb][sprd_dsi_resume] dsi init OK
[sprdfb][mipi_dphy_configure] lanes : 2
[sprdfb][mipi_dphy_configure] freq : 368000
[sprdfb][sprd_dphy_resume] dphy init OK
[sprdfb][sprd_panel_probe] attach panel 0xffff success
[sprdfb][dispc_clk_init] DPI_CLK_SRC = 128000000
[sprdfb][dispc_clk_init] DPU_CORE_CLK = 384000000, DPI_CLK_SRC = 128000000
[sprdfb][dispc_clk_update] the actual dpi_clk = 25600000
[sprdfb][dpu_run] dpu run
[sprdfb][sprd_dispc_resume] dispc init OK
bmp_size = 929792.
[sprdfb][logo_mem_init] splashimage addr is 0x000000009d000000, fb size is 0x9e4000
logo memory init success.
[sprdfb][lcd_enable] start flip
sprd backlight power on. pwm_index=2 brightness=25
sprd backlight power on. pwm_index=0
uboot consume time:1847ms, lcd init consume:573ms, backlight on time:2707ms
sprd_get_vboot_key(): load_buf is 0x000000009efffe00.
sprd_get_vboot_key(): sechdr_offset is 0xda3c0.
sprd_get_vboot_key(): sechdr_addr is 0x000000009f0da1c0.
sprd_get_vboot_key(): sechdr_addr: 000000009f0da1c0. cert_addr: 000000009f0da220.
sprd_get_vboot_key(): sechdr_offset is 0xda3c0, sechdr_addr->cert_offset is 0xda420.
cert_key
dumpHex:32 bytes
7728e30f50bfa5cea165f473175a0880
3f6a8346642b5aa10913e9d9e6defef6
sprd_get_all_imgversion: ab_slot_flag is 1
read write count:0x7 ,msg_type:0x400
sprd_get_all_imgversion: rpmb read blk 65532 fail! ret 1
avb_slot_verify.c:1411: DEBUG: avb_slot_verify() out_data is NULL
avb_slot_verify.c:1447: DEBUG: avb_slot_verify() alloc slot_data success!
avb_slot_verify.c:1471: DEBUG: avb_slot_verify() start load and verify vbmeta image
avb_slot_verify.c:693: DEBUG: Loading vbmeta struct from partition 'vbmeta_b'.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'boot_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'vendor_boot_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'dtbo_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_footer.c:41: DEBUG: Warning:Footer magic is incorrect.
avb_slot_verify.c:661: DEBUG: vbmeta_system_b: No footer detected.
avb_slot_verify.c:693: DEBUG: Loading vbmeta struct from partition 'vbmeta_system_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_footer.c:41: DEBUG: Warning:Footer magic is incorrect.
avb_slot_verify.c:661: DEBUG: vbmeta_system_ext_b: No footer detected.
avb_slot_verify.c:693: DEBUG: Loading vbmeta struct from partition 'vbmeta_system_ext_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_footer.c:41: DEBUG: Warning:Footer magic is incorrect.
avb_slot_verify.c:661: DEBUG: vbmeta_vendor_b: No footer detected.
avb_slot_verify.c:693: DEBUG: Loading vbmeta struct from partition 'vbmeta_vendor_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_footer.c:41: DEBUG: Warning:Footer magic is incorrect.
avb_slot_verify.c:661: DEBUG: vbmeta_product_b: No footer detected.
avb_slot_verify.c:693: DEBUG: Loading vbmeta struct from partition 'vbmeta_product_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'l_modem_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'l_ldsp_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'l_gdsp_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'pm_sys_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'l_agdsp_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:688: DEBUG: Loading vbmeta struct in footer from partition 'l_cdsp_b'.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:1245: DEBUG: load_and_verify_vbmeta() process success.
avb_slot_verify.c:1248: DEBUG: load_and_verify_vbmeta() goto out.
avb_slot_verify.c:1591: DEBUG: avb_slot_verify() save slot_data to *out_data
avb_slot_verify.c:1605: DEBUG: avb_slot_verify() %^*&&*(* not alllow verification error
avb_slot_verify.c:1609: DEBUG: avb_slot_verify() avb slot verify OK!
g_sprd_vboot_cmdline is androidboot.vbmeta.device=PARTUUID=1.0 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=18944 androidboot.vbmeta.digest=bca7e0d6281300bf750c33bdb5974534bea7cfb0c36711098ff9d72d459b94e1 androidboot.vbmeta.invalidate_on_error=yes androidboot.veritymode=enforcing.
g_sprd_vboot_cmdline is androidboot.vbmeta.device=PARTUUID=1.0 androidboot.vbmeta.avb_version=1.1 androidboot.vbmeta.device_state=locked androidboot.vbmeta.hash_alg=sha256 androidboot.vbmeta.size=46400 androidboot.vbmeta.digest=18e66437a88cc1797dbc1ca544ccedee94a18c739b3c944e91f9343d290fb0ec androidboot.vbmeta.invalidate_on_error=yes androidboot.veritymode=enforcing.
set_root_of_trust succeeded.
merge_dtbo : offset = 0x20 size=0x7842
merge_dtbo : offset = 0x60 size=0x63a1
Error!fdt_fixup_sp_info(): pmic node not exist!!!
sprdbat rtc_time = -1, charge_cycle = -1, charge magic num = 0x5a5aa5a5, basp = -1, total_mah = 538317998
sprdbat reset rtc time = 1693295448
Error!fdt_fixup_uboot_log_reserved(): Cannot appendprop uboot_log-mem on/reserved-memoryFDT_ERR_EXISTS
pass_chip_uid_to_tos()... sizeof(blocks)=8
blks:0x00742901 0x0a1e1116, result: 0x0
uboot_set_rpmb_size: rpmb size 16777216
is_wr_mmc_rpmb_key rpmb key not write
uboot_is_wr_rpmb_key rpmb unwritten, call tos
uboot_check_rpmb_key get rpmb package, call tos to check rpmb key
uboot postload
enter mode normal, consume time: 4941ms, boot_reason: Reboot into normal,pwroff_reason: device power down
boot count 2
bootup init log success on 23 times
[ 0.000000]c0 [ T0] Booting Linux on physical CPU 0x0000000000 [0x411fd050]
[ 0.000000]c0 [ T0] Linux version 5.4.161 (builder@dell-PowerEdge-R730XD) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), LLD 12.0.5 (/buildbot/src/android/llvm-toolchain/out/llvm-project/lld c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Fri Aug 11 22:50:30 CST 2023
[ 0.000000]c0 [ T0] Machine model: Spreadtrum UMS512-1H10 SoC
[ 0.000000]c0 [ T0] earlycon: sprd_serial0 at MMIO 0x0000000070100000 (options '115200n8')
[ 0.000000]c0 [ T0] printk: bootconsole [sprd_serial0] enabled
[ 0.004000]c0 [ T1] sprd-sysdump: [sysdump_info_init]vmcore info init end!
[ 0.518695]c7 [ T1] sprd_wdh: func_addr = 0xffffffc01009faf0 , pdg = 0x0 level = 0x0
[ 0.526609]c7 [ T1] sprd_wdh: func_addr = 0xffffffc01009faf4 , pdg = 0x200008211b001 level = 0x1
[ 0.535594]c7 [ T1] sprd_wdh: func_addr = 0x8009faf8 , pdg = 0x0 level = 0x2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment