Skip to content

Commit

Permalink
Add a copy of the boot/firmware files to /etc/turtlebot for reference…
Browse files Browse the repository at this point in the history
… in case users modify these and want a clean, offline copy for reference
  • Loading branch information
civerachb-cpr committed Oct 4, 2024
1 parent 8e86b8f commit a4e195d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions etc/turtlebot4/firmware/cmdline.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console=serial0,115200 dwc_otg.lpm_enable=0 console=tty1 root=LABEL=writable rootfstype=ext4 rootwait fixrtc quiet splash modules-load=dwc2,g_ether
46 changes: 46 additions & 0 deletions etc/turtlebot4/firmware/config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
[all]
kernel=vmlinuz
cmdline=cmdline.txt
initramfs initrd.img followkernel

[pi4]
max_framebuffers=2
arm_boost=1

[all]
# Enable the audio output, I2C and SPI interfaces on the GPIO header. As these
# parameters related to the base device-tree they must appear *before* any
# other dtoverlay= specification
dtparam=audio=on
dtparam=i2c_arm=on
dtparam=spi=on

# Comment out the following line if the edges of the desktop appear outside
# the edges of your display
disable_overscan=1

# If you have issues with audio, you may try uncommenting the following line
# which forces the HDMI output into HDMI mode instead of DVI (which doesn't
# support audio output)
#hdmi_drive=2

# Enable the serial pins
enable_uart=1

# Autoload overlays for any recognized cameras or displays that are attached
# to the CSI/DSI ports. Please note this is for libcamera support, *not* for
# the legacy camera stack
camera_auto_detect=1
display_auto_detect=1

# Config settings specific to arm64
arm_64bit=1
dtoverlay=dwc2,dr_mode=peripheral
dtoverlay=i2c-gpio,bus=3,i2c_gpio_delay_us=1,i2c_gpio_sda=4,i2c_gpio_scl=5

[cm4]
# Enable the USB2 outputs on the IO board (assuming your CM4 is plugged into
# such a board)
dtoverlay=dwc2,dr_mode=host

[all]

0 comments on commit a4e195d

Please sign in to comment.