This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Yocto question

Part Number: PROCESSOR-SDK-AM335X

am335x linux image consists of U-boot, kernel zImage, linux root file system and other s/w modules.

so it is clear and easy to constructs linux image. just compile u-boot/kernel, and create *.img file.

but i try to use TI-SDK, it is too complex for me. (I'm not expert on linux, have short period experience about arm linux).

TI says : Insanely easy, “just works” Linux solutions. but i can't understand why some command execute and what results are occurs.

TI WIKI let me just type the commands even i don't know what I type.

So, my questions is

1. is there any simple solution ? (u-boot/kernel source compile, create *.img file)

2. if it is really simple, I need study yocto project to use TI-SDK ?

3. What's better about TI-SDK than simple build script ? (i.e. robert C Nelson buildscript : i think these solution clearly show the process of creation *.img file)

  • Hello,

    What .img file would you like to create? What is the purpose of this file?

    You are correct that a Linux system usually includes a bootloader (U-Boot in our case), the Kernel, and a filesystem. There are a wide variety of ways this can be put together and booted on a board. 

    Maybe you could step back and desribe what you are trying to do and we could provide some pointers on valid paths to achieve that goal?

    I would really never call Linux "simple". However, there are a lot of resources and great people out there that will help you if you make a good effort. This can be challenging when you are under a time deadline, of course. For example, the commands that we usually tell you to use are standard Linux commands that can easily be researched and you can deduce from that what is going on. Often, you can just execute these commands without knowing a lot to get good progress.

  • Hello.

     -  *.img file will be flashed to SD card, and use creating booting disk for beaglebone black.

    and my old way for creating booting image is download each source code (bootloader, kernel) configure and build it.

    but, TI-SDK based yocto project. so I don't know where source code is, what part can be modified, how to created booting image.

    TI says don't need know(study) yocto project, but i can't agree it.

    So, i'll study yocto project in the near.

    ** i focus on "modify kernel source, develop new device driver and device tree, applying real-time patch and the other things H/W related" for develop embedded product.   not focus how to easy to distribute linux, how to share development env. 

    ** So yoctoproject is not appropriate for me. it's too complex ,spends long time to build and require too much disk spaces.

    ** as a result, i try another build solution not based yocto project, but TI seems to provide only yocto-based SDK . (linux, not RTOS)

    thanks for your answer. :)

  • Hi,

    The SDK provides everything you need to build and modify U-Boot and the Kernel. The provided binary installer will set up everything needed for this.

    If you need or want to customize the filesystem, that's where Yocto becomes a lot more important. While it certainly can build U-Boot, the Kernel, and pretty much anything else needed, it really shines at created a customized filesystem, or a distribution.

    There are certainly other ways to create or get a filesystem that may be better for your needs. But, you certainly don't need to learn Yocto/OE to do bootloader and kernel work. 

    I hope this helps clarify things and I wish you the best of luck on your learning journey.