본문 바로가기

리눅스/문제해결

부팅시 iMX6 - Galcore version 4.6.9.9754 에서 멈추는 문제

U-Boot 2013.04 (Jul 29 2016 - 20:13:20) 


CPU: Freescale i.MX6Q rev1.0 at 792 MHz 

CPU: Temperature 40 C, calibration data: 0x5914ef7d 

Reset cause: POR 

Board: MX6Q/SDL-SabreSD 

I2C: ready 

DRAM: 1 GiB 

MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 

No panel detected: default to Hannstar-XGA 

Display: Hannstar-XGA (1024x768) 

In: serial 

Out: serial 

Err: serial 

mmc1 is current device 

Net: FEC [PRIME] 

Warning: failed to set MAC address 


Normal Boot 

Hit any key to stop autoboot: 0 

mmc1 is current device 


MMC read: dev # 1, block # 2048, count 32768 ... 32768 blocks read: OK 


MMC read: dev # 1, block # 20480, count 2048 ... 2048 blocks read: OK 

## Booting kernel from Legacy Image at 12000000 ... 

Image Name: Linux-3.10.17+g232293e 

Image Type: ARM Linux Kernel Image (uncompressed) 

Data Size: 5300928 Bytes = 5.1 MiB 

Load Address: 10800000 

Entry Point: 10800000 

Verifying Checksum ... OK 

## Flattened Device Tree blob at 18000000 

Booting using the fdt blob at 0x18000000 

Loading Kernel Image ... OK 

OK 

Using Device Tree in place at 18000000, end 1800e6ca 


Starting kernel ... 


Booting Linux on physical CPU 0x0 

Linux version 3.10.17+g232293e (chandong83@chandong83-development-desktop) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #22 SMP PREEMPT Mon Aug 8 20:26:33 KST 2016 

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d 

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache 

Machine: Freescale i.MX6 Quad/DualLite (Device Tree), model: Freescale i.MX6 Quad SABRE Smart Device Board 

cma: CMA: reserved 320 MiB at 3c000000 

Memory policy: ECC disabled, Data cache writealloc 

PERCPU: Embedded 8 pages/cpu @8150d000 s8896 r8192 d15680 u32768 

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 

Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk0p1 init=/sbin/init rootwait rw video=mxcfb1:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24 

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: 1024MB = 1024MB total 

Memory: 697704k/697704k available, 350872k reserved, 0K highmem 

Virtual kernel memory layout: 

vector : 0xffff0000 - 0xffff1000 ( 4 kB) 

fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) 

vmalloc : 0xc0800000 - 0xff000000 (1000 MB) 

lowmem : 0x80000000 - 0xc0000000 (1024 MB) 

pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) 

modules : 0x7f000000 - 0x7fe00000 ( 14 MB) 

.text : 0x80008000 - 0x80bf89b4 (12227 kB) 

.init : 0x80bf9000 - 0x80c3c2c0 ( 269 kB) 

.data : 0x80c3e000 - 0x80c8d6e0 ( 318 kB) 

.bss : 0x80c8d6e0 - 0x80cf68a4 ( 421 kB) 

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 

Preemptible hierarchical RCU implementation. 

NR_IRQS:16 nr_irqs:16 16 

L310 cache controller enabled 

l2x0: 16 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x32070000, Cache size: 1048576 B 

sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 65075ms 

CPU identified as i.MX6Q, silicon rev 1.0 

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 

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 

Setting up static identity map for 0x80622b80 - 0x80622bd8 

CPU1: Booted secondary processor 

CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 

CPU2: Booted secondary processor 

CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 

CPU3: Booted secondary processor 

CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 

Brought up 4 CPUs 

SMP: Total of 4 processors activated (6324.22 BogoMIPS). 

CPU: All CPU(s) started in SVC mode. 

devtmpfs: initialized 

pinctrl core: initialized pinctrl subsystem 

regulator-dummy: no parameters 

NET: Registered protocol family 16 

DMA: preallocated 256 KiB pool for atomic coherent allocations 

Use WDOG1 as reset source 

syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered 

vdd1p1: 800 <--> 1375 mV at 1125 mV 

vdd3p0: 2800 <--> 3150 mV at 3000 mV 

vdd2p5: 2000 <--> 2750 mV at 2425 mV 

