themactep / thingino-firmware

Open-source firmware for Ingenic SoC IP cameras
https://thingino.com
MIT License
120 stars 38 forks source link

include rmem with environment configs #54

Open gtxaspec opened 4 months ago

gtxaspec commented 4 months ago

The current U-Boot environment is configured with default memory (rmem) values optimized for 1080p resolutions. This setup might not be ideal for sensors with resolutions that differ from 1080p. When the sensor resolution is either lower or higher than 1080p, this can result in either excessive memory usage or insufficient memory allocation, respectively. This leads to system instability or even prevents the streamer from starting.

We should define and include recommended rmem values in the device profiles for sensors with their respective resolutions. This approach will ensure more efficient memory usage and enhance system stability across different sensor configurations.