linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

Deepin Preview on VisionFive2 需要修改启动参数 #9882

Open wychlw opened 3 months ago

wychlw commented 3 months ago

SUMMARY | 问题概要

Deepin Preview on VisionFive2 默认镜像启动时,无法挂载根目录。修改启动参数由 root=LABELroot=PARTUUID 后正常启动

SOFTWARE/OS VERSIONS | 软件/系统版本信息

系统版本:deepin-23-beige-preview-riscv64-visionfive2-20240613-125619

PRE-REQUIREMENT | 预置条件

发布镜像:https://cdimage.deepin.com/RISC-V/preview-20240613-riscv64/deepin-23-beige-preview-riscv64-visionfive2-20240613-125619.tar.xz 开发板:VisionFive2,使用内置 eMMC 上的 boot loader 启动

STEPS TO REPRODUCE | 复现步骤

  1. 镜像烧写至 SD 卡
  2. 设置启动方式为 eMMC
  3. 启动系统

OBSERVED RESULT | 观察到的结果

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

EXPECTED RESULT | 期望的结果

正常启动系统

ADDITIONAL INFORMATION | 额外补充

测试报告:https://github.com/wychlw/support-matrix/blob/main/VisionFive2/Deepin/README.md

Zeno-sole commented 3 months ago

@YukariChiba 看一下vf2板卡上启动是否正常

YukariChiba commented 3 months ago
  1. 内核启动时能否观察到 initrd 加载?
  2. 如果 initrd 加载成功,extlinux.conf 中的内核启动参数有哪些?
  3. 在内核启动参数末尾加入 break,进入 initrd 命令行,观察 /dev/disk/by-label/ 是否存在 root?链接指向的是否是正确的设备?
wychlw commented 2 months ago

看上去是漏打进去了initrd,日构建版本的镜像是正常的