[i.MX6] Linux kernel 3.2.21 is hang at "Starting kernel ..." on SABRE Lite board

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[i.MX6] Linux kernel 3.2.21 is hang at "Starting kernel ..." on SABRE Lite board

5,778 Views
sonnguyen
Contributor I

Hi All,

 

I'm using SABRE Lite board and I want to port Xenomai and RTnet on it. Because RTnet only support linux kernel up to version 3.2 and because for matching the patch file so I should you linux kernel 3.2.21.

But when I tried to boot the kernel, the booting sopped at "Starting kernel ...". The kernel that I've built doesn't apply any patch from Xenomai, just downloaded in kernel.org and build it.

 

Here is my information:

- u-boot 2009.08 (manufactoring u-boot on SABRE LITE board)

- Linux kernel 3.2.21 (downloaded from main line https://www.kernel.org/pub/linux/kernel/v3.0/)

 

BOOT LOG:

U-Boot 2009.08 (Nov 13 2013 - 11:06:28)

 

CPU: Freescale i.MX6 family TO1.2 at 792 MHz

Temperature:   45 C, calibration data 0x59f4e77d

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: MX6Q-SABRELITE:[ POR]

Boot Device: I2C

I2C:   ready

DRAM:   1 GB

MMC:   FSL_USDHC: 0,FSL_USDHC: 1

JEDEC ID: 0xbf:0x25:0x41

Reading SPI NOR flash 0xc0000 [0x2000 bytes] -> ram 0x276009b8

SUCCESS

 

 

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

FEC: Link is Up 796d

Using FEC0 device

TFTP from server 161.122.114.60; our IP address is 161.122.114.10

Filename 'uImage'.

Load address: 0x10800000

Loading: T #################################################################

         #################################################################

         #################################################################

         ##################

done

Bytes transferred = 3112348 (2f7d9c hex)

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

   Image Name:   Linux-3.0.43

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    3112284 Bytes =  3 MB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK

 

 

Starting kernel ...

 

Command line to build kernel:

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- imx6q_defconfig (please refer the attached file)

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- all

 

I'm using TFTP and NFS, then I changed some variable in u-boot environment:

bootdelay=3

baudrate=115200

netmask=255.255.255.0

loadaddr=0x10800000

rd_loadaddr=0x11000000

netdev=eth0

ethprime=FEC0

ethaddr=00:01:02:03:04:05

uboot=u-boot.bin

kernel=uImage

bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

bootcmd_net=dhcp; run bootargs_nfs;bootm

bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw

bootcmd_mmc=run bootargs_mmc;mmc dev 1;mmc read ${loadaddr} 0x800 0x2000;bootm

clearenv=sf probe 1 && sf erase 0xc0000 0x2000 && echo restored environment to factory default

upgradeu=for disk in 0 1 ; do mmc dev ${disk} ;for fs in fat ext2 ; do ${fs}load mmc ${disk}:1 10008000 /6q_upgrade && source 10008000 ; done ; done

nfsroot=_ROOTFS_PATH_IN_NFS_

ethact=FEC0

serverip=161.122.114.60

ipaddr=161.122.114.10

bootargs=console=ttymxc1,115200 ip=161.122.114.10 root=/dev/nfs rw nfsroot=161.122.114.60:/home/sonnguyen/rtnet-xenomai-rootfs-2-6-4 init=/init rw video=mxcfb0:dev=ldb, LDB-XGA,if=RGB666 fbmem=10M vmalloc=41

bootfile=uImage

bootcmd=tftp;bootm 10800000

stdin=serial

stdout=serial

stderr=serial

 

I also tried with kernel 3.0.43, kernel 3.4.6 but got the same issue. I don't want to change to higher kernel version which requires device tree boot (.dtb) because it isn't support by RTnet (I came out with this decision when I used kernel 3.14.17)

Could you give me some advises to overcome this issue? Did I do something wrong?

 

Thank You,

Nguyen Hung Son

Original Attachment has been moved to: imx6_defconfig.zip

0 Kudos
11 Replies

1,578 Views
fabio_estevam
NXP Employee
NXP Employee

You really need to use device tree if you want to boot 3.2 or higher. In kernel,org only dt boot is supported on mx6.

So I would suggest you to use a recent bootoloader version that supports dt boot (hint: 2009.08 does not) and use a new kernel with it.

Good luck!

0 Kudos

1,578 Views
sonnguyen
Contributor I

Hello Fabio,

Thank you for your reply.

I updated my bootloader with u-boot-2014.04, using kernel 3.2.21 (downloaded from ipipe-gch.git - Gilles' I-pipe and FCSE tree) and already create SDcard with .dtb file follow the instruction in this link i.MX6x SABRE Lite - Linux on ARM - eewiki

But the kernel is still hang.

U-Boot 2014.04 (Nov 11 2014 - 22:21:44)

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

Reset cause: POR

Board: SABRE Lite

I2C:   ready

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

MMC: no card present

MMC init failed

Using default environment

No panel detected: default to HDMI

Display: HDMI (1024x768)

In:    serial

Out:   serial

Err:   serial

Net:   using phy at 6

FEC [PRIME]

Warning: failed to set MAC address

, usb_ether

Hit any key to stop autoboot:  0

MMC: no card present

mmc0(part 0) is current device

MMC: no card present

mmc1 is current device

SD/MMC found on device 1

1079 bytes read in 39 ms (26.4 KiB/s)

Importing environment from mmc (uEnv.txt)...

Running uenvcmd ...

3415384 bytes read in 280 ms (11.6 MiB/s)

37933 bytes read in 240 ms (154.3 KiB/s)

Kernel image @ 0x12000000 [ 0x000000 - 0x341d58 ]

## Flattened Device Tree blob at 11000000

   Booting using the fdt blob at 0x11000000

   Using Device Tree in place at 11000000, end 1100c42c

Starting kernel ...

u-boot enviroment:

baudrate=115200

board=sabrelite

boot_fdt=try

bootcmd=mmc dev 0; if mmc rescan ; then setenv mmcdev 0; echo SD/MMC found on device ${mmcdev}; if run loadbootenv; then run importbootenv; fi; if test -n $uenvcmd; then echo Running uenvcmd ...; run uenvcmi

bootdelay=1

bootscript=echo Running bootscript from mmc ...; source

console=ttymxc1

cpu=6Q

ethact=FEC

ethprime=FEC

fdt_addr=0x18000000

fdt_file=/dtbs/imx6q-sabrelite.dtb

fdt_high=0xffffffff

importbootenv=echo Importing environment from mmc (uEnv.txt)...; env import -t ${loadaddr} ${filesize}

initrd_high=0xffffffff

ip_dyn=yes

loadaddr=0x12000000

loadbootenv=load mmc ${mmcdev}:${mmcpart} ${loadaddr} uEnv.txt

loadbootscript=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};

loadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}

loadzimage=load mmc ${mmcdev}:${mmcpart} ${loadaddr} zImage

mmcargs=setenv bootargs console=${console},${baudrate} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype} video=${video}

mmcboot=echo Booting from mmc ...; run mmcargs; bootz ${loadaddr} - ${fdt_addr};

mmcdefault=echo Booting from mmc ...; run mmcargs; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm;;

mmcdev=1

mmcpart=1

mmcroot=/dev/mmcblk0p2 ro

mmcrootfstype=ext4 rootwait fixrtc

netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp

netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_fdt} = yes || test ${boot_fdt} = try; th;

script=boot.scr

uimage=uImage

Environment size: 2224/8188 bytes

U-boot can read dtb and zImage file, but I don't know why kernel is hang at "Starting kernel..."

I stuck with this issue for a long time, did search to overcome this issue, but until now I can't.

Thank you,

Nguyen Hung Son

0 Kudos

1,578 Views
fabio_estevam
NXP Employee
NXP Employee

Try booting a kernel 3.17.2, just to make sure your environment is good.

If it boots, then you can try 3.2 + patched kernel.

0 Kudos

1,578 Views
sonnguyen
Contributor I

I tried booting the kernel 3.17.2 and It's really weird, the same issue happened.

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- imx_v6_v7_defconfig

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- zImage modules


Then I copied zImage, imx6q-sabrelite.dtb file and installed modules into MMC card. But it didn't work, then I tried with kernel 3.14.17, it worked.

Is my configuration wrong or my environment not correct?


Thank you,

Nguyen Hung Son

0 Kudos

1,578 Views
fabio_estevam
NXP Employee
NXP Employee

Make sure you are using the dtb from the same kernel: make imx6q-sabrelite.dtb

0 Kudos

1,578 Views
fabio_estevam
NXP Employee
NXP Employee

Just looked in 3.2 kernel:

https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/tree/arch/arm/boot/dts?id=refs/...

There is not even a dts for imx6q-sabrelite.dts in this kernel version.

0 Kudos

1,578 Views
sonnguyen
Contributor I

This is boot logs for booting kernel 3.15.x ( I just changed kernel image zImage, module files and dtb file in MMC card), I still use the same u-boot 2014.04 when I booted kernel 3.17.2

U-Boot 2014.04 (Nov 11 2014 - 22:21:44)

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

Reset cause: POR

Board: SABRE Lite

I2C:   ready

DRAM:  1 GiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

MMC: no card present

MMC init failed

Using default environment

No panel detected: default to HDMI

Display: HDMI (1024x768)

In:    serial

Out:   serial

Err:   serial

Net:   using phy at 6

FEC [PRIME]

Warning: failed to set MAC address

, usb_ether

Hit any key to stop autoboot:  0

MMC: no card present

mmc0(part 0) is current device

MMC: no card present

mmc1 is current device

SD/MMC found on device 1

1079 bytes read in 57 ms (17.6 KiB/s)

Importing environment from mmc (uEnv.txt)...

Running uenvcmd ...

4693768 bytes read in 369 ms (12.1 MiB/s)

31927 bytes read in 91 ms (341.8 KiB/s)

Kernel image @ 0x12000000 [ 0x000000 - 0x479f08 ]

## Flattened Device Tree blob at 11000000

   Booting using the fdt blob at 0x11000000

   Using Device Tree in place at 11000000, end 1100acb6

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpuset

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Initializing cgroup subsys cpuacct

[    0.000000] Linux version 3.15.8-armv7-x5 (root@sonnguyen-All-Series) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #1 SMP Fri Nov 7 13:39:04

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

[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

[    0.000000] Machine model: Freescale i.MX6 Quad SABRE Lite Board

[    0.000000] Memory policy: Data cache writealloc

[    0.000000] PERCPU: Embedded 9 pages/cpu @eefb7000 s14592 r8192 d14080 u36864

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260624

[    0.000000] Kernel command line: console=ttymxc1,115200n8 console=tty0 root=/dev/mmcblk0p2 ro rootfstype=ext4 rootwait fixrtc video=

[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)

[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] allocated 2097152 bytes of page_cgroup

[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[    0.000000] Memory: 1022424K/1048576K available (8805K kernel code, 801K rwdata, 3532K rodata, 610K init, 1041K bss, 26152K reserved, 270336K highmem)

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)

[    0.000000]       .text : 0xc0008000 - 0xc0c14630   (12338 kB)

[    0.000000]       .init : 0xc0c15000 - 0xc0cad900   ( 611 kB)

[    0.000000]       .data : 0xc0cae000 - 0xc0d76608   ( 802 kB)

[    0.000000]        .bss : 0xc0d76608 - 0xc0e7ac50   (1042 kB)

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

[    0.000000] Hierarchical RCU implementation.

[    0.000000]  RCU dyntick-idle grace-period acceleration is enabled.

[    0.000000] NR_IRQS:16 nr_irqs:16 16

[    0.000000] L310 cache controller enabled

[    0.000000] l2x0: 16 ways, CACHE_ID 0x410000c7, AUX_CTRL 0x32070000, Cache size: 1024 kB

[    0.000000] Switching to timer-based delay loop

[    0.000007] sched_clock: 32 bits at 66MHz, resolution 15ns, wraps every 65075262448ns

[    0.000831] Console: colour dummy device 80x30

[    0.001186] console [tty0] enabled

[    0.001211] Calibrating delay loop (skipped), value calculated using timer frequency.. 132.00 BogoMIPS (lpj=660000)

[    0.001239] pid_max: default: 32768 minimum: 301

[    0.001318] Security Framework initialized

[    0.001357] AppArmor: AppArmor disabled by boot time parameter

[    0.001372] Yama: becoming mindful.

[    0.001520] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.001540] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[    0.002077] Initializing cgroup subsys memory

[    0.002105] Initializing cgroup subsys devices

[    0.002123] Initializing cgroup subsys freezer

[    0.002139] Initializing cgroup subsys net_cls

[    0.002154] Initializing cgroup subsys blkio

[    0.002169] Initializing cgroup subsys perf_event

[    0.002227] CPU: Testing write buffer coherency: ok

[    0.002504] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

[    0.002571] Setting up static identity map for 0x1085efa8 - 0x1085f040

[    0.006368] CPU1: Booted secondary processor

[    0.006392] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

[    0.007288] CPU2: Booted secondary processor

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

[    0.008198] CPU3: Booted secondary processor

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

[    0.008333] Brought up 4 CPUs

[    0.008406] SMP: Total of 4 processors activated.

[    0.008420] CPU: All CPU(s) started in SVC mode.

[    0.009047] devtmpfs: initialized

[    0.012653] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

[    0.014078] xor: measuring software checksum speed

[    0.110149]    arm4regs  :  1212.000 MB/sec

[    0.210147]    8regs     :   776.400 MB/sec

[    0.310149]    32regs    :   763.600 MB/sec

[    0.410145]    neon      :   827.600 MB/sec

[    0.410160] xor: using function: arm4regs (1212.000 MB/sec)

[    0.410182] pinctrl core: initialized pinctrl subsystem

[    0.410530] regulator-dummy: no parameters

[    0.417524] NET: Registered protocol family 16

[    0.418733] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.419407] cpuidle: using governor ladder

[    0.419426] cpuidle: using governor menu

[    0.419685] CPU identified as i.MX6Q, silicon rev 1.2

[    0.426887] vdd1p1: 800 <--> 1375 mV at 1100 mV

[    0.427276] vdd3p0: 2800 <--> 3150 mV at 3000 mV

[    0.427626] vdd2p5: 2000 <--> 2750 mV at 2400 mV

[    0.427989] vddarm: 725 <--> 1450 mV at 1150 mV

[    0.428371] vddpu: 725 <--> 1450 mV at 1150 mV

[    0.428742] vddsoc: 725 <--> 1450 mV at 1175 mV

[    0.435503] No ATAGs?

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

[    0.435561] hw-breakpoint: maximum watchpoint size is 4 bytes.

[    0.436615] imx6q-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

[    0.610574] raid6: int32x1    116 MB/s

[    0.780280] raid6: int32x2    155 MB/s

[    0.950480] raid6: int32x4    168 MB/s

[    1.120151] raid6: int32x8    192 MB/s

[    1.290164] raid6: neonx1     592 MB/s

[    1.460200] raid6: neonx2     656 MB/s

[    1.630201] raid6: neonx4     654 MB/s

[    1.800185] raid6: neonx8     513 MB/s

[    1.800200] raid6: using algorithm neonx2 (656 MB/s)

[    1.800215] raid6: using intx1 recovery algorithm

[    1.803198] mxs-dma 110000.dma-apbh: initialized

[    1.803700] edma-dma-engine edma-dma-engine.0: Can't allocate PaRAM dummy slot

[    1.803734] edma-dma-engine: probe of edma-dma-engine.0 failed with error -5

[    1.804371] 2P5V: 2500 mV

[    1.804586] 3P3V: 3300 mV

[    1.804831] usb_otg_vbus: 5000 mV

[    1.807421] SCSI subsystem initialized

[    1.807885] usbcore: registered new interface driver usbfs

[    1.807957] usbcore: registered new interface driver hub

[    1.808068] usbcore: registered new device driver usb

[    1.809654] i2c i2c-0: IMX I2C adapter registered

[    1.810171] media: Linux media interface: v0.10

[    1.810234] Linux video capture interface: v2.00

[    1.810324] pps_core: LinuxPPS API ver. 1 registered

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

[    1.810375] PTP clock support registered

[    1.811754] NetLabel: Initializing

[    1.811773] NetLabel:  domain hash size = 128

[    1.811785] NetLabel:  protocols = UNLABELED CIPSOv4

[    1.811838] NetLabel:  unlabeled traffic allowed by default

[    1.812075] Switched to clocksource mxc_timer1

[    1.857338] NET: Registered protocol family 2

[    1.857876] TCP established hash table entries: 8192 (order: 3, 32768 bytes)

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

[    1.858102] TCP: Hash tables configured (established 8192 bind 8192)

[    1.858183] TCP: reno registered

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

[    1.858267] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

[    1.858500] NET: Registered protocol family 1

[    1.858931] RPC: Registered named UNIX socket transport module.

[    1.858953] RPC: Registered udp transport module.

[    1.858967] RPC: Registered tcp transport module.

[    1.858980] RPC: Registered tcp NFSv4.1 backchannel transport module.

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

[    1.861404] futex hash table entries: 1024 (order: 4, 65536 bytes)

[    1.861572] audit: initializing netlink subsys (disabled)

[    1.861633] audit: type=2000 audit(1.849:1): initialized

[    2.069351] bounce pool size: 64 pages

[    2.074921] VFS: Disk quotas dquot_6.5.2

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

[    2.076789] NFS: Registering the id_resolver key type

[    2.076835] Key type id_resolver registered

[    2.076850] Key type id_legacy registered

[    2.076872] nfs4filelayout_init: NFSv4 File Layout Driver Registering...

[    2.077107] fuse init (API version 7.23)

[    2.077581] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled

[    2.079701] msgmni has been set to 1468

[    2.080730] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

[    2.080853] io scheduler noop registered

[    2.080870] io scheduler deadline registered

[    2.080924] io scheduler cfq registered (default)

[    2.081380] imx-weim 21b8000.weim: Driver registered.

[    2.089280] imx-sdma 20ec000.sdma: initialized

[    2.090501] imx-sdma 20ec000.sdma: firmware not found

[    2.090729] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled

[    2.092295] Serial: IMX driver

[    2.092583] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX

[    2.093175] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX

[    2.939241] console [ttymxc1] enabled

[    2.944025] serial: Freescale lpuart driver

[    2.948902] [drm] Initialized drm 1.1.0 20060810

[    2.953685] usbcore: registered new interface driver udl

[    2.963334] ahci-imx 2200000.sata: SSS flag set, parallel bus scan disabled

[    2.970345] ahci-imx 2200000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode

[    2.979176] ahci-imx 2200000.sata: flags: ncq sntf stag pm led clo only pmp pio slum part ccc apst

[    2.989531] scsi0 : ahci_platform

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

[    3.003289] spi_imx 2008000.ecspi: probed

[    3.009093] 2188000.ethernet supply phy not found, using dummy regulator

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

[    3.041386] fec 2188000.ethernet (unregistered net_device): Using random MAC address: 3a:e9:bb:5b:39:83

[    3.054515] libphy: fec_enet_mii_bus: probed

[    3.059340] fec 2188000.ethernet eth0: registered PHC device 0

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

[    3.072800] ehci-platform: EHCI generic platform driver

[    3.078250] ehci-omap: OMAP-EHCI Host Controller driver

[    3.083643] tegra-ehci: Tegra EHCI driver

[    3.087899] usbcore: registered new interface driver usb-storage

[    3.095882] ci_hdrc ci_hdrc.0: doesn't support gadget

[    3.101082] ci_hdrc ci_hdrc.0: EHCI Host Controller

[    3.106236] ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1

[    3.132098] ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00

[    3.137762] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    3.144591] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.151835] usb usb1: Product: EHCI Host Controller

[    3.156742] usb usb1: Manufacturer: Linux 3.15.8-armv7-x5 ehci_hcd

[    3.162955] usb usb1: SerialNumber: ci_hdrc.0

[    3.167991] hub 1-0:1.0: USB hub found

[    3.171803] hub 1-0:1.0: 1 port detected

[    3.176303] 2184200.usb supply vbus not found, using dummy regulator

[    3.183930] ci_hdrc ci_hdrc.1: doesn't support gadget

[    3.189006] ci_hdrc ci_hdrc.1: EHCI Host Controller

[    3.194145] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2

[    3.212113] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

[    3.217752] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

[    3.224578] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    3.231823] usb usb2: Product: EHCI Host Controller

[    3.236730] usb usb2: Manufacturer: Linux 3.15.8-armv7-x5 ehci_hcd

[    3.242939] usb usb2: SerialNumber: ci_hdrc.1

[    3.247933] hub 2-0:1.0: USB hub found

[    3.251740] hub 2-0:1.0: 1 port detected

[    3.256601] mousedev: PS/2 mouse device common for all mice

[    3.262668] i2c /dev entries driver

[    3.266683] IR Sharp protocol handler initialized

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

[    3.282414] sdhci: Secure Digital Host Controller Interface driver

[    3.288613] sdhci: Copyright(c) Pierre Ossman

[    3.293504] sdhci-pltfm: SDHCI platform and OF driver helper

[    3.299978] sdhci-esdhc-imx 2198000.usdhc: could not get ultra high speed state, work on normal mode

[    3.310181] mmc0: no vqmmc regulator found

[    3.342107] ata1: SATA link down (SStatus 0 SControl 300)

[    3.352185] mmc0: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

[    3.359977] sdhci-esdhc-imx 219c000.usdhc: could not get ultra high speed state, work on normal mode

[    3.369184] mmc1: no vqmmc regulator found

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

[    3.419870] ledtrig-cpu: registered to indicate activity on CPUs

[    3.425990] hidraw: raw HID events driver (C) Jiri Kosina

[    3.432147] usbcore: registered new interface driver usbhid

[    3.437740] usbhid: USB HID core driver

[    3.442714] ashmem: initialized

[    3.447663] imx-ipuv3 2400000.ipu: IPUv3H probed

[    3.452886] imx-ipuv3 2800000.ipu: IPUv3H probed

[    3.458318] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).

[    3.464984] [drm] No driver support for vblank timestamp query.

[    3.471018] imx-drm display-subsystem.11: bound imx-ipuv3-crtc.0 (ops ipu_crtc_ops)

[    3.478787] imx-drm display-subsystem.11: bound imx-ipuv3-crtc.1 (ops ipu_crtc_ops)

[    3.486553] imx-drm display-subsystem.11: bound imx-ipuv3-crtc.2 (ops ipu_crtc_ops)

[    3.494324] imx-drm display-subsystem.11: bound imx-ipuv3-crtc.3 (ops ipu_crtc_ops)

[    3.502191] imx-drm display-subsystem.11: bound ldb.10 (ops imx_ldb_ops)

[    3.502394] mmc1: host does not support reading read-only switch. assuming write-enable.

[    3.510355] mmc1: new high speed SDHC card at address aaaa

[    3.510773] mmcblk0: mmc1:aaaa SU04G 3.69 GiB

[    3.528535]  mmcblk0: p1 p2

[    3.539684] Console: switching to colour frame buffer device 128x48

[    3.551106] imx-drm display-subsystem.11: fb0:  frame buffer device

[    3.557471] imx-drm display-subsystem.11: registered panic notifier

[    3.563836] [drm] Initialized imx-drm 1.0.0 20120507 on minor 0

[    3.570958] oprofile: using arm/armv7-ca9

[    3.575201] TCP: cubic registered

[    3.579102] NET: Registered protocol family 10

[    3.584429] mip6: Mobile IPv6

[    3.587453] NET: Registered protocol family 17

[    3.592021] Key type dns_resolver registered

[    3.592138] usb 2-1: new high-speed USB device number 2 using ci_hdrc

[    3.602892] mpls_gso: MPLS GSO support

[    3.608600] ThumbEE CPU extension supported.

[    3.612962] Registering SWP/SWPB emulation handler

[    3.620022] registered taskstats version 1

[    3.627225] Btrfs loaded

[    3.631841] Error: Driver 'tfp410' is already registered, aborting...

[    3.640785] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)

[    3.648859] sr_init: No PMIC hook to init smartreflex

[    3.655762] sr_init: platform driver register failed for SR

[    3.693243] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.703200] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.

[    3.723413] devtmpfs: mounted

[    3.728652] Freeing unused kernel memory: 608K (c0c15000 - c0cad000)

[    3.742615] usb 2-1: New USB device found, idVendor=0424, idProduct=2513

[    3.751552] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

[    3.761388] hub 2-1:1.0: USB hub found

[    3.767492] hub 2-1:1.0: 3 ports detected

[    4.554408] udevd[199]: starting version 175

[    4.747722] input: gpio-keys.13 as /devices/soc0/gpio-keys.13/input/input0

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

[    4.900352] m25p80 spi0.0: sst25vf016b (2048 Kbytes)

[    4.913260] sgtl5000 0-000a: sgtl5000 revision 0x11

[    4.913327] imx-sgtl5000 sound.14: ASoC: CODEC (null) not registered

[    4.913366] imx-sgtl5000 sound.14: snd_soc_register_card failed (-517)

[    4.913416] platform sound.14: Driver imx-sgtl5000 requests probe deferral

[    4.937075] 0-000a: 1200 mV normal

[    4.937129] sgtl5000 0-000a: Using internal LDO instead of VDDD

[    4.956447] imx-sgtl5000 sound.14: sgtl5000 <-> 2028000.ssi mapping ok

[    5.560446] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)

[    5.708446] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro

[    7.363340] EXT4-fs (mmcblk0p1): mounting ext2 file system using the ext4 subsystem

[    7.380003] EXT4-fs (mmcblk0p1): mounted filesystem without journal. Opts: (null)

[    7.935749] random: dd urandom read with 126 bits of entropy available

[    8.102250] random: nonblocking pool is initialized

[    8.362537] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:06, irq=-1)

[    8.376025] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[   12.362507] fec 2188000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx

[   12.372165] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

Debian GNU/Linux 7 arm ttymxc1

default username:password is [debian:temppwd]

arm login: debian

Password:

0 Kudos

1,578 Views
sonnguyen
Contributor I

I saw it too, does it means that the kernel 3.2.x doesn't support for SABRE Lite?

For Kernel 3.17.2, I created all dtbs (in same kernel)and copied them to MMC card:

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-  dtbs


I've also tried with this one i.MX6x SABRE Lite - Linux on ARM - eewiki ( Robert Nelson just updated kernel version from 3.15.x to 3.17.x and also updated rootfs), I did the same but doesn't work, but it worked at last time when using kernel 3.15.x.

0 Kudos

1,578 Views
sonnguyen
Contributor I

Sorry everyone, I gave some wrong information, the command to build linux should be:

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- distclean

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- imx6q_defconfig

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- uImage modules LOADADDR=0x10008000


This is my coping mistake.


Thank you,

Nguyen Hung Son

0 Kudos

1,578 Views
igorpadykov
NXP Employee
NXP Employee

Hi Son

I would suggest to look at excellent SabreLite resource

i.MX6x SABRE Lite - Linux on ARM - eewiki

Best regards

igor

0 Kudos

1,578 Views
sonnguyen
Contributor I

Hi Igor,

Thank you for your suggestion.

I tried the kernel version on that link before, SABRE Lite can boot with it but Xenomai and RTnet couldn't work with this kernel, it's version 3.15.x and its code is not compatible with RTnet.

Thank you,

Nguyen Hung Son

0 Kudos