diff options
| author | unitexe <unitexe70@gmail.com> | 2025-12-29 16:27:26 -0600 |
|---|---|---|
| committer | unitexe <unitexe70@gmail.com> | 2025-12-29 16:27:44 -0600 |
| commit | e404d6eec60af35ec91fbe98daaaff8af65d79c1 (patch) | |
| tree | 198e2922aced60418aecfea7bc2300dcd1050a98 | |
| parent | 00a493e12c4ff42c838d5cdd158b1b20539271e8 (diff) | |
Build core-image-base for radxa-zero-3e
- Distro: poky
- Image: core-image-base
- Machine: radxa-zero-3e
- Release: whinlatter
19 files changed, 189 insertions, 0 deletions
diff --git a/meta-unit-kas/LICENSE b/meta-unit-kas/LICENSE new file mode 100644 index 0000000..c41c5ae --- /dev/null +++ b/meta-unit-kas/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 unitexe + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/meta-unit-kas/conf/layer.conf b/meta-unit-kas/conf/layer.conf new file mode 100644 index 0000000..8ac275f --- /dev/null +++ b/meta-unit-kas/conf/layer.conf @@ -0,0 +1,11 @@ +BBPATH .= ":${LAYERDIR}" + +BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend" + +BBFILE_COLLECTIONS += "meta-unit-kas" +BBFILE_PATTERN_meta-unit-kas := "^${LAYERDIR}/" +BBFILE_PRIORITY_meta-unit-kas = "15" + +LAYERDEPENDS_meta-unit-kas = "core" + +LAYERSERIES_COMPAT_meta-unit-kas = "whinlatter" diff --git a/meta-unit-kas/images/poky/radxa-zero-3e/core-image-base/whinlatter.yml b/meta-unit-kas/images/poky/radxa-zero-3e/core-image-base/whinlatter.yml new file mode 100644 index 0000000..03dd06a --- /dev/null +++ b/meta-unit-kas/images/poky/radxa-zero-3e/core-image-base/whinlatter.yml @@ -0,0 +1,25 @@ +header: + version: 20 + includes: + - meta-unit-kas/include/layers/bitbake/2.16.yml + - meta-unit-kas/include/layers/bitbake/remote.yml + - meta-unit-kas/include/layers/openembedded-core/whinlatter.yml + - meta-unit-kas/include/layers/openembedded-core/remote.yml + - meta-unit-kas/include/layers/openembedded-core/core-image-base.yml + - meta-unit-kas/include/layers/openembedded-core/passwordless-root-login.yml + - meta-unit-kas/include/layers/meta-yocto/whinlatter.yml + - meta-unit-kas/include/layers/meta-yocto/remote.yml + - meta-unit-kas/include/layers/meta-yocto/poky.yml + - meta-unit-kas/include/layers/meta-arm/remote.yml + - meta-unit-kas/include/layers/meta-arm/main.yml + - meta-unit-kas/include/layers/meta-rockchip/remote.yml + - meta-unit-kas/include/layers/meta-rockchip/main.yml + - meta-unit-kas/include/layers/meta-rockchip/radxa-zero-3e.yml + - meta-unit-kas/include/layers/meta-rockchip/conf.yml + +repos: + meta-arm: + layers: + meta-arm-toolchain: + meta-arm: + meta-arm-bsp: diff --git a/meta-unit-kas/include/layers/bitbake/2.16.yml b/meta-unit-kas/include/layers/bitbake/2.16.yml new file mode 100644 index 0000000..9aee610 --- /dev/null +++ b/meta-unit-kas/include/layers/bitbake/2.16.yml @@ -0,0 +1,9 @@ +header: + version: 20 + +repos: + bitbake: + branch: master + commit: 80761fe2062464035033b5a7681709b4fc308198 + layers: + bitbake: disabled diff --git a/meta-unit-kas/include/layers/bitbake/remote.yml b/meta-unit-kas/include/layers/bitbake/remote.yml new file mode 100644 index 0000000..26386cb --- /dev/null +++ b/meta-unit-kas/include/layers/bitbake/remote.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + bitbake: + url: https://git.openembedded.org/bitbake + path: layers/bitbake diff --git a/meta-unit-kas/include/layers/meta-arm/main.yml b/meta-unit-kas/include/layers/meta-arm/main.yml new file mode 100644 index 0000000..3c758b3 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-arm/main.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + meta-arm: + branch: master + commit: 30d4078278d0eb5d477fdb0abd9502663bd3364a diff --git a/meta-unit-kas/include/layers/meta-arm/remote.yml b/meta-unit-kas/include/layers/meta-arm/remote.yml new file mode 100644 index 0000000..aa01a34 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-arm/remote.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + meta-arm: + url: https://git.yoctoproject.org/meta-arm + path: layers/meta-arm diff --git a/meta-unit-kas/include/layers/meta-rockchip/conf.yml b/meta-unit-kas/include/layers/meta-rockchip/conf.yml new file mode 100644 index 0000000..ffc3d76 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-rockchip/conf.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +local_conf_header: + meta-rockchip: | + SERIAL_CONSOLES = "115200;ttyS2" + WIC_COMPRESSION_EXTENSION = ".xz" diff --git a/meta-unit-kas/include/layers/meta-rockchip/main.yml b/meta-unit-kas/include/layers/meta-rockchip/main.yml new file mode 100644 index 0000000..775a3d0 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-rockchip/main.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + meta-rockchip: + branch: master + commit: 2a13a49da4af4487ee71db6aff19364220da694a diff --git a/meta-unit-kas/include/layers/meta-rockchip/radxa-zero-3e.yml b/meta-unit-kas/include/layers/meta-rockchip/radxa-zero-3e.yml new file mode 100644 index 0000000..4720743 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-rockchip/radxa-zero-3e.yml @@ -0,0 +1,4 @@ +header: + version: 20 + +machine: radxa-zero-3e diff --git a/meta-unit-kas/include/layers/meta-rockchip/remote.yml b/meta-unit-kas/include/layers/meta-rockchip/remote.yml new file mode 100644 index 0000000..a40e031 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-rockchip/remote.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + meta-rockchip: + url: https://git.yoctoproject.org/meta-rockchip + path: layers/meta-rockchip diff --git a/meta-unit-kas/include/layers/meta-yocto/conf.yml b/meta-unit-kas/include/layers/meta-yocto/conf.yml new file mode 100644 index 0000000..d05b285 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-yocto/conf.yml @@ -0,0 +1,28 @@ +header: + version: 20 + +bblayers_conf_header: + standard: | + POKY_BBLAYERS_CONF_VERSION = "2" + BBPATH = "${TOPDIR}" + BBFILES ?= "" + +local_conf_header: + standard: | + CONF_VERSION = "2" + PACKAGE_CLASSES = "package_rpm" + SDKMACHINE = "x86_64" + USER_CLASSES = "buildstats" + PATCHRESOLVE = "noop" + diskmon: | + BB_DISKMON_DIRS = "\ + STOPTASKS,${TMPDIR},1G,100K \ + STOPTASKS,${DL_DIR},1G,100K \ + STOPTASKS,${SSTATE_DIR},1G,100K \ + STOPTASKS,/tmp,100M,100K \ + HALT,${TMPDIR},100M,1K \ + HALT,${DL_DIR},100M,1K \ + HALT,${SSTATE_DIR},100M,1K \ + HALT,/tmp,10M,1K" + systemd: | + INIT_MANAGER = "systemd" diff --git a/meta-unit-kas/include/layers/meta-yocto/poky.yml b/meta-unit-kas/include/layers/meta-yocto/poky.yml new file mode 100644 index 0000000..9109131 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-yocto/poky.yml @@ -0,0 +1,4 @@ +header: + version: 20 + +distro: poky diff --git a/meta-unit-kas/include/layers/meta-yocto/remote.yml b/meta-unit-kas/include/layers/meta-yocto/remote.yml new file mode 100644 index 0000000..f78b294 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-yocto/remote.yml @@ -0,0 +1,10 @@ +header: + version: 20 + +repos: + meta-yocto: + url: https://git.yoctoproject.org/meta-yocto + path: layers/meta-yocto + layers: + meta-poky: + meta-yocto-bsp: diff --git a/meta-unit-kas/include/layers/meta-yocto/whinlatter.yml b/meta-unit-kas/include/layers/meta-yocto/whinlatter.yml new file mode 100644 index 0000000..772f794 --- /dev/null +++ b/meta-unit-kas/include/layers/meta-yocto/whinlatter.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + meta-yocto: + branch: whinlatter + commit: d02d3faaf4d6075ea03e9eb47654ec7639f929a0 diff --git a/meta-unit-kas/include/layers/openembedded-core/core-image-base.yml b/meta-unit-kas/include/layers/openembedded-core/core-image-base.yml new file mode 100644 index 0000000..44f48ae --- /dev/null +++ b/meta-unit-kas/include/layers/openembedded-core/core-image-base.yml @@ -0,0 +1,4 @@ +header: + version: 20 + +target: core-image-base diff --git a/meta-unit-kas/include/layers/openembedded-core/passwordless-root-login.yml b/meta-unit-kas/include/layers/openembedded-core/passwordless-root-login.yml new file mode 100644 index 0000000..571ca86 --- /dev/null +++ b/meta-unit-kas/include/layers/openembedded-core/passwordless-root-login.yml @@ -0,0 +1,8 @@ +header: + version: 20 + +local_conf_header: + passwordless_root_login: | + EXTRA_IMAGE_FEATURES:append = " allow-empty-password" + EXTRA_IMAGE_FEATURES:append = " allow-root-login" + EXTRA_IMAGE_FEATURES:append = " empty-root-password" diff --git a/meta-unit-kas/include/layers/openembedded-core/remote.yml b/meta-unit-kas/include/layers/openembedded-core/remote.yml new file mode 100644 index 0000000..341a33d --- /dev/null +++ b/meta-unit-kas/include/layers/openembedded-core/remote.yml @@ -0,0 +1,9 @@ +header: + version: 20 + +repos: + openembedded-core: + url: https://git.openembedded.org/openembedded-core + path: layers/openembedded-core + layers: + meta: diff --git a/meta-unit-kas/include/layers/openembedded-core/whinlatter.yml b/meta-unit-kas/include/layers/openembedded-core/whinlatter.yml new file mode 100644 index 0000000..516f4a6 --- /dev/null +++ b/meta-unit-kas/include/layers/openembedded-core/whinlatter.yml @@ -0,0 +1,7 @@ +header: + version: 20 + +repos: + openembedded-core: + branch: whinlatter + commit: 9964fa3da2fa1e7243fba1a826e59f7bb1813706 |
