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
i run the u-boot on 2c35 sucessfuly as you tell me,thank you verry much!
- Altera_Forum
Honored Contributor
if i want run linux from my u-boot,what i will do,are there some changes to the u-boot! who can tell me the steps? thank you !
- Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iriver@Jun 15 2006, 07:06 PM if i want run linux from my u-boot,what i will do,are there some changes to the u-boot! who can tell me the steps? thank you !<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16195)
--- quote end ---
--- Quote End --- To boot nios2 uclinux, you need the load address of zImage, which is sdram base + boot link offset (in kernel config, may be 0x500000 or 0x800000) . You may find the load address of zImage with nios2-linux-uclibc-objdump -h zImage The load addres is the vma of .text . You need to use mkimage to convert zImage,with compress none.
- Altera_Forum
Honored Contributor
to hippo
you mean that i need not change the u-boot in order to boot linux.now,my u-boot run on sdram,then if i want to run the linux,i only use the u-boot command to download the uncompress image into a sdram address,is it that? - Altera_Forum
Honored Contributor
--- Quote Start --- originally posted by iriver@Jun 19 2006, 06:26 PM to hippoyou mean that i need not change the u-boot in order to boot linux.now,my u-boot run on sdram,then if i want to run the linux,i only use the u-boot command to download the uncompress image into a sdram address,is it that?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16243)
--- quote end ---
--- Quote End --- Now you should program the uboot to flash, with nios2-flash-programmer (or uboot itself). So that uboot will start on reset. http://nioswiki.jot.com/wikihome/operating...flashprogrammer (http://nioswiki.jot.com/wikihome/operatingsystems/flashprogrammer) Then you can use tftp from uboot to download linux image and run. Or you can program the linux image to flash and run it with a uboot script. You should not overlap those images both in sdram and flash. http://www.denx.de/wiki/dulg/manual (http://www.denx.de/wiki/dulg/manual) http://docs.blackfin.uclinux.org/doku.php?...oot_on_blackfin (http://docs.blackfin.uclinux.org/doku.php?id=das_u-boot_on_blackfin)
- Altera_Forum
Honored Contributor
Hi iriver & hippo,
> You should not overlap those images both in sdram and flash. Just FYI: Typically, u-boot relocates itself to the high end of memory, and the kernel copies itself to the low end. u-boot doesn't care where the .img is stored -- so you can place it where you like -- provided you follow hippo's advice and don't overlap ;-) Regards, --Scott