Forum Discussion
Altera_Forum
Honored Contributor
21 years agoU-Boot : 'make' problem
Hello, I'm trying to compile a Uboot package in order to upload the .srec file to the NIOSII Cyclone board. My problem is that "make" command terminates with this message : (...)
ma...
Altera_Forum
Honored Contributor
21 years agoHi Max,
> I am currently using the "standard" Nios2 from Altera's examples. Ok. When building u-boot this is the "PK1C20_config" -- so this is correct. > I am using the MS hyperterminal to get a terminal, Ok ... make sure you're using the connector at the rear of the board (next to the Ethernet RJ-45). > it expects to get a connection through the UART, is it right Yes, you should see the u-boot banner, some SYSID info, then get the u-boot command prompt ("==>"). > I suppose I don't need any uCLinux Correct. uClinux is not needed ... in fact, u-boot is normally used to boot uClinux (or other OS). > why do I have to upload an SREC file instead of an ELF binary file ? I don't know the internals of nios2-download -- but probably because an srec download is much easier to code ;-) > Is there something with the legacy SDK and the 'old' GERMS monitor ? Yes ... but I don't think many developers are using it. A few things to check: Confirm that your Nios-II design and the include/configs/PK1C20.h file match up WRT reset address, exception address, etc. Also, did you build the example & program it to the EPCS or download it via JTAG? Or are you using the factory configuration? Regards, --Scott