- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is for if you've got the Nios II Development Kit, Cyclone II Edition and you want to use U-Boot on it. I've attached a patch that adds support for that kit's "standard" example design. The patch is for U-Boot 1.1.4.
To use:cd ???/u-boot-1.1.4
patch -p1 < ???/u-boot-1.1.4-n2dkc2.patch
make EP2C35_config
make all
The configuration puts the console on the JTAG UART. The patch also includes support for several other Altera boards from a custom U-Boot 1.1.3 version by Psyent. Note: the patch also changes the tool names used from nios2-elf-* to nios2-linux-uclibc-*, so change it back if you're on Cygwin.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Just to be clear on small, but important point:
> The patch also includes support for several other Altera boards from a custom > U-Boot 1.1.3 version by Psyent. The sources at psyent.com are not custom at all ... they are taken directly from the u-boot souce tree and contain all Nios-related patches that have been submitted to the u-boot project. Any changes are simply the elimination of warnings or build errors for the typical development environment (cygwin). Unfortunately, the u-boot project is _very_ busy and patches can now take as long as several months to be applied. All of the boards supported by the code at psyent are part of pending u-boot patches. Hopefully, this long delay between submitting patches and their application to the main source tree should improve now that u-boot is using git. I'm currently evaluating the feasibility of setting up a git repository for nios development -- to make the latest nios patches available immediately and still maintain sync with the latest platform independent code. > the patch also changes the tool names used from nios2-elf-* to nios2-linux-uclibc-* The normal way to do this with u-boot is to simply set CROSS_COMPILE with the make command: $ make CROSS_COMPILE=nios2-linux-uclibc- Regards, --Scott
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page