| Summary: | linux-yocto: make it work with arm big endian | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Robert Yang <liezhi.yang> |
| Component: | kernel | Assignee: | Bruce Ashfield <bruce.ashfield> |
| Status: | ACCEPTED --- | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Medium | CC: | akuster808, juro.bystricky, randy.macleod, ross.burton, tom.zanussi |
| Version: | 2.2 | ||
| Target Milestone: | Future | ||
| Hardware: | x86 | ||
| OS: | arm64 | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | Yes (doc changes required) | |
|
Description
Robert Yang
2016-04-19 01:37:07 UTC
checking current master. in current master I am seeing this: ERROR: linux-yocto-5.2.28+gitAUTOINC+dd6019025c_992280855e-r0 do_package_qa: QA Issue: Endiannes did not match (0 to 1) on /work/qemuarm64-oe-linux/linux-yocto/5.2.28+gitAUTOINC+dd6019025c_992280855e-r0/packages-split/kernel-module-watchdog-5.2.28-yocto-standard/lib/modules/5.2.28-yocto-standard/kernel/drivers/watchdog/watchdog.ko [arch] which makes sense as qemuarm64 kernel config is "LE". I manually configured the kernel to enable BE and I will see how it goes. I suspect we will need to different MACHINES for Endlessness configurations. for master I would mark this as "Works for me". Do we want old branches check like back to Thud? It is simple to add BE support via a dedicated machine (since that is how we typically define such options). Alternatively, KERNEL_FEATURES could be used to trigger on the TUNE variable and add a fragment on top of the existing ARM BSPs. Either will work, but we still haven't had anyone asking for this, so it likely isn't worth the effort, or extra support cost. For what it's worth, some time ago I had to build a big-endian system and documented the few things I had to do: https://www.burtonini.com/blog/2023/03/06/big-endian/ I can see an argument for two small fragments that just set the right endian flag that BSPs can pull in if required. |