mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00
recipes-bsp: Add support for Raspberry Pi HD quality camera
Signed-off-by: Bohung-Nian <n0404.n0404@gmail.com>
This commit is contained in:
parent
b601818301
commit
11209a4981
|
@ -31,6 +31,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
|
|||
overlays/justboom-digi.dtbo \
|
||||
overlays/i2c-rtc.dtbo \
|
||||
overlays/imx219.dtbo \
|
||||
overlays/imx477.dtbo \
|
||||
overlays/iqaudio-dac.dtbo \
|
||||
overlays/iqaudio-dacplus.dtbo \
|
||||
overlays/mcp2515-can0.dtbo \
|
||||
|
|
|
@ -13,6 +13,8 @@ CMDLINE_SERIAL ?= "${@oe.utils.conditional("ENABLE_UART", "1", "console=serial0,
|
|||
|
||||
CMDLINE_CMA ?= "${@oe.utils.conditional("RASPBERRYPI_CAMERA_V2", "1", "cma=64M", "", d)}"
|
||||
|
||||
CMDLINE_CMA ?= "${@oe.utils.conditional("RASPBERRYPI_HD_CAMERA", "1", "cma=64M", "", d)}"
|
||||
|
||||
CMDLINE_PITFT ?= "${@bb.utils.contains("MACHINE_FEATURES", "pitft", "fbcon=map:10 fbcon=font:VGA8x8", "", d)}"
|
||||
|
||||
# Add the kernel debugger over console kernel command line option if enabled
|
||||
|
|
|
@ -189,10 +189,16 @@ do_deploy() {
|
|||
|
||||
# Choose Camera Sensor to be used, default imx219 sensor
|
||||
if [ "${RASPBERRYPI_CAMERA_V2}" = "1" ]; then
|
||||
echo "# Enable Sony RaspberryPi Camera" >> $CONFIG
|
||||
echo "# Enable Sony RaspberryPi Camera(imx219)" >> $CONFIG
|
||||
echo "dtoverlay=imx219" >> $CONFIG
|
||||
fi
|
||||
|
||||
# Choose Camera Sensor to be used, default imx477 sensor
|
||||
#if [ "${RASPBERRYPI_HD_CAMERA}" = "1" ]; then
|
||||
# echo "# Enable Sony RaspberryPi Camera(imx477)" >> $CONFIG
|
||||
# echo "dtoverlay=imx477" >> $CONFIG
|
||||
#fi
|
||||
|
||||
# Waveshare "C" 1024x600 7" Rev2.1 IPS capacitive touch (http://www.waveshare.com/7inch-HDMI-LCD-C.htm)
|
||||
if [ "${WAVESHARE_1024X600_C_2_1}" = "1" ]; then
|
||||
echo "# Waveshare \"C\" 1024x600 7\" Rev2.1 IPS capacitive touch screen" >> $CONFIG
|
||||
|
|
Loading…
Reference in New Issue
Block a user