fops read returns some data, busybox config frag for stat, bibliography start

This commit is contained in:
Ciro Santilli
2017-05-13 10:53:26 +01:00
parent 8616f6009b
commit bf3bb0cb18
6 changed files with 54 additions and 14 deletions

10
run
View File

@@ -4,8 +4,16 @@ cd buildroot
make BR2_EXTERNAL="$(pwd)/../kernel_module" qemu_x86_64_defconfig
echo '
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../kernel_config_fragment"
BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment"
BR2_PACKAGE_KERNEL_MODULE=y
BR2_ROOTFS_OVERLAY="../rootfs_overlay"
' >> .config
env -u LD_LIBRARY_PATH make BR2_JLEVEL="$(($(nproc) - 2))" kernel_module-rebuild all
qemu-system-x86_64 -M pc -kernel output/images/bzImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append root=/dev/vda -net nic,model=virtio -net user
qemu-system-x86_64 \
-M pc \
-append 'root=/dev/vda' \
-drive file=output/images/rootfs.ext2,if=virtio,format=raw \
-kernel output/images/bzImage \
-net nic,model=virtio \
-net user \
;