mvista23ise.com

23ise.com  时间:2021-04-09  阅读:()
XAPP969(v1.
1)February23,2007www.
xilinx.
com12006-2007Xilinx,Inc.
Allrightsreserved.
AllXilinxtrademarks,registeredtrademarks,patents,andfurtherdisclaimersareaslistedathttp://www.
xilinx.
com/legal.
htm.
PowerPCisatrademarkofIBMInc.
Allothertrademarksandregisteredtrademarksarethepropertyoftheirrespectiveowners.
Allspecificationsaresubjecttochangewithoutnotice.
NOTICEOFDISCLAIMER:Xilinxisprovidingthisdesign,code,orinformation"asis.
"Byprovidingthedesign,code,orinformationasonepossibleimplementationofthisfeature,application,orstandard,Xilinxmakesnorepresentationthatthisimplementationisfreefromanyclaimsofinfringement.
Youareresponsibleforobtaininganyrightsyoumayrequireforyourimplementation.
Xilinxexpresslydisclaimsanywarrantywhatsoeverwithrespecttotheadequacyoftheimplementation,includingbutnotlimitedtoanywarrantiesorrepresentationsthatthisimplementationisfreefromclaimsofinfringementandanyimpliedwarrantiesofmerchantabilityorfitnessforaparticularpurpose.
SummaryThisapplicationnoteoutlinesthestepsforsettingupandusingtheEmbeddedDevelopmentKit(EDK)andLinux2.
6.
ItshowshowtosetupadevelopmentenvironmentandhowtorunLinux2.
6ontheembeddedIBMPowerPC405(PPC405)processoravailableontheML405EvaluationPlatform.
Thedocumentconsistsofthefollowingsections:"Introduction""InstallingtheSoftware""SettinguptheDevelopmentEnvironmentforLinux2.
6""StartingaDesign""BuildingtheLinux2.
6Kernel""GeneratinganACEFileandBootingLinuxonML405"IncludedSystemsThisapplicationnoteincludesaTemacadapterinthefollowingfile:www.
xilinx.
com/bvdocs/appnotes/xapp969.
zipIntroductionThisapplicationnoteoutlinesthestepsforgettingstartedwiththeEDK(8.
2.
02iversionandlater)andLinux2.
6forbothMontaVistaandWindRiverLinuxdistributions.
Table1liststherequiredtoolsforgettingstarted.
ApplicationNote:EmbeddedProcessingXAPP969(v1.
1)February23,2007GettingStartedwithEDKandLinux2.
6Author:SrikanthVemulaRTable1:RequiredToolsItemDetailsHostWorkstationAdeskPCoralaptopwithaCD-ROMdriveandsufficientharddiskspace.
TheWindRiverLinuxEdition1.
3canbeinstalledonaRedHatEnterpriseLinux(RHEL)WorkStation(WS)3,update5,andWS4,update1,fortheIntelX86platform.
TheMontaVistaLinuxProfessionalEdition4.
0.
1canbeinstalledonMicrosoftWindows2000XPSP1&SP2,RedHat9.
0,RHELWS3,RHELES3,Solaris8,SusePro9.
2,andSuseEnterprise9.
2fortheIntelX86platform.
CompactFlashwriterACompactFlashwriter.
MostofthesewritersareUSB-based.
ML405includingthefactoryCompactFlashcardSeehttp://www.
xilinx.
com/ml405.
XilinxISEinstallationCDsSeehttp://www.
xilinx.
com/isetopurchaseorevaluatethelatestXilinxISEtools.
InstallingtheSoftwareXAPP969(v1.
1)February23,2007www.
xilinx.
com2RInstallingtheSoftwareInstallingXilinxISEInserttheISECDintotheCD-ROMdriveandfollowtheinstallationinstructions.
Whenfinished,installanyrequiredServicePacks.
InstallingXilinxEDKInserttheEDKCDintotheCD-ROMdriveandfollowtheinstallationinstructions.
Whenfinished,installanyrequiredServicePacks.
InstallingLinux2.
6InstallingMontaVistaLinuxProfessionalEdition4.
0.
1forML40xFollowtheinstallationinstructionsgivenintheMontaVistaLinuxProfessionalEdition4.
0whichisavailableontheMontaVistawebsiteatwww.
mvista.
com.
InstallthefollowingCDs:1.
MontaVistaPro4.
0.
1HostBinariesCDforppc_4052.
MontaVistaPro4.
0.
1CrossBinariesCDforppc_4053.
MontaVistaPro4.
0.
1TargetBinariesCDforppc_4054.
MontaVistaPro4.
0.
1XilinxML40xLSPSCDTheinstallationofthefollowingCDsisoptional:1.
MontaVistaDevRocketVersion2.
0.
1CD2.
MontaVistaPro4.
0.
1DocumentationCDInstallingWindRiverLinuxEdition1.
3FollowtheinstallationinstructionsgivenintheWindRiverLinuxPlatformsGettingStarted1.
3whichisavailableontheWindRiverwebsiteatwww.
windriver.
com.
InstallthefollowingCDs:1.
WindRiverWorkbench2.
5.
0.
2.
Note:InstallthisCDfirst.
Theinstallationdirectorymustbespecifiedbytheuserduringthesetup.
2.
WindRiverGNUCompiler3.
4.
4forAllPlatforms,LinuxEdition1.
3forAllArchitectures3.
SetupFiles,Utilities,ReferenceSource,andDocumentationforAllPlatforms,LinuxEdition1.
3forAllArchitectures4.
CrossBuildSystemforBusyBoxRootFileSystemsforAllPlatforms,LinuxEdition1.
3forMIPSandPowerPC5.
CrossBuildSystemforStandardRootFileSystemforAllPlatforms,LinuxEdition1.
3forPowerPCXilinxEDKinstallationCDsSeehttp://www.
xilinx.
com/edktopurchaseorevaluatethelatestXilinxEDKtools.
Linux2.
6CDsandpatchesMontaVistaProfessionalEdition4.
0.
1forXilinxML40XLSPInstallationCDsorWindRiverLinuxEdition1.
3InstallationCDsandML405BSPpatchesTable1:RequiredTools(Contd)ItemDetailsSettinguptheDevelopmentEnvironmentforLinux2.
6XAPP969(v1.
1)February23,2007www.
xilinx.
com3RApplythefollowingpatches:1.
ApplythePPC405ArchitectureSupportPatchrequiredbyXilinxML300/ML403.
ThepatchisavailableontheWindRiverwebsiteasazipfile(gpple_pnele_1_3-ppc405_common.
zip).
Followtheinstructionsinthezipfileforapplyingthepatch2.
ApplytheGPP-LE1.
3forXilinxML403BSPpatches:ThepatchesareavailableontheWindRiverwebsiteasazipfile(gpple_pnele_1_3-xilinx_ml403.
zip).
FollowtheinstructionsinthezipfileforapplyingthepatchSettinguptheDevelopmentEnvironmentforLinux2.
6SetupthedevelopmentenvironmentforLinux2.
6beforestartingthedesign.
Createaprojectdirectorycalledml405_demo.
Fromthispointon,thisprojectdirectoryisreferredtoas.
Createasubdirectorynamedlinuxin.
SettingUptheDevelopmentEnvironmentforMontaVistaPro4.
0.
1Linux1.
OpenanewshellontheHostPCandsetuptheenvironmentbyexecutingthefollowingcommands:$cd/linux$exportPATH=$PATH:/opt/montavista/pro/devkit/ppc/405/binNote:ItisassumedthattheMontaVistaPro4.
0.
1hasbeeninstalledinthe/opt/montavistadirectory.
IfMontaVistaLinuxhasbeeninstalledonaWindowsmachine,thecommandstoopenanewmustberunonaMontaVistaCygwinshell.
2.
CopytheXilinxML40xLSPtothelinuxsubdirectoryoftheprojectdirectorybyexecutingthefollowingcommandsintheshell:$tarcf--C/opt/montavista/pro/devkit/lsp/xilinx-ml40x-ppc_405/linux-2.
6.
10_mvl401.
|tarxf-SettingUptheDevelopmentEnvironmentforWindRiverLinuxEdition1.
31.
OpenanewshellontheHostPCandsetuptheenvironmentbyexecutingthefollowingcommands:$cd/linux$/wrenv.
sh-pwrlinux-1.
3Note:Readthe/readme.
txtfileformoreinformationonrunningtheWindRivertools.
2.
Ifperlisinvokedfromthecurrentshell,confirmthat/usr/bin/perlisexecuted.
Otherwise,BSPbuildingprocessmayabortwitherrors.
$whichperl3.
CopytheXilinxML403BSPtothelinuxdirectoryintheprojectdirectorybyexecutingthefollowingcommand:$/wrlinux-1.
3/wrlinux/configure--enable-kernel=cgl--enable-board=xilinx_ml403--enable-rootfs=glibc_full4.
BuildthelinuxkerneltreeandrootfilesystembyrunningthefollowingcommandinashellopenedontheHostPCinthe/linuxdirectory:$makeall2>&1|teelinux_and_fs.
log&5.
FollowtheinstructionsgiveninChapter4.
DeploymentoftheWindRiverLinuxPlatformsGettingStarted1.
3todeploytherootfilesystem.
StartingaDesignXAPP969(v1.
1)February23,2007www.
xilinx.
com4RStartingaDesignThissectionoutlinesthestepstocreatethehardwaredesign,togeneratetheLinux2.
6BSP,andtogeneratethehardwarebitstreamfortheML405evaluationplatform.
BuildingthePowerPC405systemforML405StarttheXilinxPlatformStudio(XPS)andcreatetheEDKprojectinthedirectory.
UsingtheBaseSystemBuilder1.
ClickOKtostartanewdesignwiththeBaseSystemBuilderwizard.
2.
IntheCreateNewXPSProjectUsingBSBWizardwindow,clickOKtoacceptthedefaultsettings.
3.
IntheBaseSystemBuilder-Welcomewindow,clickNexttocreateanewdesign.
4.
IntheBaseSystemBuilder-SelectBoardwindow,choosethetargetboard.
SelectXilinxastheBoardVendor.
SelectVirtex4ML405EvaluationPlatformastheBoardName.
ClickNexttoacceptthesesettings.
5.
IntheBaseSystemBuilder-SelectProcessorwindow,clickNexttoacceptthePowerPCcontrollerastheprocessorforthedesign.
6.
IntheBaseSystemBuilder-ConfigurePowerPCwindow,selecttheprocessorandbusfrequenciestorun.
Select200.
00MHzfortheProcessorClockFrequencyand66.
67MHzfortheBusClockFrequency.
ClickNexttoacceptthesesettings.
SelectingConfigurationOptionsTheconfigurationoptionsfortheI/Ointerfacesaredisplayedinthesubsequentwindows.
Thenumberofwindowsdisplayeddependsonthescreenresolution.
ClickNexttoadvancetothenextwindow.
Accepttheparametersattheirdefaultvalueswhilemakingthefollowingselections:EnableRS232UART,chooseOPBUART16550asPeripheral,selectConfigureasUART16550,andselectUseInterrupt.
DisableLEDs4BitDisableLEDsPositionDisablePushButtonsPositionEnableIICEEPROMandselectUseInterruptEnableSysACECompactFlashandselectUseInterruptDisableCypressUSBEnableDDRSDRAM64Mx32,andchoosePLBDDRasPeripheralDisableEthernetMACEnableTriModeMACGMII,choosePLBTEMACasPeripheral,chooseScattergatherDMA,andselectUseInterruptDisableTriModeMACGMIIDisableSRAM256Kx32DisableFLASH2Mx321.
IntheClickNexttoacceptthedefaultsettingsintheBaseSystemBuilder-AddInternalPeripheralswindow.
2.
IntheBaseSystemBuilder-SoftwareSetupwindow,disabletheSampleapplicationselectionforboththeMemorytestandPeripheralselftest.
ClickNext.
3.
IntheBaseSystemBuilder-SystemCreatedwindow,whereanoverviewofthesystemisshown,clickGeneratetowritetheconfigurationtothedisk.
4.
IntheBaseSystemBuilder-Finishwindow,clickFinishtocompletetheBaseSystemBuilder.
StartingaDesignXAPP969(v1.
1)February23,2007www.
xilinx.
com5RModifyingtheSoftwareSettingsAfterreturningfromBaseSystemBuildertoXilinxPlatformStudio,theuserhasacompletehardwareproject.
MakethechangesoutlinedinthesubsequentstepstothesoftwarepartoftheprojecttoautomaticallygenerateaLinuxBoardSupportPackage(BSP).
1.
InXPS,selectSoftware→SoftwarePlatformSettingstoopenthesoftwaresettingsdialogbox.
2.
IntheOS&LibrarySettingssectionofthedialogbox,chooselinux_2_6astheoperatingsystem(OS)and1.
00.
aastheOSVersion.
3.
ClickontheOSandLibrariespaneforsettingsomeadditionalparametersnecessaryforgeneratingtheLinuxBSP.
a.
Clickthebuttonintheconnected_periphsfield.
IntheAdd/DeleteListofParameter-Valuesdialogbox.
Thefollowinglistofperipheralsisdisplayed:-RS232_Uart-IIC_EEPROM-SysACE_CompactFlash-TriMode_MAC_GMII-opb_intc_0ClickOKtoacceptthesettingsintheAdd/DeleteListofParameter-Valueswindow.
b.
TheML405has64MBofmemory.
Enter0x04000000tothememorysizeparametertoassignallthememoryforLinux.
c.
Settheuart16550busclockfreqparametertothesamevalueastheBusClockFrequencyintheBaseSystemBuilder.
Enter66666667intothisfield.
d.
ThetargetdirectoryparameterspecifiesthelocationwheretheLinuxBSPiscopied.
CopytheLinuxBSPdirectlyintotheLinuxkernelbeingusedforthedesign.
Enter/linuxforMontaVistaLinuxand/linux/dist/linux-2.
6.
14-cglforWindRiverLinux.
Note:Donotchangethevaluesfortheremainingparameters.
4.
IntheSoftwarePlatformSettingswindow,clickOKtoacceptthesettings.
5.
ClickontheApplicationstab,right-clickonDefault:ppc405_0_bootloop,andenableMarktoInitializeBRAMs.
Allthehardwareandsoftwaresettingsfortheprojecthavebeensuccessfullysetup.
BuildingtheBSPandHardwareFirstgeneratetheLinuxBSPandthenimplementthehardwaretobeabletoworkontheLinuxkernelwhileEDKbuildsthehardware.
1.
BuildtheLinuxBSPbyselectingSoftware→GenerateLibrariesandBSPsfromthemenu.
Byscrollingthroughthelogwindow,theuserisabletoseethattheLinuxBSPhasbeenbuilt.
2.
CopytheTemacadapterattachedwiththisapplicationnotetothe/linux/linux-2.
6.
10_mvl401/drivers/net/xilinx_temacdirectoryforMontaVistaLinuxortothe/linux/dist/linux-2.
6.
14-cgl/drivers/net/xilinx_temacdirectoryforWindRiverLinux.
Note:ThisstepisnotnecessaryforEDKversionslaterthan8.
2.
02i.
3.
BuildthehardwarebitstreambyselectingDeviceConfiguration→UpdateBitstreamfromthemenu.
BuildingtheLinux2.
6KernelXAPP969(v1.
1)February23,2007www.
xilinx.
com6RBuildingtheLinux2.
6KernelBuildingtheMontaVistaPro4.
0.
1KernelforML405Tobuildthelinuxkernel,runthefollowingcommandsintheshellopenedontheHostPCinthe/linuxdirectory:$exportPATH=$PATH:/opt/montavista/pro/devkit/ppc/405/bin$makebzImageNote:ThesecommandsarerunonaMontaVistaCygwinshellifMontaVistaLinuxhasbeeninstalledonaWindowsmachine.
BuildingtheWindRiverLinuxEdition1.
3KernelforML405RebuildthelinuxkernelbyrunningthefollowingcommandsintheshellopenedontheHostPCin/linuxdirectory:$/wrenv.
sh-pwrlinux-1.
3$make-Cdistlinux.
rebuild2>&1|teelinux.
kernel.
log&GeneratinganACEFileandBootingLinuxonML405ThehardwarebitstreamcreatedwiththehardwaredesignandtheELFfilecreatedwhencompilingLinuxarecombinedintoanACEfile.
TheACEfilewillthenbestoredontheCompactFlashthatisshippedwiththeML405andthekernelbooted.
GeneratinganACEFileforMontaVistaPro4.
0.
1KernelTogeneratetheACEfile(top.
ace),opentheEDKshellbyselectingProject→LaunchEDKShellandexecute:$xmd-tclgenace.
tcl-jprog-boardml405-hwimplementation/download.
bit-elflinux/arch/ppc/boot/images/zImage.
elf-acetop.
aceBootingMontaVistaPro4.
0.
1LinuxonML405InserttheCompactFlashfromtheML405intotheCompactFlashcardwriter.
Copythetop.
acefileintotheml405/myacedirectoryofthecompactflash.
RemoveanyotherACEfilesinthemyacedirectory.
RemovetheCompactFlashfromtheCompactFlashwriterandplugitintotheSystemACECFslotoftheML405board.
SettheSystemACECFswitchontheML405boardtoSystemACEandapplypowertotheboard.
Settheterminalto9600,8N1,andnohandshake.
Inthebootupmenu,selecttheoptionMyownACEfile.
TheusercanobservetheLinuxboot.
Loginwithusernameasrootusingthepassword405mlfortherootaccount.
GeneratinganACEFileforWindRiverLinuxEdition1.
3KernelThefilesystemontheCompactFlashprovidedwiththeML405boarddoesnotworkfortheWindRiverLinuxEdition1.
3.
TodeploytherootfilesystemontheCompactFlash,followtheinstructionsgiveninChapter4.
DeploymentoftheWindRiverLinuxPlatformsGettingStarted1.
3.
Togeneratethetop.
aceACEfile,opentheEDKshellbyselectingProject→LaunchEDKShellandexecuting:$xmd-tclgenace.
tcl-jprog-boardml405-hwimplementation/download.
bit-elflinux/dist/linux-2.
6.
14-cgl/arch/ppc/boot/images/zImage.
elf-acetop.
ace-start_address0x00400000-targetppc_hwConclusionXAPP969(v1.
1)February23,2007www.
xilinx.
com7RBootingWindRiverLinuxEdition1.
3onML405InserttheCompactFlashfromtheML405intotheCompactFlashcardwriter.
Copythetop.
acefileintotheml405/myacedirectoryofthecompactflash.
Removeanyotheracefilesinthemyacedirectory.
InserttheCompactFlashfromtheCompactFlashwriterintotheSystemACECFslotoftheML405board.
SettheSystemACECFswitchontheML405boardtoSystemACEandapplypowertotheboard.
Settheterminalto9600,8N1,andnohandshake.
Inthebootupmenu,selecttheoptionMyownACEfile.
TheusercanobservetheLinuxboot.
Loginwithusernameasrootusingthepasswordrootfortherootaccount.
ConclusionThisapplicationnotedescribesthestepsnecessarysettingupandusingtheEmbeddedDevelopmentKit(EDK)andLinux2.
6frominstallationtobootingtheLinuxkernelonaPowerPC405processoravailableontheML405EvaluationPlatform.
References1.
ML405DevelopmentSystem,Xilinx,Inc.
,http://www.
xilinx.
com/ml4052.
MontaVistaLinuxProfessionalEdition4.
0.
13.
WindRiverLinuxPlatformsGettingStarted1.
34.
AutomaticGenerationofLinux2.
6BoardSupportPackagesintheOSandLibrariesDocumentCollection,providedasapartoftheEDKinstallationin/doc/oslib_rm.
pdf.
RevisionHistoryThefollowingtableshowstherevisionhistoryforthisdocument.
DateVersionRevision12/4/061.
0InitialXilinxrelease.
2/23/071.
1RevisedfromML403EvaluationPlatformtoML405EvaluationPlatform.
Includedadapter.
csource.

