37

Rapping up Raring

Sintel-and-Jellyfish gstreamer-and-glmark2-es2
To tie a string around our post about the Linaro Raring images and the post showing how to accelerate video, we’ve put together an image based on Linaro latest Raring ALIP that contains GPU acceleration and the GStreamer binaries for accelerated video playback and camera access.

Jasbir showed that it could be done, and we wanted to make sure that you have an easy way to test things out.

For the impatient

You can download the SD card image from here:
As usual, you can write the SD card image to disk using zcat and dd under Linux. It requires a 4GB card, and can be extracted like so:
~/$ sudo umount /dev/sdc?
~/$ zcat alip-gpu-gstreamer-20131219.img.gz | sudo dd of=/dev/sdc
You can also use Alex Page’s USB Image Tool under Windows.

The details

The photos above show gplay playing the 1080P Sintel Movie by the Blender Foundation and the glmark2-es2 benchmark application.

The image is targeted at our most popular Nitrogen6X or BD-SL-i.MX6 boards with a parallel OV5642 camera. Kernels and library trees for the OV5640 MIPI and Nitrogen6_Lite are available in directories beneath /boot/. If you copy one of these trees to the root folder, you can run with those configurations.

i.e., for nitrogen6x_mipi, you can do this:
~/$ sudo cp -ravf /media/alip/boot/nitrogen6x_mipi/* /media/alip/
~/$ sync && sudo umount /media/alip
and for Nitrogen6_Lite, you can do this:
~/$ sudo cp -ravf /media/alip/boot/nit6xlite/* /media/alip/
~/$ sync && sudo umount /media/alip

Credits

We need to give many thanks to Jasbir, who put together notes on i.MX6 GPU acceleration on his blog and helped walk us through the somewhat complicated process of patching the X Server to cooperate with the Vivante GPU. In particular, the DRM library needs patching to match the API version used on the Linaro build (it’s slightly older than what’s used in Yocto).

Jasbir is a real pro, and these are some complicated pieces. We appreciate his support.

As always, let us know how things work for you.
adminRapping up Raring

Comments 37

  1. uwew

    Hello Boundary team,
    Thank you for the great image! I am running it on a Sabre Lite board with a Display connected to LVDS and now I would like to get the touchscreen to work but therefore I would need to compile a kernel module (ads7846). Where can I get the appropriate kernel sources to compile my own modules?

    PS.
    your directions on how to write the image to disk are not quite right.
    gzcat alip-gpu-gstreamer-20131219.img.gz | dd of=/dev/sdc
    might do the job if you have a 4Gb SD card.

    1. uwew

      I guess I figured it out myself.I checked out branch origin/boundary-imx_3.0.35_4.1.0 from git://github.com/boundarydevices/linux-imx6.git, compiled it, installed and it works, perfect!

  2. Post
    Author
    ericn

    Doh! Thanks for the note about the instructions. I must have been tired or distracted when cutting and pasting the example.

    As for how to (re)build the kernel, you can do this on the device itself. The steps are 1) get the kernel, 2) configure for your needs, 3) compile, and 4) install. The currently recommended branch of our kernel tree is boundary-imx_3.0.35_4.1.0, and the normal default configuration is nitrogen6x_defconfig, so the process would be roughly this:

    # 1) get the proper kernel branch
    ~/$ git clone git://github.com/boundtarydevices/linux-imx6
    ~/$ cd linux-imx6
    ~/linux-imx6$ git checkout origin/boundary-imx_3.0.35_4.1.0 -b boundary-imx_3.0.35_4.1.0
    
    # 2) configure
    ~/linux-imx6$ make nitrogen6x_defconfig
    ~/linux-imx6$ make menuconfig
    ... add your touch screen driver
    
    # 3) compile
    ~/linux-imx6$ make uImage modules
    
    # 4) install
    ~/linux-imx6$ cp -fv arch/arm/boot/uImage /boot/
    ~/linux-imx6$ make modules_install
    

    Since the kernel is quite large and the process quite slow, I recommend cross-compiling the kernel though. The steps in this post show the proper structure, though you should use the new kernel branch.

    Also, recent Ubuntu distributions have a cross-compiler package for gcc-arm-linux-gnueabihf which is perfectly suited to this use. With it, you can do this on your dev machine:

    # 1) get the proper kernel branch
    ~/$ git clone git://github.com/boundtarydevices/linux-imx6
    ~/$ cd linux-imx6
    ~/linux-imx6$ git checkout origin/boundary-imx_3.0.35_4.1.0 -b boundary-imx_3.0.35_4.1.0
    
    # 2) configure
    ~/linux-imx6$ export ARCH=arm
    ~/linux-imx6$ export CROSS_COMPILE=arm-linux-gnueabihf-gcc
    ~/linux-imx6$ make nitrogen6x_defconfig
    ~/linux-imx6$ make menuconfig
    ... add your touch screen driver
    
    # 3) compile
    ~/linux-imx6$ make uImage modules
    

    Step 4 is different though, since you’ll need to copy to your boot media. If you mount the SD card as /media/alip, you can use these steps:

    # 4) install
    ~/linux-imx6$ sudo cp -fv arch/arm/boot/uImage /media/alip/boot/
    ~/linux-imx6$ make INSTALL_MOD_PATH=tmp/modules_install
    ~/linux-imx6$ find tmp/lib/modules/ -type d -exec rm -f {} ;
    ~/linux-imx6$ sudo cp -ravf tmp/lib/modules/* /media/alip/lib/modules/
    

    Note the use of a staging directory in tmp and the find command to remove symlinks.

    1. VarsMolta

      When I cross-compile the kernel according to your instructions, I am getting a
      “Unable to read file /boot/uImage” error in uboot.

      I manually tried the following on the stock uImage
      U-Boot > ext2load mmc 1:1 10800000 /boot/nitrogen6x/boot/uImage
      3759420 bytes read

      and it works.

      But when I do
      ext2load mmc 1:1 10800000 /boot/uImage, I get the following:
      invalid extent block
      ** Unable to read file /boot/uImage **

      Am I missing some step in building uImage?

  3. hre1

    Hello,

    i tried to download the above sd image, but your system redirect me always to my login page. there is no problem to download the old images (26.09) but this here fails. can you please guide me what i am doing wrong?

    thanks in advance!

    1. Post
      Author
      ericn

      Are you able to login outside of the download page?

      I don’t think that the site requires the use of cookies or uses pop-ups.

      Can you re-try with a different browser?

  4. hre1

    Yes i was able to login from outside of the download page. After restarting my Windows Laptop i could download the image file. I don’t no why, but it is Windows not Linux… ;-)

    Thank you very much for your very fast response!

    P.S. I own a wandboard quad. Can i use the image on this board?

  5. Tom

    Does this image support xrandr and screen rotation? xrandr is install in this image but when I try
    to rotate the screen using
    “xrandr -o left” it returns a error message
    X Error of failed request: BadMatch (invalid parameter attributes)
    Major opcode ……. 140 (RANDR)
    Minor opcode …. 2
    Serial number …. 14

    So does this display driver support rotation?
    Is there some configuration I need to change to make it work?

    What I want to do is set the screen resolution to 1080p and have it rotated (portrait) and then test playing 3 movies at the same time on the screen.

    We are looking at using the i.Mx6 for a Digital signage device so I am trying to see how well it performs
    in portrait mode at full resolution.

    Thanks
    Tom

    1. Post
      Author
      ericn

      Hi Tom,

      The Vivante X11 driver doesn’t support XRANDR extensions, so you’ll need to switch to “fbdev” by editing /etc/X11/xorg.conf like so:

      Section "Device"
          Identifier  "Unaccelerated Framebuffer Device"
          Driver "fbdev"
          Option      "fbdev"     "/dev/fb0"
          Option "Rotate" "CW"
          Option      "HWcursor"  "false"
      EndSection
      
      Section "ServerFlags"
          Option "BlankTime"  "0"
          Option "StandbyTime"  "0"
          Option "SuspendTime"  "0"
          Option "OffTime"  "0"
      EndSection
      

      Then restart X like so:

      # /etc/init.d/lightdm restart
      
      1. Post
        Author
        ericn

        Hi Tom,

        I hit Send before also saying that there is a rotate option for the mfw_v4lsink gstreamer video sink element, but we recommend pre-rotating videos when possible to reduce the memory bandwidth.

        1. Tom

          Yes that worked – thanks.
          So does this means there is no hardware acceleration or does the freescale driver still provide some acceleration for the Framebuffer?

          So is there anyway in linux to get hardware acceleration and still have rotation support?
          I know the IPU/GPU/VPU support rotation but I am guessing it is not available in Linux?

          I have run the Android build and it seem that at least movie play back is accelerate in portrait mode ( I played 3 movies at the same time on the screen with low cpu usage) but I have not run any test to see if everything else is still accelerated.

          So is this just an issue with X11? Would something like Wayland work with accelerated rotation?
          It seem Wayland is working but not any completed window managers for Wayland.

          Anyway thanks again
          Tom

          1. Post
            Author
            ericn

            Hi Tom,

            Right: Xrandr (rotation) is not yet supported with GPU acceleration (see this note on i.MX Community).
            I hope this is addressed in the upcoming 3.10.17 GPU release.

            Android does use the GPU to do rotation quite successfully, but using a completely different architecture.

  6. Bruno

    Hi,
    i’m having problems to use the OV5640 camera on Sabre Lite. I load mxc_v4l2_capture and ov5640_camera modules with mprobe command but I’m getting a error message when I try to capture video using the GStreamer:

    gst-launch-0.10 mfw_v4lsrc capture-mode=5 ! mfw_v4lsink
    
    Setting pipeline to PAUSED ...
    ERROR: Pipeline doesn't want to pause.
    Setting pipeline to NULL ...
    Freeing pipeline ...
    

    I searched a solution but anything yet.

    Thanks,
    Bruno

    1. Post
      Author
      ericn

      Hi Bruno,

      What messages do you get out of the kernel (dmesg | grep -i 'ov|v4l')?

      I assume that you’ve copied over the MIPI kernel and modules as described above, and the command-line you posted should just work.

      The connection to the MIPI camera can be a little finicky. You’ll definitely want to double-check that.

      1. Bruno

        Hi Eric,

        sorry, the kernels and libraries tree were not copied correctly (now i copied from nitrogen6x_mipi correctly) and it’s running for capture-mode 5 and 4.

        Thanks for the fast help,
        Bruno

      2. Bruno

        Ericn,

        I need to use OpenCV and it’s only works with standard v4l2, then I thought I could use a webcam for this.
        So, does the kernel support usb cameras? I loaded the uvcvideo module but /dev/video0 isn’t created.

        Thanks,
        Bruno

        1. Post
          Author
          ericn

          The kernel should absolutely support uvcvideo, though it isn’t compiled in by default (in nitrogen6x_defconfig).

          Are you seeing the camera using lsusb or cat /proc/bus/usb/devices?

          1. Bruno

            Ericn,

            When I execute lsusb, i see the camera (and others things):
            [pre]Bus 002 Device 004: ID 041e:4034 Creative Technology. LTD Webcam Instant[/pre]

            But when I execute [pre]cat /proc/bus/usb/devices[/pre], i see:
            No such file or directory

            Even when I use a pendrive (I mount it manually), I get the same result with the cat command.

          2. Post
            Author
            ericn

            Hi Bruno,

            Some userspaces don’t mount /proc/bus/usb automatically. You can do this by hand like so:

            # mount -t usbfs none /proc/bus/usb
            # cat /proc/bus/usb/devices
            
            T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
            B:  Alloc=  0/800 us ( 0%), #Int=  2, #Iso=  0
            D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
            P:  Vendor=1d6b ProdID=0002 Rev= 3.00
            S:  Manufacturer=Linux 3.0.35-g8a7f130-dirty ehci_hcd
            S:  Product=Freescale On-Chip EHCI Host Controller
            S:  SerialNumber=fsl-ehci.1
            ...
            T:  Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#=  3 Spd=1.5  MxCh= 0
            D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
            P:  Vendor=046d ProdID=c00e Rev=11.10
            S:  Manufacturer=Logitech
            S:  Product=USB-PS/2 Optical Mouse
            C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr= 98mA
            I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
            E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
            

            The nice thing about /proc/bus/usb is the fragment that shows you what driver is claiming a device (see usbhid above). It can tell you whether the USB device id was recognized by the device driver.

            If you have a brand-new camera, it’s possible that the uvcvideo needs an update to include the USB VID/PID pair.

          3. Bruno

            I did it and I got:

            ...
            T:  Bus=02 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12   MxCh= 0
            D:  Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
            P:  Vendor=041e ProdID=4034 Rev= 1.00
            S:  Manufacturer=Creative Labs
            S:  Product=WebCam Instant
            C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=160mA
            I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 192 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 256 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 384 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
            E:  Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
            E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=10ms
            ...
            

            Ok, in this case the camera doesn’t need a driver. What’s next step?

            Thanks,
            Bruno

          4. Post
            Author
          5. Bruno

            Hi Ericn,

            finally I got it! I had never compiled a kernel, but following the instruction above (and spending much time with my mistakes) I compiled the kernel with both ov5640 and gspca drivers and the cameras are running correctly.

            Thank you very much,
            Bruno

          6. Post
            Author
  7. jung

    i am triyng to make the ov5640 CSI camera work
    I followed the instruction of nitrogen6x_mipi copy.
    what do i have to do next ? recompile the kernel ?
    if I just copy the files and boot my Sabre Lite board, gst-lauch returns the same erros as Bruno :

    Setting pipeline to PAUSED …
    ERROR: Pipeline doesn’t want to pause.
    Setting pipeline to NULL …
    Freeing pipeline …

    1. Post
      Author
      ericn

      Hi Jung,

      Whose OV5640 camera are you using? We have some fledgling support for a camera on CSI1 (re-mapped EIM pins), but we’re not yet ready to offer that camera.

  8. KaiDa

    Hi, I just git my Nitrogen6X and i can’t find a way to use the can and ic2 bus.
    I pretty much looked arround a bit but couldnt figgure out to use it.

    can0 nor ic2 wont show at ifconfig

    can anyone tell me how to use these things?

    my hdmi monitor also just boots to 640×480 even with the stock bootscript.

    thanks

  9. VarsMolta

    Can you please point to just the rootfs image for this? And how did you install the gstreamer binaries? I have a custom imx6 board that I’d like to run Raring on. Thanks

    1. Post
      Author
      ericn

      We don’t have a tar-ball on-line, so you’ll need to extract that by using the .img.gz file.

      The gstreamer binaries were installed using the steps described in this post.

  10. Bernie

    I’m trying to use the ov5642 on a BD-SL-i.MX6 using the image without any changes at all with no success.
    dmesg | grep -i ‘ov|v4l’
    reports:
    mxc_v4l2_output mxc_v4l2_output.o: V4L2 device registered as video16
    mxc_v4l2_output mxc_v4l2_output.o: V4L2 device registered as video17
    ov564x_powerdown:powerdown=0, power_gp=0x6
    ov564x_powerdown:powerdown=1, power_gp=0x6
    camera ov5642 is found

    when I run
    gst-launch-0.10 mfw_v4lsrc ! mfw_v4lsink
    it reports:
    MFW_GST_V4LSRC_PLUGIN 3.0.8 build on Oct 3 2013 21:00:55.
    MFW_GST_V4LSINK_PLUGIN 3.0.8 build on Oct 3 2013 18:43:36.
    Setting pipeline to PAUSED …
    ERROR: Pipeline doesn’t want to pause.
    Setting pipeline to NULL …
    Total rendered:0
    Freeing pipeline …
    [—>FINALIZE v4l_sink

    Any ideas on how to get this working would be helpful.

    1. rbdaviso@rockwellcollins.com

      Further to my previous comment. I’ve tried the Android 4.3 Jellybean image and the camera works just fine.

      Is there something further that needs to be installed to get gstreamer to work in the raring image?
      Also I forgot to mention that I’m running “gst-launch-0.10 mfw_v4lsrc ! mfw_v4lsink” from within an xterm session. Does that effect it?

      Thanks,
      Bernie

      1. Post
        Author
        ericn

        Hi Bernie,

        Sorry that I haven’t had a chance to try and repeat this.

        I suspect that the issue has to do with the ‘capture-mode’ parameter.

        Can you try with “mfw_v4lsrc capture-mode=4″?

        1. rbdaviso@rockwellcollins.com

          Hi Eric,

          Running “gst-launch-0.10 mfw_v4lsrc capture-mode=4 ! mfw_v4lsink” return the same result.
          I also tried running with capture-mode[0-5] with the same result.

          when I run the gst-inspect-0.10 mfw_v4lsrc and look at the capture-mode. It talks about ov5640. Is this default data?

  11. Michael

    Hi

    Thanks for this great image. It runs very nicely on my new nitrogen6x board.

    I am extremely interested in the transparency effect, as I would like to use something like this in my app. However, I do (currently) not understand, how you did this?

    The video is running in the background, right? Windows are on top, but partly translucent (colorkey?). The video is on top of the system background, however. Well, in the end, it is great and exactly what I need.

    However, I cannot reproduce it without lighdm. If I stop lightdm and start X with xinit, I get a black screen with a white xterm window (which is expected). When I then start a video via gplay or gst-launch, it is completely overlayed over everything. The background and the xterm window is invisible. I’d like to have the video in the background and the window on top. Please, comment on how you did this here.

    Thanks a lot

    Michael

  12. Steven

    Is anyone else seeing high load on this build (top/uptime reports ~4.0)?

    Top shows:
    top – 19:09:15 up 9 min, 2 users, load average: 4.00, 3.40, 1.83
    Threads: 151 total, 1 running, 150 sleeping, 0 stopped, 0 zombie
    %Cpu(s): 0.2 us, 0.3 sy, 0.0 ni, 98.9 id, 0.6 wa, 0.0 hi, 0.0 si, 0.0 st

    As you can see there is only one process running (top) and the cpu utilization is low. So what’s up with the load?

    Any ideas?

  13. Steven

    Hey again folks!

    another day another issue it seems like. This time it is trying to bring up hostapd. something is missing and I can’t figure it out/too blind to see it.

    iw shows AP as a mode for the TiWi module, so I know it can do it. got to be a module problem. But can’t set mode 3.

    When I try to run hostapd it spits out an error and dies:
    BSS count 1, Bwl1271: ERROR command execute failure 16 SSID mask 00:00:00:00:00:00 (0 biwl1271: ERROR PROBE request template failed ts)

    I am a little slow, can someone walk me through the process on getting/configuring/compiling the kernel modules wl12xx so they will work with hostapd?

    I can’t be the only one wanting to use this raring image as an AP can I?

    Thanks for the help!

  14. Snitrog666x

    Hi guys, I’m using this image(alip-gpu-gstreamer-20131219.img.gz) on a nitrogen6x devkit ( som + carrier board + mPCIe to PCIe daugher board). It runs successfully, but we got a problem about pcie 16x adapter detection. Please kindly help to give some advice.

    The problem is: there is nothing output for ‘lspci’ when we plugged in a general PCIe 16x device (e.g. a graphics card), however, ‘lspci’ shows correct information when we plugged in a PCIe 1x deivce (e.g. a 1394 board).

    Suppose this devkit should be capable to support PCIe 16x device, right? If so, is this a image reason that we can’t do such detection?

    Appreciate for the help!

  15. Himanshu

    Hi , i tried with this image but got error
    I am putting all logs:-
    U-Boot 2013.10-00054-g2a78739 (Dec 03 2013 – 12:45:23)

    CPU: Freescale i.MX6Q rev1.2 at 792 MHz
    Reset cause: POR
    Board: Nitrogen6X
    DRAM: 2 GiB
    MMC: FSL_SDHC: 0, FSL_SDHC: 1
    SF: Detected SST25VF016B with page size 256 Bytes, erase size 4 KiB, total 2 MiB
    *** Warning – bad CRC, using default environment

    No panel detected: default to HDMI
    Display: HDMI (1024×768)
    In: serial
    Out: serial
    Err: serial
    Net: using phy at 6
    FEC [PRIME]
    Hit any key to stop autoboot: 0
    AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
    flags: ncq stag pm led clo only pmp pio slum part
    No port device detected!
    ** Bad device size – sata 0 **
    ** Bad device size – sata 0 **

    SATA device 1: unknown device
    ** Bad device sata 1 **
    ** Bad device sata 1 **
    mmc0 is current device
    ** Unrecognized filesystem type **
    2627 bytes read in 30 ms (85 KiB/s)
    ## Executing script at 10008000
    —— no HDMI monitor
    Setting bus to 2
    Valid chip addresses:
    —— no Freescale display
    Valid chip addresses:
    —— no ft5x06 touch controller
    Valid chip addresses:
    —— no 800×480 display
    ** File not found /boot/imx6q-nitrogen6x.dtb **
    only CEA modes allowed on HDMI port
    3759504 bytes read in 236 ms (15.2 MiB/s)
    ## Booting kernel from Legacy Image at 10800000 …
    Image Name: Linux-3.0.35-02855-g3fccb21
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3759440 Bytes = 3.6 MiB
    Load Address: 10008000
    Entry Point: 10008000
    Verifying Checksum … OK
    Loading Kernel Image … OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Linux version 3.0.35-02855-g3fccb21 (ericn@ericsam) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD — Linaro 2011.07 — Built
    at 2011/08/10 09:20) ) #1 SMP PREEMPT Thu Dec 12 12:48:08 MST 2013
    CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: Boundary Devices Nitrogen6X/SABRE Lite Board
    Memory policy: ECC disabled, Data cache writealloc
    CPU identified as i.MX6Q, silicon rev 1.2
    PERCPU: Embedded 7 pages/cpu @8c810000 s5440 r8192 d15040 u32768
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 487424
    Kernel command line: enable_wait_mode=off video=mxcfb0:off video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off console=ttymxc1,115200 v
    malloc=400M consoleblank=0 rootwait root=/dev/mmcblk0p1 mxc_hdmi.only_cea=1
    PID hash table entries: 4096 (order: 2, 16384 bytes)
    Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
    Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
    Memory: 640MB 1280MB = 1920MB total
    Memory: 1940372k/1940372k available, 156780k reserved, 638976K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    DMA : 0xf4600000 – 0xffe00000 ( 184 MB)
    vmalloc : 0xd9800000 – 0xf2000000 ( 392 MB)
    lowmem : 0x80000000 – 0xd9000000 (1424 MB)
    pkmap : 0x7fe00000 – 0x80000000 ( 2 MB)
    modules : 0x7f000000 – 0x7fe00000 ( 14 MB)
    .init : 0x80008000 – 0x80039000 ( 196 kB)
    .text : 0x80039000 – 0x806c99fc (6723 kB)
    .data : 0x806ca000 – 0x807216e0 ( 350 kB)
    .bss : 0x80721704 – 0x80765a64 ( 273 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Preemptible hierarchical RCU implementation.
    NR_IRQS:624
    MXC GPIO hardware
    sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
    arm_max_freq=1GHz
    MXC_Early serial console at MMIO 0x21e8000 (options ‘115200’)
    bootconsole [ttymxc1] enabled
    Console: colour dummy device 80×30
    Calibrating delay loop… 1581.05 BogoMIPS (lpj=7905280)
    pid_max: default: 32768 minimum: 301
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
    CPU1: Booted secondary processor
    CPU2: Booted secondary processor
    CPU3: Booted secondary processor
    Brought up 4 CPUs
    SMP: Total of 4 processors activated (6324.22 BogoMIPS).
    devtmpfs: initialized
    print_constraints: dummy:
    NET: Registered protocol family 16
    print_constraints: vddpu: 725 1300 mV at 1150 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
    lcd_disable_pins
    ———— Board type Nitrogen6X/W
    imx_add_mxc_pwm:pdata= (null)
    imx_add_mxc_pwm:pdata= (null)
    imx_add_mxc_pwm:pdata=806ed528
    imx_add_mxc_pwm:pdata= (null)
    Flexcan NXP tja1040
    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 0x02070000, Cache size: 1048576 B
    bio: create slab at 0
    print_constraints: VDDA: 2500 mV
    print_constraints: VDDIO: 3300 mV
    machine_constraints_voltage: VDDD: unsupportable voltage constraints
    reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
    reg-fixed-voltage: probe of reg-fixed-voltage.2 failed with error -22
    print_constraints: vmmc: 3300 mV
    print_constraints: VDD_1.8V: 1800 mV
    vgaarb: loaded
    SCSI subsystem initialized
    spi_imx imx6q-ecspi.0: 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
    Switching to clocksource mxc_timer1
    NET: Registered protocol family 2
    IP route cache hash table entries: 65536 (order: 6, 262144 bytes)
    TCP established hash table entries: 262144 (order: 9, 2097152 bytes)
    TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
    TCP: Hash tables configured (established 262144 bind 65536)
    TCP reno registered
    UDP hash table entries: 1024 (order: 3, 32768 bytes)
    UDP-Lite hash table entries: 1024 (order: 3, 32768 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 disabled for i.MX6
    cpaddr = d9880000 suspend_iram_base=d9918000
    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:0x00cf5f00, DB_R1:0x08200000!
    IMX PCIe port: link down!
    IMX usb wakeup probe
    add wake up source irq 75
    IMX usb wakeup probe
    cpu regulator mode:ldo_enable
    i.MXC CPU frequency driver
    highmem bounce pool size: 64 pages
    squashfs: version 4.0 (2009/01/31) Phillip Lougher
    msgmni has been set to 2541
    alg: No test for stdrng (krng)
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    pwm_config: pwm freq = 32786, clk_select=2 clock_rate=22000000
    pwm_config: pwm freq = 20000, clk_select=2 clock_rate=22000000
    MIPI DSI driver module loaded
    mxc_sdc_fb mxc_sdc_fb.0: mxcfb0 is turned off!
    mxc_sdc_fb mxc_sdc_fb.1: mxcfb1 is turned off!
    mxc_sdc_fb mxc_sdc_fb.2: mxcfb2 is turned off!
    mxc_sdc_fb mxc_sdc_fb.3: mxcfb3 is turned off!
    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
    imx-uart.1: ttymxc1 at MMIO 0x21e8000 (irq = 59) is a IMX
    old_ufcr=a81 new_ufcr=b01, old_ucr2=4027 new_ucr2=4027, old_ubir=f num=1f7, old_ubmr=15b denom=c34
    clk=80000000 div=7 num=504 denom=3125 baud=115200
    console [ttymxc1] enabled, bootconsole disabled
    console [ttymxc1] enabled, bootconsole disabled
    imx-uart.2: ttymxc2 at MMIO 0x21ec000 (irq = 60) is a IMX
    loop: module loaded
    Can’t recover from RESET HBA!
    No sata disk.
    m25p80 spi0.0: sst25vf016b (2048 Kbytes)
    Creating 3 MTD partitions on “m25p80″:
    0x000000000000-0x0000000c0000 : “bootloader”
    0x0000000c0000-0x0000000c2000 : “ubparams”
    0x0000000c2000-0x000000200000 : “unused”
    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
    tun: Universal TUN/TAP device driver, 1.6
    tun: (C) 1999-2004 Max Krasnyansky
    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 GSM modem (1-port)
    usbcore: registered new interface driver option
    option: v0.7.2:USB Driver for GSM modems
    USB Serial support registered for Qualcomm USB modem
    usbcore: registered new interface driver qcserial
    ARC USBOTG Device Controller driver (1 August 2005)
    mousedev: PS/2 mouse device common for all mice
    input: gpio-keys as /devices/platform/gpio-keys/input/input0
    tsc2004_prepare_for_reading: write_cmd -5
    tsc2004: probe of 2-0048 failed with error -5
    egalax_ts 2-0004: egalax_ts: failed to read firmware version
    egalax_ts: probe of 2-0004 failed with error -5
    ft5x06-ts 2-0038: ft5x06: Could not detect touch screen.
    ft5x06: Dec 12 2013
    rtc-isl1208 0-006f: chip found, driver version 0.3
    add wake up source irq 108
    rtc-isl1208 0-006f: rtc core: registered rtc-isl1208 as rtc0
    rtc-isl1208 0-006f: rtc power failure detected, please set clock.
    check_alarm_past: alarm in the past
    snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc1
    i2c /dev entries driver
    Linux video capture interface: v2.00
    i2c-core: driver [mma8450] using legacy suspend method
    i2c-core: driver [mma8450] using legacy resume method
    add mma8450 i2c driver
    imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
    device-mapper: ioctl: 4.20.0-ioctl (2011-02-02) initialised: dm-devel@redhat.com
    Bluetooth: HCI UART driver ver 2.2
    Bluetooth: HCILL protocol initialized
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    sdhci sdhci-esdhc-imx.2: no write-protect pin available!
    mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using DMA
    sdhci sdhci-esdhc-imx.3: no write-protect pin available!
    mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] 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
    mxc_asrc registered
    Galcore version 4.6.9.6622
    Thermal calibration data is 0x5604b27d
    Thermal sensor with ratio = 177
    usb 2-1: new high speed USB device number 2 using fsl-ehci
    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
    imx-hdmi-soc-dai imx-hdmi-soc-dai.0: Failed: Load HDMI-video first.
    mmc0: host does not support reading read-only switch. assuming write-enable.
    sgtl5000 0-000a: Failed to get supply ‘VDDD': -19
    mmc0: new high speed SDHC card at address aaaa
    print_constraints: 0-000a: 850 1600 mV at 1200 mV normal
    mmcblk0: mmc0:aaaa SU04G 3.69 GiB
    mmcblk0: p1
    sgtl5000 0-000a: sgtl5000 revision 17
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 3 ports detected
    asoc: sgtl5000 imx-ssi.1 mapping ok
    Initialize HDMI-audio failed. Load HDMI-video first!
    ALSA device list:
    #0: sgtl5000-audio
    NET: Registered protocol family 26
    TCP cubic registered
    NET: Registered protocol family 17
    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
    lib80211: common routines for IEEE802.11 drivers
    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
    rtc-isl1208 0-006f: hctosys: invalid date/time
    EXT3-fs (mmcblk0p1): error: couldn’t mount because of unsupported optional features (240)
    EXT2-fs (mmcblk0p1): error: couldn’t mount because of unsupported optional features (244)
    mmc2: card claims to support voltages below the defined range. These will be ignored.
    mmc2: queuing unknown CIS tuple 0x91 (3 bytes)
    mmc2: new SDIO card at address 0001
    EXT4-fs (mmcblk0p1): recovery complete
    EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
    VFS: Mounted root (ext4 filesystem) on device 179:1.
    devtmpfs: mounted
    Freeing init memory: 196K
    init: ureadahead main process (1391) terminated with status 5
    ov5642_read_reg:write reg error:reg=300a
    ov5640_read_reg:write reg error:reg=300a

Leave a Reply

Your email address will not be published. Required fields are marked *