TXubuntu12.04

ubuntu12.04  时间:2021-03-29  阅读:()
Chapter1HardwareandSoftwareIntroductionsofpcDuinopcDuinoisahighperformance,costeffectiveminiPCplatformthatrunsPClikeOSsuchasUbuntuLinux.
ItoutputsitsscreentoHDMIenabledTVormonitorviathebuiltinHDMIinterface.
Itisspeciallytargetedforthefastgrowingdemandsfromtheopensourcecommunity.
TheplatformcouldrunfullblownPClikeOSwitheasytousetoolchainandcompatiblewiththepopularArduinoecosystemsuchasArduinoShieldsandopensourceprojectsetc.
ItcanalsorunAndroid4.
0ICS.
ThehardwarespecificationofpcDuinoisasfollows:ItemsDetailsCPUAllWinnerA10SoC,1GHzARMCortexA8GPUOpenGLES2.
0,OpenVG1.
1Mali400coreDRAM1GBOnboardStorage2GBFlashMicro-SDcardslotforupto32GBVideoOutputHDMIOSLinux3.
0+Ubuntu12.
04AndroidICS4.
0ExtensionInterfaceArduinoHeadersNetworkinterfaceUSBWiFiextension(notincluded)Ethernet10/100MbpsPower5V,2AThefollowingaretopandbottomviewsofpcDuino:pcDuinotargetsfortwomarketsprimarily,i.
e.
,theRaspberryPiminiPCmarketandArduinomarketasopen-sourceelectronicsprototypingplatform.
WithpcDuino,usercoulddolotsoffunstuffincludingbutnotlimitedtothefollows:LearnorteachprogrammingWorkwithhardwareportUseInternetbrowserorOfficefromUbuntuLearnUbuntulinuxCreatemediacenterwithXBMCPlaygameDIYprojectsRequiredAccessoriesMicro-USBportpoweradaptor(5V,2000mA)DisplaywithHDMIportHDMIcableIfyoudonthaveaHDMImonitor,youcanuseHDMItoDVIcabletoconnecttoaDVImonitororaHDMItoVGAcabletoconnecttoaVGAmonitor.
USBkeyboard(must)USBHubandUSBmouse(optionalbutstronglyrecommended)SomeDupontLinestoconnectpcDuinowithtestdevicesMicro-SDcardanditscardreaderNote:Beforerunthefollowingsamples,ConnectpcDuinowiththedevicescorrectly:USBhostport=>USBhub=>keyboard&mouseHDMIport=>HDMIcable=>HDMIdisplaypcDuinoboardI/OinterfacedescriptionThedetailedschematicscanbedownloadedfrom:https://s3.
amazonaws.
com/pcduino/Hardware/PC+Duino_V01-20130128.
pdfHereisthelistofI/OinterfacesonpcDuinoboard.
1.
14digitalpinsforGPIO:GPIOmaxoutcurrentis4mA.
2.
OneUARTRX,oneUARTTX3.
TwoPWMpins,supportupto24MHz.
4.
SixADCpins,ADC0andADC1are6bitsresolution,whiletherestare10bitsresolution.
5.
FourSPIpins6.
TwoI2CpinsItsupportstoconnectanyArduinoshieldwithpcDuinoviaanyoftheaboveI/Ointerfaces.
ItallowsusingpcDuinowiththesamecodeusedinArduino.
SoftwarepcDuinosupportsbothUbuntuLinuxandAndroid4.
0ICS.
Whenthebookiswritten,thelatestreleaseversionofUbuntuforpcDuinois20130531.
UbuntuThefactorydefaultinstallationisUbuntuinNANDflash.
UbuntucanbootfromeitherNANDflashorabootablemicroSDcard.
UbuntuinNANDflash:IfwewanttoreinstallUbuntuorupdateUbuntuinNANDflash,therearetwooptions:InstallUbuntuusingmicroSDcards.
InstallUbuntuusingthroughUSBportusingLivesuit.
Inthefollowingwearegoingtointroduceeachone.
HowtoinstallUbuntuusingmicroSDcards:Theinstallationprocessinvolvestwosteps:1)InstallLinuxkernel(usemicroSDcard#1)and2)InstallUbuntufilesystem(usemicroSDcard#2oraUSBflashdrive,whichneedstobeformattedasFAT).
ThemicroSDcardshouldbe2GBminimal.
IneverypcDuinoubunturelease,therearetwoversionsofkernelimage.
OneisforPhonexcardtoolthatisusedtocreatemicroSDcard#1(ThisisthesamefilethatisusedbyLivesuit,whichwillbediscussedlater).
TheotherisforWin32DiskImager(windows)ordd(underlinux)thatisusedtocreatemicroSDcard#1.
Phonexcardcanbedownloadedfromhttps://s3.
amazonaws.
com/pcduino/Tools/PhoenixCardV306_20120302.
rarWin32DiskImagercanbedownloadedfrom:https://s3.
amazonaws.
com/pcduino/Tools/win32diskimager-v0.
7-binary.
ziporhttp://sourceforge.
net/projects/win32diskimagerBurnthekernelinLinuxPCa)Insertthemicro-SDcardtoLinuxPCorpcDuino,thecardwillbemountedautomatically.
Tocontinue,un-mountallthepartitionsonthecard.
Forexample,IftheSDhastwopartitions:$sudoumount/dev/mmcblk0p1$sudoumount/dev/mmcblk0p2b)Thenburnthedownloadedandunzippedimagefile(a10_kernel_disk32imager_20130403.
img)tothemicro-SDcardwiththefollowingcommand:$sudoddif=/udisk/a10_kernel_disk32imager_20130403.
imgof=/dev/mmcblk0bs=1M$sudosyncTheof=/dev/mmcblk0pointstothemicro-SDcard.
Cautions:Don'tuse"of=/dev/xxx"topointtoyourharddisk.
Itwilldestroythecontentsinyourharddisk.
Nowthemicro-SDcardisreadyforusetoburntheOSimagetointernalflash.
c)BurntheOSimagetointernalflashfrommicro-SDcardi.
Plugthemicro-SDcardtothepcDuino,powerontheboard,andthenwaitforoneminuteii.
EjecttheTFcardandresetthedevice.
IfyouseetheRXLEDstayson,andtheTXLEDisblinking,thekernelisupdatedsuccessfullyBurnthekernelinMACOSPCa)OpentheterminalinMacOS,insertthemicro-SDcard,thecardwillbemountedautomatically.
Tocontinue,un-mountallthepartitionsonthecard.
Forexample,IftheSDhastwopartitions:$sudoumount/dev/disk1s1$sudoumount/dev/disk1s2IftheSDcardisfailedtoumount,youcanusethefollowingscripttoforceumount:$sudodiskutilumountforce/dev/disk1s1$sudodiskutilumountforce/dev/disk1s2b)Thenburnthedownloadedandunzippedimagefile(a10_kernel_disk32imager_20130403.
img)tothemicro-SDcardwiththefollowingcommand:$sudoddif=/udisk/a10_kernel_disk32imager_20130403.
imgof=/dev/disk1bs=1mTheof=/dev/disk1pointstothemicro-SDcard.
Afterthiscommandiscomplete,yourMacPCwillpopupthemessage"can'tidentifytheSDcard"thatindicatesthefilesysteminyourcardisunknowntoMacPCnow.
Cautions:Don'tuse"of=/dev/xxx"topointtoyourharddisk.
Itwilldestroythecontentsinyourharddisk.
Nowthemicro-SDcardisreadyforusetoburntheOSimagetointernalflash.
c)BurntheOSimagetointernalflashfrommicro-SDcardi.
Plugthemicro-SDcardtothepcDuino,powerontheboard,andthenwaitforoneminuteii.
EjecttheTFcardandresetthedevice.
IfyouseetheRXLEDstayson,andtheTXLEDisblinking,thekernelisupdatedsuccessfullyAfterwecreatemicroSDcard#1,insertmicroSD#1intotheSDslot,andpowercycletheboard.
WhentheboardstartstoburnimagefilefromSDcardtoflash,theTXLEDwillblinkslowly.
Waitforaboutoneminute,ifthekernelisupdatedsuccessfully,theLEDswillbeoff.
Now,wearereadytoflashUbuntufilesystemtoNANDflash.
IneverypcDUinoUbunturelease,thereisafileballnamedUbuntu,thisisUbuntufilesystem.
DownloadtheUbuntufile,andunzipittogettwofileslikethese:-Update.
sh:shellscriptforUbuntuupdate-Ubuntu_xxx.
img:imagefileforUbuntuCopythetwofilestomicroSD#2oraUSBflashdrive,whichmustbeformattedasFAT.
PowercyclepcDuino,youwillseebootinginformationonthescreen,andpluginmicroSD#2orUSBflashdrivewhenthemessageshowingthatitislookingforadiskcontainingUbuntufilesystem.
Thescreenwillshows"Itwilltakeabout10minutestofinish…".
Pleasewaitpatientlyandthescreenwillpromptthatitfinishedupdating.
Whenthatisdone,removethemicroSDcard,andpowercyclepcDuino.
Tips:ThemicroSDcard#1isspeciallycreatedtoallowittoberecognizedbytheROMBOOToftheboard.
ToavoidtheunexpectedupdateofpcDuino,wecanusethePhoenixCardtorestoreittonormalandcleancardi.
Plugyourmicro-SDcardtoyourPC,run"PhoenixCard.
exe".
ii.
Selectthemicro-SDcardinthediskscrollwindow,andchoose"FormattoNormal"torestorethecard.
HowtoinstallUbuntuusingLiveSuit:LiveSuitisafreetoolwhichcanupgradefirmwarebyUSBdevice.
Tousethistool,youmustinstalltwoUSBdrivers.
Youcandownloadthetoolanddriversandreadtheusermanualfrom:https://s3.
amazonaws.
com/pcduino/Tools/Livesuit.
rarNote:LiveSuitisnotverystableonWindowsVistaorWindows7,anditdoesnotworkwellon64bitsCPU.
Sothistoolisnotrecommended.
UbuntuinbootablemicroSDcard:IneverypcDUinoUbunturelease,thereisafilenamedSDbootableimage.
ThisfileisintendedtocreateabootablemicroSDcard,sowecanputallofourapplicationanddataontheSDcardinsteadofthespace-limitedNANDflash.
Steps:1.
DownloadthebootablemicroSDcardimage.
2.
Unzipitandgetxxx.
img3.
Burntheunzippedimagefileabovetothemicro-SDcardwithwin32diskimagerorddinLinuxPCorpcDuino4.
Plugthemicro-SDcardintopcDuinoandpowercyclepcDuino.
5.
Ubuntuwillbeuprunning.
Bydefault,thefilesystemonlyuses2GB.
IfyouhaveamorespaceonyourSDcard,itisnotusedbydefault.
WearegoingtouseascripttoexpandthefilesystemtothewholeSDcard.
$wgethttps://s3.
amazonaws.
com/pcduino/SampleCode/System/expandFS/expand_sdcard_rootfs.
sh$sudobash.
/expand_sdcard_rootfs.
shAftertheexpansion,werebootpcDuinoby:$sudorebootAfterreboot,werun:sudoresize2fs/dev/mmcblk0p2Checkthestoragespaceagainusing$df-hBackupNANDtoaSDcard,andbootfromSDcardpcDuinohasanonboardNANDof2GB.
Whenwearedoingheavydutyprojectdevelopment,wecaneasilyeatupallthespace.
Whenthathappens,weneedawaytomovealltheprogramanddatafromNANDtoaSDoflargercapacityandmakethatSDbootable.
Thekeyfunctionwearegoingtouseis:make_mmc_boot"Clonesystemfromnandtommccard"ThisfunctionwillcopytheentirecontentinNANDtoaSDcard.
Thisisequivalenttoflashanmmc-bootimage.
Thebenefitisthatusersstillkeeptheirownprogram/data.
WhenthespaceofNANDisnotenough,wecanusetheSDcardtoreplacethesysteminNAND.
Whenthebookiswritten,thelatestimagereleaseis20130531.
Intheoriginalimage20130513,theabovementionedfunctionisnotthereinboard-config.
Weneedtodoanupdateinboard-configtomakeitavailable.
Therearetwowaystorunboard-config.
Oneistorunthatafterreset.
Theotheristorunitinterminal.
Inthefollowing,wearegoingtousethesecondapproach.
Wetype:$sudoboard-config.
shNext,wearegoingtochooseUpdate:Thenwechooseconfig:Afterthat,pcDuinowillcheckforupdate:PressY,andaftertheupdateisdown,exitandre-run:$sudoboard-config.
shTheoption"make_mmc_boot"willdisplayinthemenu:PluginaSDcard(inourcase,acardof16GB)totheSDslot,andpress"ENTER":Ittakessometimetobackup:Afteralongwait,wewillgetthefollowingmessage:WerebootpcDuino,andcheckthestoragespaceusing:$df–hIntheabovefigure,wecanseethatalthoughtheSDcardisofcapacity16GB,itonlyshowsupas2GB.
WearegoingtouseascripttoexpandthefilesystemtothewholeSDcard.
$wgethttps://s3.
amazonaws.
com/pcduino/SampleCode/System/expandFS/expand_sdcard_rootfs.
sh$sudobash.
/expand_sdcard_rootfs.
shAftertheexpansion,werebootpcDuinoby:$sudorebootAfterreboot,werun:sudoresize2fs/dev/mmcblk0p2Checkthestoragespaceagainusing$df-hWecanseethatwegetafullaccesstotheSDcard.
AndroidThefactorydefaultinstallationisUbuntuinNANDflash.
AndroidinNANDflash:IfwewanttoreinstallAndroidorupdateAndroidinNANDflash,therearetwooptions:InstallUbuntuusingmicroSDcards.
InstallUbuntuusingthroughUSBportusingLivesuit.
Inthefollowingwearegoingtointroduceeachone.
HowtoinstallAndroidusingmicroSDcard:1.
DownloadtheAndroidoperatingsystemforpcDuinoThedownloadlinkis:http://www.
pcduino.
com/page_id=14FindthelinkforAndroidimage,downloaditandgetonefilewith.
imgextension.
Phonexcardcanbedownloadedfromhttps://s3.
amazonaws.
com/pcduino/Tools/PhoenixCardV306_20120302.
rar2.
WritepcDuinoAndroidimagetomicro-SDcard(a)Plugyourmicro-SDcardtoyourPC,run"PhoenixCard.
exe".
Youwillseesomethinglikethis:(b)ChoosetheAndroidimagefilepcduino_Android_xxx.
imgthatyou'vedownloadedandwriteittothemicro-SDcardAfterafewminutes,themicro-SDcardisreadytouse.
3.
BurntheOSimagetointernalflashfrommicro-SDcarda)Plugthemicro-SDcardtothepcDuinoandthenpowerontheboard.
Waitforaboutfourminutesb)Ejectthemicro-SDcardandresetthedevice*Wehaveacatchinstep(a).
Wedon'thaveanyLEDtoindicatewhenthebootimageisburnedcompletelyunlessyouconnectthehyperterminaltopcDuino,sopleasewaitforfourminutespatiently.
Moreover,pleaseejecttheTFcardbeforeresettingthedevice.
Otherwise,itwillstarttoburntheOSimageagainiftheTFcardisinserted.
4.
Restorethemicro-SDcardcreatedThemicro-SDcardisspeciallycreatedtoallowittoberecognizedbytheROMBOOToftheboard.
ToavoidtheunexpectedupdateoftheAndroidOS,usethePhoenixCardtorestoreittonormalandcleancardiii.
Plugyourmicro-SDcardtoyourPC,run"PhoenixCard.
exe".
iv.
Selectthemicro-SDcardinthediskscrollwindow,andchoose"FormattoNormal"torestorethecard.
HowtoinstallAndroidusingLiveSuit:LiveSuitisafreetoolwhichcanupgradefirmwarebyUSBdevice.
Tousethistool,youmustinstalltwoUSBdrivers.
Youcandownloadthetoolanddriversandreadtheusermanualfrom:https://s3.
amazonaws.
com/pcduino/Tools/Livesuit.
rarNote:LiveSuitisnotverystableonWindowsVistaorWindows7,anditdoesnotworkwellon64bitsCPU.
Sothistoolisnotrecommended.
UsepcDuinoasanminiPCplatform1)pcDuinoandUbuntupcDuino&UbuntusupportcustomizedUbuntulinux12.
04thatisspeciallyoptimizedforrunningonARMcortexplatformwithlimitedDRAMandNANDflashsupport.
ThedevicecouldbeoperatedwiththeUSBmouseandkeyboard.
Thesupportedapplicationlistconsistsofthefollows:ItemsDetailsTerminalUsebuildin"LXTerminal"applicationfromdesktopLaunchterminalapplication,runstandardlinuxcommandsorvieditoretc.
LaunchC/C++compile(usegcc),assemblyandexecutionFilebrowserUsebuildinFileManagerfromdesktopUsedfortypicalfilemanagementInternetbrowserUsechromiumwebbrowserfromdesktopSupportHTML5OfficeUseDocumentViewerfromdesktopforPDFfileviewUseGnumericfromdesktopforExcelfileviewandeditUseAbiWordfromdesktopforWordfileviewandeditMovieplayerUseMPlayerfromdesktopCouldplaybackaudio,videoandimageServersVNCserverSSHDevelopmentArduinoIDEforpcDuinoNote:Therootuserandpasswordare"ubuntu".
6.
2pcDuinoandAndroidpcDuinoboardsupportscustomizedandroid4.
0thatisspeciallyoptimizedforHD-TVoutputdisplaydevices.
ThedevicecouldbeoperatedwiththeUSBmouseandkeyboard.
Thesupportedapplicationlistconsistsofbutnotlimitedthefollows:ItemsDetailsFilebrowserUsebuildinFileManagerUsedfortypicalfilemanagementInternetbrowserUsewebbrowserfromdesktoporGoogleSearchwidgetSupportHTML5CalendarGoogleCalendarGmailVisitGmailaccountsPeopleGooglecontactsappsAppStoreUseGoogle"playstore"todownloadthird-partyappsMusicAndroidbuilt-inmusicplayerMovieplayerbuilt-inSuper-HDPlayertoplaylocalmovies

