SuzukiHonoka / s905d-kernel-precompiled

由 Starx 预编译的 S905d 内核仓库。
GNU General Public License v3.0
48 stars 12 forks source link

kernel升级后启动不了 #9

Closed RuralHunter closed 3 years ago

RuralHunter commented 3 years ago

我从5.1.0升级了release里的5.10.34,按照步骤操作完后启动失败,N1进了initramfs的命令行,上面有报错: Give up waiting for root file system device. ALERT! LABEL=ROOTFS does not exist. Dropping to a shell!

LABEL=ROOTFS应该是uEnv.txt里设置的启动命令行参数里的: bootargs=root=LABEL=ROOTFS rootflags=data=writeback rw console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 fsck.fix=yes fsck.repair=yes net.ifnames=0

不知道为何报不存在。把zImage恢复成老的就又能启动了,是不是这个新的Image格式有问题?我看新的和老的信息不一致: 老的: $ file zImage zImage: data

新的: $ file Image Image: MS-DOS executable, MZ for MS-DOS

RuralHunter commented 3 years ago

解决了,是dtb问题,必须用新kernel附带的dtb,老的dtb不能用。