Latest Ubuntu Oneiric release on i.MX6

Firefox running HTML5 video on i.MX6

In a previous post, we described how to get and run the then-latest build of Ubuntu from Linaro.

If you’ve worked with Freescale in recent years, you’re probably aware that they’ve also been releasing Ubuntu images on a regular basis for their development boards. These come pre-loaded with accelerated graphics and/or video.

We’ve packaged their latest release for i.MX6 with a bootscript and our latest kernel and the result is really nice.

Highlights

  • Accelerated video playback through GStreamer/Totem
  • Control over audio routing (HDMI/Headphone)
  • HTML5 video playback in Firefox

WiFi and Bluetooth on Nitrogen6X

We added support for the twl12xx WiFi+Bluetooth module in this image. If you’re running on a Nitrogen6X with the WLAN option, the WiFi should just work.

Downloading and running

The image is available for download here. To use it, simply create a single ext3 partition on an SD card and copy the content of the tarball to the root. Or better yet, copy it to a SATA drive.

If you’re running a Windows Desktop or Laptop, you can use this image with a tool created by Alex Page.

Tags:

56 Responses to “Latest Ubuntu Oneiric release on i.MX6”

  1. ericn July 5, 2012 2:48 pm #

    We didn’t mention that the boot script in this image uses a new command we added to U-Boot.

    The ‘hdmidet’ command is used to test whether the Hotplug Detect Pin shows a connected display. If so, the primary frame buffer (/dev/fb0) will be configured on HDMI at 720P. Otherwise an 800×480 RGB panel is assumed.

    This commit shows the U-Boot update.

    To fix this, you can either update your U-Boot, or copy the boot script at this URL to your SD card and overwrite /6q_bootscript. This boot script configures only one display: HDMI at 720P.

  2. Bob Getz August 6, 2012 7:46 am #

    Hi,

    I now have the Nitrogen6X SoM and carrier card. I’ve loaded on the Ubuntu image
    and have upgraded to 12.04.

    I’m at the point where I have an interest in getting a PCIe board up and running on
    this system.

    The built in kernel doesn’t have a PCIe driver built in. Also, I haven’t been able to
    find a pre-built module.

    Can you advise me the easiest way to get the PCIe interface up and running?

    Thanks,

    Bob Getz

    • ericn August 6, 2012 9:00 am #

      The latest kernel (branch boundary-L3.0.15_12.04.01) has PCIe support, as shown in this commit.

      You’ll need to enable it using menuconfig though. It doesn’t appear to be in our default configuration file.

      • wei September 26, 2012 12:59 pm #

        Ericn,

        I have some questions regarding how to develope a customized ubuntu system platform(based on specified version of Ubuntu). There is no so called BSP for Ubuntu just pre-built image/ or installation.
        My questions are: (1) how get the baseline Ubuntu RFS? (2) for the question (1), can a pre-build ubuntu rfs be used as the baseline , if so, everytime rebuild kernel, do all mdoules under /lib/modules need be replaced?

        Over all , I would like to make sure this the general way for a a customized ubuntu system development. Thanks a lot

  3. tom September 20, 2012 5:44 am #

    Hi,

    I have a problem with ubuntu on my board (Nitrogen6X/W);

    I can see the boot and access to a shell via the “console” port (serial). but I have nothing on my screen connected via hdmi.

    I am using the given 6q_bootscript on the previous comment.

    Has anyone an idea? what can I check?
    here are my Xorg log :http://pastebin.com/QwKq4pK4

    Thanks

    • ericn September 20, 2012 7:01 am #

      Hi Tom,

      It seems that your display settings aren’t properly configured. There’s a backgrounder in in this blog post, but it’s likely that you need to set bootargs to specify your HDMI output resolution.

  4. tom September 20, 2012 6:22 am #

    Hi,

    I tried to install it on a new sdcard. I get a kernel issue (division by zero)

    dmesg : http://pastebin.com/THUezVJm

    Thanks if you have an idea.

    • ericn September 20, 2012 6:59 am #

      Hi Tom,

      The crash appears to be happening during display setup, and unfortunately, the beginning of the dmesg output is missing from pastebin.

      Can you grab the part that says ‘kernel command line’ or confirm what your video= clause(s) look like.

      • tom September 20, 2012 7:06 am #

        Hi!

        thanks for your fast answer.

        my boot cmd line :
        Kernel command line: console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920×1080@60,if=RGB24 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 fbmem=28M,10M

        • ericn September 20, 2012 8:10 am #

          Hi Tom,

          It looks like you have two ‘video=’ clauses in the command-line and that may be causing the trouble. The first appears to be coming from your
          default ‘bootargs’ and the second is being added by the

          6q_bootscript.hmdi

          boot script.

          Can stop the boot with the ‘any key’ and try this?


          U-Boot> set bootargs
          U-Boot> run bootcmd

          I suspect this will get you past the divide-by-zero thing.

  5. tom September 20, 2012 8:26 am #

    Hi,

    I get the same kernel issue.

    Here is the boot sequence : http://pastebin.com/D2FVE3H7

    we can see the error :
    mxc_sdc_fb mxc_sdc_fb.0: Unable to allocate framebuffer memory
    mxc_sdc_fb mxc_sdc_fb.2: Unable to allocate framebuffer memory
    mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var.
    mxc_v4l2_output mxc_v4l2_output.0: ERR: fb_set_var

    (division by zero can be seen with dmesg)

    Thanks!

    • ericn September 20, 2012 9:17 am #

      Hi Tom,

      I think I’m on the same page with you now. I hadn’t noticed the v4l2_release call in the stack dump earlier today.

      The short answer is that it appears the system is running out of contiguous memory to construct a 1080P YUV output plane. The V4L2 output driver allocates some number of video ‘frames’ during startup and I suspect that Ubuntu’s startup is leaving things fragmented.

      There are a couple of immediate things you can try. The first is switching to 720P resolution.
      The second is to try clearing out the disk caches:

      # for n in 1 2 3 ; do echo $n > /proc/sys/vm/drop_caches ; done

      Note that Freescale issued a new release of Ubuntu, and I’m hoping to test it and have it on-line by tomorrow.

      I haven’t looked in depth at whether the V4L2 code has changed, but we’ll want to use it as the basis for digging.

  6. rahul October 8, 2012 12:23 pm #

    Hi. I am on a windows machine and trying to download your USB image. However, the file seems to link to some really tiny file. I think that link is broken?

    • rahul October 8, 2012 12:35 pm #

      To clarify, the URLs for all the files (not just the windows USB image) seem to return an XML with “Access denied”. Are the links not pointing to public files? Do I need to obtain sign-in information from someone?

  7. smcghee October 17, 2012 3:57 pm #

    HTML5 is great; are there any plans to integrate Flash Player / Plugin to the Ubuntu image? Freescale has published Android versions; it would be great to see a version in the Ubuntu image.

    • ericn October 17, 2012 6:48 pm #

      We’re not aware of any plans (which doesn’t mean there aren’t any).

  8. Draks November 16, 2012 6:28 am #

    Hello,
    Installation stops on a line:
    anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58

    here are my Xorg log : http://pastebin.com/ELwxpGKb

    • ericn November 16, 2012 10:29 am #

      Hi Draks,

      This looks suspiciously like the stall we’ve seen in the recent Android build as mentioned here:
      http://boundarydevices.com/android-r13-4-ga-for-i-mx6-in-stages-stage-2-booting-sd-card/

      Can you insert or remove a USB device and see if the boot continues?

      • Draks November 19, 2012 2:05 am #

        I inserted and removed USB device, but it did not help

        http://pastebin.com/exbvfwA8

        • ericn November 20, 2012 10:04 am #

          Hi Draks,

          This appears to be something in early Ubuntu startup.

          Can you add a few things to your kernel command-line?

          U-Boot> setenv bootargs $bootargs –debug earlyprintk enable_wait_mode=off
          U-Boot> boot

          Are you seeing anything on your displays? From what I see in your boot log, you have two panels connected (HDMI and 7″ RGB). Is that right?

  9. rahul November 25, 2012 3:32 pm #

    Got the latest image, but it appears that the GPU driver module (galcore) is not loaded by default and OpenGL programs run using the software rasterizer. Any suggestions for how to load it by default and get hardware-accelerated GL?

    • rgradi December 4, 2012 12:15 pm #

      I have the same issue, did you get any solution? I tried “sudo modprobe galcore” but it is not sufficient.

  10. Kaushik November 29, 2012 2:57 am #

    Hello Ericn,
    I am also facing the same issue as Draks where kernel booting get stuck at

    anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58

    I tried to make wait_mode to OFF but the same result.

    u-boot prints:
    MX6Q SABRELITE U-Boot > setenv bootargs ‘console=ttymxc1,115200 video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 -debug earlyp
    rintk enable_wait_mode=off’
    MX6Q SABRELITE U-Boot > print
    bootdelay=3
    baudrate=115200
    ipaddr=192.168.1.103
    serverip=192.168.1.101
    netmask=255.255.255.0
    loadaddr=0x10800000
    rd_loadaddr=0x11000000
    netdev=eth0
    ethprime=FEC0
    bootargs_base=setenv bootargs console=ttymxc1,115200 video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24
    bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp rw rootwait enable_wait_mode=off
    bootcmd_net=dhcp && run bootargs_base bootargs_nfs && bootm
    bootargs_mmc=setenv bootargs ${bootargs} root=/dev/mmcblk0p1 rootwait rw
    bootcmd_mmc=for disk in 0 1 ; do mmc dev ${disk} ;for fs in fat ext2 ; do ${fs}load mmc ${disk}:1 10008000 /6q_bootscript && source 10008000 ; done ; done
    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
    bootfile=uImage
    nfsroot=/your/nfs/dir
    bootcmd=run bootcmd_mmc
    ethact=FEC0
    stdin=serial
    stdout=serial
    stderr=serial
    bootargs=console=ttymxc1,115200 video=mxcfb0:dev=ldb,LDB-XGA,if=RGB666 video=mxcfb0:dev=lcd,CLAA-WVGA,if=RGB666 -debug earlyprintk enable_wait_mode=off

    Environment size: 1233/8188 bytes
    MX6Q SABRELITE U-Boot > run bootcmd_mmc
    Card did not respond to voltage select!
    mmc0(part 0) is current device
    MMC: block number 0x1 exceeds max(0x0)
    ** Can’t read from device 0 **

    ** Unable to use mmc 0:1 for fatload **
    ** Bad partition 1 **
    mmc1 is current device
    reading /6q_bootscript

    ** Unable to read “/6q_bootscript” from mmc 1:1 **
    Loading file “/6q_bootscript” from mmc device 1:1 (xxb1)
    232 bytes read
    ## Executing script at 10008000
    Loading file “/boot/uImage” from mmc device 1:1 (xxb1)
    3605880 bytes read
    ## Booting kernel from Legacy Image at 10800000 …
    Image Name: Linux-3.0.15-01386-g5c661b1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3605816 Bytes = 3.4 MB
    Load Address: 10008000
    Entry Point: 10008000
    Verifying Checksum … OK
    Loading Kernel Image … OK
    ……
    ….
    ………
    anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58

  11. kaushik November 29, 2012 3:05 am #

    Hello,
    I have the same issue

    Installation stops on a line:
    anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58
    Tried with U-Boot> setenv bootargs $bootargs –debug earlyprintk enable_wait_mode=off
    U-Boot> boot

    Please let me know what could be wrong.
    Regards

    • weidong December 20, 2012 3:52 am #

      I met same issue and USB mouse plug/unplug with no help. I did try wait_mode switch in boot command but no help either.

      Could someone give some hints here?
      ——————————————————————————————————————-

      U-Boot 2009.08 (Aug 16 2012 – 10:06:42)

      CPU: Freescale i.MX 6 family 0.0V at 792 MHz
      Temperature: can’t get valid data!
      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: 29333333Hz
      ddr clock : 528000000Hz
      usdhc2 clock : 200000000Hz
      usdhc3 clock : 200000000Hz
      usdhc4 clock : 200000000Hz
      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

      *** Warning – bad CRC, using default environment

      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
      MX6Q SABRELITE U-Boot > setenv bootargs $bootargs -debug earlyprintk enable_wait_mode=off
      MX6Q SABRELITE U-Boot > boot
      Card did not respond to voltage select!
      mmc0(part 0) is current device
      MMC: block number 0x1 exceeds max(0x0)
      ** Can’t read from device 0 **

      ** Unable to use mmc 0:1 for fatload **
      ** Bad partition 1 **
      mmc1 is current device
      reading /6q_bootscript

      ** Unable to read “/6q_bootscript” from mmc 1:1 **
      Loading file “/6q_bootscript” from mmc device 1:1 (xxb1)
      362 bytes read
      ## Executing script at 10008000
      Loading file “/boot/uImage” from mmc device 1:1 (xxb1)
      3605880 bytes read
      ## Booting kernel from Legacy Image at 10800000 …
      Image Name: Linux-3.0.15-01386-g5c661b1
      Image Type: ARM Linux Kernel Image (uncompressed)
      Data Size: 3605816 Bytes = 3.4 MB
      Load Address: 10008000
      Entry Point: 10008000
      Verifying Checksum … OK
      Loading Kernel Image … OK
      OK

      Starting kernel …

      Uncompressing Linux… done, booting the kernel.
      Linux version 3.0.15-01386-g5c661b1 (ericn@ericsony) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #64 SMP PREEMPT Tue Jun 26 11:16:43 MST 2012
      CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
      CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
      Machine: Freescale i.MX 6Quad Sabre-Lite Board
      Memory policy: ECC disabled, Data cache writealloc
      PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
      Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227328
      Kernel command line: console=ttymxc1,115200 -debug earlyprintk enable_wait_mode=off console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 fbmem=28M,10M
      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: 640MB 256MB = 896MB total
      Memory: 897764k/897764k available, 150812k reserved, 0K highmem
      Virtual kernel memory layout:
      vector : 0xffff0000 – 0xffff1000 ( 4 kB)
      fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
      DMA : 0xf4600000 – 0xffe00000 ( 184 MB)
      vmalloc : 0xc0800000 – 0xf2000000 ( 792 MB)
      lowmem : 0x80000000 – 0xc0000000 (1024 MB)
      pkmap : 0x7fe00000 – 0x80000000 ( 2 MB)
      modules : 0x7f000000 – 0x7fe00000 ( 14 MB)
      .init : 0x80008000 – 0x80035000 ( 180 kB)
      .text : 0x80035000 – 0x809eba64 (9947 kB)
      .data : 0x809ec000 – 0x80a2f0a0 ( 269 kB)
      .bss : 0x80a2f0c4 – 0x80a59e78 ( 172 kB)
      SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
      Preemptible hierarchical RCU implementation.
      NR_IRQS:496
      MXC GPIO hardware
      sched_clock: 32 bits at 6MHz, resolution 166ns, wraps every 715827ms
      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).
      print_constraints: dummy:
      NET: Registered protocol family 16
      print_constraintvddpu: 725 1300 mV at 1100 mV fast normal
      print_constraints: vddcore: 725 1300 mV at 1100 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: 2800 3150 mV at 3000 mV fast normal
      ———— Board type Sabre Lite
      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
      IMX usb wakeup probe
      IMX usb wakeup probe
      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
      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 $
      add wake up source irq 75
      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.
      cfg80211: Calling CRDA to update world regulatory domain
      i2c-core: driver [max17135] using legacy suspend method
      i2c-core: driver [max17135] using legacy resume method
      Switching to clocksource mxc_timer1
      Switched to NOHz mode on CPU #0
      Switched to NOHz mode on CPU #2
      Switched to NOHz mode on CPU #1
      Switched to NOHz mode on CPU #3
      NET: Registered protocol family 2
      IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
      TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
      TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
      TCP: Hash tables configured (established 131072 bind 65536)
      TCP reno registered
      UDP hash table entries: 512 (order: 2, 16384 bytes)
      UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
      NET: Registered protocol family 1
      RPC: Registered named UNIX socket transport module.
      RPC: Registered udp transport module.
      RPC: Registered tcp transport module.
      RPC: Registered tcp NFSv4.1 backchannel transport module.
      Static Power Management for Freescale i.MX6
      cpaddr = c0884000 suspend_iram_base=c0932000
      PM driver module loaded
      i.MXC CPU frequency driver
      JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
      msgmni has been set to 1753
      io scheduler noop registered
      io scheduler deadline registered
      io scheduler cfq registered (default)
      MIPI DSI driver module loaded
      mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi
      mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
      fbcvt: 1280×70@60: CVT Name – .921M9
      imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
      Console: switching to colour frame buffer device 160×45
      mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver lcd
      imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
      mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver ldb
      _regulator_get: get() with no identifier
      mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb
      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
      loop: module loaded
      Can’t recover from RESET HBA!
      No sata disk.
      m25p80 spi0.0: sst25vf016b (2048 Kbytes)
      Creating 2 MTD partitions on “m25p80″:
      0x000000000000-0x000000040000 : “bootloader”
      0x000000040000-0x000000200000 : “kernel”
      vcan: Virtual CAN interface driver
      CAN device driver interface
      flexcan netdevice driver
      flexcan imx6q-flexcan.0: device registered (reg_base=c09a8000, irq=142)
      FEC Ethernet Driver
      fec_enet_mii_bus: probed
      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
      usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
      usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      usb usb1: Product: Freescale On-Chip EHCI Host Controller
      usb usb1: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
      usb usb1: SerialNumber: fsl-ehci.0
      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
      usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
      usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      usb usb2: Product: Freescale On-Chip EHCI Host Controller
      usb usb2: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
      usb usb2: SerialNumber: fsl-ehci.1
      hub 2-0:1.0: USB hub found
      hub 2-0:1.0: 1 port detected
      Initializing USB Mass Storage driver…
      usbcore: registered new interface driver usb-storage
      USB Mass Storage support registered.
      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
      i2c-core: driver [isl29023] using legacy suspend method
      i2c-core: driver [isl29023] using legacy resume method
      snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
      i2c /dev entries driver
      Linux video capture interface: v2.00
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video21
      i2c-core: driver [mag3110] using legacy suspend method
      i2c-core: driver [mag3110] using legacy resume method
      imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
      sdhci: Secure Digital Host Controller Interface driver
      sdhci: Copyright(c) Pierre Ossman
      mmc0: Unknown controller version (3). You may experience problems.
      mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
      sdhci sdhci-esdhc-imx.3: no write-protect pin available!
      mmc1: Unknown controller version (3). You may experience problems.
      mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA
      mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
      VPU initialized
      mxc_asrc registered
      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
      usb 2-1: new high peed USB device number 2 using fsl-ehci
      mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
      sgtl5000 0-000a: Failed to get supply ‘VDDD': -19
      print_constraints: 0-000a: 850 1600 mV at 1200 mV normal
      sgtl5000 0-000a: sgtl5000 revision 17
      asoc: sgtl5000 imx-ssi.1 mapping ok
      asoc: mxc-hdmi-soc imx-hdmi-soc-dai.0 mapping ok
      ALSA device list:
      #0: sgtl5000-audio
      #1: imx-hdmi-soc
      usb 2-1: New USB device found, idVendor=0424, idProduct=2513
      usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      NET: Registered protocol family 26
      TCP cubic registered
      NET: Registered protocol family 17
      hub 2-1:1.0: USB hub found
      hub 2-1:1.0: 3 ports detected
      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)
      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
      mxc_dvfs_core_probe
      DVFS driver module loaded
      snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:05:23 UTC (323)
      Waiting for root device /dev/mmcblk0p1…
      mmc1: host does not support reading read-only switch. assuming write-enable.
      mmc1: new SDHC card at address 1234
      mmcblk0: mmc1:1234 SA04G 3.67 GiB
      mmcblk0: p1
      EXT3-fs: barriers not enabled
      kjournald starting. Commit interval 5 seconds
      EXT3-fs (mmcblk0p1): using internal journal
      EXT3-fs (mmcblk0p1): recovery complete
      EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
      VFS: Mounted root (ext3 filesystem) on device 179:1.
      Freeing init memory: 180K
      Thermal: fuse data 0x58e5523a
      anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58
      usb 2-1.2: new low speed USB device number 3 using fsl-ehci
      usb 2-1.2: New USB device found, idVendor=413c, idProduct=3016
      usb 2-1.2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
      usb 2-1.2: Product: Dell Premium USB Optical Mouse
      input: Dell Premium USB Optical Mouse as /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input1
      generic-usb 0003:413C:3016.0001: input,hidraw0: USB HID v1.11 Mouse [Dell Premium USB Optical Mouse] on usb-fsl-ehci.1-1.2/input0
      usb 2-1.2: USB disconnect, device number 3
      fbcvt: 1280×720@60: CVT Name – .921M9
      imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines

      U-Boot 2009.08 (Aug 16 2012 – 10:06:42)

      CPU: Freescale i.MX 6 family 0.0V at 792 MHz
      Temperature: can’t get valid data!
      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: 29333333Hz
      ddr clock : 528000000Hz
      usdhc1 clock : 200000000Hz
      usdhc2 clock : 200000000Hz
      usdhc3 clock : 200000000Hz
      usdhc4 clock : 200000000Hz
      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

      *** Warning – bad CRC, using default environment

      In: serial
      Out: serial
      Err: serial
      Net: got MAC address m IIM: 00:00:00:00:00:00
      FEC0 [PRIME]
      Hit any key to stop autoboot: 0
      Card did not respond to voltage select!
      mmc0(part 0) is current device
      MMC: block number 0x1 exceeds max(0x0)
      ** Can’t read from device 0 **

      ** Unable to use mmc 0:1 for fatload **
      ** Bad partition 1 **
      mmc1 is current device
      reading /6q_bootscript

      ** Unable to read “/6q_bootscript” from mmc 1:1 **
      Loading file “/6q_bootscript” from mmc device 1:1 (xxb1)
      362 bytes read
      ## Executing script at 10008000
      Loading file “/boot/uImage” from mmc device 1:1 (xxb1)
      3605880 bytes read
      ## Booting kernel from Legacy Image at 10800000 …
      Image Name: Linux-3.0.15-01386-g5c661b1
      Image Type: ARM Linux Kernel Image (uncompressed)
      Data Size: 3605816 Bytes = 3.4 MB
      Load Address: 10008000
      Entry Point: 10008000
      Verifying Checksum … OK
      Loading Kernel Image … OK
      OK

      Starting kernel …

      Uncompressing Linux… done, booting the kernel.
      Linux version 3.0.15-01386-g5c661b1 (ericn@ericsony) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #64 SMP PREEMPT Tue Jun 26 11:16:43 MST 2012
      CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
      CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
      Machine: Freescale i.MX 6Quad Sabre-Lite Board
      Memory policy: ECC disabled, Data cache writealloc
      PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
      Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227328
      Kernel command line: console=ttymxc1,115200 console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait consoleblank=0 video=mxcfb0:dev=hdmi,1280x720M@60,if=RGB24 fbmem=28M,10M
      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: 640MB 256MB = 896MB total
      Memory: 897764k/897764k available, 150812k reserved, 0K highmem
      Virtual kernel memory layout:
      vector : 0xffff0000 – 0xffff1000 ( 4 kB)
      fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
      DMA : 0xf4600000 – 0xffe00000 ( 184 MB)
      vmalloc : 0xc0800000 – 0xf2000000 ( 792 MB)
      lowmem : 0x80000000 – 0xc0000000 (1024 MB)
      pkmap : 0x7fe00000 – 0x80000000 ( 2 MB)
      modules : 0x7f000000 – 0x7fe00000 ( 14 MB)
      .init : 0x80008000 – 0x80035000 ( 180 kB)
      .text : 0x80035000 – 0x809eba64 (9947 kB)
      .data : 0x809ec000 – 0x80a2f0a0 ( 269 kB)
      .bss : 0x80a2f0c4 – 0x80a59e78 ( 172 kB)
      SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
      Preemptible hierarchical RCU implementation.
      NR_IRQS:496
      MXC GPIO hardware
      sched_clock: 32 bits at 6MHz, resolution 166ns, wraps every 715827ms
      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).
      print_constraints: dummy:
      NET: Registered protocol family 16
      print_constraints: vddpu: 725 1300 mV at 1100 mV fast normal
      print_constraints: vddcore: 725 1300 mV at 1100 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: 2800 3150 mV at 3000 mV fast normal
      ———— Board type Sabre Lite
      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
      IMX usb wakeup probe
      IMX usb wakeup probe
      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
      SCSI subsystem initialized
      spi_imx imx6q-ecspi.0: pobed
      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 $
      add wake up source irq 75
      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.
      cfg80211: Calling CRDA to update world regulatory domain
      i2c-core: driver [max17135] using legacy suspend method
      i2c-core: driver [max17135] using legacy resume method
      Switching to clocksource mxc_timer1
      Switched to NOHz mode on CPU #0
      Switched to NOHz mode on CPU #2
      Switched to NOHz mode on CPU #1
      Switched to NOHz mode on CPU #3
      NET: Registered protocol family 2
      IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
      TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
      TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
      TCP: Hash tables configured (established 131072 bind 65536)
      TCP reno registered
      UDP hash table entries: 512 (order: 2, 16384 bytes)
      UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
      NET: Registered protocol family 1
      RPC: Registered named UNIX socket transport module.
      RPC: Registered udp transport module.
      RPC: Registered tcp transport module.
      RPC: Registered tcp NFSv4.1 backchannel transport module.
      Static Power Management for Freescale i.MX6
      cpaddr = c0884000 suspend_iram_base=c0932000
      PM driver module loaded
      i.MXC CPU frequency driver
      JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
      msgmni has been set to 1753
      io scheduler noop registered
      io scheduler deadline registered
      io scheduler cfq registered (default)
      MIPI DSI driver module loaded
      mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver hdmi
      mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
      fbcvt: 1280×720@60: CVT Name – .921M9
      imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
      Console: switching to colour frame buffer device 160×45
      mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver lcd
      imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
      mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver ldb
      _regulator_get: get() with no identifier
      mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb
      fbcvt: 1280×720@60: CVT Name – .921M9
      imx-ipuv3 imx-ipuv3.0: WARNING: adapt panel end blank lines
      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=80000 div=7 num=504 denom=3125 baud=115200
      console [ttymxc1] enabled, bootconsole disabled
      console [ttymxc1] enabled, bootconsole disabled
      loop: module loaded
      Can’t recover from RESET HBA!
      No sata disk.
      m25p80 spi0.0: sst25vf016b (2048 Kbytes)
      Creating 2 MTD partitions on “m25p80″:
      0x000000000000-0x000000040000 : “bootloader”
      0x000000040000-0x000000200000 : “kernel”
      vcan: Virtual CAN interface driver
      CAN device driver interface
      flexcan netdevice driver
      flexcan imx6q-flexcan.0: device registered (reg_base=c09a8000, irq=142)
      FEC Ethernet Driver
      fec_enet_mii_bus: probed
      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
      usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
      usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      usb usb1: Product: Freescale On-Chip EHCI Host Controller
      usb usb1: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
      usb usb1: SerialNumber: fsl-ehci.0
      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
      usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
      usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
      usb usb2: Product: Freescale On-Chip EHCI Host Controller
      usb usb2: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
      usb usb2: SerialNumber: fsl-ehci.1
      hub 2-0:1.0: USB hub found
      hub 2-0:1.0: 1 port detected
      Initializing USB Mass Storage driver…
      usbcore: registered new interface driver usb-storage
      USB Mass Storage support registered.
      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
      i2c-core: driver [isl29023] using legacy suspend method
      i2c-core: driver [isl29023] using legacy resume method
      snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
      i2c /dev entries driver
      Linux video capture interface: v2.00
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
      mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video21
      i2c-core: driver [mag3110] using legacy suspend method
      i2c-core: driver [mag3110] using legacy resume method
      imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
      sdhci: Secure Digital Host Controller Interface driver
      sdhci: Copyright(c) Pierre Ossman
      mmc0: Unknown controller version (3). You may experience problems.
      mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
      sdhci sdhci-esdhc-imx.3: no write-protect pin available!
      mmc1: Unknown controller version (3). You may experience problems.
      mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA
      mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
      VPU initialized
      mxc_asrc registered
      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
      mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
      usb 2-1: new high speed USB device number 2 using fsl-ehci
      sgtl5000 0-000a: Failed to get supply ‘VDDD': -19
      print_constraints: 0-000a: 850 1600 mV at 1200 mV normal
      sgtl5000 0-000a: sgtl5000 revision 17
      asoc: sgtl5000 imx-ssi.1 mapping ok
      asoc: mxc-hdmi-soc imx-hdmi-soc-dai.0 mapping ok
      ALSA device list:
      #0: sgtl5000-audio
      #1: imx-hdmi-soc
      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)
      lib80211: common routines for IEEE802.11 drivers
      VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
      usb 2-1: New USB device found, idVendor=0424, idProduct=2513
      usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
      Bus freq driver module loaded
      hub 2-1:1.0: USB hub found
      hub 2-1:1.0: 3 ports detected
      mxc_dvfs_core_probe
      DVFS driver module loaded
      snvs_rtc snvs_rtc.0: setting system clock to 1970-01-01 00:06:33 UTC (393)
      Waiting for root device /dev/mmcblk0p1…
      mmc1: host does not support reading read-only switch. assuming write-enable.
      mmc1: new SDHC card at address 1234
      mmcblk0: mmc1:1234 SA04G 3.67 GiB
      mmcblk0: p1
      EXT3-fs: barriers not enabled
      kjournald starting. Commit interval 5 seconds
      EXT3-fs (mmcblk0p1): using internal journal
      EXT3-fs (mmcblk0p1): recovery complete
      EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode
      VFS: Mounted root (ext3 filesystem) on device 179:1.
      Freeing init memory: 180K
      Thermal: fuse data 0x58e5523a
      anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58

  12. rerickson December 4, 2012 8:31 am #

    Hello,

    I was having the same anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58 issue but then I removed my mouse and keyboard from the USB and it booted fine. I plugged the mouse and keyboard back in and now I can navigate Ubuntu.

    I have another issue though. Ubuntu says there are no network devices available. When I issue an ifconfig I do see the eht5, lo, and wlan0 interfaces. I need to evaluate wlan0 but can’t connect to any networks because the Ubuntu network manager sees no devices. How can this be fixed?

    Thanks

    • ericn December 4, 2012 8:39 am #

      Hi,

      The “wake” when plugging in (or out) a USB device is a symptom of the “enable_wait_mode” thing, where the system is asleep for no reason.

      As for the ethernet device, there’s a “feature” of Ubuntu that keeps track of settings for each distinct mac address and names each with a different network adapter name. If you delete the files and then reboot, your ethernet adapter will come up as eth0:

      /etc/udev/rules.d/70-persistent-net.rules
      and
      /lib/udev/rules.d/75-persistent-net-generator.rules

      Alternatively, you can add a couple of lines for eth5 into /etc/network/interfaces:

      auto eth5
      iface eth5 inet dhcp

      • rerickson December 4, 2012 9:00 am #

        Hello ericn,

        Thanks for the quick response. I removed the two files and when I do ifconfig, eth0 now shows up. My issue though is that the network-manager shows no devices so I cannot connect to a wireless network. I want to evaluate wlan0. How can I fix this issue?

        Thanks

        • ericn December 4, 2012 11:26 am #

          Can you run these commands after boot?
          # dmesg | grep wl
          # lsmod

          I don’t recall whether you need to ‘modprobe wl12xx_sdio’ or not.

          • rerickson December 4, 2012 12:08 pm
            #

            Here’s the output of those commands:

            root@linaro-ubuntu-desktop:~# dmesg | grep wl
            wl1271: loaded
            wl1271: initialized
            wl1271: firmware booted (Rev 6.1.5.50.74)
            root@linaro-ubuntu-desktop:~# lsmod
            Module Size Used by
            bnep 9529 2
            rfcomm 31787 0
            bluetooth 130552 10 bnep,rfcomm
            wl12xx_sdio 3491 0
            ov5642_camera 61101 0
            camera_sensor_clock 689 1 ov5642_camera

            If if compare this to Ubuntu running on a pandaboard I notice that the mac80211 module isn’t loaded as well as the wl12xx module. It looks like there are modules missing or just not loaded which could be why WLAN isn’t working. Any ideas?

            Also the Bluetooth manager doesn’t see any Bluetooth devices. I am also going to need to evaluate BT but I’d like to tackle WLAN first.

            Thanks

          • ericn December 4, 2012 12:13 pm
            #

            I think cfg80211 is included in the kernel, though I’m not certain.

            Do you see ‘wlan0′ when you run ‘ifconfig -a’?

          • rerickson December 4, 2012 12:46 pm
            #

            Yes wlan0 is listed in ifconfig:

            wlan0 Link encap:Ethernet HWaddr de:ad:be:ef:00:00
            UP BROADCAST MULTICAST MTU:1500 Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000
            RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

            Another interesting this is that when I rmmod wl12xx_sdio and then insmod wl12xx_sdio the TiWi-R2 does not start up correctly. This leads me to believe there is also something wrong with the WL_EN line not being controlled by the driver.

            root@linaro-ubuntu-desktop:~# sudo rmmod wl12xx_sdio
            root@linaro-ubuntu-desktop:~# dmesg | grep wl
            wl1271: loaded
            wl1271: initialized
            wl1271: firmware booted (Rev 6.1.5.50.74)
            wl1271: down
            wl1271: unloaded

            Then when I probe the WL_EN line of the module (with DMM) it is still high which could be a problem.

  13. Nil December 7, 2012 9:08 pm #

    I want to boot the Sabre Lite Board with the Ubuntu, for same i had followed this link. And create an sd card using a tool created by Alex Page. But it cant boot completely. i use samsung synchmaster SA350 monitor wich is working well with all resolution for another boards.

    I can see the linux logo (four penguin) on HDMI monitor. But not any more afer this.
    The boot output is as follows.

    //============================================
    U-Boot 2009.08 (Aug 16 2012 – 10:06:42)

    CPU: Freescale i.MX 6 family 0.0V at 792 MHz
    Temperature: can’t get valid data!
    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: 29333333Hz
    ddr clock : 528000000Hz
    usdhc1 clock : 200000000Hz
    usdhc2 clock : 200000000Hz
    usdhc3 clock : 200000000Hz
    usdhc4 clock : 200000000Hz
    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

    *** Warning – bad CRC, using default environment

    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
    mmc0 is current device
    reading /6q_bootscript

    ** Unable to read “/6q_bootscript” from mmc 0:1 **
    Loading file “/6q_bootscript” from mmc device 0:1 (xxa1)
    583 bytes read
    ## Executing script at 10008000
    Unknown command ‘hdmidet’ – try ‘help’
    Loading file “/boot/uImage” from mmc device 0:1 (xxa1)
    3605880 bytes read
    ## Booting kernel from Legacy Image at 10800000 …
    Image Name: Linux-3.0.15-01386-g5c661b1
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3605816 Bytes = 3.4 MB
    Load Address: 10008000
    Entry Point: 10008000
    Verifying Checksum … OK
    Loading Kernel Image … OK
    OK

    Starting kernel …

    Uncompressing Linux… done, booting the kernel.
    Linux version 3.0.15-01386-g5c661b1 (ericn@ericsony) (gcc version 4.4.4 (4.4.4_09.06.2010) ) #64 SMP PREEMPT Tue Jun 26 11:16:43 MST 2012
    CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
    Machine: Freescale i.MX 6Quad Sabre-Lite Board
    Memory policy: ECC disabled, Data cache writealloc
    PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227328
    Kernel command line: console=ttymxc1,115200 vmalloc=400M root=/dev/mmcblk0p1 rootwait fixrtc consoleblank=0 video=mxcfb0:dev=lcd,800x480M@60,if=RGB666 video=mxcfb1:dev=hdmi,1280x720M@60,if=RGB24 calibration tsdev=tsc2004 fbmem=10M,28M
    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: 640MB 256MB = 896MB total
    Memory: 897764k/897764k available, 150812k reserved, 0K highmem
    Virtual kernel memory layout:
    vector : 0xffff0000 – 0xffff1000 ( 4 kB)
    fixmap : 0xfff00000 – 0xfffe0000 ( 896 kB)
    DMA : 0xf4600000 – 0xffe00000 ( 184 MB)
    vmalloc : 0xc0800000 – 0xf2000000 ( 792 MB)
    lowmem : 0x80000000 – 0xc0000000 (1024 MB)
    pkmap : 0x7fe00000 – 0x80000000 ( 2 MB)
    modules : 0x7f000000 – 0x7fe00000 ( 14 MB)
    .init : 0x80008000 – 0x80035000 ( 180 kB)
    .text : 0x80035000 – 0x809eba64 (9947 kB)
    .data : 0x809ec000 – 0x80a2f0a0 ( 269 kB)
    .bss : 0x80a2f0c4 – 0x80a59e78 ( 172 kB)
    SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
    Preemptible hierarchical RCU implementation.
    NR_IRQS:496
    MXC GPIO hardware
    sched_clock: 32 bits at 6MHz, resolution 166ns, wraps every 715827ms
    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).
    print_constraints: dummy:
    NET: Registered protocol family 16
    print_constraints: vddpu: 725 1300 mV at 1100 mV fast normal
    print_constraints: vddcore: 725 1300 mV at 1100 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: 2800 3150 mV at 3000 mV fast normal
    ———— Board type Sabre Lite
    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
    IMX usb wakeup probe
    IMX usb wakeup probe
    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
    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 $
    add wake up source irq 75
    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.
    cfg80211: Calling CRDA to update world regulatory domain
    i2c-core: driver [max17135] using legacy suspend method
    i2c-core: driver [max17135] using legacy resume method
    Switching to clocksource mxc_timer1
    Switched to NOHz mode on CPU #0
    Switched to NOHz mode on CPU #2
    Switched to NOHz mode on CPU #1
    Switched to NOHz mode on CPU #3
    NET: Registered protocol family 2
    IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
    TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
    TCP bind hash table entries: 65536 (order: 7, 786432 bytes)
    TCP: Hash tables configured (established 131072 bind 65536)
    TCP reno registered
    UDP hash table entries: 512 (order: 2, 16384 bytes)
    UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    NET: Registered protocol family 1
    RPC: Registered named UNIX socket transport module.
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    RPC: Registered tcp NFSv4.1 backchannel transport module.
    Static Power Management for Freescale i.MX6
    cpaddr = c0884000 suspend_iram_base=c0932000
    PM driver module loaded
    i.MXC CPU frequency driver
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    msgmni has been set to 1753
    io scheduler noop registered
    io scheduler deadline registered
    io scheduler cfq registered (default)
    MIPI DSI driver module loaded
    mxc_sdc_fb mxc_sdc_fb.0: register mxc display driver lcd
    fbcvt: 800×480@60: CVT Name – .384M9
    Console: switching to colour frame buffer device 100×30
    mxc_sdc_fb mxc_sdc_fb.1: register mxc display driver hdmi
    mxc_hdmi mxc_hdmi: Detected HDMI controller 0x13:0xa:0xa0:0xc1
    fbcvt: 1280×720@60: CVT Name – .921M9
    imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
    imx-ipuv3 imx-ipuv3.0: IPU DMFC DC HIGH RESOLUTION: 1(0~3), 5B(4,5), 5F(6,7)
    mxc_sdc_fb mxc_sdc_fb.2: register mxc display driver ldb
    _regulator_get: get() with no identifier
    mxc_sdc_fb mxc_sdc_fb.3: register mxc display driver ldb
    imx-sdma imx-sdma: loaded firmware 1.1
    mxc_hdmi mxc_hdmi: No modes read from edid
    mxc_hdmi mxc_hdmi: create default modelist
    fbcvt: 1280×720@60: CVT Name – .921M9
    mxc_hdmi mxc_hdmi: Default modelist,the video mode may not support by monitor.
    imx-sdma imx-sdma: initialized
    imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
    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
    loop: module loaded
    Can’t recover from RESET HBA!
    No sata disk.
    m25p80 spi0.0: sst25vf016b (2048 Kbytes)
    Creating 2 MTD partitions on “m25p80″:
    0x000000000000-0x000000040000 : “bootloader”
    0x000000040000-0x000000200000 : “kernel”
    vcan: Virtual CAN interface driver
    CAN device driver interface
    flexcan netdevice driver
    flexcan imx6q-flexcan.0: device registered (reg_base=c09a8000, irq=142)
    FEC Ethernet Driver
    fec_enet_mii_bus: probed
    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
    usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb1: Product: Freescale On-Chip EHCI Host Controller
    usb usb1: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
    usb usb1: SerialNumber: fsl-ehci.0
    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
    usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
    usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    usb usb2: Product: Freescale On-Chip EHCI Host Controller
    usb usb2: Manufacturer: Linux 3.0.15-01386-g5c661b1 ehci_hcd
    usb usb2: SerialNumber: fsl-ehci.1
    hub 2-0:1.0: USB hub found
    hub 2-0:1.0: 1 port detected
    Initializing USB Mass Storage driver…
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    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
    i2c-core: driver [isl29023] using legacy suspend method
    i2c-core: driver [isl29023] using legacy resume method
    snvs_rtc snvs_rtc.0: rtc core: registered snvs_rtc as rtc0
    i2c /dev entries driver
    Linux video capture interface: v2.00
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video16
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video17
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video18
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video19
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video20
    mxc_v4l2_output mxc_v4l2_output.0: V4L2 device registered as video21
    i2c-core: driver [mag3110] using legacy suspend method
    i2c-core: driver [mag3110] using legacy resume method
    imx2-wdt imx2-wdt.0: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=1)
    sdhci: Secure Digital Host Controller Interface driver
    sdhci: Copyright(c) Pierre Ossman
    mmc0: Unknown controller version (3). You may experience problems.
    mmc0: SDHCI controller on platform [sdhci-esdhc-imx.2] using ADMA
    sdhci sdhci-esdhc-imx.3: no write-protect pin available!
    mmc1: Unknown controller version (3). You may experience problems.
    mmc1: SDHCI controller on platform [sdhci-esdhc-imx.3] using ADMA
    mxc_vdoa mxc_vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
    VPU initialized
    mxc_asrc registered
    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
    mxc_hdmi_soc mxc_hdmi_soc.0: MXC HDMI Audio
    sgtl5000 0-000a: Failed to get supply ‘VDDD': -19
    print_constraints: 0-000a: 850 1600 mV at 1200 mV normal
    sgtl5000 0-000a: sgtl5000 revision 17
    mxc_hdmi mxc_hdmi: No modes read from edid
    mxc_hdmi mxc_hdmi: create default modelist
    mxc_hdmi mxc_hdmi: Default modelist,the video mode may not support by monitor.
    imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
    usb 2-1: new high speed USB device number 2 using fsl-ehci
    mmc0: new SDHC card at address e624
    mmcblk0: mmc0:e624 SU08G 7.40 GiB (ro)
    mmcblk0: p1
    usb 2-1: New USB device found, idVendor=0424, idProduct=2513
    usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    hub 2-1:1.0: USB hub found
    hub 2-1:1.0: 3 ports detected
    mxc_hdmi mxc_hdmi: No modes read from edid
    mxc_hdmi mxc_hdmi: create default modelist
    mxc_hdmi mxc_hdmi: Default modelist,the video mode may not support by monitor.
    imx-ipuv3 imx-ipuv3.0: ext di clk already in use, go back to internal clk
    //============================================

    • ericn December 20, 2012 7:05 am #

      Hi Nil,

      The problem you’re having appears to be this:

      mmcblk0: mmc0:e624 SU08G 7.40 GiB (ro)
      mmcblk0: p1
      

      The “(ro)” stands for read-only. Are you using the full-sized SD card on a SABRE Lite?

      If so, please check the write-protect slider.

      • nil January 8, 2013 11:19 pm #

        I have tried with both the Full size and micro+adapter.
        Also Checked the Write protected slider everything is ok.
        Still the RO appears.

        On same card i Put the another os for my older board(not freescale) it works fine there is no (RO).

        So i am confused why those cards are not working with this board.

  14. Nil December 9, 2012 12:01 am #

    I have tried to boot from SATA HDD,

    1) format the HDD with ext3 partion
    2)extarct the tarball to that HDD
    3)Plug the HDD to board but it dose not boot from HDD

    • Thomas February 5, 2013 6:45 am #

      Hey Nil,

      is your Problem with booting from SATA-HDD still actual?

      • ericn February 5, 2013 7:05 am #

        Note that I recently pushed a patch to the 6x_bootscript to allow booting completely from SATA.

        Remember that you can use the on-line bootscript compiler to compile a new boot script from text.

      • nil February 20, 2013 4:28 am #

        Yes ..! Still the problem is there.

        I am unable to put the Ubuntu on this board by any way successfully.

        Please Give me the micro SD card image or SD card image for Ubuntu if any.

        Thank you!

        • Thomas March 27, 2013 6:51 am #

          Hey Nil,

          please write me an email to “thomas.janner@actiworks.de” with your status – i will send you all i know from there

  15. tuxershlazem January 29, 2013 3:03 am #

    Hi, I’cant seem to get the image to boot, I created a partion on the sd-card and formatted it for ext3. I then copied over the files from the image. But when I boot the board up i get:

    SATA device 1: unknown device
    ** Bad device sata 1 **
    ** Bad device sata 1 **
    MMC: no card present
    mmc0(part 0) is current device
    MMC: no card present
    ** Bad device mmc 0 **
    MMC: no card present
    ** Bad device mmc 0 **
    mmc1 is current device
    ** Unrecognized filesystem type **
    ** File not found /6x_bootscript **

    Fdisk output:

    Disk /dev/sdb: 4008 MB, 4008706048 bytes
    93 heads, 53 sectors/track, 1588 cylinders, total 7829504 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0x000bf164

    Device Boot Start End Blocks Id System
    /dev/sdb1 2048 7829503 3913728 83 Linux

    And the / file listing:

    6q_bootscript bin boot clips dev etc home lib lost+found media mnt mnt2 opt proc root run sbin selinux srv sys tmp unit_tests usr var

    What could be wrong?

    /johnny

    • tuxershlazem January 29, 2013 3:08 am #

      Never mind, naturally after I posted the message I noticed that the bootscript was called 6q_bootscript and uboot wanted 6x_bootscript .

  16. jurij March 16, 2013 1:28 am #

    I installed ubuntu on my Nitrogen6x, but the cpuinfo now prints out:

    root@linaro-ubuntu-desktop:/etc/udev/rules.d# cat /proc/cpuinfo
    Processor : ARMv7 Processor rev 10 (v7l)
    processor : 0
    BogoMIPS : 395.26

    processor : 1
    BogoMIPS : 395.26

    processor : 2
    BogoMIPS : 395.26

    processor : 3
    BogoMIPS : 395.26

    Features : swp half thumb fastmult vfp edsp neon vfpv3
    CPU implementer : 0x41
    CPU architecture: 7
    CPU variant : 0x2
    CPU part : 0xc09
    CPU revision : 10

    Hardware : Freescale i.MX 6Quad Sabre-Lite Board
    Revision : 63000
    Serial : 0000000000000000

    If i am not mistaking, the MIPS in original build are around 2000. How do I fix this? A scaling factor mybe (/sys/devices/cpu/cpu0/cpufreq/scaling_cur_freq)? It is set to 198000.

    • ericn March 16, 2013 8:45 am #

      Hi Jurij,

      You’ll see these numbers go up and down with the CPU frequency, which will change based on load.
      I presume that your system was idle when you ran this. If you run a handful of dummy tasks in the
      background, you should see the speed jump to 1GHz:

      ~/$ for n in 1 2 3 ; do \
           while [ 1 ]; do echo -n > /dev/null ; done & \
          done
      
      • jurij March 18, 2013 4:36 am #

        Yes, my sistem was idel and th script works. Thank you!

        I have one additional problem. Every now and them the wifi adapter failes to start at boot, with the following error: wl1271: ERROR firmware boot failed despite 3 retries

        How can I fix this?

  17. Brad Cox March 21, 2013 12:41 pm #

    Hello,
    I am just starting out, my Arrow FAE lent me a Nitrogen6x with the 800×480 display and I have HDMI connected as well. I created this image on a SD card with the recommended Windows utility. Upon boot, I see four penguins in both displays but then the LVDS display goes dark (penguins still there) and nothing happens for a while, then the HDMI signal quits and penguins disappear from LVDS. I have tried pressing all the buttons on both the Andriod button board and an attached USB keyboard (which appears to be live because I can toggle Caps Lock), and I have tried removing and reconnecting both the mouse and keyboard at various times during boot up. I know it is working because every once in a while, when I opress the reset button after it has had time to boot, the LVDS display lights up momentarily and I see the Ubuntu desktop. I don’t have a terminal on the serial port as yet, and I don’t have a Linux system that can handle large SD cards. Is there anything else or another image that might make this work? Thank You!

    • Brad Cox April 20, 2013 4:50 pm #

      I have gotten the board to boot, but the backlight still only flashes on briefly. It then fades on and then off when the screen saver kicks in, but if I try to log in while it is on it immediately goes dark as soon as I type. I have a serial port connection now, but as soon as Ubuntu boots it is no longer active. I know it works because during several early boots the system hung up and left the terminal running and I could type in it.

      The brightness setting in the Ubuntu System settings has no effect. How do I get the backlight to stay on?

      • brad cox April 25, 2013 11:02 am #

        Well, I finally discovered that it DOES work, it is just that:

        – The Ubuntu Brightness slider is backwards from what I would expect, left is bright and right is dim.
        – It defaults to full dim.
        – The brightness does not change noticeably until around half way, and the usable range is in the rightmost third of the slider’s range.
        – If you grab the slider and move it, sometimes it does not update very rapidly, so the few times I did this I never saw the backlight change.

        Moral of the story, if this happens to you, go into a very dark room, click the system settings in the very upper rigt corner or find the one in the launcher in the far left of the screen, choose Display, then click at the far left of the slider range or drag it from far left to far right and then drop it there and then…
        you will see the light.

  18. ahsanhabib April 3, 2013 9:53 pm #

    Hi

    How do I get multi-touch events? I am using iMX6 board with 1024×600 multi-touch screen. Using Ubuntu image.

    • ericn April 4, 2013 12:22 pm #

      Hi Ahsan,

      You’ll need to make sure that CONFIG_FT5X06_SINGLE_TOUCH is not defined in your kernel configuration as the first step:

      CONFIG_TOUCHSCREEN_FT5X06=y
      # CONFIG_TOUCHSCREEN_FT5X06_SINGLE_TOUCH is not set
      

      I’m not sure how to configure X or Ubuntu for multi-touch though. Does such support exist?

  19. ericn April 13, 2013 4:36 pm #

    I just looked into a reported problem with audio for a customer and found that pulseaudio was failing to load because of an issue loading ‘consolekit’.

    I’m not entirely sure what that is or why you’d want one, but you can get by this by commenting out these lines in /etc/pulse/default.pa.

    #.ifexists module-console-kit.so
    #load-module module-console-kit
    #.endif
    
  20. Fikret Alim June 10, 2013 4:01 am #

    Dear Ericn,

    I have the similar problem that there is no video at hdmi output. The last log message is anatop_thermal_counting_ratio: raw25c=1422 raw_hot=1362 hot_temp=58.

    I have overwritten the new 6q_bootscript and adjust the panel settings during boot as follows;

    U-Boot> setenv bootargs mxcfb0:dev=hdmi,1280x720M@60,if=RGB24
    U-Boot> saveenv

    Still there is no image. What can be wrong? I tried to change the source of TV and back to the correct hdmi source. then the logs say

    mxc_hdmi mxc_hdmi: same edid

    • ericn June 10, 2013 7:45 am #

      What do you see in the Kernel command line during Linux startup?

      All of the manipulation of bootargs is done to get that right.

  21. Zoltan October 22, 2013 3:36 am #

    Could someone tell me how to install the usbserial driver as a kernel module for this Ubuntu image?
    The usbserial module is missing.

Leave a Reply