Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

Nios-II boot monitor (u-boot)

Altera_Forum
Honored Contributor II
1,006 Views

Updated binary/source available at: 

 

http://www.psyent.com/download (http://www.psyent.com/download

 

u-boot for Nios-II now includes support for the EPCS controller core. Try 'help epcs'. 

Support includes: 

 

- Device identification 

- Read to memory 

- Write from memory 

- Verify from memory 

- Protection control 

 

u-boot for Nios-II now supports the following filesystems: 

 

- JFFS2 

- CRAMFS 

- FAT (12/16/32) 

 

Access to the Altera devkit CompactFlash in TrueIDE mode is also supported. 

However, unlike Nios-32, the Nios-II examples do not have CompactFlash 

support in the system module -- so you'll have to add it in yourself.  

You'll also have to configure and rebuild the u-boot sources to enable 

IDE/FAT support (IDE/FAT is not included in the new pre-built binary): 

 

In include/configs/PK1C20.h add the following to the CONFIG_COMMANDS 

macro: CFG_CMD_FAT and CFG_CMD_IDE. 

 

JFFS/CRAMFS is included in the pre-built binary. Two partitions are defined: 

 

0 : 0x0020_0000 (2MB) -- for linux kernel 

1 : 0x0080_0000 (1MB) -- sram for testing JFFS/CRAMFS images 

 

Use the chpart command to select the active partition. u-boot will automatically 

detect cramfs/jffs2. 

 

If you have problems or questions, please let me know. Enjoy. 

 

Regards, 

--Scott
0 Kudos
0 Replies
Reply