新注册NameCheap账户几天后无法登录原因及解决办法

中午的时候有网友联系提到自己前几天看到Namecheap商家开学季促销活动期间有域名促销活动的,于是就信注册NC账户注册域名的。但是今天登录居然无法登录,这个问题比较困恼是不是商家跑路等问题。Namecheap商家跑路的可能性不大,前几天我还在他们家转移域名的。这里简单的记录我帮助他解决如何重新登录Namecheap商家的问题。1、检查邮件让他检查邮件是不是有官方的邮件提示。比如我们新注册账户是需...

酷锐云香港(19元/月) ,美国1核2G 19元/月,日本独立物理机,

酷锐云是一家2019年开业的国人主机商家,商家为企业运营,主要销售主VPS服务器,提供挂机宝和云服务器,机房有美国CERA、中国香港安畅和电信,CERA为CN2 GIA线路,提供单机10G+天机盾防御,提供美国原生IP,支持媒体流解锁,商家的套餐价格非常美丽,CERA机房月付20元起,香港安畅机房10M带宽月付25元,有需要的朋友可以入手试试。酷锐云自开业以来一直有着良好的产品稳定性及服务态度,支...

月神科技:香港CN2/洛杉矶CN2/华中电信高防vps,月付20元起

月神科技怎么样?月神科技是由江西月神科技有限公司运营的一家自营云产品的IDC服务商,提供香港安畅、香港沙田、美国CERA、华中电信等机房资源,月神科技有自己的用户群和拥有创宇认证,并且也有电商企业将业务架设在月神科技的平台上。目前,香港CN2云服务器、洛杉矶CN2云主机、华中电信高防vps,月付20元起。点击进入:月神科技官方网站地址月神科技vps优惠信息:香港安畅CN2-GIA低至20元核心:2...

23ise.com为你推荐
摩拜超15分钟加钱摩拜共享单车要交多少钱押金?小度商城小度智能音箱1s上面的黄圈不熄灭怎么回事,第一天还能熄灭广东GDP破10万亿想知道广东城市的GDP排名关键字关键词编故事百度关键词价格查询如何查到推广关键词的价钱?lunwenjiancepaperrater论文检测准确吗罗伦佐娜手上鸡皮肤怎么办,维洛娜毛周角化修复液百度关键词工具如何通过百度官方工具提升关键词排名百度关键词分析百度竞价关键词分析需要从哪些数据入手?www.5any.comwww.qbo5.com 这个网站要安装播放器
备案域名出售 堪萨斯服务器 128m内存 网络星期一 免费cdn加速 174.127.195.202 html空间 52测评网 jsp空间 域名和空间 服务器干什么用的 xuni 如何登陆阿里云邮箱 重庆联通服务器托管 windows2008 winserver2008r2 带宽测速 let 瓦工工具 免费免备案cdn 更多