File tree Expand file tree Collapse file tree 9 files changed +71
-14
lines changed
Expand file tree Collapse file tree 9 files changed +71
-14
lines changed Original file line number Diff line number Diff line change 9898 minimum_free_mb : 2000
9999 image_url : ${{ matrix.base_image }}
100100 root_location : ${{ matrix.root_location || 'partition=2' }}
101+ boot_partition :
101102 shrink_image : ${{ matrix.shrink_image || 'yes' }}
102103 commands : |
103104 set -e
Original file line number Diff line number Diff line change 33# Exit on errors, print commands, ignore unset variables
44set -ex +u
55
6+ # mount partition 1 as /boot/firmware
7+ mkdir --parent /boot/firmware
8+ mount " ${loopdev} p1" /boot/firmware
9+ ls -la /boot/firmware
10+
611# silence log spam from dpkg
712cat > /etc/apt/apt.conf.d/99dpkg.conf << EOF
813Dpkg::Progress-Fancy "0";
@@ -15,8 +20,8 @@ chmod +x ./install.sh
1520./install.sh --install-nm=yes --arch=aarch64
1621
1722# and edit boot partition
18- install -m 644 config.txt /boot/
19- install -m 644 userconf.txt /boot/
23+ install -m 644 config.txt /boot/firmware
24+ install -m 644 userconf.txt /boot/firmware
2025
2126# configure hostname
2227echo " photonvision" > /etc/hostname
@@ -46,3 +51,5 @@ apt-get clean
4651
4752rm -rf /usr/share/doc
4853rm -rf /usr/share/locale/
54+
55+ umount /boot/firmware
Original file line number Diff line number Diff line change 33# Exit on errors, print commands, ignore unset variables
44set -ex +u
55
6+ # mount partition 1 as /boot/firmware
7+ mkdir --parent /boot/firmware
8+ mount " ${loopdev} p1" /boot/firmware
9+ ls -la /boot/firmware
10+
611# silence log spam from dpkg
712cat > /etc/apt/apt.conf.d/99dpkg.conf << EOF
813Dpkg::Progress-Fancy "0";
@@ -15,11 +20,11 @@ chmod +x ./install.sh
1520./install.sh --install-nm=yes --arch=aarch64 --version=" $1 "
1621
1722# edit boot partition
18- install -m 644 limelight/config.txt /boot/
19- install -m 644 userconf.txt /boot/
23+ install -m 644 limelight/config.txt /boot/firmware/
24+ install -m 644 userconf.txt /boot/firmware/
2025
2126# install LL DTS
22- dtc -O dtb limelight/gloworm-dt.dts -o /boot/dt-blob.bin
27+ dtc -O dtb limelight/gloworm-dt.dts -o /boot/firmware/ dt-blob.bin
2328
2429# Kill wifi and other networking things
2530install -v -m 644 -D -t /etc/systemd/system/dhcpcd.service.d/ files/wait.conf
@@ -45,3 +50,5 @@ apt-get clean
4550
4651rm -rf /usr/share/doc
4752rm -rf /usr/share/locale/
53+
54+ umount /boot/firmware
Original file line number Diff line number Diff line change @@ -7,5 +7,12 @@ set -ex +u
77chmod +x ./install_pi.sh
88./install_pi.sh
99
10+ # mount partition 1 as /boot/firmware
11+ mkdir --parent /boot/firmware
12+ mount " ${loopdev} p1" /boot/firmware
13+ ls -la /boot/firmware
14+
1015# Add the one extra file for the LL3
11- wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/dt-blob.bin
16+ wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/firmware/dt-blob.bin
17+
18+ umount /boot/firmware
Original file line number Diff line number Diff line change @@ -7,8 +7,15 @@ set -ex +u
77chmod +x ./install_pi.sh
88./install_pi.sh
99
10+ # mount partition 1 as /boot/firmware
11+ mkdir --parent /boot/firmware
12+ mount " ${loopdev} p1" /boot/firmware
13+ ls -la /boot/firmware
14+
1015# Install our new config.txt with OV9281 overlay
11- install -m 644 limelight3g/config.txt /boot/
16+ install -m 644 limelight3g/config.txt /boot/firmware
1217
1318# Add the one extra file for the LL3
14- wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/dt-blob.bin
19+ wget https://datasheets.raspberrypi.org/cmio/dt-blob-cam1.bin -O /boot/firmware/dt-blob.bin
20+
21+ umount /boot/firmware
Original file line number Diff line number Diff line change @@ -7,5 +7,12 @@ set -ex +u
77chmod +x ./install_pi.sh
88./install_pi.sh
99
10+ # mount partition 1 as /boot/firmware
11+ mkdir --parent /boot/firmware
12+ mount " ${loopdev} p1" /boot/firmware
13+ ls -la /boot/firmware
14+
1015# Install our new config.txt with OV9281 overlay
11- install -m 644 limelight4/config.txt /boot/
16+ install -m 644 limelight4/config.txt /boot/firmware
17+
18+ umount /boot/firmware
Original file line number Diff line number Diff line change @@ -7,9 +7,16 @@ set -ex +u
77chmod +x ./install_pi.sh
88./install_pi.sh
99
10+ # mount partition 1 as /boot/firmware
11+ mkdir --parent /boot/firmware
12+ mount " ${loopdev} p1" /boot/firmware
13+ ls -la /boot/firmware
14+
1015# Install our new config.txt with OV9281 overlay
11- install -m 644 luma_p1/config.txt /boot/
16+ install -m 644 luma_p1/config.txt /boot/firmware
1217
1318# Add the database file for the p1 hardware config and default pipeline
1419mkdir -p /opt/photonvision/photonvision_config
1520install -v -m 644 luma_p1/photon.sqlite /opt/photonvision/photonvision_config/photon.sqlite
21+
22+ umount /boot/firmware
Original file line number Diff line number Diff line change 33# Exit on errors, print commands, ignore unset variables
44set -ex +u
55
6+ # mount partition 1 as /CIDATA
7+ mkdir --parent /CIDATA
8+ mount " ${loopdev} p1" /CIDATA
9+ ls -la /CIDATA
10+
611# Create pi/raspberry login
712if id " pi" > /dev/null 2>&1 ; then
813 echo ' user found'
@@ -62,9 +67,9 @@ apt-get --yes -qq install libc6 libstdc++6
6267rm -f /etc/netplan/00-default-nm-renderer.yaml
6368
6469# set NetworkManager as the renderer in cloud-init
65- cp -f ./OPi5_CIDATA/network-config /boot /network-config
70+ cp -f ./OPi5_CIDATA/network-config /CIDATA /network-config
6671# add customized user-data file for cloud-init
67- cp -f ./OPi5_CIDATA/user-data /boot /user-data
72+ cp -f ./OPi5_CIDATA/user-data /CIDATA /user-data
6873
6974# configure GPIO line names
7075dtc -@ -I dts -O dtb -o $( echo /usr/lib/firmware/* -rockchip) /device-tree/rockchip/overlay/rk3588-line-names.dtbo ./files/rk3588-line-names.dtso
@@ -101,3 +106,5 @@ apt-get --yes -qq clean
101106
102107rm -rf /usr/share/doc
103108rm -rf /usr/share/locale/
109+
110+ umount /CIDATA
Original file line number Diff line number Diff line change 33# Exit on errors, print commands, ignore unset variables
44set -ex +u
55
6+ # mount partition 1 as /boot/firmware
7+ mkdir --parent /boot/firmware
8+ mount " ${loopdev} p1" /boot/firmware
9+ ls -la /boot/firmware
10+
611# silence log spam from dpkg
712cat > /etc/apt/apt.conf.d/99dpkg.conf << EOF
813Dpkg::Progress-Fancy "0";
@@ -15,8 +20,8 @@ chmod +x ./install.sh
1520./install.sh -v " $1 " --install-nm=yes --arch=aarch64 --version=" $1 "
1621
1722# and edit boot partition
18- install -m 644 config.txt /boot/
19- install -m 644 userconf.txt /boot/
23+ install -m 644 config.txt /boot/firmware
24+ install -m 644 userconf.txt /boot/firmware
2025
2126# configure hostname
2227echo " photonvision" > /etc/hostname
@@ -46,3 +51,5 @@ apt-get clean
4651
4752rm -rf /usr/share/doc
4853rm -rf /usr/share/locale/
54+
55+ umount /boot/firmware
You can’t perform that action at this time.
0 commit comments