+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Full Member level 3
    Points: 1,576, Level: 9
    pradhan.rachit's Avatar
    Join Date
    Oct 2013
    Location
    Mumbai
    Posts
    160
    Helped
    21 / 21
    Points
    1,576
    Level
    9

    Designing a custom board for Embedded Linux and getting started

    Hello Experts,

    We were planning to design a solution that needs support of Embedded Linux/ucLinux. Initially we had thought of using RPi Zero in the solution, however it has a controlled distribution and will not be available in bulk quantities to be used for products that will need to be mass produced.

    So the alternative was to build a system based on readily available processors which have support for Linux OS.

    We are unclear about the process of getting through with development after the custom board that we manufacture needs to be programmed.

    Will a Linux Kernel be present on the blank IC that we get, so that we can get started with development directly?

    If not, what procedure needs to be followed to get access to program the IC? Are there any readily available standalone programmers for this?

    All we need is to get access to the internal kernel's terminal window (Maybe via USB) so that we can get started with the development.

    Any insights/documentation about the process would be appreciated!

    Thanks.

    •   Alt6th May 2018, 08:17

      advertising

        
       

  2. #2
    Member level 1
    Points: 266, Level: 3

    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    32
    Helped
    6 / 6
    Points
    266
    Level
    3

    Re: Designing a custom board for Embedded Linux and getting started

    Quote Originally Posted by pradhan.rachit View Post
    Hello Experts,

    So the alternative was to build a system based on readily available processors which have support for Linux OS.

    We are unclear about the process of getting through with development after the custom board that we manufacture needs to be programmed.

    Will a Linux Kernel be present on the blank IC that we get, so that we can get started with development directly?

    If not, what procedure needs to be followed to get access to program the IC? Are there any readily available standalone programmers for this?

    Thanks.
    Hello,

    this is not done as you think. The linux kernel is never loaded to IC (CPU). CPU has small program in flash memory called "bootloader". The "botloader is able to load machine code to processor program memory. Booltloadres are basically able to read code from USB cable (by using internal USB-UART converter). So first procedure is to load bootloader to IC's flash memory, Only after bootloader is in CPU flash, someone can load Linux kernel (or other software) for this type of CPU.

    About Linux for embedded see this links:

    http://www.linuxfromscratch.org/

    https://www.yoctoproject.org/about/

    Regards
    Last edited by FlyingDutch; 6th May 2018 at 15:06.



    •   Alt6th May 2018, 14:59

      advertising

        
       

  3. #3
    Full Member level 3
    Points: 4,393, Level: 15

    Join Date
    Apr 2001
    Location
    California, USA
    Posts
    187
    Helped
    25 / 25
    Points
    4,393
    Level
    15

    Re: Designing a custom board for Embedded Linux and getting started

    I think that you under estimated effort for this project. So, first thing first, having kernel is not enough. You will need a bootloader, and BSP (Board support package) for your board, which implies a lot of changes needed. My suggestion would be this: select cpu which you want to use, get manufacturer eval board, and build your stuff around it. Most CPU manufacturers provide PCB & BOM for their eval boards. As for debugging, you will definitely need JTAG debugger and logic analyzer, serial port is another story.



    •   AltYesterday, 05:05

      advertising

        
       

  4. #4
    Full Member level 1
    Points: 738, Level: 5

    Join Date
    Apr 2017
    Posts
    109
    Helped
    22 / 22
    Points
    738
    Level
    5

    Re: Designing a custom board for Embedded Linux and getting started

    Start from reading documentation and design files:
    https://en.wikipedia.org/wiki/Open-s...uting_hardware
    and then you will discover that the best solution is to buy a single board computer instead of making a design form a scratch.



--[[ ]]--