yocto

Discussion in 'SECOSBC-A62' started by modjo, Feb 3, 2016.

  1. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    On SA62 seco give a guideline to build an yocto 1.7 image (possible to use qt 5.3.1) that i never can be build to the end (perhaps i did something wrong) , same with ticketing !

    As you can say (perhaps), Graugans ;), make an amazing work to create an udoo recipe for yocto 2 http://www.udoo.org/forum/threads/openembedded-yocto-on-udoo-boards.2965/

    this recipe work very well with neo and quad (for the moment we just improve some modules on qt5 ...) and is it possible to build an image with qt5.5.1 and to make a sdk (tested and approved !).

    The quad and Sa62 as the same base (cortex M3 less) , and it would be very interesting for the people who want to use yocto to switch between all the cards (neo, quad and SA62). For that reason i asked Graugans, if it can make a try to build an image for A62 with it recipe. But unfortunately it don't work (big thanks to him for his time !), issues with kernel and uboot ! Like Graugan said me they don't use a SPL Uboot like udoo and kernel bail out because GCC is 5.0 and some patches are missing ... I didn't have all the knowledge :( that have Graugans to try, but perhaps we can ask Seco to adapt the kernel and uboot to have the same level than udoo.
    @andrea, can you ask the question at Seco please ? i think you have more contacts than us.
     
  2. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear modjo,
    I'm doing it right now.
    I'll let you know ASAP.
     
    graugans and modjo like this.
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks a lot Andrea, i'm looking to your answer !
     
  4. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Ahoi, it is not a big issue. Just the kernel in the secco git is a bit behind of the udoo kernel. I have all the patches floating arround. I already contacted seco but not yet got an response. Due to major QT5 request I did not investigate in this direction :)
     
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks for your explanations Graugans, i hope Andrea can have more success with Seco ... I'm sure that your recipe can help more people to use yocto ! After the yocto image will be ok with Qt module, i will make some tutorials with Qt and udoo ...
     
  6. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Andrea, do you have any answers with Seco ?
     
  7. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    Dear modjo,
    bad news for you. A referee at SECO told me that for A62 SECO only provides Linux and Android. Specific distros are to be made by the community.
     
  8. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Andrea thanks for your reply ! With no surprise, i'm waiting to this answer about Seco :( unfortunately ! What i don't understand is that in this article you talk about DII (from DIY to DII) but Seco don't put the means to rely makers to industrial ... It's too bad to have 2 cards very similar like udoo quad and SA62 that share 90% of hardware but 10% of software ... but it's just my opinion (and my colleagues) ...

    Otherwise, thank's a lot at udoo team (Francesco and Andrea ...) for your help !
     
  9. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I can offer to support those board in a way I do for UDOO this means using Kernels provided by seco. But for testing stuff I need hardware. Maybe I can even port the latest UBoot with SPL to it.

    Gesendet von meinem Nexus 4 mit Tapatalk
     
    modjo likes this.
  10. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Udoo team, can you provide a SA62 to Graugans ?
     
    graugans likes this.
  11. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    After fixing the missing patches I just pushed a first work in progress of seco yocto adaption for the A62 quad board. Anyone interested in pre alpha test can test the image uploaded to my dropbox
     
    modjo likes this.
  12. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    I will test it tomorrow ...
     
    graugans likes this.
  13. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Just a question, are you sure you provide the entire image ? i think it's just the rootfs or i'm wrong ?
     
  14. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Yes, it is command line not qt image :)

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  15. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    yes i understand that :D, but your file is name sbca62q1gbxxxxxx.rootfs.sdcard.gz, i just want to know if they already have uboot and kernel on it (not just the FS) ?
     
  16. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Hm, I expected it is the right file but there is a chance that I mixed stuff up. I was in a hurry.

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  17. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    You can check by unzipping and opening in parted or cfdisk...

    Gesendet von meinem Nexus 4 mit Tapatalk
     
  18. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Graugans, i'm trying to use the sd card image to boot but it didn't, see under :

    U-Boot 2013.10-a62-QD-256MBx4-2013-g214db3b-dirty (Jun 11 2015 - 15:20:46)

    CPU: Freescale i.MX6Q rev1.2 at 792 MHz
    Reset cause: POR
    Board: SECO A62
    I2C: ready
    DRAM: 1 GiB
    Boot: eMMC
    MMC: FSL_SDHC: 0, FSL_SDHC: 1
    In: serial
    Out: serial
    Err: serial
    Net: using phy at 6
    FEC
    Warning: FEC MAC addresses don't match:
    Address in SROM is 00:c0:08:8c:0c:0e
    Address in environment is 00:11:22:33:44:55

    Hit any key to stop autoboot: 0
    MX6Q SECO_A62 U-Boot > secoq7config
    Seco interactive configuration utility.
    Chose the ram memory size to dedicate to the Kernel.
    [min size: 512M - max size 1024M]
    > 1024
    Will use 1024M of RAM memory

    Chose boot Device for Kernel.
    1) eMMC onboard.
    2) uSD onboard.
    3) SATA.
    4) TFTP.
    5) USB.
    > 2
    Chose the partition of the selected device.
    > 1



    Chose boot Device for Kernel.
    1) eMMC onboard.
    2) uSD onboard.
    3) SATA.
    4) NFS.
    5) USB.
    > 2
    Chose the partition of the selected device.
    > 1


    Chose video output device for Seco i.MX6 board.
    1) Primary LVDS Only.
    2) HDMI Only.
    3) LVDS + HDMI.
    4) HDMI + LVDS.
    5) LVDS + LVDS.
    6) LVDS + LVDS + HDMI.
    7) HDMI + LVDS + LVDS.
    > 1
    Chose video output resolution for N°1 LVDS display on Seco i.MX6 board.
    1) WVGA [800x480].
    2) SVGA [800x600].
    3) XGA [1024x768].
    4) WXGA [1368x768].
    > 1
    Chose MAX cpu frequency [default = 792 MHz].
    1) 396 MHz.
    2) 792 MHz.
    3) 996 MHz.
    > 2



    Writing to MMC(1)... done


    MX6Q SECO_A62 U-Boot > boot
    mmc0 is current device
    Failed to mount ext2 filesystem...
    ** Unrecognized filesystem type **
    Wrong Image Format for bootm command
    ERROR: can't get kernel imag
    e!
    MX6Q SECO_A62 U-Boot >


    if i open the image with cfdisk :

    cfdisk (util-linux 2.20.1)

    Unité disque : udoo-image-full-cmdline-sbca62q1gb-20160204165522.rootfs.sdcard
    Taille : 142606336 octets, 142 Mo
    Têtes : 4 Secteurs par piste : 32 Cylindres : 2176

    Nom Ind. Partition S. Fic. [Étiq.] Taille (Mo)
    --------------------------------------------------------------------------------------------------------------
    Pri/Log Espace libre 4,20
    udoo-image-full-cmdline-sbca62q1gbPrimaire416552vfatotfs.sdcard1 [Boot sbca62] 8,39
    udoo-image-full-cmdline-sbca62q1gbPrimaire416552ext4otfs.sdcard2 [rootfs] 125,83
    Pri/Log Espace libre


    For information i formated the card in fat32 before
     
  19. Andrea Rovai

    Andrea Rovai Well-Known Member

    Joined:
    Oct 27, 2014
    Messages:
    1,703
    Likes Received:
    240
    As far as I know @graugans already has A62, does he? Correct me if I'm wrong
     
  20. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Nope, only UDOO quad and dual and neo full.

    Gesendet von meinem Nexus 4 mit Tapatalk
     

Share This Page