Thanks Denys, this is extremely helpful!

Philip

On 2/11/23 19:24, Denys Dmytriyenko wrote:
On Sat, Feb 11, 2023 at 01:01:00PM -0500, Philip Balister wrote:
I'm looking at the recent update to meta-ti/kirkstone that appears to
add support for the beaglebone ai64 and I am curious why there are two
machines added. I'm going to see if this works ASAP!

TI K3 family of SoCs utilize a heterogeneous multicore architecture, hence the
bootflow is quite convoluted... You can read all the details from the official
docs, also referenced from below links. But, basically, before getting into
Linux on the main Aarch64 Cortex-A72 cores, it goes through init/boot and
loads and runs different pieces on 32-bit MCU Cortex-R5F core.

Which means, from OE perspective, you need to be able to build 64-bit Linux
stack as well as 32-bit bootloader and system firmware. And that means you
need 2 different toolchains. That is done with OE multiconfig and as a
byproduct, 2 machine configs. You normally don't use -k3r5 machine config
directly, as it will be automatically handled by multiconfig dependencies to
build the necessary MCU bootloader pieces...

You may want to check the first commit that introduced this split:
https://git.yoctoproject.org/meta-ti/commit/?id=f814840465358a6b5429ad20165742ac6e6e6a29

Also, the common k3r5.inc file is rather self-explanatory:
https://git.yoctoproject.org/meta-ti/tree/meta-ti-bsp/conf/machine/include/k3r5.inc
https://patchwork.yoctoproject.org/project/ti/patch/[email protected]/

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#15816): 
https://lists.yoctoproject.org/g/meta-ti/message/15816
Mute This Topic: https://lists.yoctoproject.org/mt/96901189/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to