Other Parts Discussed in Thread: TMDSEVM572X
Tool/software: Linux
Hello.
For a BeagleBoard X15 (pcb revision B1, or rev C), I need to:
- (1st) build the TI Processor Linux SDK from scratch, to create a full image (boot loaders, uboot, kernel, device tree, basic file system)
- I do want to use the bitbake for the build
- (2nd) load the new builded image to a SD card for the X15 board
The use of X15 is given, I need this for our SW developers to enable them to develop our commercial product, before we get hands on on our own hardware.
Yet I need to drop the debian (or whatever) that X15 ships with as default; and to install the plain "server-like" TI Linux to it.
We are going to extensively use the DSP, PCIe, and other specific features of AM57xx line.
Host is ubuntu 16.04 LTS 64bit.
Clearly, as the X15 is generically the same as TMDSEVM572X (see the other E2E thread on this topic), I'm expecting the TI Processor Linux SDK to be able to run on the X15.
And I'm in a need of a solution on how to setup my host environment to be able to build the TI Linux and load it to X15.
Going through the TI Wiki, I have found two parts to the solution:
- the .bin installer for the AM57xx Processor Linux SDK
- the manual on how to install and build the Arago 05.02.00.10 project
I do understand that I would need the TI SDK (which is available in a form of a .bin installer), as it is the only way to obtain the create-sdcard.sh script.
Question #1: is the installation really this complicated ? or am I making a mistake while interpreting the manuals ?
It seems there are two ways on how to build the TI Linux for Sitata. Either through the SDK which comes via the .bin installer and which needs me to use "make" to get it built;
and the other way is to install the arago via the git which uses bitbake. Am I correct ?
For the true commercial development, I definitelly want to use a proper way of doing things. E.g. to use bitbake and the arago, and to be able to modify it for our new base hardware (which might not be much different than any of the generic eval kits), and to use it to build final images (mlo, uboot, kernel, rootfs) and flash it to our HW (or to SD card for the development purposes).
-
Now: as I'm getting the arago build as successful, and it populates (with a lot of files) the /build/arago-tmp-external-linaro-toolchain/deploy/images/am57xx-evm/ , what to do next ?
I'm invoking the "arago-base-tisdk-image" bitbake command, and it builds with just a few warnings etc. (but no error). So far so good.
Question #2: is this the correct bitbake command ? it does produce the "deploy" images (yet it takes quite a many hours to complete). Is there anything faster ?
Question #3: how to image a SD card with the specific arago output (deploy images) ? do I indeed have to use the create-sdcard.sh script, or is there any other way I shall use ?
Please provide a precise, step-by-step manual on how to use the create-sdcard.sh script, in order to program the SD card with the new arago deploy images.
Clearly the create-sdcard.sh script is oriented to support the default SDK, and is not present in the arago instalation (following the wiki page manual, see the link above).
Question #4: I do see that the arago outputs files with BeagleBoard X15 name in there - so I do suppose the TI SDK supports the X15 board natively, am I correct ?
Please provide a precise, step-by-step manual on how to build an image for the X15 using the TI Linux SDK and its arago/bitbake way.
How will the SD card imager figure out that I want to write a SD card image just and specifically for X15. Do I have to manually pick the files ? which ones then, and how ?
Or will all of these get loaded to the SD card, and the u-boot picks the proper DTS ? based on what ? uenv ? do I have to edit it ?
I hope it is visible that a proper step-by-step manual would be a perfect way forward. It is exactly what I need. Nothing that is widely universal; rather a step-by-step manual from scratch to a properly imaged SD card.
best regards,
a.