效果展示
按照上面的步骤修改后内核就可以正常启动了,下面是启动Log:
- U-Boot 2009.08-dirty ( 3月 23 2015 - 23:14:02)
-
- CPU: Freescale i.MX6 family TO1.2 at 792 MHz
- Thermal sensor with ratio = 174
- Temperature: 23 C, calibration data 0x54e4bb69
- mx6q pll1: 792MHz
- mx6q pll2: 528MHz
- mx6q pll3: 480MHz
- mx6q pll8: 50MHz
- ipg clock : 66000000Hz
- ipg per clock : 66000000Hz
- uart clock : 80000000Hz
- cspi clock : 60000000Hz
- ahb clock : 132000000Hz
- axi clock : 264000000Hz
- emi_slow clock: 132000000Hz
- ddr clock : 528000000Hz
- usdhc1 clock : 198000000Hz
- usdhc2 clock : 198000000Hz
- usdhc3 clock : 198000000Hz
- usdhc4 clock : 198000000Hz
- nfc clock : 24000000Hz
- Board: i.MX6Q-SABRESD: unknown-board Board: 0x63012 [POR ]
- Boot Device: SD
- I2C: ready
- DRAM: 1 GB
- MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
- In: serial
- Out: serial
- Err: serial
- Net: got MAC address from IIM: 00:00:00:00:00:00
- FEC0 [PRIME]
- Hit any key to stop autoboot: 0
- mmc1 is current device
-
- MMC read: dev # 1, block # 2048, count 8192 ... 8192 blocks read: OK
- ## Booting kernel from Legacy Image at 10800000 ...
- Image Name: Linux-3.0.35-2666-gbdde708-g3344
- Image Type: ARM Linux Kernel Image (uncompressed)
- Data Size: 3866004 Bytes = 3.7 MB
- Load Address: 10008000
- Entry Point: 10008000
- Verifying Checksum ... OK
- Loading Kernel Image ... OK
- OK
-
- Starting kernel ...
-
- Uncompressing Linux... done, booting the kernel.
- Linux version 3.0.35-2666-gbdde708-g334422e-dirty (lilianrong@ubuntu) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #5 SMP PREEMPT Wed Mar 25 19:29:24 CST 2015
- CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
- CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
- Machine: Freescale i.MX 6Quad/DualLite/Solo Sabre-SD Board
- Ignoring unrecognised tag 0x54410008
- Memory policy: ECC disabled, Data cache writealloc
- CPU identified as i.MX6Q, silicon rev 1.2
- PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
- Built 1 zonelists in Zone order, mobility grouping on. Total pages: 194560
- Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p1 rootwait rw
- PID hash table entries: 4096 (order: 2, 16384 bytes)
- Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
- Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
- Memory: 512MB 256MB = 768MB total
- Memory: 765764k/765764k available, 282812k reserved, 0K highmem
- Virtual kernel memory layout:
- vector : 0xffff0000 - 0xffff1000 ( 4 kB)
- fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
- DMA : 0xf4600000 - 0xffe00000 ( 184 MB)
- vmalloc : 0xc0800000 - 0xf2000000 ( 792 MB)
- lowmem : 0x80000000 - 0xc0000000 (1024 MB)
- pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
- modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
- .init : 0x80008000 - 0x8003c000 ( 208 kB)
- .text : 0x8003c000 - 0x80a8f8f4 (10575 kB)
- .data : 0x80a90000 - 0x80af3e00 ( 400 kB)
- .bss : 0x80af3e24 - 0x80b41d4c ( 312 kB)
- SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
- Preemptible hierarchical RCU implementation.
- NR_IRQS:624
- MXC GPIO hardware
- sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
- arm_max_freq=1GHz
- MXC_Early serial console at MMIO 0x2020000 (options '115200')
- bootconsole [ttymxc0] enabled
- Console: colour dummy device 80x30
- Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
- pid_max: default: 32768 minimum: 301
- Mount-cache hash table entries: 512
- CPU: Testing write buffer coherency: ok
- hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
- CPU1: Booted secondary processor
- CPU2: Booted secondary processor
- CPU3: Booted secondary processor
- Brought up 4 CPUs
- SMP: Total of 4 processors activated (6324.22 BogoMIPS).
- print_constraints: dummy:
- NET: Registered protocol family 16
- print_constraints: vddpu: 725 <--> 1300 mV at 700 mV fast normal
- print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
- print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
- print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
-