2021年7月最新洛杉矶CN2/香港CN2 vps套餐及搬瓦工优惠码 循环终身优惠6.58%

搬瓦工怎么样?2021年7月最新vps套餐推荐及搬瓦工优惠码整理,搬瓦工优惠码可以在购买的时候获取一些优惠,一般来说力度都在 6% 左右。本文整理一下 2021 年 7 月最新的搬瓦工优惠码,目前折扣力度最大是 6.58%,并且是循环折扣,续费有效,可以一直享受优惠价格续费的。搬瓦工优惠码基本上可能每年才会更新一次,大家可以收藏本文,会保持搬瓦工最新优惠码更新的。点击进入:搬瓦工最新官方网站搬瓦工...

iON Cloud七月促销适合稳定不折腾的用户,云服务器新购半年付8.5折,洛杉矶/圣何塞CN2 GT线路,可选Windows系统

iON Cloud怎么样?iON Cloud今天发布了7月份优惠,使用优惠码:VC4VF8RHFL,新购指定型号VPS半年付或以上可享八五折!iON的云服务器包括美国洛杉矶、美国圣何塞(包含了优化线路、CN2 GIA线路)、新加坡(CN2 GIA线路、PCCW线路、移动CMI线路)这几个机房或者线路可供选择,有Linux和Windows系统之分,整体来说针对中国的优化是非常明显的,机器稳定可靠,比...

