--- Quote Start ---
originally posted by smcnutt@May 30 2006, 07:39 PM
hi ankur,
> there were some misunderstanding with cfg_nios_cpu_vec_base and
> cfg_exception_addr.
> now both i made equal to 0x0100_0020.
first, don't use cfg_nios_cpu_vec_base ... this is an old (and totally brain-damaged) obfuscation
that was foolishly added to some nios-32 u-boot board configurations -- it is not used in the
nios ii sources. and please don't ask for any details about cfg_nios_cpu_vec_base
-- i'll just end up embarrassing myself with an endless rant ;-)
second, please use the code from: http://www.psyent.com/download (http://www.psyent.com/download) -- it contains all of the patches
that have been submitted to the u-boot project (and are still pending). if you're using code directly
from the u-boot project you will likely have problems without the patches.
> am downloading uncompressed kernel through tftpboot at 0x0100_0000.
> then i give bootm 0x0100_0000
> is it fine or should i change the location ??
change this -- you are overwriting your exception trampoline during download. the first
interrupt will put the cpu in the weeds. load the image somewhere higher in memory.
the 'bootm' command will copy (and optionally decompress) the image to the load
address you specified with mkimage, after disabling interrupts.[/b] Try downloading to
0140_0000 for example (but leave the load address and entry point at 0100_0000). Then,
==> bootm 1400000
Regards,
--Scott
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15700)
--- Quote End ---
[/b]
--- Quote End ---
hi Scott,
thanks, for the reply. Actually I was using u-boot -1.1.2 taken from source forge. (I know its old now). But after following your instructions uclinux is booting now.
thanks once again
Ankur