Linux Quad SD not working after update

Discussion in 'Troubleshooting' started by angoll, Dec 23, 2013.

  1. angoll

    angoll New Member

    Joined:
    Dec 23, 2013
    Messages:
    2
    Likes Received:
    0
    Hi,
    I'm new at UDOO just starting today with the udoo board :)
    I try to update the linux Quad SD following the guide:
    http://www.udoo.org/update-procedure/

    I try the online method after complete all steps and reboot the udoo board the system it's not running,
    The only screen I see is like this:

    The UDOO Logo and in the right hand:
    u-boot-imx-2013-10 on:
    UDOO Board 2013
    CPU Freescale i.MX6 Quad/Dual 1Ghz
    qual/dual ARMv7 Cortex-A9 core
    1 GB RAM DDR3
    Vivante GC2000 / GC880
    Atmel SAM3X8E ARM Cortex-M3 CPU
    Ardruino-compatible R3 1.0 pinout

    I wait around 1h minutes with the same screen, I tried to restart, disconnect all connect again, I tested the Ardruino SM and works fine.
    Can you help me to solve the problem ??

    Thanks :)
     
  2. miousername

    miousername New Member

    Joined:
    Jun 23, 2013
    Messages:
    73
    Likes Received:
    0
    Hi,

    Try to connect to Udoo serial debug port , then post the output and We try to solve your problem.
     
  3. angoll

    angoll New Member

    Joined:
    Dec 23, 2013
    Messages:
    2
    Likes Received:
    0
    Hi, thanks for the reply

    I didn't know the debug port, nice to know :)
    This is my output: ERROR: can't get kernel image!

    Code:
    U-Boot 2013.10-rc3-svn109 (Nov 27 2013 - 17:36:22)
    CPU:   Freescale i.MX6Q rev1.2 at 792 MHz
    Reset cause: POR
    Board: UDOO
    DRAM:  1 GiB
    MMC:   FSL_SDHC: 0
    auto-detected panel HDMI
    Display: HDMI (1024x768)
    In:    serial
    Out:   serial
    Err:   serial
    Net:   using phy at 6
    FEC
    Hit any key to stop autoboot:  3  2  1  0 
    MMC Device 2 not found
    no mmc device at slot 2
    MMC Device 2 not found
    ** Bad device mmc 2 **
    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
     
  4. delba

    delba Administrator Staff Member

    Joined:
    May 8, 2013
    Messages:
    1,064
    Likes Received:
    9
    angoll, in my opinion the fastest way is to reflash your SD card with the brand new 12.04 OS. That will solve all the issues you're having.
     
  5. miousername

    miousername New Member

    Joined:
    Jun 23, 2013
    Messages:
    73
    Likes Received:
    0
    Yes,

    I think the same, uboot can't find kernel image to load into memory!
     
  6. pquinton

    pquinton New Member

    Joined:
    Jul 8, 2014
    Messages:
    5
    Likes Received:
    0
    Hi,

    I've found this happened to me after the update. I'm not sure why it happened, but essentially the mmc device location changes from device 2 to device 0. This can be checked at uboot with the mmc command. In order to fix:

    1. reset, halt boot in uboot.

    2. Lets confirm the mmc card is device 0..

    Code:
    UDOO board => mmc list
    FSL_SDHC: 0
    
    UDOO board => mmc dev 0
    mmc0 is current device
    
    UDOO board => mmcinfo
    Device: FSL_SDHC
    Manufacturer ID: 82
    OEM: 4a54
    Name: NCard
    Tran Speed: 50000000
    Rd Block Len: 512
    SD version 3.0
    High Capacity: Yes
    Capacity: 14.7 GiB
    Bus Width: 4-bit
    3. All good, we know it's device 0. Let's configure the boot device and commit the changes to the MMC card.
    Code:
    setenv bootdev "mmc dev 0; ext2load mmc 0:1"
    saveenv
    
    Saving Environment to MMC...
    Writing to MMC(0)... done
    4. Boot the monster..

    Code:
    UDOO board => boot
    mmc0 is current device
    4120128 bytes read in 328 ms (12 MiB/s)
    ## Booting kernel from Legacy Image at 10800000 ...
       Image Name:   Linux-3.0.35
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4120064 Bytes = 3.9 MiB
       Load Address: 10008000
       Entry Point:  10008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    
    Starting kernel ...
     

Share This Page