On 8/20/2024 4:07 AM, Arcadius wrote:
Hello everyone,

This is my first attempt at working with Linux on a custom board, which seems 
quite differently from RTOS development I am used to.
I have been looking into the Yocto Project to create a custom distribution, but 
before modifying Linux itself I would like to understand how to start working 
from the default Poky distro to get it running on a custom board.
I currently have the OSD3358-SM-RED dev kit board from Octavo Systems and will 
soon have my custom board based on the OSD3358 C-SiP (SiP with AM3358 inside).
As a first step I would like to get Poky running on the dev kit.

I have checked that Yocto succeeds building the minimal image for Qemu on 
branch Scarthgap and Ubuntu 22.04 host.
I got the device tree sources for the board from Octavo Systems' GitHub.
I guess that adding the meta-ti layer along with its dependencies should add 
support for the AM3358 processor (although I am unsure as to what exactly Arago 
is and if I can ignore it for a minimal Poky build).

Arago is a reference distribution that TI uses as the basis for our downloadable SDKs off of ti.com. Poky is also a distribution, so you cannot mix the two. You should be fine just building a poky build. You just need to add the meta-ti-bsp layer from the meta-ti repo and you should be able to build a minimal system that you can boot on your board.


Then I would probably need a custom layer to add custom recipes including the 
device tree sources.
But with my current knowledge, I can't get much further than this.

I have seen the processor SDK for AM335x but I was wondering if there would be 
a more direct way of doing things starting from Poky.
Additionally, I would like to be able to use my Linux distro on other custom 
boards which won't necessarily use TI processors (e.g. Microchip's SAMA7G54), 
so I was unsure if the SDK was a good development environment for this case.
I would basically like to learn a process that would work for any board with 
any processor as long as BSPs are provided.
I have checked the documents from Octavo Systems but their approach of 
"hacking" a Beaglebone image doesn't really fit into my objective.

There are a number of YouTube videos of talks from past Yocto Summits that might help with getting started.


So, any help would be appreciated!






--
Ryan Eatmon                [email protected]
-----------------------------------------
Texas Instruments, Inc.  -  LCPD  -  MGTS
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#17944): 
https://lists.yoctoproject.org/g/meta-ti/message/17944
Mute This Topic: https://lists.yoctoproject.org/mt/107997584/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to