导航

    全志在线开发者论坛

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

    D1S TF卡启动固件修改文件系统无法启动

    Linux
    1
    2
    519
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      lztmfx LV 5 最后由 编辑

      D1S默认启动TF卡固件为squashfs文件系统,可以正常启动。然后在tina根目录用make menuconfig把squashfs取消了,选择了ext4,kernel配置也选了对ext4文件系统的支持,编译后无法引导,看样子是挂在uboot了,报错如下:

      U-Boot 2018.07-ge987def5 (Nov 07 2022 - 03:11:27 +0000) Allwinner Technology

      [00.293]DRAM: 64 MiB
      [00.295]Relocation Offset is: 01eea000
      [00.300]secure enable bit: 0
      [00.302]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
      sunxi flash map init
      SPI ALL: ready
      [00.313]flash init start
      [00.315]workmode = 0,storage type = 1
      [00.318][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [00.324][mmc]: get sdc_type fail and use default host:tm1.
      [00.330][mmc]: can't find node "mmc0",will add new node
      [00.335][mmc]: fdt err returned <no error>
      [00.339][mmc]: Using default timing para
      [00.342][mmc]: SUNXI SDMMC Controller Version:0x50310
      [00.361][mmc]: card_caps:0x3000000a
      [00.364][mmc]: host_caps:0x3000003f
      [00.368]sunxi flash init ok
      [00.370]line:703 init_clocks
      [00.373]drv_disp_init
      request pwm success, pwm7:pwm7:0x2000c00.
      [00.391]drv_disp_init finish
      [00.401]Loading Environment from SUNXI_FLASH... OK
      [00.420]boot_gui_init:start
      [00.423]set disp.dev2_output_type fail. using defval=0
      [00.450]set disp.fb0_rot_used fail. using defval=0
      [00.454]set disp.fb0_rot_degree fail. using defval=0
      [00.624]boot_gui_init:finish
      partno erro : can't find partition bootloader
      [00.633]bmp_name=bootlogo.bmp size 38454
      [00.644]out of usb burn from boot: not need burn key
      [00.649]Item0 (Map) magic is bad
      [00.652]the secure storage item0 copy0 magic is bad
      [00.657]Item0 (Map) magic is bad
      [00.659]the secure storage item0 copy1 magic is bad
      [00.664]Item0 (Map) magic is bad
      partno erro : can't find partition private
      root_partition is rootfs
      set root to /dev/mmcblk0p5
      [00.677]update part info
      [00.683]LCD open finish

      [00.687]change working_fdt 0x42aa9da0 to 0x42a89da0
      disable nand error: FDT_ERR_BADPATH
      [00.696]The storage not support sample function
      No reserved memory region found in source FDT
      [00.722]update dts
      Hit any key to stop autoboot: 0
      Unhandled exception: Load access fault
      EPC: 0000000043eebdc6 TVAL: 000000000008f840

      ERROR ### Please RESET the board

      请教一下,TF卡启动卡可以用EXT4文件系统吗?

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

        论坛逛了一圈,成功进入系统。
        主要修改点:
        1.uboot里面menuconfig使能etx4
        2.kernel里面menuconfig使能ext4,取消squashfs
        3.SDK/device/config/chips/d1s/configs/default/env.cfg里面将rootfstype=squashfs改为rootfstype=ext4
        4.如果make成功,pack失败就修改SDK/device/config/chips/d1s/configs/nezha_sd/sys_partition.fex的相应分区大小,一般都是rootfs分区大小不够,需要多大才够可以看pack的报错有显示

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

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

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