Page 1 of 1
Mini B, framebuffer device, change resulution
Posted: 2025-05-29 20:07
by nBery
I have flashed Pico Plus Buildroot image to my Mini B. I have ran rknn-st7789 releated examples that provided by luckfox-github team and it worked! But there is a catch: my screen is 240x135 BUT presets are 240x320 and i have not managed to change it by any chance. Can you help me?
Note: Changing fbtft pins on "rv1103-luckfox-pico-ipc.dtsi" did the trick (since two boards runs on a same chip)
Re: Mini B, framebuffer device, change resulution
Posted: 2025-05-30 1:10
by Crocodile
Hello, the screen resolution used in the source code of the luckfox_pico_rknn_example repository is the resolution of the framebuffer registered by the driver. Modifying the resolution can be done by directly modifying the driver source code or the disp_width or disp_height in luckfox_pico_rknn_example. For details on the modifications, please test and determine on your own.
Re: Mini B, framebuffer device, change resulution
Posted: 2025-05-30 9:42
by nBery
Crocodile wrote: ↑2025-05-30 1:10
Hello, the screen resolution used in the source code of the luckfox_pico_rknn_example repository is the resolution of the framebuffer registered by the driver. Modifying the resolution can be done by directly modifying the driver source code or the disp_width or disp_height in luckfox_pico_rknn_example. For details on the modifications, please test and determine on your own.
By default in driver, how can i change resulution system widely with compiling buildroot again? Which source should i tweak
Re: Mini B, framebuffer device, change resulution
Posted: 2025-05-30 10:49
by Crocodile
The resolution setting is handled by the kernel driver and has nothing to do with Buildroot. Without modifying the driver, what you need to change is the disp_height and disp_width in the source code of the program you are running.