Firefly Open Source Community

Title: Which partition is for device tree (dtb) [Print This Page]

Author: sinjin    Time: 8/18/2017 16:00
Title: Which partition is for device tree (dtb)
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,

Author: isle    Time: 8/19/2017 09:49
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
Author: sinjin    Time: 8/21/2017 11:58
I can download dtb that I built myself on boot partition, and it works well now.
Many thanks :-)






Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1