资源描述:
《Research and Realization of Independence of Kernel Logo From Kernel Files Based on Linux 专业英语论文》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、ResearchandRealizationofIndependenceofKernelLogoFromKernelFilesBasedonLinuxYangShunsheng(WuhanUniversityofTechnology,Wuhan,China,muzishuiyi@163.com)Abstract—Atpresent,thefilesofLinuxkernellogoarecompiledintothekernelwhichmustberecompiledwhenlogoischanged.Inviewofthisphenomeno
2、n,paperanalyzeddisplayprincipleandgeneralreplacementmethodofkernellogoinembeddedCNCsystem,proposedthenewplantodisplayandrapidlyreplace,inwhichlogoisindependentofkernelfileandstoredinNANDflashdevice.Afterdesignrealizationandtest,plansuccessfullyappliedtoARMembeddedLinuxCNCsyst
3、em.Keywords—Linux;kernellogo;independence;NANDflashI.IntroductionTheidentificationofLinuxoperatingsystemisapenguin,byputtingalogofileimplementingkernelcompilation.Inembeddedsystems,Whenthelogowillchangeaccordingtotherequirements,weneedtoreplacethelogofileofcorefiles,recompile
4、theformandgetthenewkernelimagefile.Ononehand,developmentprocessbecomescomplicated,ontheotherhand,thekernelfilewithdifferentlogochange,it'sdifficulttoimplementversionofunity.Therefore,wewillputforwardanewplanofkernellogodisplayandchange.II.DESIGNSCHEMEA.Thedefaultkernellogodis
5、playprincipleStorageformatofimages,canonlybeconvertedintoanarray,thearrayisthencompiledintothekernel.Thekernelstarts,afterloadingthedisplaydrivertotheFrame-Buffer,datafromthearraytodisplay.TheLinuxkernelcurrentlysupportedPBM,PGM,PPMformatimagefiles,storedinakerneldriver/video
6、/logofiledirectory.Kernelcompilation,firstlycalltothekernelfiles/scripts/pnmtologo/pnmtologo.c.PPMimagesgeneratedinthedirectorydataarray,andstoredinthesamedirectoryofthecfunction,compiledintothekernel.Ifchangethekernelbootlogo,needtoreplacethecorrespondingpartspermillionPPMin
7、thedirectoryfile,recompilethekernel.Thedefaultkernellogodisplaysoprocessisshowninfigure1.B.ThedesignofkernellogoindependentofthekernelfileInembeddedLinuxsystem,thevariousfilesstoredintheflashonsolid-statestoragedevicesuchastheflash.Bootloaderimageisthefirstprogramofsystemonel
8、ectricperformancethatisusedtoinitializethehardwareequipment,software