Community Yocto krogoth builds

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

  1. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    !!!! BIG FAT WARNING !!!!

    Please note, this is a bleeding-edge community OS for UDOO Boards. It comes without any kind of warranty, so it is recommended only to experienced users. Use it at your own risk!


    After a big rework of the meta-udoo layer I do provide updated QT5 (5.6.2) test images

    UDOO Quad /Dual
    UDOO Neo
    QT5 Toolchain
    Installation:

    Code:
    umount /dev/sd<disk>?; bzcat /tmp/udoo-image-qt5-udooqdl.wic.bz2 | sudo dd of=/dev/<disk> bs=32M
    
     
    Last edited: Nov 9, 2016
    danielye, cyrilf and modjo like this.
  2. cyrilf

    cyrilf Active Member

    Joined:
    Feb 19, 2015
    Messages:
    167
    Likes Received:
    47
    This issue can be solved by updating the defconfig file in the kernel recipe.
     
    modjo and graugans like this.
  3. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Yes, I know. But frankly I forgot the patch :)
     
  4. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    In the latest version /dev/ttyMCC is available again
     
  5. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    @graugans , could you just precise the version of Qt you deliver here (i suppose is Qt5.6 --> krogoth branch) and the modules integrate for new users please ? Another point, i think it will be great to "sticky" this post and update it (images) when a new version is available. I think tomorrow i will build an image with your lasted commits but for secoA62 and Qt5.7. If you would we can add this image here (if all work fine ...) ?
     
    graugans likes this.
  6. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Contribution is always welcome. I just updated the information above. Yes it is the version 5.6.2. You'll have to remove the qtserial_git.bb file when building for Qt 5.7 meta-qt5. In the next days I'll try to start a port for morty Yocto 2.2
     
    modjo likes this.
  7. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    @graugans , i'm trying to build an image for secoA62 with your news update but i have this error when trying to fetch freescale firmware :

    WARNING: firmware-imx-1_5.4-r0 do_fetch: Failed to fetch URL git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/mls/yocto-modjo/A62Build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/firmware-imx/1_5.4-r0/firmware-imx-5.4/git, attempting MIRRORS if available
    ERROR: firmware-imx-1_5.4-r0 do_fetch: Fetcher failure: Fetch command failed with exit code 128, output:
    Cloning into bare repository '/home/mls/yocto-modjo/downloads//git2/git.freescale.com.imx.imx-firmware.git'...
    fatal: read error: Connection reset by peer


    ERROR: firmware-imx-1_5.4-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/imx/imx-firmware.git;branch=master;destsuffix=/home/mls/yocto-modjo/A62Build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/firmware-imx/1_5.4-r0/firmware-imx-5.4/git'. Unable to fetch URL from any source.
    ERROR: Logfile of failure stored in: /home/mls/yocto-modjo/A62Build/tmp/work/cortexa9hf-neon-mx6qdl-poky-linux-gnueabi/firmware-imx/1_5.4-r0/temp/log.do_fetch.30130
    ERROR: Task 3126 (/home/mls/yocto-modjo/sources/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_5.4.bb, do_fetch) failed with exit code '1'

    Did you meet the same error ?
     
    graugans likes this.
  8. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Looks like they took down their git server. Hopefully it will be put back online soon. I send a mail to the meta-freescale Mailinglist
     
    modjo likes this.
  9. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    it seems to be ok now, build running ...
     
    graugans likes this.
  10. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    @graugans, the build work fine but the last operation with wic fails, this is the log :

    ERROR: udoo-image-qt5-1.0-r0 do_image_wic: Function failed: do_image_wic (log file is located at /home/mls/yocto-modjo/A62Build/tmp/work/secosbca62-poky-linux-gnueabi/udoo-image-qt5/1.0-r0/temp/log.do_image_wic.16913)
    ERROR: Logfile of failure stored in: /home/mls/yocto-modjo/A62Build/tmp/work/secosbca62-poky-linux-gnueabi/udoo-image-qt5/1.0-r0/temp/log.do_image_wic.16913

    Log data follows:
    | DEBUG: Executing python function set_image_size
    | DEBUG: Python function set_image_size finished
    | DEBUG: Executing shell function do_image_wic
    | Error: exec_cmd: cp /home/mls/yocto-modjo/A62Build/tmp/deploy/images/secosbca62/SPL /home/mls/yocto-modjo/A62Build/tmp/deploy/images/secosbca62/udoo-image-qt5-secosbca62-20161110120528/build/SPL.1 returned '1' instead of 0
    | Checking basic build environment...
    | Done.
    |
    | Creating image(s)...
    |
    | WARNING: exit code 1 from a shell command.
    | ERROR: Function failed: do_image_wic (log file is located at /home/mls/yocto-modjo/A62Build/tmp/work/secosbca62-poky-linux-gnueabi/udoo-image-qt5/1.0-r0/temp/log.do_image_wic.16913)
    ERROR: Task 16 (/home/mls/yocto-modjo/sources/meta-udoo-modjo/qt5-layer/recipes-qt/images/udoo-image-qt5.bb, do_image_wic) failed with exit code '1'

    NOTE: Tasks Summary: Attempted 5051 tasks of which 2661 didn't need to be rerun and 1 failed.
    No currently running tasks (5051 of 5053)

    Summary: 1 task failed:
    /home/mls/yocto-modjo/sources/meta-udoo-modjo/qt5-layer/recipes-qt/images/udoo-image-qt5.bb, do_image_wic

    Do you have an idea what's the issue ?
     
  11. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Are you using an up to date git?

    Gesendet von meinem FP2 mit Tapatalk
     
  12. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    yes i update my git from yours yesterday.
     
  13. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Your image needs to be dependant on virtual/bootloader

    Gesendet von meinem FP2 mit Tapatalk
     
  14. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    yes, this is that i have on udoo-image-qt5.bb :

    # This requires the meta-qt5 layer in your bblayers.conf !!!!

    # source: http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
    # If you plan to use Qt5 eglfs plugin for accelerated graphics using the framebuffer,
    # you need to discard X11 and wayland so the proper graphics drivers get included.
    # To achieve this add the following to your conf/local.conf :
    # DISTRO_FEATURES_remove = "x11 wayland"


    DESCRIPTION = "A Qt 5.7.0+ image. Tailored for the UDOO boards"


    DEPENDS += "virtual/bootloader"


    IMAGE_FEATURES += "splash ssh-server-openssh package-management debug-tweaks dev-pkgs


    If i try to use wic manually, i have this error :

    mls@KDE-Z400:~/yocto-modjo/A62Build$ wic create udoo-sdcard -e udoo-image-qt5 -o /home/mls/yocto-modjo/A62Build/image/secoA62q
    Checking basic build environment...
    Done.

    Creating image(s)...

    Error: exec_cmd: cp /home/mls/yocto-modjo/A62Build/tmp/deploy/images/secosbca62/SPL /home/mls/yocto-modjo/A62Build/image/secoA62q/build/SPL.1 returned '1' instead of 0
     
  15. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    looks like u-boot is not build. Can you please build it by hand and try again?

    Gesendet von meinem FP2 mit Tapatalk
     
  16. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    yes it seems u-boot is missing ! I bitbake u-boot (works fine) and relaunch udoo-image-qt5. The build is complete now.
    In the folder where is the image i have this :
    Sélection_054.png

    what file do i need to burn on sd ? (dd if = udoo-sdcard-201611101724-mmcblk.direct ...)
     
  17. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Code:
    $ MACHINE=secosbca62 bitbake udoo-image-qt5
    $ tree tmp/deploy/images/secosbca62/
    tmp/deploy/images/secosbca62/
    ├── modules--3.14.56-r0-secosbca62-20161109202051.tgz
    ├── modules-secosbca62.tgz -> modules--3.14.56-r0-secosbca62-20161109202051.tgz
    ├── README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt
    ├── SPL -> SPL-secosbca62-v2016.07+gitAUTOINC+e6b42411ab-r0-sd-v2016.07+gitAUTOINC+e6b42411ab-r0
    ├── SPL-sd -> SPL-secosbca62-v2016.07+gitAUTOINC+e6b42411ab-r0-sd-v2016.07+gitAUTOINC+e6b42411ab-r0
    ├── SPL-secosbca62 -> SPL-secosbca62-v2016.07+gitAUTOINC+e6b42411ab-r0-sd-v2016.07+gitAUTOINC+e6b42411ab-r0
    ├── SPL-secosbca62-sd -> SPL-secosbca62-v2016.07+gitAUTOINC+e6b42411ab-r0-sd-v2016.07+gitAUTOINC+e6b42411ab-r0
    ├── SPL-secosbca62-v2016.07+gitAUTOINC+e6b42411ab-r0-sd-v2016.07+gitAUTOINC+e6b42411ab-r0
    ├── u-boot.img -> u-boot-sd-v2016.07+gitAUTOINC+e6b42411ab-r0.img
    ├── u-boot.img-sd -> u-boot-sd-v2016.07+gitAUTOINC+e6b42411ab-r0.img
    ├── u-boot-sd-v2016.07+gitAUTOINC+e6b42411ab-r0.img
    ├── u-boot-secosbca62.img -> u-boot-sd-v2016.07+gitAUTOINC+e6b42411ab-r0.img
    ├── u-boot-secosbca62.img-sd -> u-boot-sd-v2016.07+gitAUTOINC+e6b42411ab-r0.img
    ├── udoo-image-full-cmdline-secosbca62-20161106191851.rootfs.manifest
    ├── udoo-image-full-cmdline-secosbca62-20161106191851.rootfs.wic.bz2
    ├── udoo-image-full-cmdline-secosbca62.manifest -> udoo-image-full-cmdline-secosbca62-20161106191851.rootfs.manifest
    ├── udoo-image-full-cmdline-secosbca62.wic.bz2 -> udoo-image-full-cmdline-secosbca62-20161106191851.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62-20161109150059.rootfs.manifest
    ├── udoo-image-qt5-secosbca62-20161109150059.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62-20161109193035.rootfs.manifest
    ├── udoo-image-qt5-secosbca62-20161109193035.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62-20161109200414.rootfs.manifest
    ├── udoo-image-qt5-secosbca62-20161109200414.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62-20161109202051.rootfs.manifest
    ├── udoo-image-qt5-secosbca62-20161109202051.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62-20161109203103.rootfs.manifest
    ├── udoo-image-qt5-secosbca62-20161109203103.rootfs.wic.bz2
    ├── udoo-image-qt5-secosbca62.manifest -> udoo-image-qt5-secosbca62-20161109203103.rootfs.manifest
    ├── udoo-image-qt5-secosbca62.wic.bz2 -> udoo-image-qt5-secosbca62-20161109203103.rootfs.wic.bz2
    ├── zImage -> zImage--3.14.56-r0-secosbca62-20161109202051.bin
    ├── zImage--3.14.56-r0-imx6dl-seco_A62-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6dl-seco_A62-hdmi-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6dl-seco_A62-lvds15-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6dl-seco_A62-lvds7-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6dl-seco_A62-lvds7hdmi-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6q-seco_A62-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6q-seco_A62-hdmi-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6q-seco_A62-lvds15-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6q-seco_A62-lvds7-20161109202051.dtb
    ├── zImage--3.14.56-r0-imx6q-seco_A62-lvds7hdmi-20161109202051.dtb
    ├── zImage--3.14.56-r0-secosbca62-20161109202051.bin
    ├── zImage-imx6dl-seco_A62.dtb -> zImage--3.14.56-r0-imx6dl-seco_A62-20161109202051.dtb
    ├── zImage-imx6dl-seco_A62-hdmi.dtb -> zImage--3.14.56-r0-imx6dl-seco_A62-hdmi-20161109202051.dtb
    ├── zImage-imx6dl-seco_A62-lvds15.dtb -> zImage--3.14.56-r0-imx6dl-seco_A62-lvds15-20161109202051.dtb
    ├── zImage-imx6dl-seco_A62-lvds7.dtb -> zImage--3.14.56-r0-imx6dl-seco_A62-lvds7-20161109202051.dtb
    ├── zImage-imx6dl-seco_A62-lvds7hdmi.dtb -> zImage--3.14.56-r0-imx6dl-seco_A62-lvds7hdmi-20161109202051.dtb
    ├── zImage-imx6q-seco_A62.dtb -> zImage--3.14.56-r0-imx6q-seco_A62-20161109202051.dtb
    ├── zImage-imx6q-seco_A62-hdmi.dtb -> zImage--3.14.56-r0-imx6q-seco_A62-hdmi-20161109202051.dtb
    ├── zImage-imx6q-seco_A62-lvds15.dtb -> zImage--3.14.56-r0-imx6q-seco_A62-lvds15-20161109202051.dtb
    ├── zImage-imx6q-seco_A62-lvds7.dtb -> zImage--3.14.56-r0-imx6q-seco_A62-lvds7-20161109202051.dtb
    ├── zImage-imx6q-seco_A62-lvds7hdmi.dtb -> zImage--3.14.56-r0-imx6q-seco_A62-lvds7hdmi-20161109202051.dtb
    └── zImage-secosbca62.bin -> zImage--3.14.56-r0-secosbca62-20161109202051.bin
    
    0 directories, 52 files
    
    I recommend to not run wic by hand. With the latest changes wic is executed automatically. The resulting image is as before in the tmp/deploy/images/<MASCHINE>/ folder and ends with .wic.bz2

    In the example above: tmp/deploy/images/secosbca62/udoo-image-full-cmdline-secosbca62.wic.bz2
     
    Last edited: Nov 10, 2016
  18. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    Ok this worked fine. The card boot fine on hdmi. When i try to use lvds7 (configure with uEnv.txt), the card boot on hdmi. It seems that the network didn't work and debug also ! --> need to test more. Otherwise Qt5.7 work fine. Tomorrow, i will make more test and let you know.
     
    graugans likes this.
  19. graugans

    graugans Administrator Staff Member

    Joined:
    Sep 17, 2015
    Messages:
    328
    Likes Received:
    141
    Interesting. What do you mean by Debugging? Debugging via Ethernet? Due to the fact I switched to latest Kernel maybe some stuff is not yet fully supported in A62. I'll take care of Ethernet during the weekend....
     
  20. modjo

    modjo Active Member

    Joined:
    Sep 29, 2014
    Messages:
    417
    Likes Received:
    127
    I talk about uart debuging ... but today i will make some other tests.
     

Share This Page