URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [calmrisc16/] [ceb/] [current/] [misc/] [readme.txt] - Rev 786
Compare with Previous | Blame | View Log
RedBoot for the Samsung CalmRISC16 core evaluation boardMay 7th 2001README========================================================================This ReadMe contains instructions for running Redboot on the SamsungcalmRISC16 core evaluation board, and building RedBoot and ecosconfig.You will need the GNUPro calmrisc16-elf toolchain which should beinstalled in /usr/cygnus.Overview--------This implementation of RedBoot supports the calmRISC16 core evaluation board.The core board has no communication channel and requires an MDSChip board toprovide a serial channel for host communication. The calmRISC16 is a harvardarchitecture with separate 22-bit program and data addresses. The instructionset provides no instruction for writing to program memory. The MDSChip boardfirmware (called CalmBreaker) provides a pseudo register interface so thatcode running on the core has access to a serial channel and a mechanism towrite to program memory. The serial channel is fixed at 57600-8-N-1 by thefirmware. The CalmBreaker firmware also provides a serial protocol whichallows a host to download a program and to start or stop the core board.Downloading and running RedBoot--------------------------------All storage on the core board is volatile, so RedBoot must be downloaded tothe board after every power cycle. Downloads require the use of a utilityprogram. The source file and build instructions for this utility are providedin the RedBoot sources at:.../packages/hal/calmrisc16/ceb/current/supportTo download the RedBoot image, first press the reset button on the MDSChipboard. The green 'Run' LED on the core board should go off. Now, use theutility to download the RedBoot image with:% calmbreaker -p /dev/term/b --reset --srec-code -f redboot.elfNote that the '-p /dev/term/b' specifies the serial port to use and will varyfrom system to syetm. The download will take about two minutes. After itfinishes, start RedBoot with:% calmbreaker -p /dev/term/b --runThe 'Run' LED on the core board should be on. Connecting to the MDSboard witha terminal and typing enter should result in RedBoot reprinting the commandprompt.Rebuilding RedBoot------------------Assuming that the provided RedBoot source tree is located in the currentdirectory, the build process is:% export TOPDIR=`pwd`% export ECOS_REPOSITORY=${TOPDIR}/packages% mkdir ${TOPDIR}/build% cd ${TOPDIR}/build% ecosconfig new calm16_ceb redboot% ecosconfig import ${ECOS_REPOSITORY}/hal/calmrisc16/current/misc/redboot_ROM.ecm% ecosconfig tree% makeBuilding ecosconfig-------------------An ecosconfig binary is supplied in the bin directory, but you may wishto build it from source.Detailed instructions for building the command-line tool ecosconfigcan be found in host/README. For example:mkdir $TEMP/redboot-buildcd $TEMP/redboot-build$TOPDIR/host/configure --prefix=$TEMP/redboot-build --with-tcl=/usrmake
