从源代码编译linux并坚持“从Rom启动”
我的menuconfig是标准配置。
qemu-system-x86_64 -kernel vmlinux -initrd initrd.img
可能存在很多潜在问题,但看起来就像这样
(a) 你应该使用
arch/.../boot/bzImage
-kernel
(b) 您需要传递
--append "console=tty0"