导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    v851s tf卡启动失败

    V Series
    6
    13
    4354
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • Y
      yelong98 LV 7 最后由 YuzukiTsuru 编辑

      测试阶段总是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
      
      YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
      • YuzukiTsuru
        柚木 鉉 LV 9 @yelong98 最后由 YuzukiTsuru 编辑

        @yelong98 在 v851s tf卡启动失败 中说:

        [02.382][mmc]: MMC Device 2 not found
        [02.386][mmc]: mmc 2 not find, so not exit

        这个不是报错,正常启动也会显示这个,估计是内核panic了,检查下rv小核的固件没关

        Y L 2 条回复 最后回复 回复 引用 分享 0
        • Y
          yelong98 LV 7 @YuzukiTsuru 最后由 编辑

          @yuzukitsuru 感谢指导,这一块有没有文档说明?怎么关rv小核没搜到资料。

          1 条回复 最后回复 回复 引用 分享 0
          • L
            lovexulu LV 7 @YuzukiTsuru 最后由 编辑

            @yuzukitsuru 我也是卡在这里了。。。。

            1 条回复 最后回复 回复 引用 分享 0
            • YuzukiTsuru
              柚木 鉉 LV 9 最后由 YuzukiTsuru 编辑

              这几天正好调试到这个,问题是uboot设备树没有配置mmc,也没配置mmc boot,找v853的抄过来就行了

              L 1 条回复 最后回复 回复 引用 分享 0
              • L
                lovexulu LV 7 @YuzukiTsuru 最后由 编辑

                @yuzukitsuru 大佬,请问具体应该如何操作呢?

                YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                • YuzukiTsuru
                  柚木 鉉 LV 9 @lovexulu 最后由 编辑

                  @lovexulu 设备树,打开v853的uboot设备树对比下

                  DAIZEBIN 1 条回复 最后回复 回复 引用 分享 0
                  • DAIZEBIN
                    DAIZEBIN LV 7 @YuzukiTsuru 最后由 编辑

                    @yuzukitsuru 所以这个的问题本质其实还是uboot阶段没有配置mmc,导致kernel端没有mmc,就进不去kernel了?🤓

                    YuzukiTsuru 1 条回复 最后回复 回复 引用 分享 0
                    • YuzukiTsuru
                      柚木 鉉 LV 9 @DAIZEBIN 最后由 编辑

                      @daizebin 是

                      F 1 条回复 最后回复 回复 引用 分享 1
                      • F
                        fdag43262g32 LV 4 最后由 编辑

                        我也遇见此问题 请教大神最终如何处理的

                        1 条回复 最后回复 回复 引用 分享 0
                        • F
                          fdag43262g32 LV 4 @YuzukiTsuru 最后由 编辑

                          @yuzukitsuru 请教大佬 能否详细指点下具体操作

                          1 条回复 最后回复 回复 引用 分享 0
                          • L
                            lkj1995 LV 2 最后由 编辑

                            这种应该是引导设备不正确导致,可能是mmc没识别到,即emmc或sd卡,中断一下进入uboot的终端,用mmcinfo命令,查看一下mmc是否正常识别,如果没有,则检查驱动或者设备树,是否配置错误。
                            再进一步检查电源是否正常

                            F 1 条回复 最后回复 回复 引用 分享 0
                            • F
                              fdag43262g32 LV 4 @lkj1995 最后由 编辑

                              @lkj1995 请教大佬对比了853的uboot dtb没发现相关差异 能否说详细些

                              1 条回复 最后回复 回复 引用 分享 0
                              • 1 / 1
                              • First post
                                Last post

                              Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                              行为准则 | 用户协议 | 隐私权政策