v851s tf卡启动失败
-
测试阶段总是tf卡最方便,按照文档“Tina Linux 存储介质切换”修改了tf卡启动,改了fex文件的存储类型,修改了board.dts,硬件是sdc0接tf卡。编译和打包都没问题,但是启动报错,贴一下log,寻求指点,多谢~
HELLO! BOOT0 is starting! [258]BOOT0 commit : 4b419f21ba [354][pmu]: bus read error [356]set pll start [358]periph0 has been enabled [361]set pll end [363]board init ok [365]DRAM use internal ZQ!! [367]ZQ value = 0x2f [369]chip id check OK [371]POWER SETTING ERROR! [374]trefi:7.8ms [376][AUTO DEBUG] single rank and full DQ! [380]trefi:7.8ms [383][AUTO DEBUG] rank 0 row = 13 [386][AUTO DEBUG] rank 0 bank = 4 [389][AUTO DEBUG] rank 0 page size = 2 KB [393]DRAM BOOT DRIVE INFO: V0.16 [396]DRAM CLK = 528 MHz [398]DRAM Type = 2 (2:DDR2,3:DDR3) [402]DRAMC read ODT off. [404]DRAM ODT off. [407]DRAM SIZE =64 M [409]dram_tpr4:0x0 [415]DRAM simple test OK. [417]rtc standby flag is 0x0, super standby flag is 0x0 [423]dram size =64 [425]audio:avcc calibration [428]card no is 0 [429]sdcard 0 line count 4 [432][mmc]: mmc driver ver 2021-12-27 10:07 [441][mmc]: Wrong media type 0x0 [444][mmc]: ***Try SD card 0*** [454][mmc]: HSSDR52/SDR25 4 bit [457][mmc]: 50000000 Hz [459][mmc]: 7618 MB [461][mmc]: ***SD/MMC 0 init OK!!!*** [557]Loading boot-pkg Succeed(index=0). [561]Entry_name = optee [564]Entry_name = u-boot [572]Entry_name = dtb [576]mmc not para [577]Jump to second Boot. M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm E/TC:0 0 platform_standby_fdt_parse:133 no pmu node E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node U-Boot 2018.05-ga697d75 (Jul 28 2022 - 05:29:47 +0000) Allwinner Technology [00.655]CPU: Allwinner Family [00.658]Model: sun8iw21 I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed. ready [00.718]DRAM: 64 MiB [00.721]Relocation Offset is: 00ed0000 [00.754]secure enable bit: 0 E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND [00.769]smc_tee_inform_fdt failed with: ffff0000 [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.779]pmu_axp2101_probe pmic_bus_read fail [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.787]bmu_axp2101_probe pmic_bus_read fail [00.791]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.797]gic: sec monitor mode sunxi flash map init [00.802]flash init start [00.804]workmode = 0,storage type = 1 [00.807][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.813][mmc]: get sdc_type fail and use default host:tm1. [00.819][mmc]: can't find node "mmc0",will add new node [00.824][mmc]: fdt err returned <no error> [00.828][mmc]: Using default timing para [00.832][mmc]: SUNXI SDMMC Controller Version:0x50400 [00.850][mmc]: card_caps:0x3000000a [00.853][mmc]: host_caps:0x3000003f [00.857]sunxi flash init ok [00.859]line:724 init_clocks [00.862]drv_disp_init [00.872]drv_disp_init finish [00.886]Loading Environment from SUNXI_FLASH... backup env check CRC fail Now update backup env Saving Environment to SUNXI_FLASH... Writing to env... OK OK [01.020]boot_gui_init:start partno erro : can't find partition Reserve0 [01.028]Get Reserve0 partition number fail! [01.035]boot_gui_init:finish partno erro : can't find partition bootloader partno erro : can't find partition boot-resource [01.048]Get bootloader and boot-resource partition number fail! [01.071]Item0 (Map) magic is bad [01.074]the secure storage item0 copy0 magic is bad [01.096]Item0 (Map) magic is bad [01.099]the secure storage item0 copy1 magic is bad [01.103]Item0 (Map) magic is bad [01.106]out of usb burn from boot: not need burn key root_partition is rootfs set root to /dev/mmcblk0p4 [01.117]update part info [01.121]update bootcmd [01.125]libfdt fdt_check_header(): FDT_ERR_BADMAGIC disable nand error: FDT_ERR_BADPATH disable nand error: FDT_ERR_BADPATH [01.137]The storage not support sample function [01.142]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.148]update dts Hit any key to stop autoboot: 1 0 input addr exceed dram scope [02.345]no vendor_boot partition is found Android's image name: v851s-perf1 [02.380]Starting kernel ... [02.382][mmc]: MMC Device 2 not found [02.386][mmc]: mmc 2 not find, so not exit
-
@yelong98 在 v851s tf卡启动失败 中说:
[02.382][mmc]: MMC Device 2 not found
[02.386][mmc]: mmc 2 not find, so not exit这个不是报错,正常启动也会显示这个,估计是内核panic了,检查下rv小核的固件没关
-
@yuzukitsuru 感谢指导,这一块有没有文档说明?怎么关rv小核没搜到资料。
-
@yuzukitsuru 我也是卡在这里了。。。。
-
这几天正好调试到这个,问题是uboot设备树没有配置mmc,也没配置mmc boot,找v853的抄过来就行了
-
@yuzukitsuru 大佬,请问具体应该如何操作呢?
-
@lovexulu 设备树,打开v853的uboot设备树对比下
-
@yuzukitsuru 所以这个的问题本质其实还是uboot阶段没有配置mmc,导致kernel端没有mmc,就进不去kernel了?
-
-
我也遇见此问题 请教大神最终如何处理的
-
@yuzukitsuru 请教大佬 能否详细指点下具体操作
-
这种应该是引导设备不正确导致,可能是mmc没识别到,即emmc或sd卡,中断一下进入uboot的终端,用mmcinfo命令,查看一下mmc是否正常识别,如果没有,则检查驱动或者设备树,是否配置错误。
再进一步检查电源是否正常 -
@lkj1995 请教大佬对比了853的uboot dtb没发现相关差异 能否说详细些
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号