Forum Discussion
Altera_Forum
Honored Contributor
20 years agobooting uclinux from u-boot
hi all I am trying to boot uclinux from u-boot on 2s60 board. I have one doubt regarding Exception vector table entry point address. What I have observed in uclinux (head.S) that excepti...
Altera_Forum
Honored Contributor
20 years ago --- Quote Start --- originally posted by ankur@May 29 2006, 04:24 AM hi all
i am trying to boot uclinux from u-boot on 2s60 board.
i have one doubt regarding exception vector table entry point address.
what i have observed in uclinux (head.s) that exception vector table entry point jump instruction sits at base addr of ram + 0x20 offset, same information i have given in hardware configuration file in sopc builder (.sof).
and same location is used for u-boot's execption vector table (specified in the u-boot config file).
my sdram start address is 0x0100_0000.
so exception vector table sits at 0x0100_0020 in both the cases of u-boot and uclinux.
the kernel image has entry_address at 0x0100_0000.
now if i download kernel image through u-boot, then exception table gets overwritten by kernel image and u-boot hangs.
please share your experience with how you deal with this issue. i mean when you boot kernel from u-boot then which address is given for exception vector table. or it's ok to use same addr there is some other issue ?
thanks
ankur
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=15652)
--- quote end ---
--- Quote End --- hi all, I can download my kernel image file in the sdram. There were some misunderstanding with CFG_NIOS_CPU_VEC_BASE and CFG_EXCEPTION_ADDR. Now both I made equal to 0x0100_0020. But still I can't boot my kernel. I am downloading uncompressed kernel through tftpboot at 0x0100_0000. Then I give bootm 0x0100_0000 Is it fine or should I change the location ?? thanks Ankur