figozhang / runninglinuxkernel_4.0

《奔跑吧Linux内核》配套实验平台和代码,白色入门酱香篇,蓝色进阶浓香篇
Other
476 stars 280 forks source link

filesystem :new directory structure and initramfs image #9

Closed gatieme closed 5 years ago

gatieme commented 6 years ago

1--new directory structure

目录 描述
kernel/linux-4.0 kernel 源代码和构建目录
filesystem 文件系统目录
script 脚本目录
doc 文档目录

2--filesystem: use qemu --initrd to specify initramfs image

in filesystem/initrdfs/arch/rootfs.cpio.gz

use qemu-system-xxx -initrd filesystem/initrdfs/$arch/rootfs.cpio.gz to run