Running udoobuntu from internal eMMC storage

Discussion in 'SECOSBC-A62' started by ddewaele, Mar 14, 2016.

  1. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    Hi,

    Is there a guide somewhere on how to get the A62 board up and running with an OS (preferably udoobuntu from http://www.udoo.org/bsp-download-page/) that launches from the internal eMMC storage ?

    I know that jumper 27 controls booting from internal/external storage but I assume there is some kind of procedure to transfer an image via U-Boot (I'm not that familiar with that aspect and don't want to end up bricking my board).

    Any help would be appreciated.
     
  2. Pavel Vovk

    Pavel Vovk New Member

    Joined:
    Feb 12, 2016
    Messages:
    10
    Likes Received:
    1
    Ii have a bed news for you: the BSP from http://www.udoo.org/bsp-download-page/ does not work correctly.
    The old version that is preinstalled into board's eMMC works, but newest one does not.
    I've already asked SECO for support, but still did not get it.
     
  3. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    What exaclty is the issue with the bsp from the download page ?
    Wrote it to an SD and noticed that it booted correctly in the UI.
     
  4. Pavel Vovk

    Pavel Vovk New Member

    Joined:
    Feb 12, 2016
    Messages:
    10
    Likes Received:
    1
    Yes, you are right, it is booting correctly. But the kernel can't work with HDMI - on the display a blinking "_" only.
     
  5. SECO_FAE

    SECO_FAE New Member Staff Member

    Joined:
    Feb 17, 2016
    Messages:
    9
    Likes Received:
    11
    HI,

    the QUAD BSP works fine.

    There seems to be a problem with the Solo and Dual. It seems not to hook onto the GUI. We are aware of it and looking at the issue.

    We'll keep you posted.

    Sorry about this.
     
  6. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    Any tips on how to get the Quad image on the eMMC would be great ? The current image doesn't fit (eMMC storage is 3959MB and the image is >4GB)
     
  7. ddewaele

    ddewaele Member

    Joined:
    Dec 2, 2014
    Messages:
    48
    Likes Received:
    11
    I also tried

    - copying the /boot/* content from the fat partition from the sd card into the /boot folder on the root partition on the eMMC.
    - converting the zImage into a uImage
    Code:
    mkimage -A arm -O linux -T kernel -C none -a 0x10800000 -e 0x10800000 -n "Linux kernel" -d zImage uImage
    - loading the dts file and uImage through uBoot
    Code:
    MX6Q SECO_A62 U-Boot > mmc dev 1; ext2load mmc 1:1 0x18000000 /boot/dts/imx6q-seco_SBC_A62.dtb
    mmc1(part 0) is current device
    35694 bytes read in 84 ms (414.1 KiB/s)
    MX6Q SECO_A62 U-Boot > mmc dev 1; ext2load mmc 1:1 0x12000000 /boot/uImage
    mmc1(part 0) is current device
    4257840 bytes read in 256 ms (15.9 MiB/s)
    MX6Q SECO_A62 U-Boot > bootm 0x12000000 - 0x18000000
    ## Booting kernel from Legacy Image at 12000000 ...
       Image Name:   Linux kernel
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    4257776 Bytes = 4.1 MiB
       Load Address: 10800000
       Entry Point:  10800000
       Verifying Checksum ... OK
    ERROR: Did not find a cmdline Flattened Device Tree
    Could not find a valid device tree
    MX6Q SECO_A62 U-Boot >
    
    I also tried loading the zImage directly but I'm always getting Bad Linux ARM zImage magic!
     
  8. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear ddewaele,
    thanks for your tips and you raising these problems.
    We are going to make a new image that will fit the limit of 4GB.
     

Share This Page