Command "bootm" will boot the image.
// entry point to handle bootm command
do_bootm()
// get the boot image meta data information
// image header info are in structure image_header
bootm_start
// entry point address
images.ep = image_get_ep(&images.legacy_hdr_os_copy);
// os load address, after unzip
images.os.load = image_get_load(os_hdr);
// load os image
bootm_load_os
// un-compress image to os.load address
gunzip
// when booting linux, boot_fn points to do_bootm_linux,
// for ARM, function implemented in arch/arm/lib/boom.c
boot_fn
// jump to the linux kernel
boot_jump_linux
kernel_entry = (void (*)(int, int, uint))images->ep;
kernel_entry(0, machid, r2);
2014/10/06
U-Boot boot image
Subscribe to:
Post Comments (Atom)
Post Code on Blogger
Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...
-
Explain There is not interrupt PIN for PCIe interrupt. When device wants to raise an interrupt, an interrupt message is sent to host via ...
-
Configure Space Addressing One of the major improvements the PCI Local Bus had over other I/O architectures was its configuration mechanism...
-
What is LMA and VMA Every loadable or allocatable output section has two addresses. The first is the VMA, or virtual memory address. This ...
No comments:
Post a Comment