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:
@@ -50,7 +50,7 @@ The i.MX6 UltraLite (Cortex-A7) is a 32-bit processor:
|
||||
│ → Compiled with 64-bit time_t │
|
||||
├─────────────────────────────────────┤
|
||||
│ C Library (glibc) │
|
||||
│ → glibc 2.34+ with 64-bit time_t │
|
||||
│ → musl 1.2+ with 64-bit time_t │
|
||||
├─────────────────────────────────────┤
|
||||
│ Linux Kernel │
|
||||
│ → 5.1+ with CONFIG_TIME_LOW_RES │
|
||||
@@ -69,7 +69,7 @@ Yocto Project 5.0 (Scarthgap) released April 2024 provides:
|
||||
| **GCC** | 13.x | Supports 64-bit time_t | ✅ |
|
||||
| **BitBake** | 2.6 | Build system support | ✅ |
|
||||
|
||||
**Critical:** glibc 2.34+ uses 64-bit `time_t` BY DEFAULT for 32-bit ARM in Yocto.
|
||||
**Critical:** musl 1.2+ uses 64-bit `time_t` BY DEFAULT for 32-bit ARM in Yocto.
|
||||
|
||||
---
|
||||
|
||||
@@ -88,9 +88,9 @@ From TQ documentation:
|
||||
|
||||
### 3.2 Machine Configuration
|
||||
|
||||
For TQMa6UL-AB on MBa6x:
|
||||
For TQMa6UL-AB on MBa6ULx:
|
||||
```
|
||||
MACHINE = "tqma6ulx-mba6ulx"
|
||||
MACHINE = "tqma6ul-multi-mba6ulx"
|
||||
```
|
||||
|
||||
Verified supported features with kernel 6.6:
|
||||
@@ -176,7 +176,7 @@ grep -r "time_t\|gettimeofday\|stime" ${IMAGE_ROOTFS}/usr/bin/
|
||||
### 6.1 Findings
|
||||
|
||||
1. **Yocto Scarthgap (5.0) is 2038-compliant** for 32-bit ARM
|
||||
2. **TQ BSP scarthgap.TQ.ARM.BSP.0006** uses compliant kernel 6.6 + glibc 2.38
|
||||
2. **TQ BSP scarthgap.TQ.ARM.BSP.0006** uses compliant kernel 6.6 + musl 1.2
|
||||
3. **Migration from PTXdist is mandatory** for systems operating beyond 2038
|
||||
4. **Offline mirror required** for software approval process
|
||||
|
||||
|
||||
Reference in New Issue
Block a user