该文被密码保护。 阅读全文
posted @ 2017-12-29 20:10
PhoenixTree(梧桐树)
阅读(8)
评论(0)
推荐(0)
摘要:
1 原因 “Note that other tutorials also add a "-S" parameter so QEMU starts the kernel stopped, however this is ommitted deliberately. The "-S" parameter 阅读全文
posted @ 2017-12-29 20:01
PhoenixTree(梧桐树)
阅读(2535)
评论(0)
推荐(0)
摘要:
ramfs, rootfs and initramfs October 17, 2005 Rob Landley <rob@landley.net> What is ramfs? Ramfs is a very simple filesystem that exports Linux's disk 阅读全文
posted @ 2017-12-29 15:24
PhoenixTree(梧桐树)
阅读(629)
评论(0)
推荐(0)
摘要:
1 制作最简单的initramfs 1.1 创建init #include <stdio.h> int main() { printf ("\n"); printf ("hello world from %s!\n", __FILE__); while (1) {} return 0; } gcc 阅读全文
posted @ 2017-12-29 14:24
PhoenixTree(梧桐树)
阅读(498)
评论(0)
推荐(0)
摘要:
1 gzip gzip -<压缩率> 压缩率用数字(1-9)来表示,越大,则压缩率越大。 2 bz2 解压bz2 bzip2 -d filename.bz2 阅读全文
posted @ 2017-12-29 14:19
PhoenixTree(梧桐树)
阅读(320)
评论(0)
推荐(0)
摘要:
1 find命令的标准格式 find path [expression] find 递归的遍历path目录树下的每个文件,然后为每个文件执行expression操作。 比如find . -print0 这个就是遍历当前目录下的所有的文件,在每个文件的路径名后面加上“\0”,也就是形成标准的字符串,然 阅读全文
posted @ 2017-12-29 14:03
PhoenixTree(梧桐树)
阅读(320)
评论(0)
推荐(0)
摘要:
1 将busybox设置为静态链接,放在文件系统中使用 make menuconfig的时候,Busybox Settings --> Build Options --> Build Busybox as a static binary (no shared libs) 阅读全文
posted @ 2017-12-29 09:58
PhoenixTree(梧桐树)
阅读(484)
评论(0)
推荐(0)
摘要:
1 获取qemu启动linux kernel的log qemu-system-x86_64 -nographic -kernel xxx -initrd xxx -append "console=ttyS0" 2 qemu可以进行gdb远程调试的原理 qemu里面支持gdb server,所以,可以 阅读全文
posted @ 2017-12-29 09:38
PhoenixTree(梧桐树)
阅读(185)
评论(0)
推荐(0)