Added kernel-extra.config for customization

This commit is contained in:
2026-03-21 02:26:13 +08:00
parent 9c97871f97
commit a7236ed3b0
9 changed files with 177 additions and 20 deletions

View File

@@ -6,6 +6,35 @@ https://docs.mono.si/gateway-development-kit/getting-started
## Build
```
make itb # for out/board.itb
make release # WORK IN PROGRESS
```
## Architecture
- A/B deployment
- Read-only OS
## Upgrade process
Rough idea
```
./configure
# - join cluster config
make release
# Copy the new image to the upgrade-scheduler
kubectl cp -n kube-system upgrade-scheduler:/tmp/upgrade.img
# Upgrade scheduler reads the file that issue a self-reboot
reboot
# uboot to boot into partition B
```
```yaml
PENDING
```
## tftp (network is required)
@@ -18,6 +47,7 @@ usb start
usb tree
fatls usb 0:1 # For fat
ext4ls usb 0:1 # For ext4
fatload usb 0 0x80000000 board.itb
setenv bootargs "console=ttyS0,115200 earlycon=uart8250,mmio,0x21c0500 root=/dev/ram0 rootwait rw"
bootm 0x80000000