电脑桌面
添加小米粒文库到电脑桌面
安装后可以在桌面快捷访问

加载内核及文件系统VIP专享VIP免费

加载内核及文件系统_第1页
加载内核及文件系统_第2页
加载内核及文件系统_第3页
法一、1、首先,用u-boot/tools/mkimage这个工具为你的内核加上u-boot引导所需要的文件头,具体做法如下:[root@localhosttftpboot]#mkimage-n'linux-2.6.14'-Aarm-Olinux-Tkernel-Cnone-a0x30008000-e0x30008000-dzImagezImage.imgImageName:linux-2.6.14Created:FriJan1217:14:502007ImageType:ARMLinuxKernelImage(uncompressed)DataSize:1262504Bytes=1232.91kB=1.20MBLoadAddress:0x30008000EntryPoint:0x30008000这里解释一下参数的意义:-A==>setarchitectureto'arch'-O==>setoperatingsystemto'os'-T==>setimagetypeto'type'-C==>setcompressiontype'comp'-a==>setloadaddressto'addr'(hex)-e==>setentrypointto'ep'(hex)-n==>setimagenameto'name'-d==>useimagedatafrom'datafile'-x==>setXIP(executeinplace)2、下载内核U-Boot1.1.3(Jan122007-16:16:36)U-Bootcode:33F80000->33F9BAC0BSS:->33F9FBACRAMConfiguration:Bank#0:3000000064MBNorFlash:512kBNandFlash:64MBIn:serialOut:serialErr:serialHitanykeytostopautoboot:0sbc2410=>tftp0x31000000zImage.imgTFTPfromserver192.168.1.115;ourIPaddressis192.168.1.128Filename'zImage.img'.Loadaddress:0x31000000Loading:#######################################################################################################################################################################################################################################################doneBytestransferred=1263324(1346dchex)3.运行sbc2410=>bootm0x31000000##Bootingimageat31000000...ImageName:linun-2.6.14ImageType:ARMLinuxKernelImage(uncompressed)DataSize:1263260Bytes=1.2MBLoadAddress:30008000EntryPoint:30008000VerifyingChecksum...OKOKStartingkernel...UncompressingLinux.............................................................Linuxversion2.6.14(root@luofuchong)(gccversion3.4.1)#21FriOct2017:206CPU:ARM920Tid(wb)[41129200]revision0(ARMv4T)Machine:SMDK2410Memorypolicy:ECCdisabled,DatacachewritebackCPUS3C2410A(id0x32410002)S3C2410:core202.800MHz,memory101.400MHz,peripheral50.700MHzS3C2410Clocks,(c)2004SimtecElectronicsCLOCK:Slowmode(1.500MHz),fast,MPLLon,UPLLonUSBControl,(c)2006sbc2410CPU0:DVIVTwrite-backcacheCPU0:Icache:16384bytes,associativity64,32bytelines,8setsCPU0:Dcache:16384bytes,associativity64,32bytelines,8setsBuilt1zonelistsKernelcommandline:console=ttySAC0root=/dev/nfsnfsroot=192.168.1.115:/frien"irq:clearingsubpendingstatus00000002PIDhashtableentries:512(order:9,8192bytes)timertcon=00500000,tcnta509,tcfg00000200,00000000,usec00001e4cConsole:colourdummydevice80x30Dentrycachehashtableentries:16384(order:4,65536bytes)Inode-cachehashtableentries:8192(order:3,32768bytes)Memory:64MB=64MBtotalMemory:62208KBavailable(1924Kcode,529Kdata,108Kinit)Mount-cachehashtableentries:512CPU:Testingwritebuffercoherency:oksoftlockupthread0startedup.NET:Registeredprotocolfamily16S3C2410:InitialisingarchitectureSCSIsubsysteminitializedusbcore:registerednewdriverusbfsusbcore:registerednewdriverhubS3C2410DMADriver,(c)2003-2004SimtecElectronicsDMAchannel0atc4800000,irq33DMAchannel1atc4800040,irq34DMAchannel2atc4800080,irq35DMAchannel3atc48000c0,irq36NetWinderFloatingPointEmulatorV0.97(doubleprecision)devfs:2004-01-31RichardGooch(rgooch@atnf.csiro.au)devfs:devfs_debug:0x0devfs:boot_options:0x1yaffsOct18200612:39:51Installing.Console:switchingtocolourframebufferdevice30x40fb0:s3c2410fbframebufferdevicefb1:Virtualframebufferdevice,using1024Kofvideomemoryleddriverinitializeds3c2410buttonssuccessfullyloadeds3c2410_serial0atMMIO0x50000000(irq=...

1、当您付费下载文档后,您只拥有了使用权限,并不意味着购买了版权,文档只能用于自身使用,不得用于其他商业用途(如 [转卖]进行直接盈利或[编辑后售卖]进行间接盈利)。
2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。
3、如文档内容存在违规,或者侵犯商业秘密、侵犯著作权等,请点击“违规举报”。

碎片内容

确认删除?
VIP
微信客服
  • 扫码咨询
会员Q群
  • 会员专属群点击这里加入QQ群
客服邮箱
回到顶部