cpu: 725 <--> 1450 mV at 1150 mV 

vddpu: 725 <--> 1450 mV 

vddsoc: 725 <--> 1450 mV at 1200 mV 

syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered 

syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered 

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. 

hw-breakpoint: maximum watchpoint size is 4 bytes. 

imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver 

bio: create slab <bio-0> at 0 

mxs-dma 110000.dma-apbh: initialized 

usb_otg_vbus: 5000 mV 

usb_h1_vbus: 5000 mV 

wm8962-supply: no parameters 

mipi_dsi_pwr_on: no parameters 

sensor-supply: 3300 mV 

i2c-core: driver [max17135] using legacy suspend method 

i2c-core: driver [max17135] using legacy resume method 

SCSI subsystem initialized 

usbcore: registered new interface driver usbfs 

usbcore: registered new interface driver hub 

usbcore: registered new device driver usb 

i2c i2c-0: IMX I2C adapter registered 

i2c i2c-1: IMX I2C adapter registered 

i2c i2c-2: IMX I2C adapter registered 

Linux video capture interface: v2.00 

pps_core: LinuxPPS API ver. 1 registered 

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> 

PTP clock support registered 

imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) 

imx-ipuv3 2800000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7) 

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed 

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a 

MIPI CSI2 driver module loaded 

Advanced Linux Sound Architecture Driver Initialized. 

cfg80211: Calling CRDA to update world regulatory domain 

Switching to clocksource mxc_timer1 

NET: Registered protocol family 2 

TCP established hash table entries: 8192 (order: 4, 65536 bytes) 

TCP bind hash table entries: 8192 (order: 4, 65536 bytes) 

TCP: Hash tables configured (established 8192 bind 8192) 

TCP: reno registered 

UDP hash table entries: 512 (order: 2, 16384 bytes) 

UDP-Lite hash table entries: 512 (order: 2, 16384 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. 

hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available 

pureg-dummy: no parameters 

imx6_busfreq busfreq.15: DDR medium rate not supported. 

Bus freq driver module loaded 

VFS: Disk quotas dquot_6.5.2 

Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) 

NFS: Registering the id_resolver key type 

Key type id_resolver registered 

Key type id_legacy registered 

jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc. 

fuse init (API version 7.22) 

msgmni has been set to 2002 

io scheduler noop registered 

io scheduler deadline registered 

io scheduler cfq registered (default) 

imx-weim 21b8000.weim: WEIM driver registered. 

mxc_mipi_dsi 21e0000.mipi: i.MX MIPI DSI driver probed 

MIPI DSI driver module loaded 

mxc_sdc_fb fb.30: register mxc display driver hdmi 

mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0xa:0xa0:0xc1 

fbcvt: 1920x1080@60: CVT Name - 2.073M9 

imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7) 

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000 

Console: switching to colour frame buffer device 240x67 

imx-ipuv3 2400000.ipu: IPU Warning - IPU_INT_STAT_10 = 0x00080000 

mxc_sdc_fb fb.30: timeout when waiting for flip irq 

mxc_sdc_fb fb.31: register mxc display driver ldb 

mxc_sdc_fb fb.32: register mxc display driver lcd 

mxc_sdc_fb fb.32: ipu0-di0 already in use 

mxc_sdc_fb: probe of fb.32 failed with error -16 

mxc_sdc_fb fb.33: register mxc display driver ldb 

imx-sdma 20ec000.sdma: no iram assigned, using external mem 

imx-sdma 20ec000.sdma: loaded firmware 1.1 

imx-sdma 20ec000.sdma: initialized 

pfuze100-regulator 1-0008: unrecognized pfuze chip ID! 

pfuze100-regulator: probe of 1-0008 failed with error -5 

Serial: IMX driver 

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58) is a IMX 

console [ttymxc0] enabled 

serial: Freescale lpuart driver 

[drm] Initialized drm 1.1.0 20060810 

[drm] Initialized vivante 1.0.0 20120216 on minor 0 

brd: module loaded 

loop: module loaded 

Wait for CR ACK error! 

sata phy RX_PLL is stable! 

ahci: SSS flag set, parallel bus scan disabled 

ahci ahci: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode 

ahci ahci: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst 

scsi0 : ahci_platform 

ata1: SATA max UDMA/133 mmio [mem 0x02200000-0x02203fff] port 0x100 irq 71 

