- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks in advance for any help.
I’m a newbie to NIOS II embedded system design and would like to use the uClinux (version 2.6.38+mmu) running NIOS 2/f processor on my project. I have been following the wiki instruction, and successfully generated the SOPCINFO using the QSYS, and hope it will run on the NEEK development kit (Cyclone III) with the system design contains:- NIOS2/f processor with reset vector: 0x02000000 (Ext_Flash), Exception Vector: 0x00200000 (On_Chip_RAM), and MMU Fast TLB Miss Exception Vector: 0x00400000 (On_Chip_RAM)
- PLL: c0 – 100MHz, c1-100MHz, c2-60MHz
- Tristate_conduit_bridge
- Ext_flash
- Avalong_MM_Pipeline_Bridge (Base Addr: 0x0200_0000 End: 0x03ff_ffff)
- Avalon_MM_Clock_Crossing_Bridge (Base Addr: 0x0000_1000 End: 0x03ff_ffff)
- Internal timer (Base Addr: 0x0000_0100 End: 0x0000_011f)
- Jtag UART (Base Addr: 0x0000_0120 End: 0x0000_0127)
- Uart_COM RS232 (Base Addr: 0x0000_0140 End: 0x0000_015f)
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can get a newer version of the kernel from the "nios2" branch.
http://alterawiki.com/wiki/linux_sources- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Thank you very much for your respond. I was able to result the problem and would like to share to anyone may have similar issue. Please kindly point me out if this isn’t a preferred method to result the SOPC2DTS bug. My problem is relate to the GenericTristateController class module in the GenericTriStateController.java (below is my modified code) which it’s locate at /tools/sopc2dts/sopc2dts/lib/components
Note: The SOPCINFO uses the value "embeddedsw.configuration.hwClassnameDriverSupportList" and "altera_avalon_lan91c111,altera_avalon_cfi_flash" boolean bChanged = false; String driverType = getParamValByName("embeddedsw.configuration.softwareDriver"); if(driverType==null) { driverType = getParamValByName("embeddedsw.configuration.hwClassnameDriverSupportDefault"); } --> if(driverType==null) --> { --> driverType = getParamValByName("embeddedsw.configuration.hwClassnameDriverSupportList"); --> } if(driverType==null) { Logger.logln("GenericTristateController: " + getInstanceName() + " failed to detect driver type.", LogLevel.WARNING); } else { if(driverType.equalsIgnoreCase("altera_avalon_cfi_flash_driver") || driverType.equalsIgnoreCase("altera_avalon_cfi_flash")|| --> driverType.equalsIgnoreCase("altera_avalon_lan91c111,altera_avalon_cfi_flash")) { Logger.logln("GenericTristateController: " + getInstanceName() + " seems to be a CFI-Flash chip.", LogLevel.INFO); SICFlash flash = new SICFlash(this); flash.setScd(SopcComponentLib.getInstance().getScdByClassName("altera_avalon_cfi_flash")); sys.removeSystemComponent(this); sys.addSystemComponent(flash); bChanged = true; } else { Logger.logln("GenericTristateController: " + getInstanceName() + " is of unsupported type: " + driverType, LogLevel.WARNING); } } return bChanged; } } -Yeung- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The answer to my third question regards of 0xC000 0000 is on altera.com/support/kdb/solutions/rd07292010_420.html. uClinux uses it as Virtual Memory. Sorry for this dump question.
-Yeung
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