- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi guys,
I have a problem in the compilation of linux with MMU on my NEEK. I have followed these steps. 1) www.niosftp.com/pub/linux/nios2-linux-20090929.tar 2) extract and checkout 3) setup the good path to toolchain-mmu/x86-linux2/bin 4) make menuconfig with "Default all settings" 5) make and it completly compile until the end and the creation of the image. Then now i want to compile it for my neek. So 1) www.niosftp.com/pub/boards/neek/neek_ocm_spi_mmu.zip and extract 2) with n2sdk (installed on my Centos5) i ran sopc-create-header-files --single custom_fpga.h 3) I copy it to the good location in linux-2.6/arch/nios2/include/asm 4) make menuconfig and select "Customize Kernel Settings" in order to select my custom_fpga in the nest screen. 5) I didn't modify anything else in the config 6) make and it makes error. (it is a translation from french) ... LD fs/proc/proc.o LD fs/proc/build-in.o LD fs/build-in.o make[2]: *** wait: No child process. Stop make[1]: *** [sub-make] Erreur 2 make[1]: going out of the directory /home/Adrien/nios2-linux/linux-2.6 make: *** [linux] Erreur 1 Do you have any idea ?Link Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
I just have used another harware. This one : http://www.nioswiki.com/@api/deki/files/296/=neek_web_server_mmu.zip This is the exemple hardware on the page http://www.nioswiki.com/linux/creating_a_nios_ii_design_with_an_mmu Then i follow the same step (except that i did not run sopc-create-header-files because custom_fpga.h was allready in the directory) And there is no error at all. All the images have been generated. Why did I have errors with the previous hardware ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please unselect altera tse net driver, and select ethoc for neek_ocm_spi_mmu.
- Hippo- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is it in the "Customize Kernel Settings" ? I have not find ethoc and tse net driver.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Device Drivers -->Network device support ─> [*] Network device support [*] Ethernet (10 or 100Mbit) The new Kernel mainline driver could be used for OpenCores MAC (nios2-test or unstable-nios2mmu branch) [*] OpenCores 10/100 Mbps Ethernet MAC support [ ]Altera Triple Speed Ethernet MAC support(SLS)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok
| + [*] Network device support ---> | | | + [*] Ethernet (10 or 100Mbit) ---> | | | | | + < > Altera Triple Speed Ethernet Mac Support (SLS) | | | | | + <*> OpenCores 10/100 Mbps Ethernet MAC Support So just invert these two selections. Now it compiles without errors. But it do not start after nios2-terminal while the previous hardware (neek web server mmu) et the previous kernel configuration, the normal booting messages appears.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please make sure you use the correct sof. There is prebuild image for your try out, and related config files in the u-boot page,
http://nioswiki.com/extrem_guide_to_kill_neek_with_u-boot- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Ok. It works !
My problem was that I did not have regenerated the file custom_fpga.h (with sopc-create-header-files) includes in neek_ocm_spi_mmu.zip (nor from www.niosftp.com (http://www.niosftp.com) nor from www.nioswiki.com) (And actually they are the the same hardware).
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page