m25p80 spi32766.0: found mr25h256, expected m25p32 

m25p80 spi32766.0: mr25h256 (32 Kbytes) 

spi_imx 2008000.ecspi: probed 

CAN device driver interface 

fec 2188000.ethernet (unregistered net_device): Invalid MAC address: 00:00:00:00:00:00 

fec 2188000.ethernet (unregistered net_device): Using random MAC address: 4a:24:9d:c5:5d:bc 

libphy: fec_enet_mii_bus: probed 

fec 2188000.ethernet eth0: registered PHC device 0 

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver 

usbcore: registered new interface driver usb-storage 

ci_hdrc ci_hdrc.1: doesn't support gadget 

ci_hdrc ci_hdrc.1: EHCI Host Controller 

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1 

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00 

hub 1-0:1.0: USB hub found 

hub 1-0:1.0: 1 port detected 

mousedev: PS/2 mouse device common for all mice 

elan-touch 2-0010: elan - Read Hello Packet Failed 

elan-touch: probe of 2-0010 failed with error -22 

egalax_ts 1-0004: Failed to read firmware version 

egalax_ts: probe of 1-0004 failed with error -5 

egalax_ts 2-0004: Failed to read firmware version 

egalax_ts: probe of 2-0004 failed with error -5 

i2c-core: driver [isl29023] using legacy suspend method 

i2c-core: driver [isl29023] using legacy resume method 

snvs_rtc 20cc034.snvs-rtc-lp: rtc core: registered 20cc034.snvs-rtc-lp as rtc0 

i2c /dev entries driver 

mxc_v4l2_output v4l2_out.38: V4L2 device registered as video16 

mxc_v4l2_output v4l2_out.38: V4L2 device registered as video17 

mxc_v4l2_output v4l2_out.38: V4L2 device registered as video18 

mxc_v4l2_output v4l2_out.38: V4L2 device registered as video19 

mxc_v4l2_output v4l2_out.38: V4L2 device registered as video20 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

ata1: SATA link down (SStatus 0 SControl 300) 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

FAIL max11801_client not initialize 

i2c-core: driver [mag3110] using legacy suspend method 

i2c-core: driver [mag3110] using legacy resume method 

imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0) 

cpuidle: using governor ladder 

cpuidle: using governor menu 

sdhci: Secure Digital Host Controller Interface driver 

sdhci: Copyright(c) Pierre Ossman 

sdhci-pltfm: SDHCI platform and OF driver helper 

mmc0: no vqmmc regulator found 

mmc0: no vmmc regulator found 

mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA 

mmc1: no vqmmc regulator found 

mmc1: no vmmc regulator found 

FAIL max11801_client not initialize 

mmc1: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA 

mmc2: no vqmmc regulator found 

mmc2: no vmmc regulator found 

mmc2: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA 

mmc1: new high speed SDHC card at address b368 

mmcblk0: mmc1:b368 SD08G 7.41 GiB 

mmcblk0: p1 

Galcore version 4.6.9.9754



아래의 링크를 확인하기 바란다.

https://community.nxp.com/message/424352



위의 내용 중 중요한 것은 아래의 부분이다.


arch/arm/boot/dts/imx6qdl-sabresd.dtsi 파일을 수정하면 된다.


&cpu0 {

    arm-supply = <&reg_arm>;

    soc-supply = <&reg_soc>;

    pu-supply = <&reg_pu>; /* use pu_dummy if VDDSOC share with VDDPU */

};

 

&gpc {

    fsl,ldo-bypass = <0>; /* use ldo-bypass, u-boot will check it and configure */

    fsl,wdog-reset = <1>; /* watchdog select of reset source */

    pu-supply = <&reg_pu>; /* ldo-bypass:use pu_dummy if VDDSOC share with VDDPU */

};

 

&gpu {

    pu-supply = <&reg_pu>; /* ldo-bypass:use pu_dummy if VDDSOC share with VDDPU */

};

 

&vpu {

    pu-supply = <&reg_pu>; /* ldo-bypass:use pu_dummy if VDDSOC share with VDDPU */

};



위의 코드를 수정하였다면

dts만 빌드하면 된다.


방법은 아래와 같다.


예) imx6q-sabresd 

$ make imx6q-sabresd.dtb