How to load Linux device tree under ARM architecture

Source: Internet
Author: User

After introducing the device tree, bootloader loads the DtB method:

1. Standard Methods

Place the Linux kernel in memory at the memory address of <kernel IMG addr>.

Place the DTB in memory with an address of <DTB addr>.

Start the kernel under U-boot with the following command: Bootm <kernel img ADDR>–<DTB addr>

2. Compatibility method

Configure the kernel CONFIG_ARM_APPENDED_DTB option to place the DTB on the address immediately following the kernel.

Here's how:

1) put the DTB behind the kernel

Cat Arch/arm/boot/zimage ARCH/ARM/BOOT/DTS/MYBOARD.DTB > My-zimage

Mkimage ...-D my-zimage my-uimage

2) put the packaged file my-uimage into memory: <kernel img addr>

3) Start the kernel with the traditional command under U-boot: Bootm <kernel img addr>

How to load Linux device tree under ARM architecture

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.