在线看毛片网站电影-亚洲国产欧美日韩精品一区二区三区,国产欧美乱夫不卡无乱码,国产精品欧美久久久天天影视,精品一区二区三区视频在线观看,亚洲国产精品人成乱码天天看,日韩久久久一区,91精品国产91免费

<menu id="6qfwx"><li id="6qfwx"></li></menu>
    1. <menu id="6qfwx"><dl id="6qfwx"></dl></menu>

      <label id="6qfwx"><ol id="6qfwx"></ol></label><menu id="6qfwx"></menu><object id="6qfwx"><strike id="6qfwx"><noscript id="6qfwx"></noscript></strike></object>
        1. <center id="6qfwx"><dl id="6qfwx"></dl></center>

            新聞中心

            EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > AM335x(TQ335x)學(xué)習(xí)筆記——使用dtb方式啟動內(nèi)核

            AM335x(TQ335x)學(xué)習(xí)筆記——使用dtb方式啟動內(nèi)核

            作者: 時間:2016-11-28 來源:網(wǎng)絡(luò) 收藏
            老式的u-boot使用ATAGS的方式啟動linux內(nèi)核,本文使用新式的dtb方式啟動內(nèi)核。

            我使用的內(nèi)核是linux-3.17.2版本,下面開始編譯內(nèi)核。

            本文引用地址:http://www.biyoush.com/article/201611/322818.htm

            (1) 解壓內(nèi)核

            1. tarjxflinux-3.17.2.tar.bz2
            (2)配置linux內(nèi)核,由于am335x在內(nèi)核中都歸為omap2系列,故可以使用如下命令:
            1. makeARCH=armomap2plus_defconfig

            (3)編譯內(nèi)核:

            1. makeARCH=armCROSS_COMPILE=arm-linux-gnueabi--j8
            我的linux工具鏈前綴是arm-linux-gnueabi-,這個需要根據(jù)自己的實際的工具鏈情況進行替換。

            (4)編譯dtb:

            1. makeARCH=armCROSS_COMPILE=arm-linux-gnueabi-am335x-evm.dtb
            (5)制作啟動盤:

            將SD格式化為FAT系統(tǒng),將MLO、u-boot.img拷貝到根目錄下。

            在根目錄下創(chuàng)建boot目錄,將編譯好的zImage和am335x-evm.dtb拷貝到該目錄下。

            (6)u-boot命令行啟動Linux內(nèi)核

            1. loadmmc00x88000000/boot/am335x-evm.dtb
            2. loadmmc00x82000000/boot/zImage
            3. bootz0x82000000-0x88000000
            至此,Linux內(nèi)核就能啟動了,看到的Log信息如下:
            1. U-Boot#loadmmc0${fdtaddr}/boot/tq335x.dtb
            2. 34720bytesreadin9ms(3.7MiB/s)
            3. U-Boot#loadmmc0${loadaddr}/boot/zImage
            4. 4385928bytesreadin243ms(17.2MiB/s)
            5. U-Boot#bootz${loadaddr}-${fdtaddr}
            6. Kernelimage@0x82000000[0x000000-0x42ec88]
            7. ##FlattenedDeviceTreeblobat88000000
            8. Bootingusingthefdtblobat0x88000000
            9. LoadingDeviceTreeto8fff4000,end8ffff79f...OK
            10. Startingkernel...
            11. [0.000000]BootingLinuxonphysicalCPU0x0
            12. [0.000000]Linuxversion3.17.2(lilianrong@AY140721164813287e77Z)(gccversion4.7.3(Ubuntu/Linaro4.7.3-12ubuntu1))#1SMPMonNov1020:46:04CST2014
            13. [0.000000]CPU:ARMv7Processor[413fc082]revision2(ARMv7),cr=10c5387d
            14. [0.000000]CPU:PIPT/VIPTnonaliasingdatacache,VIPTaliasinginstructioncache
            15. [0.000000]Machinemodel:TIAM335xEVM
            16. [0.000000]cma:Reserved16MiBat9e800000
            17. [0.000000]Memorypolicy:Datacachewriteback
            18. [0.000000]HighMemzone:1048574pagesexceedsfreesize0
            19. [0.000000]CPU:AllCPU(s)startedinSVCmode.
            20. [0.000000]AM335XES2.1(sgxneon)
            21. [0.000000]PERCPU:Embedded9pages/cpu@dfa9a000s14336r8192d14336u36864
            22. [0.000000]Built1zonelistsinZoneorder,mobilitygroupingon.Totalpages:129792
            23. [0.000000]Kernelcommandline:console=ttyO0,115200n8root=ubi0:rootfsrwubi.mtd=9,2048rootfstype=ubifsrootwait=1
            24. [0.000000]PIDhashtableentries:2048(order:1,8192bytes)
            25. [0.000000]Dentrycachehashtableentries:65536(order:6,262144bytes)
            26. [0.000000]Inode-cachehashtableentries:32768(order:5,131072bytes)
            27. [0.000000]Memory:484792K/523264Kavailable(5668Kkernelcode,647Krwdata,2208Krodata,406Kinit,8210Kbss,38472Kreserved,0Khighmem)
            28. [0.000000]Virtualkernelmemorylayout:
            29. [0.000000]vector:0xffff0000-0xffff1000(4kB)
            30. [0.000000]fixmap:0xffc00000-0xffe00000(2048kB)
            31. [0.000000]vmalloc:0xe0800000-0xff000000(488MB)
            32. [0.000000]lowmem:0xc0000000-0xe0000000(512MB)
            33. [0.000000]pkmap:0xbfe00000-0xc0000000(2MB)
            34. [0.000000]modules:0xbf000000-0xbfe00000(14MB)
            35. [0.000000].text:0xc0008000-0xc07b9478(7878kB)
            36. [0.000000].init:0xc07ba000-0xc081f800(406kB)
            37. [0.000000].data:0xc0820000-0xc08c1d08(648kB)
            38. [0.000000].bss:0xc08c1d08-0xc10c68e0(8211kB)
            39. [0.000000]HierarchicalRCUimplementation.
            40. [0.000000]RCUrestrictingCPUsfromNR_CPUS=2tonr_cpu_ids=1.
            41. [0.000000]RCU:Adjustinggeometryforrcu_fanout_leaf=16,nr_cpu_ids=1
            42. [0.000000]NR_IRQS:16nr_irqs:1616
            43. [0.000000]IRQ:FoundanINTCat0xfa200000(revision5.0)with128interrupts
            44. [0.000000]Totalof128interruptson1activecontroller
            45. [0.000000]OMAPclockeventsource:timer2at24000000Hz
            46. [0.000016]sched_clock:32bitsat24MHz,resolution41ns,wrapsevery178956969942ns
            47. [0.000065]OMAPclocksource:timer1at24000000Hz
            48. [0.000805]Console:colourdummydevice80x30
            49. [0.000857]Lockdependencyvalidator:Copyright(c)2006RedHat,Inc.,IngoMolnar
            50. [0.000865]...MAX_LOCKDEP_SUBCLASSES:8
            51. [0.000873]...MAX_LOCK_DEPTH:48
            52. [0.000880]...MAX_LOCKDEP_KEYS:8191
            53. [0.000888]...CLASSHASH_SIZE:4096
            54. [0.000895]...MAX_LOCKDEP_ENTRIES:32768
            55. [0.000902]...MAX_LOCKDEP_CHAINS:65536
            56. [0.000909]...CHAINHASH_SIZE:32768
            57. [0.000916]memoryusedbylockdependencyinfo:5167kB
            58. [0.000924]pertask-structmemoryfootprint:1152bytes
            59. [0.000966]Calibratingdelayloop...996.14BogoMIPS(lpj=4980736)
            60. [0.079040]pid_max:default:32768minimum:301
            61. [0.079436]SecurityFrameworkinitialized
            62. [0.079561]Mount-cachehashtableentries:1024(order:0,4096bytes)
            63. [0.079574]Mountpoint-cachehashtableentries:1024(order:0,4096bytes)
            64. [0.081771]CPU:Testingwritebuffercoherency:ok
            65. [0.082962]CPU0:thread-1,cpu0,socket-1,mpidr0
            66. [0.083083]Settingupstaticidentitymapfor0x8055f030-0x8055f0a0
            67. [0.086327]Broughtup1CPUs
            68. [0.086346]SMP:Totalof1processorsactivated.
            69. [0.086356]CPU:AllCPU(s)startedinSVCmode.
            70. [0.088958]devtmpfs:initialized
            71. [0.097809]VFPsupportv0.3:implementor41architecture3part30variantcrev3
            72. [0.134392]omap_hwmod:tptc0usingbrokendtdatafromedma
            73. [0.134758]omap_hwmod:tptc1usingbrokendtdatafromedma
            74. [0.135103]omap_hwmod:tptc2usingbrokendtdatafromedma
            75. [0.143122]omap_hwmod:debugss:_wait_target_disablefailed
            76. [0.201002]pinctrlcore:initializedpinctrlsubsystem
            77. [0.203537]regulator-dummy:noparameters
            78. [0.233163]NET:Registeredprotocolfamily16
            79. [0.241735]DMA:preallocated256KiBpoolforatomiccoherentallocations
            80. [0.243918]cpuidle:usinggovernorladder
            81. [0.243946]cpuidle:usinggovernormenu
            82. [0.255876]OMAPGPIOhardwareversion0.1
            83. [0.271254]omap-gpmc50000000.gpmc:couldnotfindpctldevfornode/pinmux@44e10800/nandflash_pins_s0,deferringprobe
            84. [0.271303]platform50000000.gpmc:Driveromap-gpmcrequestsprobedeferral
            85. [0.275826]NoATAGs?
            86. [0.275857]hw-breakpoint:debugarchitecture0x4unsupported.
            87. [0.319359]edma-dma-engineedma-dma-engine.0:TIEDMADMAenginedriver
            88. [0.320718]vbat:5000mV
            89. [0.321481]lis3_reg:noparameters
            90. [0.324766]SCSIsubsysteminitialized
            91. [0.325577]usbcore:registerednewinterfacedriverusbfs
            92. [0.325755]usbcore:registerednewinterfacedriverhub
            93. [0.329802]usbcore:registerednewdevicedriverusb
            94. [0.330683]omap_i2c44e0b000.i2c:couldnotfindpctldevfornode/pinmux@44e10800/pinmux_i2c0_pins,deferringprobe
            95. [0.330726]platform44e0b000.i2c:Driveromap_i2crequestsprobedeferral
            96. [0.330784]omap_i2c4802a000.i2c:couldnotfindpctldevfornode/pinmux@44e10800/pinmux_i2c1_pins,deferringprobe
              上一頁 1 2 下一頁

            評論


            技術(shù)專區(qū)

            關(guān)閉