gistfile1.txt
· 726 B · Text
Raw
$ extract-dtb boot.img # Get the compiled DTB from LineageOS' boot.img
Dumped 00_kernel, start=0 end=48459776
Dumped 01_dtbdump_samsung,armv8.dtb, start=48459776 end=67108864
Extracted 1 appended dtbs + kernel to dtb
$ cd dtb
$ cp ~/.local/var/pmbootstrap/chroot_rootfs_motorola-troika/boot/dtbs/exynos/exynos9610.dtb . # Get the generated compilation of dtb from PostMarketOS build
$ dtc 01_dtbdump_samsung,armv8.dts > lineage.dtb # Decompile the LineageOS dtb
--- You will get a handful of warnings here ---
$ dtc exynos9610.dtb > postmarket.dts # Decompile the PostmarketOS dtb
--- You will *also* get some warnings, like Lineage's ---
$ diff -s lineage.dts postmarket.dts
Files lineage.dts and postmarket.dts are identical
1 | $ extract-dtb boot.img # Get the compiled DTB from LineageOS' boot.img |
2 | Dumped 00_kernel, start=0 end=48459776 |
3 | Dumped 01_dtbdump_samsung,armv8.dtb, start=48459776 end=67108864 |
4 | Extracted 1 appended dtbs + kernel to dtb |
5 | $ cd dtb |
6 | $ cp ~/.local/var/pmbootstrap/chroot_rootfs_motorola-troika/boot/dtbs/exynos/exynos9610.dtb . # Get the generated compilation of dtb from PostMarketOS build |
7 | $ dtc 01_dtbdump_samsung,armv8.dts > lineage.dtb # Decompile the LineageOS dtb |
8 | --- You will get a handful of warnings here --- |
9 | $ dtc exynos9610.dtb > postmarket.dts # Decompile the PostmarketOS dtb |
10 | --- You will *also* get some warnings, like Lineage's --- |
11 | $ diff -s lineage.dts postmarket.dts |
12 | Files lineage.dts and postmarket.dts are identical |