Forum Discussion
Altera_Forum
Honored Contributor
15 years agoporting u-boot to nios2
Hi all, I'm very new to this embedded world especially to u-boot.I want to port the u-boot to nios2 processor for the DK1S10 board. I tried it for the source code which i downloaded from sourceforg...
Altera_Forum
Honored Contributor
15 years agonios asm source shouldn't contain %g0 (or similar) at all.
At a guess the C source contains 'asm' statements for some other instruction set, or, just possibly, your nios-elf-gcc is somehow generating code for a different cpu! Not sure what code you have, might be sparc64!