法一、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=...