URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [hal/] [frv/] [frv400/] [current/] [misc/] [install_notes] - Rev 786
Compare with Previous | Blame | View Log
3 October, 2001Installing RedBoot on Fujitsu FRV400 system.Orient the motherboard like this:+-------------------------------------------------------------+| || |========================| |==========================| || |========================| |==========================| || CPU board || +-+-+ || |o|o| || |o|o| || |o|o| || |o|o| +-+ || |o|o| |o| Special power || |o|o| |o| cable to CPU board || |o|o| |o| || |o|o| |o| || +-+-+ +-+ || || ATX ||Power || +------------------------------+ || | | | || +------------------------------+ || PCI slot || || +------------------------------+ || | | | || +------------------------------+ || PCI slot || || +------------------------------+ || | | | || +------------------------------+ || PCI slot || || +--------+ +--------+ +--------+ || |xxoooooX| |oooooooo| |xxoxxxxx| R1 || +--------+ +--------+ +--------+ R || SW1 CLK1 CLK2 R SS==]| R SS ]| R SS ]| R SS==]| R || || || |+-------------------------------------------------------------+For the switches, x is down (on this diagram), o is up and Xwill be both.There is also a ribbon cable from the CPU board to the serialconnectors. Orient this cable so that the red stripe connectsto pin R1 and is at the bottom of the CPU board. Directionsare in the hardware installation guide, but this part wasn'tterribly clear to me.1. Bring up the existing Fujitsu board monitor.Attach a serial cable to the top serial port - 38400/8N1.Make sure that SW1-1 (X above) is up.Turn on power. You will also have to press the RED button.2. Download RedBoot into the FLASH.Using the attached programs (minicom has a terrible timewith ASCII downloads - use these instead), download thefrv.ROM image. Use these commands*************************************************************** VDK LOADER for FR400 (BOOT ROM:IC8) **** **** Version 1.02 **** ALL RIGHTS RESERVED, COPYRIGHT(C) FUJITSU LIMITED 2000 ***************************************************************Would you like to check SDRAM and SRAM ? (Y/N) : n>r 3f00000Flash ROM : IC7. OK ? (Y/N) YBlank checkBlank error !! Erase ? (Y/N) YErase..Work memory clearHex Data Offset Address=0x03F00000Recieve....At this point, send the file frv.ROM using simple ASCII protocol.Since minicom does this poorly, I use the attached 'dl_slow' script.I set up minicom like this:lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqkx Name Program Name U/D FullScr IO-Red. Multi xx A zmodem /usr/bin/sz -vv -b Y U N Y Y xx B ymodem /usr/bin/sb -vv Y U N Y Y xx C xmodem /usr/bin/sx -vv -k Y U N Y N xx D zmodem /usr/bin/rz -vv -b -E N D N Y Y xx E ymodem /usr/bin/rb -vv N D N Y Y xx F xmodem /usr/bin/rx -vv Y D N Y N xx G kermit /usr/bin/kermit -i -l %l -s Y U Y N N xx H kermit /usr/bin/kermit -i -l %l -r N D Y N N xx I ascii /usr/bin/ascii-xfr -dsv Y U N Y N xx J slow /home/gthomas/bin/dl_slow Y U N Y N xx K - xx L - xx M Zmodem download string activates... D xx N Use filename selection window...... No xx O Prompt for download directory...... No xx xx Change which setting? (SPACE to delete) xmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjYou'll know if the file is being transferred correctly by the LEDs doing alittle address dance (i.e. they are showing the address being loaded).When the download completes, you may need to hit 'enter' a couple of times.Then you should see:Write Start...Write OK!Verify Start...Verify OK!Complete !!>At this point, change SW1-1 to be down (x). Press reset (the bottom bluebutton on the CPU). You should get:+FLASH configuration checksum error or invalid keyRedBoot(tm) bootstrap and debug environment [ROMRAM]Non-certified release, version UNKNOWN - built 13:39:14, Oct 2 2001Platform: MB93091-CB10 evaluation board (Fujitsu FR400)Copyright (C) 2000, 2001, Free Software Foundation, Inc.RAM: 0x00000000-0x04000000, 0x00007000-0x03fed000 availableFLASH: 0xff000000 - 0xff200000, 32 blocks of 0x00010000 bytes each.RedBoot>Be sure and run 'fis init'.Notes:* There are two FLASH devices on the motherboard. Using SW1-1, they swapmemory addresses. We use one (IC7) and the Fujitsu loader uses the other.I see no reason (ATM) to replace the Fujitsu monitor other than to letRedBoot be the primary. This way, reverting SW1-1, at least you can alwaysreprogram RedBoot.CAUTION!! Do not change SW1-1 until after you've programmed RedBoot. Ifyou do it beforehand, you'll overwrite the Fujitsu monitor.
