Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.

uCLinux or Linux for Max10K

Altera_Forum
Honored Contributor II
2,069 Views

Hello all, 

how can I configurate and build the Linux for MAX10K family ? I use the kit BeMicro Max10, but it is not important.  

I would able to build uClinux for Cyclone III, Cyclone IV, when i use ptf file for menuconfig in 4-6 years old uclinux, but now ... i have sopcinfo and qsys, it is all. 

 

Thank you for answer. 

 

H. Naceradsky, Czech Republic
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
170 Views

Hi, 

 

 

--- Quote Start ---  

 

how can I configurate and build the Linux for MAX10K family ? I use the kit BeMicro Max10, but it is not important.  

I would able to build uClinux for Cyclone III, Cyclone IV, when i use ptf file for menuconfig in 4-6 years old uclinux, but now ... i have sopcinfo and qsys, it is all. 

 

--- Quote End ---  

 

 

Please refer to the documents in 

 

https://rocketboards.org/foswiki/view/documentation/niosiilinuxusermanual 

 

. And also be aware that everything is not done automatically.  

 

Kazu
Altera_Forum
Honored Contributor II
170 Views

Thank you for your answer. It does not seem easy, but i try it. 

Other way, is anywhere some java program for convert sopcinfo to ptf ?:) (i dont need the last version of linux) 

 

Honza
Altera_Forum
Honored Contributor II
170 Views

Hi,  

i was succesful only in few points, i downloaded from git reporitory sopc2dts and make sopc2dts.jar, which can convert sopcinfo to dts. I create directory /home/rocket_linux and create and downloaded /buildroot, /linux-socfpga and sourcery binary codebench lite 2014.05-17 and when i try to install, it finished with permission denied ... in picture. How continue ?  

I try in make nios2_defconfig in buildroot directory, make 3c120_defconfig in directory linux-socfpga and everything finished with error. Is somewhere described more details, how to setting the linux machine ? (i use linux, which i used for building uclinux for nios2 2-4 year ago... 

Thanks. 

 

Honza
Altera_Forum
Honored Contributor II
170 Views

Hi, 

 

 

--- Quote Start ---  

 

i was succesful only in few points, i downloaded from git reporitory sopc2dts and make sopc2dts.jar, which can convert sopcinfo to dts. I create directory /home/rocket_linux and create and downloaded /buildroot, /linux-socfpga and sourcery binary codebench lite 2014.05-17 and when i try to install, it finished with permission denied ... in picture. How continue ?  

I try in make nios2_defconfig in buildroot directory, make 3c120_defconfig in directory linux-socfpga and everything finished with error. Is somewhere described more details, how to setting the linux machine ? (i use linux, which i used for building uclinux for nios2 2-4 year ago... 

Honza 

--- Quote End ---  

 

 

Sorry, your JPEG veiw is too small and indistinct, so I can't read the error message. 

 

Kazu
Altera_Forum
Honored Contributor II
170 Views

Hi, 

it is strange, i included png about 99kB. 

So i wrote: 

$ /bin/sh sourgeryg++-2014.05-47-nios2-linux-gnu.bin 

Extracting installer ... 

Starting installer ... 

/tmp/sourgeryg++-2014.05-47-nios2-linux-gnu.bin_sfx.8a451e21/installer/jre/bin. 

./lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied. 

 

It was all ... how solve this error ? (i am not linux specialist) 

 

Thank you. 

 

Honza
Altera_Forum
Honored Contributor II
170 Views

Hi, 

 

 

--- Quote Start ---  

 

$ /bin/sh sourgeryg++-2014.05-47-nios2-linux-gnu.bin 

Extracting installer ... 

Starting installer ... 

/tmp/sourgeryg++-2014.05-47-nios2-linux-gnu.bin_sfx.8a451e21/installer/jre/bin. 

./lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied. 

 

It was all ... how solve this error ? (i am not linux specialist) 

 

--- Quote End ---  

 

 

Are you using SELinux? If so, please refer to the next pages 

 

http://www.cubrid.org/wiki_tutorials/entry/cannot-restore-segment-prot-after-reloc-permission-denied 

http://stackoverflow.com/questions/19223963/selinux-cannot-restore-segment-prot-after-reloc-permissi... 

 

... and so on. 

 

P.S. I'm also not a Linux specialist and I sometimes refer to web sites for Linux commands, for example 

 

http://bijo-linux.com/ 

 

(Sorry, Japanese only). (-: 

 

Kazu
Altera_Forum
Honored Contributor II
170 Views

Your JPEG veiw is too small and indistinct. Please, reupload it. Thank you

Reply