Page 1 of 1

How to Remove Default Sample Apps and Camera Components from Buildroot Image?

Posted: 2026-08-27 7:42
by inhack

Hello,

I am currently using a Luckfox pico Mini b with the RV1103 and Buildroot.

The default SDK image contains many sample applications and camera-related components. There are also various applications and files installed under the `/oem` partition.

I would like to build a **clean/minimal Buildroot-based firmware** for my own application.

Specifically, I would like to:

* Remove the camera-related applications and sample programs.
* Remove the default sample applications provided by Luckfox.
* Prevent applications from being installed into `/oem`.
* Remove unnecessary files and packages from the `/oem` partition.
* Increase the available space for `/userdata`.
* Ideally, remove the `/oem` partition entirely if it is not required.
* Keep only the necessary kernel, drivers, system libraries, and my own application.

I found the following option in the BoardConfig:

export RK_BUILD_APP_TO_OEM_PARTITION=y

I assume this is related to installing applications into `/oem`.

Is it sufficient to disable this option, or are there other configuration files/scripts that also need to be modified?

I also found:

export RK_APP_TYPE=RKIPC_RV1103

If I don't need any camera/IPC functionality, can I remove or disable this setting safely?

What is the recommended way to create a **minimal Buildroot firmware without the default camera/IPC/sample applications**, while maximizing the available `/userdata` space?

Any guidance on which BoardConfig, Buildroot configuration, Makefiles, or scripts need to be modified would be greatly appreciated.

Thank you.