OpenEmbedded/Yocto for UDOO Boards

Discussion in 'Yocto' started by graugans, Nov 7, 2015.

  1. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Back from the beach. You may have to enable the pure-ftp server and add an bbappend for its configuration. I would recommend to use ssh instead

    Gesendet von meinem FP2 mit Tapatalk
     
  2. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I finally managed to integrate this into meta-udoo, sorry for the delay.
     
    modjo likes this.
  3. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Thanks graugans, i suppose now we can use sa62 with lvds and qt ?
     
  4. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Due to the fact I still have no lvds it's hard to test. But remember a62 has different logic to select lvds

    Gesendet von meinem FP2 mit Tapatalk
     
  5. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    And you can only use eglfs on primary display AFAIK

    Gesendet von meinem FP2 mit Tapatalk
     
  6. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580
    Andrea Rovai likes this.
  7. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Thx, for pointing this out @waltervl . I'll put this on the TODO list.
     
    Andrea Rovai likes this.
  8. Manuel Malagon

    Manuel Malagon New Member

    Joined:
    Apr 29, 2016
    Messages:
    13
    Likes Received:
    2
    Even though I had previously successfully created the image for the udoo board following your tutorial. I recently had to install linux mint because ubuntu started crashing a lot and giving me lots of problems and when trying to create the image again I get the following errors:

    Code:
    ERROR: u-boot-udooboard-git-r0 do_fetch: Fetcher failure: Unable to find revision d7814685bdb364a4162f5bb4431676631591fc38 in branch 2015.04.imx-neo even from upstream
    ERROR: u-boot-udooboard-git-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://github.com/udooboard/uboot-imx.git;branch=2015.04.imx-neo'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/m4l490n/udoo-community-bsp/build/tmp/work/udooneo-poky-linux-gnueabi/u-boot-udooboard/git-r0/temp/log.do_fetch.11074
    ERROR: Task 160 (/home/m4l490n/udoo-community-bsp/sources/meta-udoo/recipes-bsp/u-boot/u-boot-udooboard_git.bb, do_fetch) failed with exit code '1'
    
    Do you know why this is happening?

    Thanks!!
     
    graugans likes this.
  9. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    This is because the udoo guys removed the branch and reorganised the u-boot git. That's annoying, because of this I have to fix all old branches....

    Gesendet von meinem FP2 mit Tapatalk
     
  10. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
  11. Manuel Malagon

    Manuel Malagon New Member

    Joined:
    Apr 29, 2016
    Messages:
    13
    Likes Received:
    2
    I would like to but I don't know how to redact it. Can I just put whatever I told you in my post above?
     
  12. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    That's perfect. I already pushed a fix yesterday. But was not able to test.

    Gesendet von meinem FP2 mit Tapatalk
     
    Manuel Malagon likes this.
  13. wurstmann

    wurstmann New Member

    Joined:
    Mar 31, 2016
    Messages:
    9
    Likes Received:
    6
    thanks for the fix but i think its not working. i tried to compile it and following error appears:
    http://pastebin.com/raw/iG25kDcY

    u-boot is looking for arch/../configs/udoo_qdl_defconfig
    but there is only a "udoo_qd_defconfig" file.
     
  14. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Ah, thx for pointing this out. I just checked for the Neo. I renamed the Quad/Dual according to the previous name. I'll check and update the patchset
     
  15. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    I just pushed a fix for this. It builds but still untested. I need to find some time....
     
    wurstmann and Manuel Malagon like this.
  16. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    @graugans , @wurstmann

    today i have build a new image of yocto from scratch to my seco A62 quad. I use krogoth branch of your layer graugans. It compile fine with qt5.6.1 :)! (just an error with qquickcontrols2 but i think it's a metaqt5 issue ...) .
    After that i burned the image on a sd card and insert it in the card. It startup fine with hdmi and now qt5cinematic experience work great (60 fps) --> lsmod give me galcore now ! Thanks for your job ;)
    After that i remove the sd card to configure it to use lvds7, to did that i edited uEnv.txt :
    video_output=lvds7
    # 7" LVDS Panel
    video=fbmem=24M video=mxcfb0:dev=ldb,LDB-WVGA,if=RGB666,bpp=32


    Then i rebooted the card. I can saw on the lvds7 screen the bootScreen (udoo image) with the progress bar, but after that nothing --> the screen becomes white ! I can connect it with ssh. Do you have an idea what i'm doing wrong and/or how to resolve this please ?
     
  17. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Hello,
    I try to build an image with your recipes but I cannot run bitbake. I get this error:
    Code:
    $ MACHINE=udooneo bitbake udoo-image-full-cmdline
    WARNING: Host distribution "Ubuntu-16.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
    ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
        Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
        Following is the list of potential problems / advisories:
    
        Failed to create a file with a long name in TMPDIR. Please use a filesystem that does not unreasonably limit filename length.
    Failed to create a file with a long name in SSTATE_DIR. Please use a filesystem that does not unreasonably limit filename length.
    This error makes no sense as I run it on an ext4 partition which allows 255 characters.

    Any idea? Thanks in advance!
     
    Last edited: Sep 12, 2016
  18. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    see here : https://github.com/gmacario/easy-bu...-yocto/README.md#known-issues-and-workarounds
     
    cyrilf likes this.
  19. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    168
    Likes Received:
    47
    Perfect thanks!
    That worked for a while and then I got this error:
    It means that the filenames are longer than 255 characters which is the maximum a filesystem can allow today. That makes the build impossible.
     
  20. waltervl

    waltervl UDOOer

    Joined:
    Dec 12, 2015
    Messages:
    2,314
    Likes Received:
    580

Share This Page