导航

    全志在线开发者论坛

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

    tina-d1-sdk从头编译D1s nezha 无法启动进入shell ,提示pseudo_init failed (error -2).

    MR Series
    4
    4
    1973
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • N
      nezhastu LV 3 最后由 编辑

      f73780b7-24d5-415a-8155-5f8648d428fe-图片.png

      1 条回复 最后回复 回复 引用 分享 0
      • whycan
        whycan晕哥 LV 9 最后由 whycan 编辑

        错误 -2 是未找到文件,你发完整日志贴上来看看。

        1 条回复 最后回复 回复 引用 分享 0
        • S
          steveliu LV 1 最后由 编辑

          遇到了相同的问题,是不是因为重新编译完kernel之后没有编译rootfs,导致pack的时候rootfs存在问题。

          可以pack之前执行make命令,编译rootfs。

          Y 1 条回复 最后回复 回复 引用 分享 0
          • Y
            yubeer LV 5 @steveliu 最后由 编辑

            @steveliu 怎么处理的?我整个工程clean,重新编译还是一样的问题哇

            [    3.106684] Run /pseudo_init as init process
            [    3.138822] Kernel panic - not syncing: Requested init /pseudo_init failed (error -2).
            [    3.147709] CPU1: stopping
            [    3.150729] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 5.4.61 #188
            [    3.157546] Hardware name: Generic DT based system
            [    3.162909] [<c010dee8>] (unwind_backtrace) from [<c010a678>] (show_stack+0x10/0x14)
            [    3.171551] [<c010a678>] (show_stack) from [<c0694810>] (dump_stack+0x88/0xa4)
            [    3.179641] [<c0694810>] (dump_stack) from [<c010c2b4>] (handle_IPI+0xe4/0x180)
            [    3.187828] [<c010c2b4>] (handle_IPI) from [<c0341b18>] (gic_handle_irq+0x70/0x78)
            [    3.196274] [<c0341b18>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8)
            [    3.204648] Exception stack(0xc745df80 to 0xc745dfc8)
            [    3.210283] df80: 00013a20 c7ac8374 00000000 c0114800 00000002 c745c000 c0a05224 c0a05260
            [    3.219404] dfa0: 4000406a 410fc075 00000000 00000000 00000000 c745dfd0 c0107fb0 c0107fa0
            [    3.228521] dfc0: 60000013 ffffffff
            [    3.232414] [<c01021cc>] (__irq_svc) from [<c0107fa0>] (arch_cpu_idle+0x1c/0x38)
            [    3.240667] [<c0107fa0>] (arch_cpu_idle) from [<c013d564>] (do_idle+0xd4/0x128)
            [    3.248852] [<c013d564>] (do_idle) from [<c013d848>] (cpu_startup_entry+0x18/0x20)
            [    3.257295] [<c013d848>] (cpu_startup_entry) from [<40102bac>] (0x40102bac)
            [    3.265066] ---[ end Kernel panic - not syncing: Requested init /pseudo_init failed (error -2). ]---
            
            1 条回复 最后回复 回复 引用 分享 0
            • 1 / 1
            • First post
              Last post

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

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