From 726cb99414e209900c6e876bcda1f4347409893e Mon Sep 17 00:00:00 2001 From: Mathieu Maret Date: Tue, 24 Jan 2023 16:14:42 +0100 Subject: [PATCH] wiki: add more 8450 info --- .vim/vimwiki/8450.wiki | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.vim/vimwiki/8450.wiki b/.vim/vimwiki/8450.wiki index 0856723..7a9d6ff 100644 --- a/.vim/vimwiki/8450.wiki +++ b/.vim/vimwiki/8450.wiki @@ -87,6 +87,20 @@ RECOMPILE_KERNEL=0 ./kernel_platform/build/android/prepare_vendor.sh waipio cons make -j12 ENABLE_AB=true SYSTEMEXT_SEPARATE_PARTITION_ENABLE=true BOARD_DYNAMIC_PARTITION_ENABLE=true ENABLE_VIRTUAL_AB=true SHIPPING_API_LEVEL=29 SKIP_ABI_CHECKS=true adb reboot bootloader fastboot flash dtbo_a out/target/product/taro/dtbo.img && fastboot reboot + +# instead of the make -j12 ... you can try +RECOMPILE_KERNEL=0 ./kernel_platform/build/android/prepare_vendor.sh waipio consolidate +/bin/bash -c "(cp device/qcom/taro-kernel/dtbs/dtbo.img out/target/product/taro/dtbo.img ) && (out/host/linux-x86/bin/avbtool add_hash_footer --image out/target/product/taro/dtbo.img --partition_size 0x1700000 --partition_name dtbo --prop com.android.build.dtbo.fingerprint:\$(cat out/target/product/taro/build_fingerprint.txt) )" +adb reboot bootloader +fastboot flash dtbo_a out/target/product/taro/dtbo.img && fastboot reboot +=== Camera Module === + +#Make sure to have run the ./kernel_platform/build/android/prepare_vendor.sh waipio VARIANT with VARIANT be the one used on the plaftorm (consolidate show up in uname) +# otherwise THIS IS NOT WORKING ! the new module with have different symbols that the kernel and cannot be inserted +mmma -j16 ENABLE_AB=true SYSTEMEXT_SEPARATE_PARTITION_ENABLE=true BOARD_DYNAMIC_PARTITION_ENABLE=true ENABLE_VIRTUAL_AB=true SHIPPING_API_LEVEL=2 SKIP_ABI_CHECKS=true vendor/qcom/opensource/camera-kernel +adb push out/target/product/taro/dlkm/lib/modules/camera.ko ./vendor_dlkm/lib/modules/camera.ko +adb reboot + == Gen Archive == tar --exclude='./out' --exclude="./kernel_platform/out" --exclude=".repo/project-objects/platform/prebuilts" --exclude=".repo/project-objects/platform/external" -cf Android_12.no_repo_platform_prebuilts_and_external.tar Qssi_HY22/ = Camera =