Linux(yong_bvcom@sina.com.cn)2003-6-23linux11linux12linux13linuxlinux21211212DHCP213TFTP214NFS2223PPCBOOT/U-BOOT31PPCBOOT/U-BOOT32U-BOOT321322CPU323334335336Makefile33733331332U-BOOT333334335336SDRAM337FLASH338FEC3393434134234335U-BOOT36Linux414114124134144243431432FLASHMTD433FEC444414424546Linux47471472Linux473DOC474FLASHJFFS2485152TCPSERVERCLIENTSNMPWEBMPC860TPPCBOOT/UBOOTLinuxSNMPWEBLinuxPPCBOOT/UBOOTLinuxlinux11linuxlinuxlinuxvxworkspsoslinuxinternetCPUPPCCOLDFIREARMX86MIPSlinuxvxworksLinuxlinuxlinuxlinuxMontavistaHardhatLinuxRTLinuxBluecatLinuxlinuxlinuxTCP/IPPPPIGMPIPV6ATM12linuxlinuxlinuxPCCPUCPUEEPROMFLASHROMCPUCDRAM/SDRAMLinuxBIOSLinuxBSPboardsupportpackageBootloaderBIOSCPULinuxkernelBIOSlinuxFTPWEBSNMPlinuxbootloaderlinuxkernel1linuxbootloaderlinux13linuxlinuxconsolePCflashDOCDiskOnChip2linux23210M100MHUBlinux21LinuxCPUPIII550SDRAM256MBHARDDISK20G100M232RedhatLinux8.0211PCCPUX868XXC8XXlinuxMontavistaCDKDENXFTPELDKCDKInstall8xx*/bin/ppc_8xx-gccppc_8xx-objcopyppc_8xx-ldELDKELDKMakefiletarmakeLinuxPPCReadmewhichppc_8xx-gcc212DHCPDHCPBOOTPIPMACDHCPD/etc/dhcpd.confddns-update-stylenone;allowbootp;subnet200.162.162.0netmask255.255.255.0{default-lease-time1209600;max-lease-time31557600;group{hostlinux-8xx{hardwareEthernet08:00:3e:26:9d:5b;fixed-address200.162.162.190;optionroot-path/dev/nfs;}}}dhcpd#/etc/init.d/dhcpdrestartdhcpd213TFTPTFTP#vim/etc/xinetd.conftftpdgramudpwaitroot/usr/sbin/tcdpin.tftpdtftpboot#mkdirtftpbootTFTPD#setupSystemservices214NFSNFSRootFilesystem/etc/exports:#cd/etc#vimexports/opt/nfsfilesystem/*(rw,insecure,sync,no_root_squash)/opt/nfsfilesystem/*TFTPnfs#/etc/init.d/nfsrestart22MPC860TCPUSDRAM/DRAM32MFLASHDOCFLASH8MDOC100MBCPUMPC860T80MHzSDRAM:32MBFLASH:8/16MBFEC100Mbrs232X223DENXFTP:ftp.denx.de.PPCBOOT/UBOOTELDKCDKLINUXKERNELu-boot0.2.0.tar.bz2/opt;#cd/opt#bzip2cdu-boot0.2.0|tarxfu-boot-0.2.0Internet://qslinux.org/://ppcboot.sourceforge.net/PPCBOOT/U-BOOT31PPCBOOT/U-BOOTppcboot8XXROMFADSROMPPCBOOT2.02.0U-BOOTDENXGPLu-boot-0.2.0u-boot-*.*.*,version.subversion.patchlevelportingu-boot-0.2.0BOOTPTFTPSERIALOpenBSD,NetBSD,FreeBSD,4.4BSD,Linux,SVR4,Esix,Solaris,Irix,SCO,Dell,NCR,VxWorks,LynxOS,pSOS,QNXNetBSDLinuxVxworksQNXCPUAlpha,ARM,Intelx86,IA64,MIPS,MIPS,PowerPC,IBMS390,SuperH,Sparc,Sparc64BitPowerPCU-BOOTREADME32U-BOOTU-BOOT3321U-BOOTMOTOROLAADSFADSboard//board/fadsFADSADSSDRAMFLASH322CPUU-BOOTPowerPCCPUCPU/CPU/cpu/mpc8xx/start.SU-BOOTserial.c/cpu/mpc8260/8260CPU323include//include/configs/FADS860T/include/configs/FADS860T.h/include/asm-ppc/include/configs/asm324CPU/common/U-BOOT/common/command.cU-BOOTenvironment.cPowerPC/lib_ppc/board.cCPU3U-BOOT335/net/arp.c,bootp.c,eth.c,tftp.cBOOTPTFTP336MakefileMakefileU-BOOT337U-BOOTSDRAMFLASHFADS/cpu/mpc8xx/serial.cSDRAM:/board/fads/fads.cFLASH:/board/fads/flash.cETHERNET:/cpu/mpc8xx/scc.cFASTETHERNET:/cpu/mpc8xx/fec.c33U-BOOTU-BOOT331U-BOOT#cd/opt/u-boot-0.2.0,U-BOOTREADMEFADS860T#makeFADS860T_configrmfinclude/config.hinclude/config.mkConfiguringforFADS860Tboard#makeu-boot.srecu-boot.binu-boot,U-BOOTU-BOOTU-BOOT332U-BOOTCPUFLASH/cpu/mpc8xx/start.SCPU(FLASH)/cpu/mpc8xx/cpu_init.cFLASH/lib_ppc/board.c(cpu/mpc8xx/serial.c,sdramboard/fads/fads.c)RAM/lib_ppc/board.c33MakefileFADS860TMakefileFADS860T_config:unconfig@./mkconfig$(@:_config=)ppcmpc8xxfadsSUMMER860T_config:unconfig@./mkconfig$(@:_config=)ppcmpc8xxfadsppcCPUmpc8xxCPUfadsMakefileSUMMER860T_configSUMMER860T.h,/include/configs/FADS860TSUMMER860T.h:#cd/opt/u-boot-0.2.0/include/configs#cpFADS860T.hSUMMER860T.h#makeSUMMER860T_config#makeOKFADS860T334/include/configs/SUMMER860T.hFADS#defineCONFIG_MPC8601#defineCONFIG_MPC860T1MPC860CPUCPUMPC860TFEC#defineCONFIG_FADS1FADSSDRAM#defineCONFIG_8xx_CONS_SMC11SMC1CONSOLE#defineCONFIG_BAUDRATE19200#defineMPC8XX_FACT1FADS121#defineMPC8XX_XIN50000000/*4MHzin*/FADS860T4MHz50MHz#defineMPC8XX_HZ((MPC8XX_XIN)*(MPC8XX_FACT))#undefCONFIG_WATCHDOG/*watchdogdisabled*/WATCHDOG#defineCFG_SDRAM_BASE0x00000000SDRAM#defineCFG_FLASH_BASE0x02800000FLASH0x2800000#defineCFG_FLASH_SIZE((uint)(2*1024*1024))/*max8Mbyte*/FLASH2MB8MB#defineCFG_ENV_IS_IN_FLASH1U-BOOTFLASHFLASH#defineCFG_ENV_OFFSET0x1fc000FLASHTOP-BOOT-SECTORBOTTOM-BOOT-SECTORSECTORTOP-BOOT-SECTORU-BOOTFLASHSECTORFLASH#defineCFG_ENV_SIZE0x4000/*TotalSizeofEnvironmentSector*/U-BOOT#defineCFG_ENV_SECT_SIZE0x4000/*seeREADMEenvsectortotalsize*/U-BOOTFLASHSECTORREADMEu-boot.lds,#defineCFG_IMMR0xff0000000xff000000,64KMEMORYCONTROLLEROR0OR7BR0-BR7MAMR/MBMRORBRCS0CS7335CPU/cpu/mpc8xx/start.SCPU/cpu/mpc8xx/cpu_init.c860UMCPU/lib_ppc/board.cboard_init_r()/cpu/mpc8xx/serial.cFADSCPLDBCSRcheck_cpu(),check_board(),check_board()FADSBCSR336SDRAMFLASHU-BOOTMPC860TRAM32MBSDRAMSDRAM/board/fads/fads.cSDRAMUPMUPMUPMSDRAMSDRAMSDRAMPOWERUPUPMSDRAM/lib_ppc/board.cboard_init_f()intidram()337FLASHSDRAMU-BOOTSDRAMSDRAMCPUCONSOLE/lib_ppc/board.cboard_init_r()FLASHFLASH/board/fads/flash.cFLASHflash_info_tflash_info[CFG_MAX_FLASH_BANKS]FLASHFLASHFLASH8bit,16bit32bitFL