diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80f6745..8bd058e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,6 +20,9 @@ jobs: base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz - name: limelight3 script: ./install_limelight3.sh + base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2023-12-11/2023-12-11-raspios-bookworm-arm64-lite.img.xz + - name: limelight3g + script: ./install_limelight3g.sh base_image: https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz - name: raspi script: ./install_pi.sh diff --git a/install_limelight3g.sh b/install_limelight3g.sh new file mode 100644 index 0000000..581111e --- /dev/null +++ b/install_limelight3g.sh @@ -0,0 +1,7 @@ +# Run the pi install script +./install_pi.sh + +install -m 644 limelight3g/config.txt /boot/ + +# Add the one extra file for the LL3 +wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/dt-blob.bin \ No newline at end of file diff --git a/limelight3g/config.txt b/limelight3g/config.txt new file mode 100644 index 0000000..4fde219 --- /dev/null +++ b/limelight3g/config.txt @@ -0,0 +1,57 @@ +#uncomment to overclock the arm. 700 MHz is the default. +#arm_freq=800 + +# Enable audio (loads snd_bcm2835) +dtparam=audio=on + +[cm3] +dtparam=cam0_reg +dtparam=cam0_reg_gpio=3 +dtoverlay=cm-swap-i2c0 +dtoverlay=ov9281,cam0 + +# Automatically load overlays for detected cameras +camera_auto_detect=1 + +[cm4] +dtoverlay=ov9281 + +[all] + +# Automatically load overlays for detected DSI displays +display_auto_detect=1 + +# Enable DRM VC4 V3D driver +dtoverlay=vc4-kms-v3d +dtparam=spi=on +dtparam=audio=off + +max_framebuffers=2 + +# Run in 64-bit mode +arm_64bit=1 + +# Disable compensation for displays with overscan +disable_overscan=1 + +[cm4] +# Enable host mode on the 2711 built-in XHCI USB controller. +# This line should be removed if the legacy DWC2 controller is required +# (e.g. for USB device mode) or if USB support is not required. +otg_mode=1 + +[pi4] +# Run as fast as firmware / board allows +arm_boost=1 + +[all] +#camera_auto_detect=1 +gpu_mem=256 + +[cm3] +dtoverlay=enc28j60 +dtoverlay=pi3-disable-bt +gpio=45=op,dh +disable_camera_led=1 +disable_splash=1 +force_eeprom_read=0