Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Which partition is for device tree (dtb)

74

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
74

Which partition is for device tree (dtb)

Posted at 8/18/2017 16:00:31      View:3967 | Replies:2        Print      Only Author   [Copy Link] 1#
Hi,

I want to build Linux kernel and device tree myself for Ubuntu 14.04 on Firefly-RK3288 reload.

Firstly, I've compiled the kernel and downloaded kernel image on the board, and I also got the modified dtb file.

However, I don't know which partition is for device tree file, and how to download it on the board, (ie, dtb extension file)
I can't find any information about this on wiki page.

Just for reference, I downloaded Ubuntu 14.04 full image [Firefly-RK3288-Reload_Ubuntu14.04_201612101121] from Google Drive, and downloaded it on the board.
And I've checked that there are 5 partitions on EMMC like below;
- resource
- boot
- misc
- backup
- linuxroot

Thank you in advance.

Best Regards,
Reply

Use props Report

1821

Credits

10

Prestige

17

Contribution

super moderator

Rank: 8Rank: 8

Credits
1821
Posted at 8/19/2017 09:49:23        Only Author  2#
the "dtb file" is make to  resource.img by  "resource_tool"
now you can update the resource.img to resource partition or to boot partition
with update to the boot partition ,you need pack it to boot.img like this:
mkbootimg --kernel zImage --ramdisk initrd.img --second resource.img -o boot.img
Reply

Use props Report

74

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
74
Posted at 8/21/2017 11:58:07        Only Author  3#
I can download dtb that I built myself on boot partition, and it works well now.
Many thanks :-)

Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list