【迅为iMX6Q】开发板:迅为官方提供好的kernel的编译
操作系统:win10 64位虚拟机:VMware® Workstation 14 Pro虚拟机操作系统:ubuntu 18.04 64位ubuntu-18.04.2-desktop-amd64.iso开发板:迅为 iMX6Q本次目标:编译【迅为】提供的移植好的kernel,生成uImage并下载到开发板运行其实在【迅为】提供的光盘文件里,有android的源码,andro...
操作系统:win10 64位
虚拟机:VMware® Workstation 14 Pro
虚拟机操作系统:ubuntu 18.04 64位 ubuntu-18.04.2-desktop-amd64.iso
开发板:迅为 iMX6Q
本次目标:编译【迅为】提供的移植好的kernel,生成uImage并下载到开发板运行
其实在【迅为】提供的光盘文件里,有android的源码,android源码里,已经包括了uboot,kernel,这里目标是先把内核编译好,下载到开发板,看一下运行的情况。
iTOP-iMX6_android4.4.2/kernel_imx 提供了linux kernel for imx
iTOP-iMX6_android6.0.1/kernel_imx 提供了较新版本的Linux Kernel for imx,
为何不能从一个全新的kernel里去开发?我想,主要是因为NXP已经提供了大部分的移植工作,如果全新的把一个芯片移植到Linux Kernel,需要很大的精力与时间,有些CPU底层的代码,不熟悉CPU架构,甚至根本搞不定。这里使用现成的,主要为了先跑起来,再研究与细化。
这里【迅为】提供了单独编译内核kernel的脚本。
build_qt_kernel.sh
脚本内容:
#!/bin/bash
export ARCH=arm
export CROSS_COMPILE=$(pwd)/../prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-
cp config_for_iTOPiMX6_linux .config
make zImage -j4
make uImage -j4
make modules
(1)开始编译:执行 ./build_qt_kernel.sh
发现报错了:
Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at kernel/timeconst.pl line 373.
根据网上的解决方案:改一下timeconst.pl 第373行的脚本代码:
将if (!defined(@val)) 改为if (!(@val)),
把defined去掉即可。
(2)生成uImage时报错了,
mkimage" command not found - U-Boot images will not be built
这里ubuntu安装一下:
sudo apt-get install u-boot-tools
(3)编译通过后,iTOP-iMX6_android4.4.2/kernel_imx/arch/arm/boot/uImage 即是内核生成文件。
使用Mfgtools-Rel-1.1.0_180706_MX6Q_UPDATER 下载工具下载到开发板即可。
运行信息:
U-Boot 2009.08 (11月 06 2019 - 09:54:12)
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 188
Temperature: 44 C, calibration data 0x5a852169
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: 0x63015 [POR ]
Boot Device: MMC
I2C: ready
DRAM: 2 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
Boot system :android
LCD type:9.7
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
booti: bad boot image magic
fastboot is in init......flash target is MMC:3
Bad partition index:2 for partition:recovery
Bad partition index:5 for partition:system
wait usb cable into the connector!
这里因为是android的启动方式,因此没有直接去引导内核。
可以修改一下uboot的命令:默认为
bootcmd=booti mmc3
这里改一下:
bootcmd=mmc dev 3,mmc read 0x10800000 0x800 0x3000,bootm (我手动输入修改的)
重启后,应该可以引导内核了。
内核引导启动信息如下:
U-Boot 2009.08 (11月 06 2019 - 09:54:12)
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 188
Temperature: 44 C, calibration data 0x5a852169
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: 0x63015 [POR ]
Boot Device: MMC
I2C: ready
DRAM: 2 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
Boot system :android
LCD type:9.7
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
booti: bad boot image magic
fastboot is in init......flash target is MMC:3
Bad partition index:2 for partition:recovery
Bad partition index:5 for partition:system
wait usb cable into the connector!
U-Boot 2009.08 (11月 06 2019 - 09:54:12)
CPU: Freescale i.MX6 family TO1.5 at 792 MHz
Thermal sensor with ratio = 188
Temperature: 44 C, calibration data 0x5a852169
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: 0x63015 [POR ]
Boot Device: MMC
I2C: ready
DRAM: 2 GB
MMC: FSL_USDHC: 0,FSL_USDHC: 1,FSL_USDHC: 2,FSL_USDHC: 3
Boot system :android
LCD type:9.7
In: serial
Out: serial
Err: serial
Net: FEC0 [PRIME]
Hit any key to stop autoboot: 0
MX6Q TOPEET U-Boot > printenv
bootdelay=3
baudrate=115200
ipaddr=192.168.1.56
serverip=192.168.1.88
netmask=255.255.255.0
loadaddr=0x10800000
rd_loadaddr=0x11000000
ethaddr=22:33:56:18:89:67
netdev=eth0
ethprime=FEC0
splashimage=0x30000000
splashpos=m,m
lvds_num=1
bootsystem=android
lcdtype=9.7
bootargs=console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666,bpp=32 ldb=sin1 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:off fbmem=48M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.serialno=1a0d39d4e3013411
bootcmd=booti mmc3
stdin=serial
stdout=serial
stderr=serial
fastboot_dev=mmc3
ethact=FEC0
Environment size: 636/8188 bytes
MX6Q TOPEET U-Boot > mmc
mmc mmcinfo
MX6Q TOPEET U-Boot > mmc dev 3
mmc3(part 0) is current device
MX6Q TOPEET U-Boot > mmc read 0x10800000 0x800 0x3000
MMC read: dev # 3, block # 2048, count 12288 ... 12288 blocks read: OK
MX6Q TOPEET U-Boot > bootm
## Booting kernel from Legacy Image at 10800000 ...
Image Name: Linux-3.0.35-ge7a47379-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4988084 Bytes = 4.8 MB
Load Address: 10008000
Entry Point: 10008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 3.0.35-ge7a47379-dirty (imx6@imx6-vm) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #2 SMP PREEMPT Wed Nov 6 11:45:20 CST 2019
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale i.MX 6Quad TOPEET Board
Ignoring unrecognised tag 0x54410008
Malformed early option 'video'
Malformed early option 'video'
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, unknown revision
PERCPU: Embedded 7 pages/cpu @c1a43000 s6528 r8192 d13952 u32768
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 458752
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666,bpp=32 ldb=sin1 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 video=mxcfb2:off fbmem=48M vmalloc=400M androidboot.console=ttymxc0 androidboot.hardware=freescale androidboot.serialno=1a0d39d4e3013411
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 1568MB 240MB = 1808MB total
Memory: 1823976k/1823976k available, 273176k reserved, 1441792K highmem
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
DMA : 0xfbe00000 - 0xffe00000 ( 64 MB)
vmalloc : 0xd9800000 - 0xf2000000 ( 392 MB)
lowmem : 0xc0000000 - 0xd9000000 ( 400 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.init : 0xc0008000 - 0xc0049000 ( 260 kB)
.text : 0xc0049000 - 0xc092285c (9063 kB)
.data : 0xc0924000 - 0xc09aa6f0 ( 538 kB)
.bss : 0xc09aa714 - 0xc0a35134 ( 555 kB)
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
Security Framework initialized
SELinux: Initializing.
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys cpuacct
Initializing cgroup subsys freezer
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
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
plat: add device leds
plat: add device buzzer
plat: add device max485_ctl
plat: add device relay
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1048576 B
bio: create slab <bio-0> at 0
mxs-dma mxs-dma-apbh: initialized
print_constraints: SPKVDD: 5000 mV
print_constraints: vmmc: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
spi_imx imx6q-ecspi.1: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
imx-ipuv3 imx-ipuv3.0: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130302a
MIPI CSI2 driver module loaded
Advanced Linux Sound Architecture Driver Version 1.0.24.
Bluetooth: Core ver 2.16
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO socket layer initialized
cfg80211: Calling CRDA to update world regulatory domain
i2c-core: driver [max17135] using legacy suspend method
i2c-core: driver [max17135] using legacy resume method
Switching to clocksource mxc_timer1
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 7, 524288 bytes)
TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
UDP hash table entries: 256 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
Static Power Management for Freescale i.MX6
wait mode is enabled for i.MX6
cpaddr = d9880000 suspend_iram_base=d992c000
PM driver module loaded
iMX6 PCIe PCIe RC mode imx_pcie_pltfm_probe entering.
PCIE: imx_pcie_pltfm_probe start link up.
link up failed, DB_R0:0x007cf900, DB_R1:0x08200000!
IMX PCIe port: link down with power supply 1!
IMX usb wakeup probe
add wake up source irq 75
IMX usb wakeup probe
cpu regulator mode:ldo_enable
i.MXC CPU frequency driver
audit: initializing netlink socket (disabled)
type=2000 audit(1.740:1): initialized
highmem bounce pool size: 64 pages
ashmem: initialized
NTFS driver 2.1.30 [Flags: R/W].
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 746
NET: Registered protocol family 38
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
mxc_mipi_dsi mxc_mipi_dsi: i.MX MIPI DSI driver probed
MIPI DSI driver module loaded
mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver ldb
_regulator_get: get() with no identifier
imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
fbcvt: 1920x1080@60: CVT Name - 2.073M9
mxc_sdc_fb mxc_sdc_fb.2: Can't get fb option for mxcfb2!
imx-sdma imx-sdma: loaded firmware 1.1
imx-sdma imx-sdma: initialized
Serial: IMX driver
imx-uart.0: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
buzzer_ctl initialized
leds_ctl initialized
max485_ctl Initialize
relay_ctl initialized
loop: module loaded
GPS: mt3326_gps_power: Switching GPS device on
GPS: mt3326_gps_power: ignore power control: 1
GPS: mt3326_gps_probe: Registering chardev
GPS: mt3326_gps_probe: major: 251, minor: 0
GPS: mt3326_gps_probe: Done
No sata disk.
m25p80 spi0.0: found w25q32, expected sst25vf016b
m25p80 spi0.0: w25q32 (4096 Kbytes)
Creating 2 MTD partitions on "m25p80":
0x000000000000-0x000000100000 : "bootloader"
0x000000100000-0x000000400000 : "kernel"
GPMI NAND driver registered. (IMX)
vcan: Virtual CAN interface driver
CAN device driver interface
flexcan netdevice driver
flexcan imx6q-flexcan.0: device registered (reg_base=d99a8000, irq=142)
FEC Ethernet Driver
fec_enet_mii_bus: probed
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 75, io base 0x02184000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
add wake up source irq 72
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 72, io base 0x02184200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for ch341-uart
usbcore: registered new interface driver ch341
USB Serial support registered for cp210x
usbcore: registered new interface driver cp210x
cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
pl2303: Prolific PL2303 USB to serial adaptor driver
ARC USBOTG Device Controller driver (1 August 2005)
android_usb gadget: Mass Storage Function, version: 2009/09/11
android_usb gadget: Number of LUNs=1
lun0: LUN: removable file: (no medium)
Gadget Android: controller 'fsl-usb2-udc' not recognized
android_usb gadget: android_usb ready
Suspend udc for OTG auto detect
fsl-usb2-udc: bind to driver android_usb
mousedev: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
input: hs0038 as /devices/virtual/input/input1
Input: S3C GPIO hs0038 Registered
i2c-core: driver [isl29023] using legacy suspend method
i2c-core: driver [isl29023] using legacy resume method
using rtc device, snvs_rtc, for alarms
snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
i2c /dev entries driver
Linux video capture interface: v2.00
usb 2-1: new high speed USB device number 2 using fsl-ehci
camera ov5640 is found
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
gspca: v2.13.0 registered
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v1.1.0)
mag3110 2-000e: check mag3110 chip ID
mag3110 2-000e: read chip ID 0xfffffffb is not equal to 0xc4!
mag3110: probe of 2-000e failed with error -22
i2c-core: driver [mag3110] using legacy suspend method
i2c-core: driver [mag3110] using legacy resume method
mma8x5x 0-001c: read chip ID 0xfffffffb is not equal to 0x1a,0x2a,0x3a,0x4a,0x5a!
mma8x5x: probe of 0-001c failed with error -22
imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
Bluetooth: HCIATH3K protocol initialized
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: SDHCI controller on platform [sdhci-esdhc-imx.3] using DMA
mmc1: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
mmc2: SDHCI controller on platform [sdhci-esdhc-imx.1] using DMA
mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
VPU initialized
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
mxc_asrc registered
Galcore version 4.6.9.9754
Thermal calibration data is 0x5a852169
Thermal sensor with ratio = 188
Anatop Thermal registered as thermal_zone0
anatop_thermal_probe: default cooling device is cpufreq!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
usbcore: registered new interface driver snd-usb-audio
mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
wm8960 i2C probe
mmc0: EXT_CSD revision 8
wm8960 i2C probe sucessful
imx_wm8960_probe successful,MCLK is 24000000
wm8960 machine device add
wm8960 codec probe start
mmc0: new high speed DDR MMC card at address 0001
mmcblk0: mmc0:0001 AJTD4R 14.5 GiB
mmcblk0boot0: mmc0:0001 AJTD4R partition 1 4.00 MiB
mmcblk0boot1: mmc0:0001 AJTD4R partition 2 4.00 MiB
mmcblk0: p1
mmcblk0boot1: unknown partition table
mmcblk0boot0: unknown partition table
wm8960 codec probe
asoc: wm8960-hifi <-> imx-ssi.1 mapping ok
input: wm8960-audio Headphone Jack as /devices/platform/soc-audio/sound/card0/input2
asoc: mxc-hdmi-soc <-> imx-hdmi-soc-dai.0 mapping ok
ALSA device list:
#0: wm8960-audio
#1: imx-hdmi-soc
oprofile: using arm/armv7-ca9
u32 classifier
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
ctnetlink v0.93: registering with nfnetlink.
NF_TPROXY: Transparent proxy support initialized, version 4.1.0
NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd.
xt_time: kernel timezone is -0000
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 10
Mobile IPv6
ip6_tables: (C) 2000-2006 Netfilter Core Team
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
Bus freq driver module loaded
Bus freq driver Enabled
mxc_dvfs_core_probe
DVFS driver module loaded
regulator_init_complete: SPKVDD: incomplete constraints, leaving on
tsc2007 2-0048: i2c io error: -5
tsc2007: probe of 2-0048 failed with error -5
==ft5x0x_ts_init: reset==
input: ft5x0x_ts as /devices/virtual/input/input3
read fw ver 0...
read reg (0xa6) error, -5
ft5x0x_ts 1-0038: chip not found
ft5x0x_ts 1-0038: probe ft5x0x TouchScreen failed, -5
ft5x0x_ts: probe of 1-0038 failed with error -5
input: ft5x0x_ts as /devices/virtual/input/input4
read fw ver 0...
read reg (0xa6) error, -5
ft5x0x_ts 2-0038: chip not found
ft5x0x_ts 2-0038: probe ft5x0x TouchScreen failed, -5
ft5x0x_ts: probe of 2-0038 failed with error -5
<<-GTP-INFO->> GTP driver installing...
<<-GTP-INFO->> GTP Driver Version: V2.2<2014/01/14>
<<-GTP-INFO->> GTP Driver Built@11:40:28, Nov 6 2019
<<-GTP-INFO->> GTP I2C Address: 0x5d
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 1.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 2.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 3.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 4.
<<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -5! Process reset.
<<-GTP-INFO->> Guitar reset
<<-GTP-ERROR->> I2C Write: 0x8041, 1 bytes failed, errcode: -5!
<<-GTP-ERROR->> GTP i2c test failed time 5.
<<-GTP-ERROR->> I2C communication ERROR!
Goodix-TS: probe of 2-005d failed with error -1
snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 02:39:44 UTC (9584)
VFS: Cannot open root device "(null)" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available partitions:
1f00 1024 mtdblock0 (driver?)
1f01 3072 mtdblock1 (driver?)
b300 15267840 mmcblk0 driver: mmcblk
b301 15257600 mmcblk0p1 00000000-0000-0000-0000-000000000000
b310 4096 mmcblk0boot1 (driver?)
b308 4096 mmcblk0boot0 (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[<c0057044>] (unwind_backtrace+0x0/0x138) from [<c06c9748>] (panic+0x74/0x194)
[<c06c9748>] (panic+0x74/0x194) from [<c0008d54>] (mount_block_root+0x170/0x224)
[<c0008d54>] (mount_block_root+0x170/0x224) from [<c0008ef0>] (mount_root+0xe8/0x108)
[<c0008ef0>] (mount_root+0xe8/0x108) from [<c000903c>] (prepare_namespace+0x12c/0x184)
[<c000903c>] (prepare_namespace+0x12c/0x184) from [<c0008a1c>] (kernel_init+0x10c/0x140)
[<c0008a1c>] (kernel_init+0x10c/0x140) from [<c0050408>] (kernel_thread_exit+0x0/0x8)
CPU2: stopping
[<c0057044>] (unwind_backtrace+0x0/0x138) from [<c00493bc>] (do_IPI+0x1d4/0x208)
[<c00493bc>] (do_IPI+0x1d4/0x208) from [<c004f34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6091ee8 to 0xd6091f30)
1ee0: 00000000 c09b13e0 00000000 c09b1420 00000282 d6090000
1f00: d6090000 00000000 00000002 d6091f90 00000000 00000000 c00567d0 d6091f30
1f20: c0097310 c0096c60 20000113 ffffffff
[<c004f34c>] (__irq_svc+0x4c/0xe8) from [<c0096c60>] (__do_softirq+0x60/0x25c)
[<c0096c60>] (__do_softirq+0x60/0x25c) from [<c0097310>] (irq_exit+0x98/0xa0)
[<c0097310>] (irq_exit+0x98/0xa0) from [<c0049338>] (do_IPI+0x150/0x208)
[<c0049338>] (do_IPI+0x150/0x208) from [<c004f34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6091f90 to 0xd6091fd8)
1f80: c09b2d28 80000093 00000001 00000000
1fa0: d6090000 c09aa7c4 c0939a70 c06d38c4 c0942464 412fc09a 00000000 00000000
1fc0: 00000000 d6091fd8 c005f304 c0050468 40000013 ffffffff
[<c004f34c>] (__irq_svc+0x4c/0xe8) from [<c0050468>] (default_idle+0x24/0x28)
[<c0050468>] (default_idle+0x24/0x28) from [<c0050790>] (cpu_idle+0xe0/0x124)
[<c0050790>] (cpu_idle+0xe0/0x124) from [<106c5154>] (0x106c5154)
CPU3: stopping
[<c0057044>] (unwind_backtrace+0x0/0x138) from [<c00493bc>] (do_IPI+0x1d4/0x208)
[<c00493bc>] (do_IPI+0x1d4/0x208) from [<c004f34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd609df90 to 0xd609dfd8)
df80: c09b2d28 80000093 00000001 00000000
dfa0: d609c000 c09aa7c4 c0939a70 c06d38c4 c0942464 412fc09a 00000000 00000000
dfc0: 00000000 d609dfd8 c005f304 c0050468 40000013 ffffffff
[<c004f34c>] (__irq_svc+0x4c/0xe8) from [<c0050468>] (default_idle+0x24/0x28)
[<c0050468>] (default_idle+0x24/0x28) from [<c0050790>] (cpu_idle+0xe0/0x124)
[<c0050790>] (cpu_idle+0xe0/0x124) from [<106c5154>] (0x106c5154)
CPU1: stopping
[<c0057044>] (unwind_backtrace+0x0/0x138) from [<c00493bc>] (do_IPI+0x1d4/0x208)
[<c00493bc>] (do_IPI+0x1d4/0x208) from [<c004f34c>] (__irq_svc+0x4c/0xe8)
Exception stack(0xd6067f90 to 0xd6067fd8)
7f80: c09b2d28 60000093 00000001 00000000
7fa0: d6066000 c09aa7c4 c0939a70 c06d38c4 c0942464 412fc09a 00000000 00000000
7fc0: 00000000 d6067fd8 c005f304 c0050468 40000013 ffffffff
[<c004f34c>] (__irq_svc+0x4c/0xe8) from [<c0050468>] (default_idle+0x24/0x28)
[<c0050468>] (default_idle+0x24/0x28) from [<c0050790>] (cpu_idle+0xe0/0x124)
[<c0050790>] (cpu_idle+0xe0/0x124) from [<106c5154>] (0x106c5154)
后面的报错主要是没有根文件系统。
接下来,需要进一步的调整与配置,并制作根文件系统。
更多推荐
所有评论(0)