Skip to content

Commit

Permalink
Copy BB stuff and fix script run?
Browse files Browse the repository at this point in the history
  • Loading branch information
Juniormunk committed Sep 23, 2024
1 parent 887d12e commit 4823534
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: limelight3
script: ./install_limelight3.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: 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
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
Expand Down
8 changes: 8 additions & 0 deletions install_limelight3g.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Run the pi install script
chmod +x ./install_pi.sh
./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
57 changes: 57 additions & 0 deletions limelight3g/config.txt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 4823534

Please sign in to comment.