Forum Discussion
9 Replies
- Altera_Forum
Honored Contributor
Hi, Linux works with the standard_32 Altera quartus projects. So, if you're looking for a basic design to modify, the standard design is a good place to start.
To run Linux on a standard_32 quartus project, you need to remove IDE support from the kernel. Please look at the Linux Reference Guide for more information. To duplicate one of our designs, you would need to take a standard design and add the Compact Flash component that's downloadable from this forum. Ken. - Altera_Forum
Honored Contributor
thanks!
I follow Altera "Nios II Hardware Development Tutorial" to creat nios2.sof, but uClinux can't work! can anybody help me -_- - Altera_Forum
Honored Contributor
I took a peek at the Hardware tutorial... it only provides about 1 MB of sram to work with. That's nowhere near enough memory to run Linux.
I would recommend modifying the standard_32 design for whatever development board you're using. It has all the basic requirements (+ some) for a running Linux system. Remember, the standard_32 design does *not* have compact flash support. You'll need to disable the ATA section within the kernel configuration for the kernel to build properly. - Altera_Forum
Honored Contributor
can you tell me "NIOS2 memory map" for uClinux 2.6 Distribution v1.1
tks! - Altera_Forum
Honored Contributor
If you're asking for what I think you're asking for... you can open up the "system ptf file" using SOPC_BUILDER for the linux hardware design. That will tell you what the memory map that we use is like.
Look in: .../altera/kits/nios2/examples/verilog/<pick your target board>/linux/*.ptf Is that what you were interested in? - Altera_Forum
Honored Contributor
Ya! My nios2 can booting ......
thanks! I would like autobooting and use minicom(don't use Nios II SDK Shell) How to do.... -_- - Altera_Forum
Honored Contributor
Just program your design (SOF and program) to "user" flash, if what you mean by "autobooting" is having the system come up and start running software right away.
uCLinux will, by default, allow connection via one of the UARTs on the Dev. Board that you have. You can then use Minicom, or whatever else you want to log in and use your uCLinux, that you've programmed to flash. Cheers, - slacker - Altera_Forum
Honored Contributor
I already wrote .sof file & kernel to flash
but uClinux cannot booting (unless use Nios II SDK Shell) If I use Nios II SDK Shell, nios2 can booting........ howto do(bootloader or .....) - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by hhggg11@Nov 26 2004, 04:24 AM thanks!i follow altera "nios ii hardware development tutorial" to creat nios2.sof,
but uclinux can't work!
can anybody help me http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/sleep.gif --- Quote End --- The project in the hardware tutorial doesn't do uClinux. http://www.niosforum.com/forum/index.php?a...t=st&f=16&t=254 (http://www.niosforum.com/forum/index.php?act=st&f=16&t=254) Unzip qp.zip to c:\altera\kits\nios2\ then go into quartus_projects and pick the one that matches your board type.