+ Post New Thread
Page 1 of 2 1 2 LastLast
Results 1 to 20 of 21
  1. #1
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    FPGA Operating system

    What are the difficulties of producing an operating system for a FPGA? Because from the few I have heard there is nothing made about that, or it can be as a PhD program..

  2. #2
    Advanced Member level 5
    Points: 7,139, Level: 20

    Join Date
    Apr 2016
    Posts
    1,518
    Helped
    261 / 261
    Points
    7,139
    Level
    20

    Re: FPGA Operating system

    Quote Originally Posted by adwnis123 View Post
    What are the difficulties of producing an operating system for a FPGA? Because from the few I have heard there is nothing made about that, or it can be as a PhD program..
    ... the whole question makes no sense as posed, as an OS runs on a processor, not on a programmable fabric.
    Really, I am not Sam.


    1 members found this post helpful.

  3. #3
    Advanced Member level 5
    Points: 36,811, Level: 46
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,717
    Helped
    1961 / 1961
    Points
    36,811
    Level
    46

    Re: FPGA Operating system

    Linux runs just fine on an FPGA, if the processor is programmed with a CPU.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  4. #4
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    Re: FPGA Operating system

    Quote Originally Posted by TrickyDicky View Post
    Linux runs just fine on an FPGA, if the processor is programmed with a CPU.
    You talk about OpenSparc?



  5. #5
    Advanced Member level 5
    Points: 12,806, Level: 27
    Achievements:
    7 years registered

    Join Date
    Aug 2011
    Posts
    2,577
    Helped
    300 / 300
    Points
    12,806
    Level
    27

    Re: FPGA Operating system

    It seems that you lack a basic understanding of what an FPGA actually is...
    It's like asking what are the difficulties in an operating system for NAND and NOR gates...

    After watching these:
    https://www.youtube.com/watch?v=CfmlsDW3Z4c
    You'll immediately see how little sense your question has.


    1 members found this post helpful.

  6. #6
    Advanced Member level 5
    Points: 36,811, Level: 46
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,717
    Helped
    1961 / 1961
    Points
    36,811
    Level
    46

    Re: FPGA Operating system

    Quote Originally Posted by adwnis123 View Post
    You talk about OpenSparc?
    No
    More like NIOS, MicroBlaze, PicoBlaze


    1 members found this post helpful.

  7. #7
    Advanced Member level 5
    Points: 7,139, Level: 20

    Join Date
    Apr 2016
    Posts
    1,518
    Helped
    261 / 261
    Points
    7,139
    Level
    20

    Re: FPGA Operating system

    Quote Originally Posted by TrickyDicky View Post
    Linux runs just fine on an FPGA, if the FABRIC is programmed with a CPU.
    fixed that for you
    Really, I am not Sam.



  8. #8
    Member level 4
    Points: 577, Level: 5

    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    70
    Helped
    14 / 14
    Points
    577
    Level
    5

    Re: FPGA Operating system

    Quote Originally Posted by TrickyDicky View Post
    Linux runs just fine on an FPGA, if the processor is programmed with a CPU.
    Hello,

    Linux can run also on soft-processor like Xilinx Microblze or Altera NIOSII.

    Te question is too general in my humble opinion.

    Regards



    •   AltAdvertisment

        
       

  9. #9
    Advanced Member level 1
    Points: 3,771, Level: 14

    Join Date
    Feb 2014
    Posts
    480
    Helped
    175 / 175
    Points
    3,771
    Level
    14

    Re: FPGA Operating system

    There are hybrid parts with CPU+FPGA as well such as the Zinq and its counterparts from Altera.



    •   AltAdvertisment

        
       

  10. #10
    Advanced Member level 5
    Points: 36,811, Level: 46
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,717
    Helped
    1961 / 1961
    Points
    36,811
    Level
    46

    Re: FPGA Operating system

    Quote Originally Posted by FlyingDutch View Post
    Hello,

    Linux can run also on soft-processor like Xilinx Microblze or Altera NIOSII.

    Te question is too general in my humble opinion.

    Regards
    Is there an Echo in here? (look at post #6)



  11. #11
    Member level 4
    Points: 577, Level: 5

    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    70
    Helped
    14 / 14
    Points
    577
    Level
    5

    Re: FPGA Operating system

    Quote Originally Posted by TrickyDicky View Post
    No
    More like NIOS, MicroBlaze, PicoBlaze
    Hello,

    PicoBlaze has not enough resources to run OS - especially program ROM (form 1K to 4K words - Picoblaze instruction is 18 bit long) and RAM. Second issue with Picoblaze is lack of working properly C compiler (praktically one can use only Picoblaze assembler) - in contex of runnig OS on it.

    Regards

    - - - Updated - - -

    Quote Originally Posted by TrickyDicky View Post
    No
    More like NIOS, MicroBlaze, PicoBlaze
    Hello,

    why "No" as far as I know someone can run "Solaris OS" on "OpenSparc" soft-processor.

    See project site:

    http://www.oracle.com/technetwork/sy...arc/index.html

    Regards

    - - - Updated - - -

    Quote Originally Posted by TrickyDicky View Post
    Is there an Echo in here? (look at post #6)
    Sorry - I didn't notice your post when answering.

    Regards
    Last edited by FlyingDutch; 12th September 2018 at 12:19.



  12. #12
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    Re: FPGA Operating system

    Can I run Kali linux on an FPGA, or at least program the FPGA to run commands and run thee Kali linux on a hdd? connected to the FPGA?



  13. #13
    Advanced Member level 1
    Points: 3,771, Level: 14

    Join Date
    Feb 2014
    Posts
    480
    Helped
    175 / 175
    Points
    3,771
    Level
    14

    Re: FPGA Operating system

    I think you're still not getting it.

    An FPGA can 'be' anything. One thing it can be is a full fledged 32-bit processor and a 32-bit processors can run linux.



  14. #14
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    Re: FPGA Operating system

    Ok, because I do not have the appropriate knowledge on this, can a Xilinx Spartan 3E be used for this? Should I use other any other FPGA model?

    Thank you...



  15. #15
    Advanced Member level 5
    Points: 36,811, Level: 46
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,717
    Helped
    1961 / 1961
    Points
    36,811
    Level
    46

    Re: FPGA Operating system

    Quote Originally Posted by adwnis123 View Post
    Ok, because I do not have the appropriate knowledge on this, can a Xilinx Spartan 3E be used for this? Should I use other any other FPGA model?

    Thank you...
    Why do you want to do this on an FPGA. You could probably do far more, much more quickly, with a $30 raspberry pi


    1 members found this post helpful.

  16. #16
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    Re: FPGA Operating system

    Quote Originally Posted by TrickyDicky View Post
    Why do you want to do this on an FPGA. You could probably do far more, much more quickly, with a $30 raspberry pi
    Because as I know (correct me if I am wrong) FPGAs are far more fast than Raspberies..



  17. #17
    Advanced Member level 5
    Points: 36,811, Level: 46
    Achievements:
    7 years registered

    Join Date
    Jun 2010
    Posts
    6,717
    Helped
    1961 / 1961
    Points
    36,811
    Level
    46

    Re: FPGA Operating system

    Quote Originally Posted by adwnis123 View Post
    Because as I know (correct me if I am wrong) FPGAs are far more fast than Raspberies..
    It depends on the FPGA.
    The top end FPGAs (with embedded arms or Intel CPUS) will probably run Linux pretty fast. But they will cost you $5000+. And you're not running Linux on the FPGA, you're running it on the embedded Arm/Intel core that is hard IP (Ie. not made of FPGA logic). The Spartan 3E will probably run Linux extremely slowly. with Limited IO. Probbaly no hard storage, and likely no USB.

    A Rasberry Pi is $30, and very capable of running linux, with lots of IO options.


    1 members found this post helpful.

  18. #18
    Advanced Member level 1
    Points: 3,771, Level: 14

    Join Date
    Feb 2014
    Posts
    480
    Helped
    175 / 175
    Points
    3,771
    Level
    14

    Re: FPGA Operating system

    No, FPGA's can be faster than a processor but usually at a specific or specialized task.

    There is a reason FPGA's are comparatively less common than processors and the reason is that they are generally NOT faster or more cost effective than a well specified processor for most tasks.

    FPGA's have a role in low volume products, highly parallel and specialized tasks.


    1 members found this post helpful.

    •   AltAdvertisment

        
       

  19. #19
    Member level 4
    Points: 577, Level: 5

    Join Date
    Dec 2017
    Location
    Bydgoszcz - Poland
    Posts
    70
    Helped
    14 / 14
    Points
    577
    Level
    5

    Re: FPGA Operating system

    Quote Originally Posted by adwnis123 View Post
    Can I run Kali linux on an FPGA, or at least program the FPGA to run commands and run thee Kali linux on a hdd? connected to the FPGA?
    Hello,

    you can not because Linux for FPGA is almost kernel + basic packages. There aren't repositories with packages from Kali Linux for FPGA and particular SoC (like Zynq of soft-processor).
    You have to compile all packages from sources what for time constraints and needed knowledge is impossible to do.

    BTW: Linux for FPGA's is very basic OS system for embedded solutions (and writing custom peripherals in HDL languages like VHDL or Verilog).
    Regards


    1 members found this post helpful.

  20. #20
    Full Member level 2
    Points: 1,374, Level: 8

    Join Date
    Jun 2014
    Posts
    131
    Helped
    0 / 0
    Points
    1,374
    Level
    8

    Re: FPGA Operating system

    Quote Originally Posted by FlyingDutch View Post
    Hello,

    you can not because Linux for FPGA is almost kernel + basic packages. There aren't repositories with packages from Kali Linux for FPGA and particular SoC (like Zynq of soft-processor).
    You have to compile all packages from sources what for time constraints and needed knowledge is impossible to do.

    BTW: Linux for FPGA's is very basic OS system for embedded solutions (and writing custom peripherals in HDL languages like VHDL or Verilog).
    Regards
    So if I understood correct, it is possible to build a hardware on a FPGA by seeing what specifications does a LINUX OS has...??



--[[ ]]--