不,您的负载和入口点不正确。通常下面是加载和入口地址
Image Name: Linux-3.9.0
Created: Thu Dec 26 09:50:57 2013
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1908056 Bytes = 1863.34 kB = 1.82 MB
Load Address: 00008000
Entry Point: 00008000
此外,如果您尝试使用命令,内核将be panic
在没有 rootfs 的情况下。 initrd 参数丢失。此外,您在构建内核时可能会丢失一些配置。
尝试以下步骤:
1)make ARCH=arm distclean
2)make ARCH=arm versatile_defconfig
3)make ARCH=arm menuconfig
在这里您需要启用以下功能。
Kernel Features --->
[*] Use the ARM EABI to compile the kernel. (enable this).
4)make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
5)qemu-system-arm -M versatilepb -m 128M -kernel arch/arm/boot/uImage -append "console=tty1"
在这里你会得到控制台说内核恐慌。
为了避免这种情况,请传递 rootfs 参数。
我猜你是从 busybox 构建的 rootfs,如果是的话请尝试下面的命令来完全启动系统
6)qemu-system-arm -M versatilepb -m 128M -kernel arch/arm/boot/uImage -initrd rootfs.img -append "root=/dev/ram mem=128M rdinit=/sbin/init" -serial stdio.