install_notes
来自「eCos操作系统源码」· 代码 · 共 163 行
TXT
163 行
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 time with ASCII downloads - use these instead), download the frv.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 3f00000 Flash ROM : IC7. OK ? (Y/N) Y Blank check Blank error !! Erase ? (Y/N) Y Erase.. Work memory clear Hex Data Offset Address=0x03F00000 Recieve.... 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) xmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj You'll know if the file is being transferred correctly by the LEDs doing a little 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 blue button on the CPU). You should get: +FLASH configuration checksum error or invalid key RedBoot(tm) bootstrap and debug environment [ROMRAM] Non-certified release, version UNKNOWN - built 13:39:14, Oct 2 2001 Platform: MB93091-CB10 evaluation board (Fujitsu FR400) Copyright (C) 2000, 2001, Red Hat, Inc. RAM: 0x00000000-0x04000000, 0x00007000-0x03fed000 available FLASH: 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 swap memory 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 let RedBoot be the primary. This way, reverting SW1-1, at least you can always reprogram RedBoot. CAUTION!! Do not change SW1-1 until after you've programmed RedBoot. If you do it beforehand, you'll overwrite the Fujitsu monitor.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?