Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
21 years ago

Nios-II boot monitor (u-boot)

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
No RepliesBe the first to reply