⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.ocotea-pibs-to-u-boot

📁 u-boot-1.1.6 for mini2440开发板。 支持网络下载
💻 OCOTEA-PIBS-TO-U-BOOT
字号:
------------------------------------------Installation of U-Boot using PIBS firmware------------------------------------------This document describes how to install U-Boot on the Ocotea PPC440GXEvaluation Board. We do not erase the PIBS firmware but install U-Boot in thesoldered FLASH. After this you should be able to switch between PIBS andU-Boot via the switch U46 SW1. Please check that SW1 is off (= open) beforecontinuing.Connect to the serial port 0 (J11 lower) of the Ocotea board using the cuprogram. See the hints for configuring cu above. Make sure you cancommunicate with the PIBS firmware: reset the board and hit ENTER a couple oftimes until you see the PIBS prompt (PIBS $). Then proceed as follows:Read MAC Addresses from PIBS----------------------------To read the configured MAC addresses available on your Ocotea board please usethe following commands:PIBS $ echo $hwdaddr0000173017FE3PIBS $ echo $hwdaddr1000173017FE4PIBS $ echo $hwdaddr2000173017FE1PIBS $ echo $hwdaddr3000173017FE2In U-Boot this is stored in the following environment variables:* Ethernet Address 0: ethaddr = 000173017FE3 (==> 00:01:73:01:7F:E3)* Ethernet Address 1: eth1addr = 000173017FE4 (==> 00:01:73:01:7F:E4)* Ethernet Address 2: eth2addr = 000173017FE1 (==> 00:01:73:01:7F:E1)* Ethernet Address 3: eth3addr = 000173017FE2 (==> 00:01:73:01:7F:E2)Configure the network interface (ent0 == emac0)-----------------------------------------------To download the U-Boot image we need to configure the ethernet interface withthe following commands:PIBS $ ifconfig ent0 192.168.160.142 netmask 255.255.0.0 upPIBS $ set ipdstaddr0=192.168.1.1status: writing PIBS variable value to FLASHPIBS $ set bootfilename=/tftpboot/ocotea/u-boot.binstatus: writing PIBS variable value to FLASHPlease insert correct parameters for your configuration (ip-addresses andfile-location).Program U-Boot into soldered User-FLASH---------------------------------------Please make sure to use a newer version of U-Boot (at least 1.1.3), sinceolder versions don't support running from user-FLASH.To program U-Boot into the soldered user-FLASH use the following command:PIBS $ storefile bin eth 0xffbc0000This commands loads the file vis ethernet into ram and copies it into theuser-FLASH.Switch to U-Boot----------------Now you can turn your board off and switch SW1 (U46) to on (= closed). Afterpowering the board you should see the following message:U-Boot 1.1.3 (Apr  5 2005 - 22:59:57)AMCC PowerPC 440 GX Rev. CBoard: AMCC 440GX Evaluation Board	VCO: 1066 MHz	CPU: 533 MHz	PLB: 152 MHz	OPB: 76 MHz	EPB: 76 MHzI2C:   readyDRAM:  256 MBFLASH:	5 MBPCI:   Bus Dev VenId DevId Class IntIn:    serialOut:   serialErr:   serialKGDB:  kgdb readyreadyNet:   ppc_440x_eth0, ppc_440x_eth1, ppc_440x_eth2, ppc_440x_eth3BEDBUG:ready=>April 06 2005, Stefan Roese <sr@denx.de>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -