i am a fresh man for raspberry Pi.
i am using raspberry Pi 5 and have flashed 2025-05-13-raspios-bookworm-arm64-full.img.xz at the beginning. and then i edit the linux kernel and libcamera source codes for project development.
at the debug stage, i can git clone the source codes directly to the RPI device and then use some commands to build and install the linux kernel and libcamera changes. but this method is not suitable for release. i need to know how to create a new img.xz file applying my changes. just like the 2025-05-13-raspios-bookworm-arm64-full.img.xz. so that i can directly flash the img.xz into a SD card and then plug this SD card to the RPI device to boot.
can anyone tell me how to get this?
i am using raspberry Pi 5 and have flashed 2025-05-13-raspios-bookworm-arm64-full.img.xz at the beginning. and then i edit the linux kernel and libcamera source codes for project development.
at the debug stage, i can git clone the source codes directly to the RPI device and then use some commands to build and install the linux kernel and libcamera changes. but this method is not suitable for release. i need to know how to create a new img.xz file applying my changes. just like the 2025-05-13-raspios-bookworm-arm64-full.img.xz. so that i can directly flash the img.xz into a SD card and then plug this SD card to the RPI device to boot.
can anyone tell me how to get this?
Statistics: Posted by fengyu sheng — Fri Jul 18, 2025 8:17 am