Booting the kernel
Booting Linux is highly device-dependent. In this section, I will show you how it works for the BeagleBone Black and QEMU. For other target boards, you must consult the information from the vendor or from the community project, if there is one.
At this point, you should have the zImage
file and the dtbs
targets for the BeagleBone Black or QEMU.
Booting the BeagleBone Black
To begin, you need a microSD card with U-Boot installed, as described in the section Installing U-Boot. Plug the microSD card into your card reader and from the linux-stable
directory the files arch/arm/boot/zImage
and arch/arm/boot/dts/am335x-boneblack.dtb
to the boot
partition. Unmount the card and plug it into the BeagleBone Black. Start a terminal emulator, such as gtkterm
, and be prepared to press the space bar as soon as you see the U-Boot messages appear. Next, power on the BeagleBone Black and press the space bar. You should get a U-Boot prompt, . Now enter the following commands to load Linux and...