Added make download-packages
This commit is contained in:
18
README.md
18
README.md
@@ -4,6 +4,9 @@ Kubernetes image for Mono Gateway Development Kit
|
||||
|
||||
https://docs.mono.si/gateway-development-kit/getting-started
|
||||
|
||||
## DISCLAIMER
|
||||
I used ChatGPT a lot for this. I also tested them thoroughly enough that until confident that's what we need.
|
||||
|
||||
### The device's dts files are located at here
|
||||
https://github.com/we-are-mono/OpenWRT-ASK/tree/mono-25.12.0-rc3/target/linux/layerscape/files/arch/arm64/boot/dts/freescale
|
||||
* We need both `mono-gateway-dk-sdk.dts` and `mono-gateway-dk.dts` since the sdk one includes the non-sdk one.
|
||||
@@ -12,13 +15,16 @@ https://github.com/we-are-mono/OpenWRT-ASK/tree/mono-25.12.0-rc3/target/linux/la
|
||||
|
||||
## Build
|
||||
|
||||
To avoid frequent downloading on rebuild. Find and download the latest packages
|
||||
* [kernel](https://github.com/nxp-qoriq/linux/archive/refs/tags/) - `dev/nxplinux.tar.gz`
|
||||
* [busybox](https://github.com/mirror/busybox/archive/refs/tags/) (for initramfs) - `dev/busybox.tar.gz`
|
||||
* [CRI-O](https://github.com/cri-o/cri-o/releases) - `dev/crio.tar.gz`
|
||||
* [Kubelet](https://kubernetes.io/releases/download/) - `dev/kubelet.tar.gz`
|
||||
To avoid frequent downloading on rebuild. Find the latest packages and update build.env
|
||||
* [kernel](https://github.com/nxp-qoriq/linux/archive/refs/tags/)
|
||||
* [busybox](https://github.com/mirror/busybox/archive/refs/tags/)
|
||||
* [CRI-O](https://github.com/cri-o/cri-o/releases)
|
||||
* [Kubelet](https://kubernetes.io/releases/download/)
|
||||
|
||||
Put them into the `dev/` directory
|
||||
Then run
|
||||
```
|
||||
make download-packages
|
||||
```
|
||||
|
||||
```bash
|
||||
make itb # for out/board.itb (contains the kernel and the initramfs)
|
||||
|
||||
Reference in New Issue
Block a user