AM335x(TQ335x)學(xué)習(xí)筆記——掛載Ramdisk
接下來加載ramdisk到DRAM:
- loadmmc0${rdaddr}/boot/ramdisk.img
最后就是將ramdisk和dtb的加載地址作為參數(shù)啟動(dòng)內(nèi)核:
- bootz${loadaddr}${rdaddr}${fdtaddr}
啟動(dòng)Log如下:
- Hitanykeytostopautoboot:0
- U-Boot#loadmmc0${fdtaddr}/boot/tq335x.dtb
- 34781bytesreadin9ms(3.7MiB/s)
- U-Boot#loadmmc0${loadaddr}/boot/zImage
- 4377824bytesreadin242ms(17.3MiB/s)
- U-Boot#loadmmc0${rdaddr}/boot/ramdisk.img
- 1120934bytesreadin68ms(15.7MiB/s)
- U-Boot#bootz${loadaddr}${rdaddr}${fdtaddr}
- Kernelimage@0x82000000[0x000000-0x42cce0]
- ##LoadinginitRamdiskfromLegacyImageat88080000...
- ImageName:ramdisk
- Created:2014-11-1815:47:41UTC
- ImageType:ARMLinuxRAMDiskImage(uncompressed)
- DataSize:1120870Bytes=1.1MiB
- LoadAddress:88080000
- EntryPoint:88080000
- VerifyingChecksum...OK
- ##FlattenedDeviceTreeblobat88000000
- Bootingusingthefdtblobat0x88000000
- LoadingRamdiskto8feee000,end8ffffa66...OK
- LoadingDeviceTreeto8fee2000,end8feed7dc...OK
- Startingkernel...
- [0.000000]BootingLinuxonphysicalCPU0x0
- [0.000000]Linuxversion3.17.2(lilianrong@AY140721164813287e77Z)(gccversion4.7.3(Ubuntu/Linaro4.7.3-12ubuntu1))#1SMPTueNov1822:49:31CST2014
- [0.000000]CPU:ARMv7Processor[413fc082]revision2(ARMv7),cr=10c5387d
- [0.000000]CPU:PIPT/VIPTnonaliasingdatacache,VIPTaliasinginstructioncache
- [0.000000]Machinemodel:TIAM335xEVM
- [0.000000]cma:Reserved16MiBat9e800000
- [0.000000]Memorypolicy:Datacachewriteback
- [0.000000]HighMemzone:1048574pagesexceedsfreesize0
- [0.000000]CPU:AllCPU(s)startedinSVCmode.
- [0.000000]AM335XES2.1(sgxneon)
- [0.000000]PERCPU:Embedded9pages/cpu@dfa9a000s14336r8192d14336u36864
- [0.000000]Built1zonelistsinZoneorder,mobilitygroupingon.Totalpages:129792
- [0.000000]Kernelcommandline:console=ttyO0,115200n8root=/dev/ram0
- [0.000000]PIDhashtableentries:2048(order:1,8192bytes)
- [0.000000]Dentrycachehashtableentries:65536(order:6,262144bytes)
- [0.000000]Inode-cachehashtableentries:32768(order:5,131072bytes)
- [0.000000]Memory:483692K/523264Kavailable(5668Kkernelcode,647Krwdata,2208Krodata,406Kinit,8210Kbss,39572Kreserved,0Khighmem)
- [0.000000]Virtualkernelmemorylayout:
- [0.000000]vector:0xffff0000-0xffff1000(4kB)
- [0.000000]fixmap:0xffc00000-0xffe00000(2048kB)
- [0.000000]vmalloc:0xe0800000-0xff000000(488MB)
- [0.000000]lowmem:0xc0000000-0xe0000000(512MB)
- [0.000000]pkmap:0xbfe00000-0xc0000000(2MB)
- [0.000000]modules:0xbf000000-0xbfe00000(14MB)
- [0.000000].text:0xc0008000-0xc07b9478(7878kB)
- [0.000000].init:0xc07ba000-0xc081f800(406kB)
- [0.000000].data:0xc0820000-0xc08c1d08(648kB)
- [0.000000].bss:0xc08c1d08-0xc10c68e0(8211kB)
- [0.000000]HierarchicalRCUimplementation.
- [0.000000]RCUrestrictingCPUsfromNR_CPUS=2tonr_cpu_ids=1.
- [0.000000]RCU:Adjustinggeometryforrcu_fanout_leaf=16,nr_cpu_ids=1
- [0.000000]NR_IRQS:16nr_irqs:1616
- [0.000000]IRQ:FoundanINTCat0xfa200000(revision5.0)with128interrupts
- [0.000000]Totalof128interruptson1activecontroller
- [0.000000]OMAPclockeventsource:timer2at24000000Hz
- [0.000013]sched_clock:32bitsat24MHz,resolution41ns,wrapsevery178956969942ns
- [0.000061]OMAPclocksource:timer1at24000000Hz
- [0.000795]Console:colourdummydevice80x30
- [0.000847]Lockdependencyvalidator:Copyright(c)2006RedHat,Inc.,IngoMolnar
- [0.000856]...MAX_LOCKDEP_SUBCLASSES:8
- [0.000863]...MAX_LOCK_DEPTH:48
- [0.000870]...MAX_LOCKDEP_KEYS:8191
- [0.000878]...CLASSHASH_SIZE:4096
- [0.000885]...MAX_LOCKDEP_ENTRIES:32768
- [0.000892]...MAX_LOCKDEP_CHAINS:65536
- [0.000900]...CHAINHASH_SIZE:32768
- [0.000907]memoryusedbylockdependencyinfo:5167kB
- [0.000915]pertask-structmemoryfootprint:1152bytes
- [0.000956]Calibratingdelayloop...996.14BogoMIPS(lpj=4980736)
- [0.079037]pid_max:default:32768minimum:301
- [0.079438]SecurityFrameworkinitialized
- [0.079564]Mount-cachehashtableentries:1024(order:0,4096bytes)
- [0.079576]Mountpoint-cachehashtableentries:1024(order:0,4096bytes)
- [0.081769]CPU:Testingwritebuffercoherency:ok
- [0.082962]CPU0:thread-1,cpu0,socket-1,mpidr0
- [0.083084]Settingupstaticidentitymapfor0x8055f030-0x8055f0a0
- [0.086327]Broughtup1CPUs
- [0.086347]SMP:Totalof1processorsactivated.
- [0.086357]CPU:AllCPU(s)startedinSVCmode.
- [0.088983]devtmpfs:initialized
- [0.097743]VFPsupportv0.3:implementor41architecture3part30variantcrev3
- [0.132789]omap_hwmod:tptc0usingbrokendtdatafromedma
- [0.133139]omap_hwmod:tptc1usingbrokendtdatafromedma
- [0.133467]omap_hwmod:tptc2usingbrokendtdatafromedma
- [0.141252]omap_hwmod:debugss:_wait_target_disablefailed
- [0.198964]pinctrlcore:initializedpinctrlsubsystem
- [0.201633]regulator-dummy:noparameters
- [0.231057]NET:Registeredprotocolfamily16
- [0.239540]DMA:preallocated256KiBpoolforatomiccoherentallocations
- [0.241725]cpuidle:usinggovernorladder
- [0.241754]cpuidle:usinggovernormenu
- [0.253658]OMAPGPIOhardwareversion0.1
- [0.268591]omap-gpmc50000000.gpmc:couldnotfindpctldevfornode/pinmux@44e10800/nandflash_pins_s0,deferringprobe
- [0.268635]platform50000000.gpmc:Driveromap-gpmcrequestsprobedeferral
- [0.273243]NoATAGs?
- [0.273274]hw-breakpoint:debugarchitecture0x4unsupported.
- [0.316650]edma-dma-engineedma-dma-engine.0:TIEDMADMAenginedriver
- [0.318001]vbat:5000mV
- [0.318774]lis3_reg:noparameters
- [0.322209]SCSIsubsysteminitialized
- [0.323028]usbcore:registerednewinterfacedriverusbfs
- [0.323207]usbcore:registerednewinterfacedriverhub
- [0.327009]usbcore:registerednewdevicedriverusb
- [0.327877]omap_i2c44e0b000.i2c:couldnotfindpctldevfornode/pinmux@44e10800/pinmux_i2c0_pins,deferringprobe
- [0.327917]platform44e0b000.i2c:Driveromap_i2crequestsprobedeferral
- [0.327972]omap_i2c4802a000.i2c:couldnotfindpctldevfornode/pinmux@44e10800/pinmux_i2c1_pins,deferringprobe
- [0.327995]platform4802a000.i2c:Driveromap_i2crequestsprobedeferral
- [0.332363]Switchedtoclocksourcetimer1
- [0.477595]NET:Registeredprotocolfamily2
- [0.479415]TCPestablishedhashtableentries:4096(order:2,16384bytes)
- [0.479601]TCPbindhashtableentries:4096(order:5,147456bytes)
- [0.480965]TCP:Hashtablesconfigured(established4096bind4096)
- [0.481157]TCP:renoregistered
- [0.481186]UDPhashtableentries:256(order:2,20480bytes)
- [0.481375]UDP-Litehashtableentries:256(order:2,20480bytes)
- [0.482657]NET:Registeredprotocolfamily1
- [0.484656]RPC:RegisterednamedUNIXsockettransportmodule.
- [0.484680]RPC:Registeredudptransportmodule.
- [0.484690]RPC:Registeredtcptransportmodule.
- [0.484699]RPC:RegisteredtcpNFSv4.1backchanneltransportmodule.
- [0.485566]Tryingtounpackrootfsimageasinitramfs...
- [0.487045]rootfsimageisnotinitramfs(nocpiomagic);lookslikeaninitrd
- [0.497016]Freeinginitrdmemory:1092K(cfeee000-cffff000)
- [0.497514]hwperfevents:enabledwitharmv7_cortex_a8PMUdriver,5countersavailable
- [0.501968]futexhashtableentries:256(order:2,16384bytes)
- [0.507634]VFS:Diskquotasdquot_6.5.2
- [0.507781]Dquot-cachehashtableentries:1024(order0,4096bytes)
- [0.510254]NFS:Registeringtheid_resolverkeytype
- [0.510637]Keytypeid_resolverregistered
- [0.510653]Keytypeid_legacyregistered
- [0.510794]jffs2:version2.2.(NAND)(SUMMARY)漏2001-2006RedHat,Inc.
- [0.511229]msgmnihasbeensetto978
- [0.516624]ioschedulernoopregistered
- [0.516656]ioschedulerdeadlineregistered
- [0.516726]ioschedulercfqregistered(default)
- [0.519057]pinctrl-single44e10800.pinmux:142pinsatpaf9e10800size568
- [0.522800]Serial:8250/16550driver,4ports,IRQsharingenabled
- [0.528945]omap_uart44e09000.serial:nowakeirqforuart0
- [0.529540]44e09000.serial:ttyO0atMMIO0x44e09000(irq=88,base_baud=3000000)isaOMAPUART0
關(guān)鍵詞:
AM335xTQ335x掛載Ramdis
相關(guān)推薦
技術(shù)專區(qū)
- FPGA
- DSP
- MCU
- 示波器
- 步進(jìn)電機(jī)
- Zigbee
- LabVIEW
- Arduino
- RFID
- NFC
- STM32
- Protel
- GPS
- MSP430
- Multisim
- 濾波器
- CAN總線
- 開關(guān)電源
- 單片機(jī)
- PCB
- USB
- ARM
- CPLD
- 連接器
- MEMS
- CMOS
- MIPS
- EMC
- EDA
- ROM
- 陀螺儀
- VHDL
- 比較器
- Verilog
- 穩(wěn)壓電源
- RAM
- AVR
- 傳感器
- 可控硅
- IGBT
- 嵌入式開發(fā)
- 逆變器
- Quartus
- RS-232
- Cyclone
- 電位器
- 電機(jī)控制
- 藍(lán)牙
- PLC
- PWM
- 汽車電子
- 轉(zhuǎn)換器
- 電源管理
- 信號(hào)放大器
評(píng)論