Created
July 1, 2014 12:34
-
-
Save Embedded-linux/adf2ca936bf2d5834925 to your computer and use it in GitHub Desktop.
qemu-debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qemu Running: | |
qemu-system-arm -M versatilepb -kernel linux-3.2/arch/arm/boot/zImage -initrd initramfs -append "console=tty1" | |
##qemu-system-arm -M versatilepb -m 128M -kernel /home/satishg/qemu/zImage -initrd rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
versatile-Pb uImage: | |
qemu-system-arm -M versatilepb -m 128M -kernel /home/satishg/qemu/vers-uimage/zImage -initrd rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
For Debug: | |
qemu-system-arm -s -S -M versatilepb -m 128M -kernel /home/satishg/qemu/debug-image/zImage -initrd /home/satishg/qemu/debug/busybox-1.17.1/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
qemu-system-arm -S -gdb tcp::1235 -M versatilepb -m 128M -kernel /home/satishg/qemu/debug-image/zImage -initrd /home/satishg/qemu/debug/hell-root/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
qemu-system-arm -s -S -M versatilepb -m 128M -kernel linux-3.2/arch/arm/boot/zImage -initrd busybox-1.16.0/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
Working-Debug | |
qemu-system-arm -M versatilepb -m 128M -kernel vers-uimage/zImage -initrd busybox-1.16.0/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" -s -S | |
VEXPRESS - uImage: | |
qemu-system-arm -M vexpress-a9 -m 128M -kernel /home/satishg/qemu/vexp-uimage/zImage -initrd busybox-1.16.0/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
qemu-system-arm -M vexpress-a9 -m 128M -kernel /home/satishg/qemu/vexp-uimage/zImage -initrd busybox-1.16.0/rootfs.img.gz -append "root=/dev/ram rdinit=/sbin/init" | |
To create Root file system | |
$ cd busybox-1.16.0 | |
$ cd _install | |
$ find . | cpio -o --format=newc > ../rootfs.img | |
$ cd .. | |
$ gzip -c rootfs.img > rootfs.img.gz | |
~ | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment