Hi Guys, currently trying some Yocto builds with hob GUI. Compiling went fine, a few warnings but after a few hours I managed to get and image. However when I format my SDcard and flash the compiled files on it it doesnt boot. The error gives bad kernel image in UBOOT. What I do is the following: - get u-boot , .dtb file and kernel file (zImage) from this page: http://www.udoo.org/bsp-download-page/ - format SD in small first partition for kernel and .dtb file and another big partition for the rootfs (gparted) - flash files on first partition (fat16) with dd if=/local_files of=/dev/sdb1 bs=10M (mounted on /mnt/boot) and flash rootfs on second partition (ext2 to be sure it's supported) dd if=/rootfs_local of=/dev/sdb2 bs=10M (mounted on /mnt/rootfs) - put sd card in UDOO board and debug through piccom - cannot load kernel because of bad format and unable to load kernel image from UBOOT with fatload 0x10800000 zImage Anyone got passed this problem?
Hi CounterC, could you precise which branch (jethro ...)of yocto you build ? Do you use Seco guide or Graugans ?
Why did you switch to HOB ? Otherwise, did you already boot the card with a sdcard (use BSP4.0 of seco) ? Do you configure the boot (to boot on sd) with secoq7config at boot time ? I'm not sure than you need to partition your sd card in 2 parts, see my post here, you can see the seco doc that explain how to format a sdcard. Did you ask Seco (with ticketing) about your issue ?
I switched to HOB because I find it easier then command line. I did partition my sdcard in 2 parts, /boot and /rootfs. I also asked Seco but they haven't replied for weeks even if they said I would receive feedback within a day...
Hi CounterC, i build this morning the yocto image (seco guideline), to have the same conf than you. In the build directory i have this file fsl-image-qt5-seco-a62-qd-256mbx4.sdcard Before to copy it on the sd, i formated my sdcard in 1 partition of fat32 (like i did to burn sdcard for yocto 2, graugans layer) then : sudo dd if=fsl-image-qt5-seco-a62-qd-256mbx4.sdcard of=/dev/sdd bs=32M then boot to secoA62 (i configure the boot with secoQ7config to boot on the sdcard) and i have this error : 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. > 2 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 image! can't boot like you ! I also ask seco about this problem (and other) but since many weeks (2 month to be exact) i didn't have any answers from us . For the moment i didn't have any solution for yocto (but i'm sure that graugans make soon a working image for A62 !!!) Let us know if you find a solution. edit : if i choose emmc for boot device for kernel, the card boot but it's not a good solution
Dear @modjo, dear @CounterC, how have you contacted SECO so far for your ticket? On this website or on the SECO website?
I have the ticket logged with Seco for almost 2 weeks now (ticket 3175) but there is no answer yet eventhough they say they will reply tomorrow (10 days ago). I'm really tired of this ticketing system...
Dear @CounterC, dear @modjo, I'm very sorry for all of this. I've informed a contact of mine at SECO and I'll keep you up to date once I have news.
For information, i have booted to yocto image (from seco). You just need to close J27 jumper to boot from sd ... Qt 5.3.2 work fine (90fps in qt cinematic experience) use this command to burn the sd card : sudo dd if=fsl-image-qt5-seco-a62-qd-256mbx4.sdcard of=/dev/sdd bs=32M