swee revised this gist . Go to revision
1 file changed, 4 insertions, 4 deletions
gistfile1.txt
@@ -4,9 +4,9 @@ Dumped 01_dtbdump_samsung,armv8.dtb, start=48459776 end=67108864 | |||
4 | 4 | Extracted 1 appended dtbs + kernel to dtb | |
5 | 5 | $ cd dtb | |
6 | 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.dtb > lineage.dtb # Decompile the LineageOS dtb | |
7 | + | $ dtc 01_dtbdump_samsung,armv8.dts > lineage.dtb # Decompile the LineageOS dtb | |
8 | 8 | --- You will get a handful of warnings here --- | |
9 | - | $ dtc exynos9610.dtb > postmarket.dtb # Decompile the PostmarketOS dtb | |
9 | + | $ dtc exynos9610.dtb > postmarket.dts # Decompile the PostmarketOS dtb | |
10 | 10 | --- You will *also* get some warnings, like Lineage's --- | |
11 | - | $ diff -s lineage.dtb postmarket.dtb | |
12 | - | Files lineage.dtb and postmarket.dtb are identical | |
11 | + | $ diff -s lineage.dts postmarket.dts | |
12 | + | Files lineage.dts and postmarket.dts are identical |
swee revised this gist . Go to revision
1 file changed, 12 insertions
gistfile1.txt(file created)
@@ -0,0 +1,12 @@ | |||
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.dtb > lineage.dtb # Decompile the LineageOS dtb | |
8 | + | --- You will get a handful of warnings here --- | |
9 | + | $ dtc exynos9610.dtb > postmarket.dtb # Decompile the PostmarketOS dtb | |
10 | + | --- You will *also* get some warnings, like Lineage's --- | |
11 | + | $ diff -s lineage.dtb postmarket.dtb | |
12 | + | Files lineage.dtb and postmarket.dtb are identical |