Forum Discussion
Altera_Forum
Honored Contributor
20 years agou-boot about 2c35
i want to run u-boot on 2c35,but it seems to only support
u-boot-1c20: Altera Nios II Development Kit, Cyclone Edition u-boot-1s10: Altera Nios II Development Kit, Stratix Edition u-boot-1s40: Altera Nios II Development Kit, Stratix Professional Edition could you tell me how to do that? thank you!16 Replies
- Altera_Forum
Honored Contributor
Hi iriver,
> i want to run u-boot on 2c35,but it seems to only support Once I receive the 'official' Nios II 6.0, I'll be updatng u-boot -- and 2c35 board support will be added (along with various other updates) In the mean time, you can use an existing board configuration as a starting point. Just use the 1C20 configuration for example ... do the following: 1. Update the macros in include/configs/EP1C20.h to match your hardware design. Use the information from you ptf file or SOPC Builder. 2. Either find and use an appropriate flash.c file ... or just modify flash_init to return a non-zero value without probing the actual flash. If you choose to modify, your flash utilities won't work. But you'll have everything else ;-) 3. Make the EP1C20 configuration: $ make EP1C20_config 4. Make u-boot: $ make Regards, --Scott - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iriver@Jun 7 2006, 04:09 AM i want to run u-boot on 2c35,but it seems to only supportu-boot-1c20: altera nios ii development kit, cyclone edition
u-boot-1s10: altera nios ii development kit, stratix edition
u-boot-1s40: altera nios ii development kit, stratix professional edition
could you tell me how to do that?
thank you!
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15997)
--- quote end ---
--- Quote End --- It's pretty easy (with some help form Scott) to do. I did it for the eval board in no time at all and even added support for the real UART, not the JTAG UART...
- Altera_Forum
Honored Contributor
I do that as you tell me,but i can not success,when i make,2 errors happen,who run the u-boot successful on ep2c35,i use the 2c35_std.ptf ,could you give me the file EP1C20.H? thank you !!
- Altera_Forum
Honored Contributor
Hi iriver,
> when i make,2 errors happen What are the errors? And where did you get the u-boot source code from? --Scott - Altera_Forum
Honored Contributor
i did not recognizie where i get the u-boot source ,could you give me your u-boot source? my e-mail:[email protected]! thank you!
- Altera_Forum
Honored Contributor
Hi iriver,
Please see: http://forum.niosforum.com/forum/index.php...indpost&p=16044 (http://forum.niosforum.com/forum/index.php?act=st&f=18&t=4093&hl=&view=findpost&p=16044) Or you can get a (cygwin friendly) tarball from: http://www.psyent.com/download (http://www.psyent.com/download) Regards, --Scott - Altera_Forum
Honored Contributor
to smcnutt:
i am very sorry! i can not open the URL! could you give me a coppy! thank you! my email:[email protected] - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iriver@Jun 10 2006, 11:34 AM to smcnutt:i am very sorry! i can not open the url! could you give me a coppy! thank you!
my email:[email protected]
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16075)
--- quote end ---
--- Quote End --- Please find it mirred at nios wiki, http://nioswiki.jot.com/wikihome/operating...-src-050811.zip (http://nioswiki.jot.com/wikihome/operatingsystems/%c2%b5clinux/dasuboot/u-boot-nios2-src-050811.zip)
- Altera_Forum
Honored Contributor
i build the u-boot successfully,but when i run the command:nios2-download -g u-boot
these happen : Download 99kb in 1.3s<76.1kb/s> Verifying 018C0000<0%> Verify failed between address 0x18C0000 and 0x18CFFFF Leaving target processor paused i build on EP2C35,my sdram address is 0x04000000 can the u-boot run on sdram? i want to run it on sdram first,but the 0x18C0000 means what? what is the problem? thanks!! - Altera_Forum
Honored Contributor
what is the sdram address of your 2c35? 0x04000000+0x02000000 in std_2C35.ptf ?
it is different from 1c20 board. so you have to change board/altera/ep2c25/config.mk TEXT_BASE = 0x05fc0000 you need to update include/configs/EP2C35.h ,too. see tschmelcher's post, http://forum.niosforum.com/forum/index.php?showtopic=3253 (http://forum.niosforum.com/forum/index.php?showtopic=3253)