Reputation: 983
I followed the following steps to build and flash my kernel on QEMU
:
make ARCH=arm distclean
make ARCH=arm versatile_defconfig
make ARCH=arm menuconfig
ARM EABI
to compile the kernel. (enable this).make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage
qemu-system-arm -M versatilepb -m 128M -kernel arch/arm/boot/uImage -append "console=tty1"
rootfs
parameter.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
On runtime, is kernel using a device tree to load the devices? If yes, how to confirm and where is the device tree located? (I need to make changes to the device tree file (.dts), but unable to find where is the file located) Please help
Upvotes: 1
Views: 955
Reputation: 983
The device-tree is located in arch/arm/boot/dts/versatile-pb.dts
Upvotes: 2