Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12689 Discussions

There is a problem when I transplanted uClinux to DE3(EP3SJ150F1152C)

Altera_Forum
Honored Contributor II
1,230 Views

Hi,everyone.I have a DE3 board(EP3SL150F1152C).I want to transplant uClinux to the board.I do followed the www.nioswiki.com (http://www.nioswiki.com). I use the DE3_demonstrations in the DE3_v.2.2_CDROM which is in the disk.But when I do the step 'nios2-termianl'.it is shown as followed: 

nios2-terminal:connected to hardware target using JTAG UART on cable 

nios2-terminal:"USB-Blaster [USB-0]", device 1, instance 0 

nios2-terminal:<Use the IDE stop button or Ctrl-C to terminate> 

 

then show nothing. 

I do not konw why can not run uclinux. 

 

Is there anyone transplant uClinux to the DE3 board? If you transplanted uClinux to the DE3(EP3SL150F1152C).Could you give me the file ***.ptf and ***.sof of your project.Thank you very mucn!
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
388 Views

Hi, is there anyone can help me ?

0 Kudos
Altera_Forum
Honored Contributor II
388 Views

Hi 

 

I just search for this solution as well just now. 

Before this i have ported uclinux on the stratix II developement board. 

 

I took the DE3_150_DDR2_1G_1RANK reference design from the de3 system design cd and try port uclinux on that system. First problem i encounter is that the nios2-terminal hang after this display on the terminal: 

 

nios2-terminal: connected to hardware target using JTAG UART on cable 

nios2-terminal: "USB-Blaster [USB 4-1.2]", device 1, instance 0 

nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate) 

 

Then i checked the system design again and found that the cpu reset vector and Exception vector are on onchip_mem 

 

Then I disable the onchip_mem and connect the cpu instruction master and data master to the altmemddr which is the high performance DDR2 SDRAM. Then i reconfigure the cpu reset vector and exception vector to altmemddr, regenerate and recompile the design. 

 

After all the configuration, the uClinux amazingly boots up. :D 

 

hope this helps.
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

How do you configure the kernel?

0 Kudos
Altera_Forum
Honored Contributor II
388 Views

oh ya, I default all the kernel configuration.  

It usually enough to get uClinux to boot up.  

 

Now I'm still working on the ISP 1761 drivers for DE3 dev board.
0 Kudos
Reply