Verified Commit b0405eb0 authored by Caleb Woodbine's avatar Caleb Woodbine
Browse files

Add RPi firmware; Fix proxies

parent 4baee7b8
......@@ -210,6 +210,8 @@ Current limitations as of current version:
name: nfs-share
- mountPath: /run
name: run
- mountPath: /tmp
name: tmp
- mountPath: /var/run
name: var-run
volumes:
......@@ -221,6 +223,8 @@ Current limitations as of current version:
path: /var/lib/nfs
- name: var-run
emptyDir: {}
- name: tmp
emptyDir: {}
- name: run
emptyDir: {}
#+end_src
......@@ -303,7 +307,7 @@ Current limitations as of current version:
#+mame dnsmasq.conf
#+begin_src text :tangle dnsmasq/dnsmasq.conf
port=0
dhcp-range=0.0.0.0,proxy
dhcp-range=192.168.1.0,proxy
pxe-service=0,"Raspberry Pi Boot"
enable-tftp
tftp-root=/var/lib/tftpboot
......@@ -376,6 +380,15 @@ Current limitations as of current version:
volumeMounts:
- name: tftp-share
mountPath: /var/lib/tftpboot
- name: fetch-rpi-firmware
image: alpine:3.11
command:
- /bin/sh
- -cex
- "apk add git && find /var/lib/tftpboot -mindepth 1 -maxdepth 1 -print0 | xargs -0 rm -rf && git clone --depth 1 https://github.com/Hexxeh/rpi-firmware.git /var/lib/tftpboot"
volumeMounts:
- name: tftp-share
mountPath: /var/lib/tftpboot
volumes:
- name: tftp-share
hostPath:
......@@ -388,3 +401,15 @@ Current limitations as of current version:
#+begin_src
kubectl apply -f dnsmasq/manifests
#+end_src
* TODO
** [0/7] Create device specific configuration
In ~/var/lib/tftpboot/RPIDEVICEBOARDMODEL~:
+ [ ] symlink ~boot-1711-rpi-4-b.dtb~ => ~../var/lib/tftpboot~
+ [ ] symlink ~fixup4.dat~ => ~../var/lib/tftpboot~
+ [ ] symlink ~kernel171.img~ => ~../var/lib/tftpboot~
+ [ ] symlink ~start4.elf~ => ~../var/lib/tftpboot~
+ [ ] create cmdline.txt
+ [ ] create config.txt
+ [ ] create ~overlays/vc4-fxms-v3d.dtbo~ => ~../overlys/vc4-fxms-v3d.dtbo~
port=0
dhcp-range=0.0.0.0,proxy
dhcp-range=192.168.1.0,proxy
pxe-service=0,"Raspberry Pi Boot"
enable-tftp
tftp-root=/var/lib/tftpboot
......@@ -57,6 +57,15 @@ spec:
volumeMounts:
- name: tftp-share
mountPath: /var/lib/tftpboot
- name: fetch-rpi-firmware
image: alpine:3.11
command:
- /bin/sh
- -cex
- "apk add git && find /var/lib/tftpboot -mindepth 1 -maxdepth 1 -print0 | xargs -0 rm -rf && git clone --depth 1 https://github.com/Hexxeh/rpi-firmware.git /var/lib/tftpboot"
volumeMounts:
- name: tftp-share
mountPath: /var/lib/tftpboot
volumes:
- name: tftp-share
hostPath:
......
......@@ -52,6 +52,8 @@ spec:
name: nfs-share
- mountPath: /run
name: run
- mountPath: /tmp
name: tmp
- mountPath: /var/run
name: var-run
volumes:
......@@ -63,5 +65,7 @@ spec:
path: /var/lib/nfs
- name: var-run
emptyDir: {}
- name: tmp
emptyDir: {}
- name: run
emptyDir: {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment