FrankBau / meta-marsboard-bsp

Yocto BSP Layer for Embest Tech iMX6 MarS Board
https://github.com/FrankBau/meta-marsboard-bsp/wiki
MIT License
50 stars 32 forks source link

Mars Board Stuck at Starting Kernel.... #10

Closed sgnandish closed 7 years ago

sgnandish commented 7 years ago

Hi Frank,

I am using the Mars Board, For this board i build the "core-image-sato" image,For buliding this image i followed this link 1) (https://github.com/FrankBau/meta-marsboard-bsp/wiki/Setting-up-the-Build-Environment), 2) Then i added QT5 layer to source dir (git clone -b jethro https://github.com/meta-qt5/meta-qt5.git) 3) Then i added the Mars Board layer to source dir (git clone -b krogoth https://github.com/FrankBau
/meta-marsboard-bsp) 4) Finally i set the "MACHINE=marsboard source setup-environment build" 5) Then i build the image using "bitbake core-image-sato", in this case i am succeed to build and run the image on HDMI display without changing any uboot
parameter, Now i am facing some problems they are as given below, 1) when i am recompile the "uImage" without changing anything in source i am getting the "uImage"
with only 2.1MB of size (but it was actually 5.8MB originally size), for compiling in case (i) : "make -j4 uImage" it gives 2.1MB size of uIamge. in case (ii): "make -j4 uImage LOADADDR=0x10008000" it gives 5.0MB size of uImage. when i am use the case (ii) uImage it is not working, and i set the load address also, it stuck at
starting kernel....,

2) Now i want to interface this board with "New Heaven Display 5" LCD [hx8257 driver IC]", so i modified some changes in source then i recompile the "imx6q-marsboard.dts" and "uImage" for uImage i use the follwing command "make -j4 uImage LOADADDR=0x10008000" this also gives the same 5.0MB size of uImage, And i use this uImage with setting the Load Address it stuck at starting kernel...

below is the kernel logs:

U-Boot 2016.09.01 (Feb 23 2017 - 11:55:26 +0530)

CPU: Freescale i.MX6D rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 39C Reset cause: POR Board: MarSBoard I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Error: FEC address not set.

Hit any key to stop autoboot: 0 reading /uImage 4970760 bytes read in 259 ms (18.3 MiB/s) reading /imx6q-marsboard.dtb 36549 bytes read in 19 ms (1.8 MiB/s)

Booting kernel from Legacy Image at 10800000 ...

Image Name: Linux-4.1.15+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4970696 Bytes = 4.7 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK

Flattened Device Tree blob at 12000000

Booting using the fdt blob at 0x12000000 Loading Kernel Image ... OK Using Device Tree in place at 12000000, end 1200bec4

Starting kernel ...

then i update the "u-boot.imx" also it doesn't help me to solve this issue,

could you please help me to come out this problem,

Thanks in advance

Best Regards

nandishsg

FrankBau commented 7 years ago

Hi nandishsg,

no idea why your uImage gets so small. You can rebuild a modified kernel from a bitbake shell like bitbake -f -c compile virtual/kernel which should work correctly.

Don't know your display, but I2C busses are already enabled in the default device tree. So you might start with an unmodified kernel and setting I2C from the command line (i2c-tools) or user mode C code, see https://github.com/FrankBau/meta-marsboard-bsp/wiki/Using-I2C. When your display works, you may shift the code later into a kernel module. Or, start with https://github.com/notro/fbtft/wiki/How-it-works ?

hth

Frank

sgnandish commented 7 years ago

Hi Frank

Thank You for your valuable reply, Dear frank i am facing the same issues again i.e " Starting Kernel.... " After modifying the kernel i execute the command in bitbake shell what you specified in previous post
i.e " bitbake -f -c compile virtual/kernel " but i am not seeing any change in the following directory
"/MARS/build/tmp/deploy/images/marsboard$ " , So after that i recompile the "uImage" and "imx6q-marsboard.dts" with using the following commands "make -j4 uImage LOADADDR=0x10008000" and "make imx6q-marsboard.dtb" Then the following u-boot parameter which i set: setenv bootcmd "mmc rescan; fatload mmc 0:1 0x10008000 /uImage; fatload mmc 0:1 0x12000000 /imx6q-marsboard.dtb; bootm 0x10008000 - 0x12000000"
below is the kernel boot logs:

U-Boot 2016.09.01 (Mar 01 2017 - 18:03:40 +0530)

CPU: Freescale i.MX6D rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 30C Reset cause: WDOG Board: MarSBoard I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Error: FEC address not set.

Hit any key to stop autoboot: 0 reading /uImage 5327336 bytes read in 265 ms (19.2 MiB/s) reading /imx6q-marsboard.dtb 36510 bytes read in 18 ms (1.9 MiB/s)

Booting kernel from Legacy Image at 10008000 ...

Image Name: Linux-4.1.15+ Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5327272 Bytes = 5.1 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK

Flattened Device Tree blob at 12000000

Booting using the fdt blob at 0x12000000 Loading Kernel Image ... OK Using Device Tree in place at 12000000, end 1200be9d

Starting kernel ...

could you please tell me where i am wrong in this case, if you need any input from my side please let me know, Thanks in Advance Best Regards Nandish sg

sgnandish commented 7 years ago

Hi Frank,

Could you have any suggestion for my previous post,

Thank in Advance Best Regards Nandish SG

FrankBau commented 7 years ago

Hi nandishsg,

I'm busy with other projects right now, but I try to give you more explanations:

Don't know exactly what you changed in the kernel but, for testing, I enabled support for the TSC2046 touch screen controller in the kernel

bitbake -c menuconfig virtual/kernel

-> Device Drivers
  -> Input device support
    -> Touchscreens 
        <M> ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens

Next, I did

bitbake -f -c compile virtual/kernel 

which enforces re-execution of the compile task for the kernel. The kernel has its own build system which decides what to re-build. The build results stay within the working directory of the kernel. For me this is ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build

And, yes, a new uImage has been built:

ls -l ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build/arch/arm/boot/uImage 
-rw-r--r-- 1 frank frank 5797432 Mär  7 17:14 ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build/arch/arm/boot/uImage

which has a reasonable size. But, the deploy folder still contains the old uImage (because bitbake only did a compile). Check with

ls -l ${BUILDDIR}/tmp/deploy/images/marsboard

In order to update this file too, execute:

bitbake virtual/kernel

This time, bitbake detects that it needs to do more after compile and issues all necessary tasks like compile_kernelmodules, uboot_mkimage, ... see statistics in ${BUILDDIR}/tmp/buildstats and logs in ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/temp

Last, I rebuild the image because the touchsreen driver is a loadable kernel module which is in the root file system:

 bitbake image-multimedia-full

This will build a couple of dependent packages and finally update the image in the deploy folder.

Hope this helps

Frank

sgnandish commented 7 years ago

Hi Frank,

Thank you for your suggestion. I will try today which you mentioned above steps,

Best regards Nandish S.G

sgnandish commented 7 years ago

Hi Frank Bau,

Thanks for your support, i am successfully resolved the above issue,

Best Regards Nandish S.G

sgnandish commented 7 years ago

Dear Frank,

PFA, I want to enable the touch screen in my LCD (St7789s LCD driver IC) and touch controller is is FT6306DMB with MARS imx6 dual cortex A9 Board, when i am connect the pin no 42 & 43 on board side for I2C communication i am not getting any signal on oscilloscope(please refer the image name by LCDPARALLELPORT.png), But when i am connect the pin no 3 & 5 on Expantion Port(J11) in Board side i am getting the some signal on oscilloscope with wrong address(please refer the image ExpantionPort.png ), i am expecting the 0x38 is the correct address, in boot log i am getting the message like" could not detect touch screen -19" could you please help me where i am wrong in this case , how to solve this issue

Best regards / Mit freundlichen Grüßen

MARQUARDT INDIA PVT. LTD. TDS-PU

Nandish S G

