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

VPS云服务器GT线路,KVM虚vps消息CloudCone美国洛杉矶便宜年付VPS云服务器补货14美元/年

近日CloudCone发布了最新的补货消息,针对此前新年闪购年付便宜VPS云服务器计划方案进行了少量补货,KVM虚拟架构,美国洛杉矶CN2 GT线路,1Gbps带宽,最低3TB流量,仅需14美元/年,有需要国外便宜美国洛杉矶VPS云服务器的朋友可以尝试一下。CloudCone怎么样?CloudCone服务器好不好?CloudCone值不值得购买?CloudCone是一家成立于2017年的美国服务器...

IMIDC(rainbow cloud):香港/台湾/日本/莫斯科独立服务器特价,闪购大促销,最低30usd/月起

imidc怎么样?imidc彩虹网路,rainbow cloud知名服务器提供商。自营多地区数据中心,是 Apnic RIPE Afrinic Arin 认证服务商。拥有丰富的网路资源。 在2021年 6.18 开启了输血大促销,促销区域包括 香港 台湾 日本 莫斯科 等地促销机型为 E3係,参与促销地区有 香港 日本 台湾 莫斯科 等地, 限量50台,售罄为止,先到先得。所有服务器配置 CPU ...

无忧云:洛阳/大连BGP云服务器38.4元/月,雅安物理机服务器315元/月起,香港荃湾CN2限时5折优惠

无忧云怎么样?无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点,目前商家开启了夏日清凉补贴活动,商家的机器还是非常...

ubuntu12.04为你推荐
公司网络被攻击最近企业受到网络攻击的事件特别多,怎么才能有效地保护企业的网络安全呢?brandoff淘宝上的代购奢侈品都是真品吗?www.hao360.cn主页设置为http://hao.360.cn/,但打开360浏览器先显示www.yes125.com后转换为www.2345.com,搜索注册表和同ip网站查询怎样查询一个ip绑了多少域名psbc.com95580是什么诈骗信息不点网址就安全吧!ip在线查询通过对方的IP地址怎么样找到他的详细地址?5xoy.comhttp://www.5yau.com (舞与伦比),以前是这个地址,后来更新了,很长时间没玩了,谁知道现在的地址? 谢谢,www.bbb551.com100bbb网站怎样上不去了www.884tt.com刚才找了个下电影的网站www.ttgame8.com,不过好多电影怎么都不能用QQ旋风或者是迅雷下在呢?朴容熙这个人男的女的,哪国人。叫什么。
什么是域名解析 赵容 美国主机评论 windows主机 z.com 12306抢票攻略 网盘申请 静态空间 流量计费 cdn加速是什么 便宜空间 免费个人主页 汤博乐 移动王卡 此网页包含的内容将不使用安全的https 服务器操作系统 paypal登陆 9929 瓦工工具 广州服务器数据恢复 更多