老薛主机入门建站月付34/月,年付345元,半价香港VPS主机

老薛主机怎么样?老薛主机这个商家有存在有一些年头。如果没有记错的话,早年老薛主机是做虚拟主机业务的,还算不错在异常激烈的市场中生存到现在,应该算是在众多商家中早期积累到一定的用户群的,主打小众个人网站业务所以能持续到现在。这不,站长看到商家有在进行夏季促销,比如我们很多网友可能有需要的香港vps主机季度及以上可以半价优惠,如果有在选择不同主机商的香港机房的可以看看老薛主机商家的香港vps。点击进入...

ubuntu12.04为你推荐
网罗设计计算机网络设计主要干什么newworldNew World Group是什么组织硬盘的工作原理简述下硬盘的工作原理?18comic.funAnime Comic Fun是什么意思啊 我不懂英文百花百游“百花竟放贺阳春 万物从今尽转新 末数莫言穷运至 不知否极泰来临”是什么意思啊?同ip域名什么是同主机域名seo优化工具想找一个效果好的SEO优化软件使用,在网上找了几款不知道哪款好,想请大家帮忙出主意,用浙江哪款软件效果好同ip站点同ip站点很多有没有影响?777k7.comwww.777tk.com.怎么打不 开www.55125.cnwww95599cn余额查询
php主机租用 winscp enzu vps.net 最好看的qq空间 gg广告 太原联通测速平台 电子邮件服务器 jsp空间 双线主机 美国网站服务器 东莞服务器 跟踪路由命令 河南移动梦网 美国盐湖城 lamp怎么读 测速电信 国外代理服务器 cdn加速 paypal登陆 更多