Tel.: +91 (0)20 6673 2032 Mobile: +91 9538980711 mailto: nandish.gurulingappa@marquardt.de http://www.marquardt.comhttp://www.marquardt.com/

From: Frank Bauernöppel [mailto:notifications@github.com] Sent: Tuesday, March 07, 2017 10:23 PM To: FrankBau/meta-marsboard-bsp meta-marsboard-bsp@noreply.github.com Cc: Gurulingappa, Nandish (TDS2-PU) Nandish.Gurulingappa@Marquardt.de; State change state_change@noreply.github.com Subject: Re: [FrankBau/meta-marsboard-bsp] Mars Board Stuck at Starting Kernel.... (#10)

Hi nandishsg,

I'm busy with other projects right now, but I try to give you more explanations:

Don't know exactly what you changed in the kernel but, for testing, I enabled support for the TSC2046 touch screen controller in the kernel

bitbake -c menuconfig virtual/kernel

-> Device Drivers

-> Input device support

-> Touchscreens

    <M> ADS7846/TSC2046/AD7873 and AD(S)7843 based touchscreens

Next, I did

bitbake -f -c compile virtual/kernel

which enforces re-execution of the compile task for the kernel. The kernel has its own build system which decides what to re-build. The build results stay within the working directory of the kernel. For me this is ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build

And, yes, a new uImage has been built:

ls -l ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build/arch/arm/boot/uImage

-rw-r--r-- 1 frank frank 5797432 Mär 7 17:14 ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/build/arch/arm/boot/uImage

which has a reasonable size. But, the deploy folder still contains the old uImage (because bitbake only did a compile). Check with

ls -l ${BUILDDIR}/tmp/deploy/images/marsboard

In order to update this file too, execute:

bitbake virtual/kernel

This time, bitbake detects that it needs to do more after compile and issues all necessary tasks like compile_kernelmodules, uboot_mkimage, ... see statistics in ${BUILDDIR}/tmp/buildstats and logs in ${BUILDDIR}/tmp/work/marsboard-poky-linux-gnueabi/linux-marsboard/4.1.15-r0/temp

Last, I rebuild the image because the touchsreen driver is a loadable kernel module which is in the root file system:

bitbake image-multimedia-full

This will build a couple of dependent packages and finally update the image in the deploy folder.

Hope this helps

Frank

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/FrankBau/meta-marsboard-bsp/issues/10#issuecomment-284784816, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY4MsMCnTnIhLvrxuKEZYpFBmxXbq1TMks5rjYuCgaJpZM4MOZV1.

U-Boot 2016.09.01 (Mar 15 2017 - 15:29:43 +0530)

CPU: Freescale i.MX6D rev1.2 996 MHz (running at 792 MHz) CPU: Extended Commercial temperature grade (-20C to 105C) at 40C Reset cause: POR Board: MarSBoard I2C: ready DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB No panel detected: default to HDMI Display: HDMI (1024x768) In: serial Out: serial Err: serial Net: FEC [PRIME] Error: FEC address not set.

Hit any key to stop autoboot: 0 reading /uImage 6653464 bytes read in 334 ms (19 MiB/s) reading /imx6q-marsboard.dtb 36692 bytes read in 19 ms (1.8 MiB/s)

Booting kernel from Legacy Image at 10008000 ...

Image Name: Linux-4.1.15+g76c24a0 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 6653400 Bytes = 6.3 MiB Load Address: 10008000 Entry Point: 10008000 Verifying Checksum ... OK

Flattened Device Tree blob at 12000000

Booting using the fdt blob at 0x12000000 Loading Kernel Image ... OK Loading Device Tree to 1fff4000, end 1fffff53 ... OK

Starting kernel ...

Booting Linux on physical CPU 0x0 Linux version 4.1.15+g76c24a0 (sameer@linux1-tds) (gcc version 5.3.0 (GCC) ) #82 SMP PREEMPT Thu Jun 1 17:12:23 IST 2017 CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine model: Marsboard i.MX6 Dual Board Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB Reserved memory: initialized node linux,cma, compatible id shared-dma-pool Memory policy: Data cache writealloc PERCPU: Embedded 12 pages/cpu @ab723000 s16908 r8192 d24052 u49152 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096 Kernel command line: console=ttymxc1,115200 init=/sbin/init rw root=/dev/mmcblk1p2 rootwait rw video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB24,bpp=32 fbmem=32M ethaddr= 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: 698364K/1048576K available (8383K kernel code, 434K rwdata, 2912K rodata, 428K init, 451K bss, 22532K reserved, 327680K cma-reserved, 0K highmem) Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xc0800000 - 0xff000000 (1000 MB) lowmem : 0x80000000 - 0xc0000000 (1024 MB) pkmap : 0x7fe00000 - 0x80000000 ( 2 MB) modules : 0x7f000000 - 0x7fe00000 ( 14 MB) .text : 0x80008000 - 0x80b1017c (11297 kB) .init : 0x80b11000 - 0x80b7c000 ( 428 kB) .data : 0x80b7c000 - 0x80be8980 ( 435 kB) .bss : 0x80beb000 - 0x80c5bc40 ( 452 kB) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 Preemptible hierarchical RCU implementation. Additional per-CPU info printed with stalls. RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 NR_IRQS:16 nr_irqs:16 16 L2C-310 erratum 769419 enabled L2C-310 enabling early BRESP for Cortex-A9 L2C-310 full line of zeros enabled for Cortex-A9 L2C-310 ID prefetch enabled, offset 16 lines L2C-310 dynamic clock gating enabled, standby mode enabled L2C-310 cache controller enabled, 16 ways, 1024 kB L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001 mxc_clocksource_init 3000000 Switching to timer-based delay loop, resolution 333ns sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns Console: colour dummy device 80x30 Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) CPU: Testing write buffer coherency: ok CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 Setting up static identity map for 0x10008280 - 0x100082d8 CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 Brought up 2 CPUs SMP: Total of 2 processors activated (12.00 BogoMIPS). CPU: All CPU(s) started in SVC mode. devtmpfs: initialized VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4 clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic coherent allocations cpuidle: using governor ladder cpuidle: using governor menu CPU identified as i.MX6Q, silicon rev 1.2 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 mxs-dma 110000.dma-apbh: initialized 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 295, base_baud = 5000000) is a IMX console [ttymxc1] enabled 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 296, base_baud = 5000000) is a IMX 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 297, base_baud = 5000000) is a IMX 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 298, base_baud = 5000000) is a IMX SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb 2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator 2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator i2c i2c-0: IMX I2C adapter registered i2c i2c-0: can't use DMA i2c i2c-1: IMX I2C adapter registered i2c i2c-1: can't use DMA i2c i2c-2: IMX I2C adapter registered i2c i2c-2: can't use DMA 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) genirq: Flags mismatch irq 299. 00000000 (2800000.ipu) vs. 00000000 (2400000.ipu) imx-ipuv3 2800000.ipu: request SYNC interrupt failed imx-ipuv3: probe of 2800000.ipu failed with error -16 MIPI CSI2 driver module loaded Advanced Linux Sound Architecture Driver Initialized. Bluetooth: Core ver 2.20 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 Switched to clocksource mxc_timer1 NET: Registered protocol family 2 TCP established hash table entries: 8192 (order: 3, 32768 bytes) TCP bind hash table entries: 8192 (order: 4, 65536 bytes) TCP: Hash tables configured (established 8192 bind 8192) 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. CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available imx rpmsg driver is registered. Bus freq driver module loaded futex hash table entries: 512 (order: 3, 32768 bytes) VFS: Disk quotas dquot_6.6.0 VFS: 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.23) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) imx-weim 21b8000.weim: Driver registered. MIPI DSI driver module loaded MIPI DSI driver module loaded NANDISH LCD2 INIT IS CALLED NANDISH LCD_RESET driver probed

INIT IS END NANDISH LCD DRIVER END mxc_sdc_fb fb@2: registered mxc display driver lcd mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40 find_field: [0] = 0x7ff, max=23 find_field: [1] = 0xfff, max=23 find_field: [2] = 0x17ff, max=23 find_field: [0] = 0x820, max=29 mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40 Console: switching to colour frame buffer device 30x40 imx-sdma 20ec000.sdma: no iram assigned, using external mem imx-sdma 20ec000.sdma: no event needs to be remapped imx-sdma 20ec000.sdma: loaded firmware 3.3 imx-sdma 20ec000.sdma: initialized imx sema4 driver is registered. [drm] Initialized drm 1.1.0 20060810 [drm] Initialized vivante 1.0.0 20120216 on minor 0 brd: module loaded loop: module loaded m25p80 spi0.0: sst25vf016b (2048 Kbytes) spi_imx 2008000.ecspi: probed imx6q-pinctrl 20e0000.iomuxc: pin MX6Q_PAD_GPIO_17 already requested by lcd@0; cannot claim for 200c000.ecspi imx6q-pinctrl 20e0000.iomuxc: pin-147 (200c000.ecspi) status -22 imx6q-pinctrl 20e0000.iomuxc: could not request pin 147 (MX6Q_PAD_GPIO_17) from group ecspi2grp on device 20e0000.iomuxc spi_imx 200c000.ecspi: Error applying setting, reverse things back spi_imx 200c000.ecspi: can't get cs gpios spi_imx: probe of 200c000.ecspi failed with error -16 CAN device driver interface 2188000.ethernet supply phy not found, using dummy regulator pps pps0: new PPS source ptp0 fec 2188000.ethernet (unnamed net_device) (uninitialized): Invalid MAC address: 00:00:00:00:00:00 fec 2188000.ethernet (unnamed net_device) (uninitialized): Using random MAC address: 62:32:71:9d:2c:e8 libphy: fec_enet_mii_bus: probed fec 2188000.ethernet eth0: registered PHC device 0 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-mxc: Freescale On-Chip EHCI Host driver usbcore: registered new interface driver usb-storage usbcore: registered new interface driver usb_ehset_test 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator setup_reset_gpios:-2, flags 0 setup_reset_gpios:-2, flags 0 2184200.usb supply vbus not found, using dummy regulator 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 /soc/aips-bus@02100000/i2c@021a8000/edt-ft5x06@38: could not get #interrupt-cells for /soc/aips-bus@02000000/src@020d8000 FT5x06 Get CALLED in PROBE FUNCTION BY BOARD

ft5x06-ts 2-0038: reset fffffffe ft5x06-ts 2-0038: Could not detect touch screen -19. usbcore: registered new interface driver usbtouchscreen check_alarm_past: alarm in the past snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0 i2c /dev entries driver IR NEC protocol handler initialized IR RC5(x/sz) protocol handler initialized IR RC6 protocol handler initialized IR JVC protocol handler initialized IR Sony protocol handler initialized IR SANYO protocol handler initialized IR Sharp protocol handler initialized IR MCE Keyboard/mouse protocol handler initialized IR XMP protocol handler initialized mxc_v4l2_output v4l2_out: V4L2 device registered as video16 mxc_v4l2_output v4l2_out: V4L2 device registered as video17 imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0) Bluetooth: HCI UART driver ver 2.3 Bluetooth: HCI UART protocol H4 registered Bluetooth: HCI UART protocol BCSP registered Bluetooth: HCI UART protocol ATH3K registered usbcore: registered new interface driver bcm203x usbcore: registered new interface driver btusb usbcore: registered new interface driver ath3k sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA mxc_vpu 2040000.vpu_fsl: VPU initialized mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed Galcore version 5.0.11.41671 mmc1: new high speed SDHC card at address 0007 mmcblk1: mmc1:0007 SS08G 7.21 GiB mmcblk1: p1 p2 usb 1-1: new high-speed USB device number 2 using ci_hdrc hub 1-1:1.0: USB hub found hub 1-1:1.0: 4 ports detected caam 2100000.caam: Entropy delay = 3200 caam 2100000.caam: Instantiated RNG4 SH0 caam 2100000.caam: Instantiated RNG4 SH1 caam 2100000.caam: device ID = 0x0a16010000000000 (Era -524) caam 2100000.caam: job rings = 2, qi = 0 caam algorithms registered in /proc/crypto caam_jr 2101000.jr0: registering rng-caam platform caam_sm: blkkey_ex: 4 keystore units available platform caam_sm: 64-bit clear key: platform caam_sm: [0000] 00 01 02 03 04 0f 06 07 platform caam_sm: 64-bit black key: platform caam_sm: [0000] 42 8f 73 71 37 30 cf 49 platform caam_sm: [0008] 16 cf d4 53 1b ab d6 f6 platform caam_sm: 128-bit clear key: platform caam_sm: [0000] 00 01 02 03 04 0f 06 07 platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f platform caam_sm: 128-bit black key: platform caam_sm: [0000] c0 02 7f 3d c2 a7 b5 cd platform caam_sm: [0008] 8e 2c 77 7c 3e e8 18 78 platform caam_sm: 192-bit clear key: platform caam_sm: [0000] 00 01 02 03 04 0f 06 07 platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f platform caam_sm: [0016] 10 11 12 13 14 15 16 17 platform caam_sm: 192-bit black key: platform caam_sm: [0000] 6b fa 48 03 8f 99 b8 5f platform caam_sm: [0008] 89 0b 69 af c2 ab f1 41 platform caam_sm: [0016] bb b1 2f ab 88 3b 33 9e platform caam_sm: [0024] 05 79 f6 f7 c1 e2 8f 0e platform caam_sm: 256-bit clear key: platform caam_sm: [0000] 00 01 02 03 04 0f 06 07 platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f platform caam_sm: [0016] 10 11 12 13 14 15 16 17 platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f platform caam_sm: 256-bit black key: platform caam_sm: [0000] 37 13 b6 1c f9 15 14 4b platform caam_sm: [0008] dc c4 44 9a 3b 47 62 25 platform caam_sm: [0016] 51 b0 8b c9 6c a7 12 3f platform caam_sm: [0024] a1 0b 78 59 04 0f 6b 39 platform caam_sm: 64-bit unwritten blob: platform caam_sm: [0000] 00 00 00 00 00 00 00 00 platform caam_sm: [0008] 00 00 00 00 00 00 00 00 platform caam_sm: [0016] 00 00 00 00 00 00 00 00 platform caam_sm: [0024] 00 00 00 00 00 00 00 00 platform caam_sm: [0032] 00 00 00 00 00 00 00 00 platform caam_sm: [0040] 00 00 00 00 00 00 00 00 platform caam_sm: [0048] 00 00 00 00 00 00 00 00 platform caam_sm: [0056] 00 00 00 00 00 00 00 00 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 128-bit unwritten blob: platform caam_sm: [0000] 00 00 00 00 00 00 00 00 platform caam_sm: [0008] 00 00 00 00 00 00 00 00 platform caam_sm: [0016] 00 00 00 00 00 00 00 00 platform caam_sm: [0024] 00 00 00 00 00 00 00 00 platform caam_sm: [0032] 00 00 00 00 00 00 00 00 platform caam_sm: [0040] 00 00 00 00 00 00 00 00 platform caam_sm: [0048] 00 00 00 00 00 00 00 00 platform caam_sm: [0056] 00 00 00 00 00 00 00 00 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 196-bit unwritten blob: platform caam_sm: [0000] 00 00 00 00 00 00 00 00 platform caam_sm: [0008] 00 00 00 00 00 00 00 00 platform caam_sm: [0016] 00 00 00 00 00 00 00 00 platform caam_sm: [0024] 00 00 00 00 00 00 00 00 platform caam_sm: [0032] 00 00 00 00 00 00 00 00 platform caam_sm: [0040] 00 00 00 00 00 00 00 00 platform caam_sm: [0048] 00 00 00 00 00 00 00 00 platform caam_sm: [0056] 00 00 00 00 00 00 00 00 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 256-bit unwritten blob: platform caam_sm: [0000] 00 00 00 00 00 00 00 00 platform caam_sm: [0008] 00 00 00 00 00 00 00 00 platform caam_sm: [0016] 00 00 00 00 00 00 00 00 platform caam_sm: [0024] 00 00 00 00 00 00 00 00 platform caam_sm: [0032] 00 00 00 00 00 00 00 00 platform caam_sm: [0040] 00 00 00 00 00 00 00 00 platform caam_sm: [0048] 00 00 00 00 00 00 00 00 platform caam_sm: [0056] 00 00 00 00 00 00 00 00 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 64-bit black key in blob: platform caam_sm: [0000] aa 40 d4 c4 90 51 fe 6b platform caam_sm: [0008] 25 fa 2c b6 38 16 fa 29 platform caam_sm: [0016] 74 32 fb 45 22 f0 21 3d platform caam_sm: [0024] f5 78 4a a9 61 d3 d3 e8 platform caam_sm: [0032] 48 18 42 1d 94 41 a6 e4 platform caam_sm: [0040] cd 9b 26 0e 8a ab 07 de platform caam_sm: [0048] e7 86 51 3a 71 8c af de platform caam_sm: [0056] 00 00 00 00 00 00 00 00 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 128-bit black key in blob: platform caam_sm: [0000] 2d 5d f6 ef 21 da 9e 59 platform caam_sm: [0008] c3 a3 a6 f1 3c 5e d7 da platform caam_sm: [0016] 0a da ea 58 45 47 b1 f6 platform caam_sm: [0024] 97 5f 31 4b 07 97 09 3b platform caam_sm: [0032] af 2e 02 54 b9 de e1 bd platform caam_sm: [0040] a3 6c 0b 49 c5 1f 1c d8 platform caam_sm: [0048] ce 37 c2 8f 32 56 1c 04 platform caam_sm: [0056] 2e 52 17 23 76 e1 b3 d3 platform caam_sm: [0064] 00 00 00 00 00 00 00 00 platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 192-bit black key in blob: platform caam_sm: [0000] 70 df d5 9a c7 b6 8e 09 platform caam_sm: [0008] 3d 21 d6 3f 5d 16 c5 8f platform caam_sm: [0016] 8f 38 e0 66 26 2d 63 41 platform caam_sm: [0024] 9a d6 1b de 65 89 be 8e platform caam_sm: [0032] 2c 05 c6 77 10 39 8a 3d platform caam_sm: [0040] 16 99 2f 4d 41 c0 12 07 platform caam_sm: [0048] 24 03 c8 e3 c6 ac a7 9b platform caam_sm: [0056] e4 48 72 17 19 19 98 65 platform caam_sm: [0064] 80 52 61 d1 af 1b c2 8c platform caam_sm: [0072] 00 00 00 00 00 00 00 00 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: 256-bit black key in blob: platform caam_sm: [0000] 42 df b9 eb 6c 0b c9 5c platform caam_sm: [0008] ad 79 6f 11 fe f0 cd 3a platform caam_sm: [0016] 09 ff 71 26 77 c7 d2 3f platform caam_sm: [0024] 50 60 4b 90 04 46 38 da platform caam_sm: [0032] 2f 5e c4 d3 0c b8 09 f1 platform caam_sm: [0040] 6a 4b b9 1e 7e 9b c6 67 platform caam_sm: [0048] 93 db af 61 95 e0 dc 89 platform caam_sm: [0056] d4 95 54 c7 1e af 4b b9 platform caam_sm: [0064] c9 8b 7b 73 b7 9f 05 b2 platform caam_sm: [0072] 26 0e 23 dc d2 a8 48 e2 platform caam_sm: [0080] 00 00 00 00 00 00 00 00 platform caam_sm: [0088] 00 00 00 00 00 00 00 00 platform caam_sm: restored 64-bit black key: platform caam_sm: [0000] 8c 21 99 7b 99 69 af 6c platform caam_sm: [0008] 62 fd 87 8b 64 da a3 e5 platform caam_sm: restored 128-bit black key: platform caam_sm: [0000] c0 02 7f 3d c2 a7 b5 cd platform caam_sm: [0008] 8e 2c 77 7c 3e e8 18 78 platform caam_sm: restored 192-bit black key: platform caam_sm: [0000] 6b fa 48 03 8f 99 b8 5f platform caam_sm: [0008] 89 0b 69 af c2 ab f1 41 platform caam_sm: [0016] b3 58 17 bd ae f2 f9 92 platform caam_sm: [0024] 71 67 de 93 13 c9 e9 cd platform caam_sm: restored 256-bit black key: platform caam_sm: [0000] 37 13 b6 1c f9 15 14 4b platform caam_sm: [0008] dc c4 44 9a 3b 47 62 25 platform caam_sm: [0016] 51 b0 8b c9 6c a7 12 3f platform caam_sm: [0024] a1 0b 78 59 04 0f 6b 39 snvs-secvio 20cc000.caam-snvs: can't get snvs clock snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state usbcore: registered new interface driver usbhid usbhid: USB HID core driver fsl-asrc 2034000.asrc: driver registered fsl-hdmi-dai soc:hdmi_audio@00120000: failed to probe. Load HDMI-video first. fsl-hdmi-dai: probe of soc:hdmi_audio@00120000 failed with error -12 imx-audio-hdmi sound-hdmi: initialize HDMI-audio failed. load HDMI-video first! NET: Registered protocol family 26 NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 can: controller area network core (rev 20120528 abi 9) NET: Registered protocol family 29 can: raw protocol (rev 20120528) can: broadcast manager protocol (rev 20120528 t) can: netlink gateway (rev 20130117) max_hops=1 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: BNEP socket layer initialized Bluetooth: HIDP (Human Interface Emulation) ver 1.2 Bluetooth: HIDP socket layer initialized 8021q: 802.1Q VLAN Support v1.8 Key type dns_resolver registered dhd_module_init in snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2017-03-14 15:51:05 UTC (1489506665) usb_otg_vbus: disabling 2P5V: disabling ALSA device list: No soundcards found. EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (244) EXT4-fs (mmcblk1p2): recovery complete EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:2. devtmpfs: mounted Freeing unused kernel memory: 428K (80b11000 - 80b7c000) INIT: version 2.88 booting Starting udev udevd[184]: starting version 3.1.5 random: udevd urandom read with 9 bits of entropy available depmod: ERROR: could not open directory /lib/modules/4.1.15+g76c24a0: No such file or directory depmod: WARNING: -e needs -E or -F depmod: ERROR: could not open directory /lib/modules/4.1.15+g76c24a0: No such file or directory depmod: FATAL: could not search modules: No such file or directory EXT4-fs (mmcblk1p2): re-mounted. Opts: data=ordered bootlogd: cannot allocate pseudo tty: No such file or directory FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. ALSA: Restoring mixer settings... INIT: Entering runlevel: 5 Configuring network interfaces... /usr/sbin/alsactl: load_state:1735: No soundcards found... fec 2188000.ethernet eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=2188000.ethernet:04, irq=-1) IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready done. Starting Xserver Starting system message bus: dbus. Starting Connection Manager Starting Dropbear SSH server: dropbear. Starting rpcbind daemon...done. mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40 Starting bluetooth bluetoothd Starting syslogd/klogd: mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40 done mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40

Poky (Yocto Project Reference Distro) 2.1.2 marsboard /dev/ttymxc1

marsboard login: mxc_sdc_fb fb@2: 240x320 h_sync,r,l: 10,10,20 v_sync,l,u: 4,4,2 pixclock=6535000 Hz imx-ipuv3 2400000.ipu: try ipu internal clk imx-ipuv3 2400000.ipu: disp=0, pixel_clk=6535000 6518518 parent=264000000 div=40 random: nonblocking pool is initialized

Poky (Yocto Project Reference Distro) 2.1.2 marsboard /dev/ttymxc1

marsboard login: root root@marsboard:~#