fix: correct machine, config, and C library references (verified by build test)
Critical corrections based on actual build test on 2026-03-01: 1. Machine: tqma6ulx-mba6ulx → tqma6ul-multi-mba6ulx (the -multi variant is the correct one for the MBa6ULx carrier) 2. Config: imx → mainline (TQMa6UL machines are NOT in the imx config, only in mainline) 3. Carrier: MBa6x → MBa6ULx (MBa6x is for the Quad/Dual, MBa6ULx is for the UltraLite) 4. C library: glibc 2.38 → musl 1.2+ (BSP uses musl: TARGET_SYS=arm-tq-linux-musleabi) 5. README rewritten with verified build output Verified: DISTRO=spaetzle 5.0.11, BB_VERSION=2.8.0
This commit is contained in:
@@ -15,10 +15,10 @@ Based on sticker analysis and code review:
|
||||
|
||||
**Sticker:** TQMA6U-AB RK REV.0405
|
||||
**Board:** TQMa6UL (NXP i.MX6 UltraLite, Cortex-A7, 32-bit)
|
||||
**Carrier:** MBa6x
|
||||
**Carrier:** MBa6ULx
|
||||
**Code Reference:** `tqma6x` = generic i.MX6 family identifier in legacy codebase
|
||||
|
||||
**Machine Configuration:** `tqma6ulx-mba6ulx`
|
||||
**Machine Configuration:** `tqma6ul-multi-mba6ulx`
|
||||
*Alternative (ci-meta-tq multi-config):* `tqma6qdl-multi-mba6x`
|
||||
|
||||
---
|
||||
@@ -102,8 +102,8 @@ ls -la sources/
|
||||
```bash
|
||||
cd ${UT_BASE}/ci-meta-tq
|
||||
./ci/ls-configs --file
|
||||
./ci/ls-machines --file --config=imx
|
||||
# Should list tqma6ulx-mba6ulx and other machines
|
||||
./ci/ls-machines --file --config=mainline
|
||||
# Should list tqma6ul-multi-mba6ulx and other machines
|
||||
```
|
||||
|
||||
---
|
||||
@@ -120,7 +120,7 @@ mkdir -p ~/.yocto
|
||||
cat > ~/.yocto/site.conf <<'EOF'
|
||||
# UT Project Configuration
|
||||
# Build: UT (Universität/Projekt)
|
||||
# Target: TQMa6UL on MBa6x
|
||||
# Target: TQMa6UL on MBa6ULx
|
||||
# Date: 2026-03-01
|
||||
|
||||
# Mirror directories (outside home for space)
|
||||
@@ -141,13 +141,13 @@ sudo chown -R "$USER:$USER" /srv/yocto
|
||||
cd ${UT_BASE}/ci-meta-tq
|
||||
|
||||
# Set machine for TQMa6UL
|
||||
export MACHINE=tqma6ulx-mba6ulx
|
||||
export MACHINE=tqma6ul-multi-mba6ulx
|
||||
|
||||
# Alternative if using multi-config:
|
||||
# export MACHINE=tqma6qdl-multi-mba6x
|
||||
|
||||
# Initialize build environment (creates build_ut directory)
|
||||
. ./setup-environment build_ut imx
|
||||
. ./setup-environment build_ut mainline
|
||||
|
||||
# Verify configuration
|
||||
bitbake -e | grep -E "^MACHINE=|^DL_DIR=|^SSTATE_DIR="
|
||||
@@ -163,8 +163,8 @@ This step downloads all required source packages for offline use:
|
||||
cd ${UT_BASE}/ci-meta-tq
|
||||
|
||||
# Ensure environment is set
|
||||
export MACHINE=tqma6ulx-mba6ulx
|
||||
. ./setup-environment build_ut imx
|
||||
export MACHINE=tqma6ul-multi-mba6ulx
|
||||
. ./setup-environment build_ut mainline
|
||||
|
||||
# Build the image (downloads all sources)
|
||||
bitbake tq-image-small-debug
|
||||
@@ -221,7 +221,7 @@ Use TQ's provided script to populate the mirror:
|
||||
cd ${UT_BASE}/ci-meta-tq
|
||||
|
||||
# Set machine and config
|
||||
export MACHINE=tqma6ulx-mba6ulx
|
||||
export MACHINE=tqma6ul-multi-mba6ulx
|
||||
|
||||
# Fill mirror (downloads all git repos and tarballs)
|
||||
ci/fill_mirror build_ut imx
|
||||
@@ -237,7 +237,7 @@ du -sh /srv/yocto/sstate-cache/
|
||||
|
||||
```bash
|
||||
cd ${UT_BASE}/ci-meta-tq
|
||||
. ./setup-environment build_ut imx
|
||||
. ./setup-environment build_ut mainline
|
||||
|
||||
# Generate license manifest
|
||||
bitbake tq-image-small-debug -c do_populate_lic
|
||||
@@ -281,7 +281,7 @@ cat > UT-mirror-package/build-instructions/README.txt <<'EOF'
|
||||
UT Yocto Mirror Package
|
||||
=======================
|
||||
|
||||
Target: TQMa6UL on MBa6x (i.MX6 UltraLite)
|
||||
Target: TQMa6UL on MBa6ULx (i.MX6 UltraLite)
|
||||
Yocto: Scarthgap 5.0 LTS
|
||||
BSP: TQ scarthgap.TQ.ARM.BSP.0006
|
||||
Build: UT (Universität/Projekt)
|
||||
@@ -375,7 +375,7 @@ Key packages to verify for military use:
|
||||
Before delivering mirror:
|
||||
|
||||
- [ ] ci-meta-tq cloned with all submodules
|
||||
- [ ] MACHINE=tqma6ulx-mba6ulx configured
|
||||
- [ ] MACHINE=tqma6ul-multi-mba6ulx configured
|
||||
- [ ] Build "UT" completed successfully
|
||||
- [ ] /srv/yocto/downloads/ populated
|
||||
- [ ] /srv/yocto/premirror/ populated by ci/fill_mirror
|
||||
|
||||
Reference in New Issue
Block a user