All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi] Master doesn't seem to be building right...
@ 2016-10-14 15:26 Frank Earl
  2016-10-31 17:05 ` Andrei Gherzan
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Earl @ 2016-10-14 15:26 UTC (permalink / raw)
  To: yocto@yoctoproject.org


[-- Attachment #1.1: Type: text/plain, Size: 2167 bytes --]

It's boggling on the sd card image build.  Attached is the console output from the build (Don't need the log, this one's clear from the build fail output.) and a dump of the directory structures in tmp/deploy/images/raspberrypi2 from my setup.

It's choking on trying to put the overlays onto the sd card image:

/home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo: No such file or directory
| WARNING: /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/temp/run.do_image_rpi_sdimg.26079:1 exit 1 from 'mcopy -i /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/boot.img -s /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT}'


Directory path:

  4 -rw-r--r-- 2 frank frank      779 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb

So, the backing file seems to be there...but...

    4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb


Heh...  Something's not QUITE right there.  The packager is looking for .dtbo's and we're symlinking .dtb's...    I'm looking through the path trying to understand how it's setting the 'latest-build' symlinks, but if someone actually has a hint for me, it'd be appreciated.  :-D



Frank Earl



Frank Earl



Legal Disclaimer:
The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!

[-- Attachment #1.2: Type: text/html, Size: 4901 bytes --]

[-- Attachment #2: build_fail.txt --]
[-- Type: text/plain, Size: 3516 bytes --]

Loading cache...done.
Loaded 2741 entries from dependency cache.
WARNING: No recipes available for:
  /home/frank/git_repos/guardhat/build/../meta-gh/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.30.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "raspberrypi2"
DISTRO            = "poky"
DISTRO_VERSION    = "2.1.1"
TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"
TARGET_FPU        = "hard"
meta              
meta-poky         
meta-yocto-bsp    = "krogoth:e93596fe74927e2e2f4dd7f671994ccb9744cff8"
meta-linaro-toolchain = "krogoth:85faf6c6824597e7fd9e2d35fc9d8da2e9f90bc7"
meta-oe           
meta-filesystems  
meta-networking   
meta-multimedia   
meta-initramfs    
meta-systemd      
meta-python       = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
meta-telephony    = "HEAD:8cf5a67850adf270bc2fdb4c0ed708b0ba037670"
meta-gh           = "master:12dc12456e7f6f486ca2815603c5f21f74c2d2c2"
meta-ti           = "master:6cb779a6ba1b0693f6bf82777e1a333effe6fca5"
meta-raspberrypi  = "master:05be947a31df873405cdd70ada210c9f7f7b132f"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 3034 of 3320 (ID: 16, /home/frank/git_repos/guardhat/build/../meta-gh/recipes-core/images/gh-base-image.bb, do_image_rpi_sdimg)
NOTE: recipe gh-base-image-1.0-r0: task do_image_rpi_sdimg: Started
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: Python function set_image_size finished
| DEBUG: Executing shell function do_image_rpi_sdimg
| Creating filesystem with Boot partition 40960 KiB and RootFS 253952 KiB
| 0+0 records in
| 0+0 records out
| 0 bytes (0 B) copied, 1.125e-05 s, 0.0 kB/s
| Model:  (file)
| Disk /gh-base-image-raspberrypi2-20161014141945.rootfs.rpi-sdimg: 306MB
| Sector size (logical/physical): 512B/512B
| Partition Table: msdos
| Disk Flags:
| 
| Number  Start   End     Size    Type     File system  Flags
|  1      4194kB  46.1MB  41.9MB  primary               boot, lba
|  2      46.1MB  306MB   260MB   primary
| 
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
| mkfs.fat 3.0.28 (2015-05-16)
| /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo: No such file or directory
| WARNING: /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/temp/run.do_image_rpi_sdimg.26079:1 exit 1 from 'mcopy -i /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/boot.img -s /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT}'
| ERROR: Function failed: do_image_rpi_sdimg (log file is located at /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/temp/log.do_image_rpi_sdimg.26079)
NOTE: recipe gh-base-image-1.0-r0: task do_image_rpi_sdimg: Failed
NOTE: Tasks Summary: Attempted 3318 tasks of which 3317 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/frank/git_repos/guardhat/build/../meta-gh/recipes-core/images/gh-base-image.bb, do_image_rpi_sdimg
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

[-- Attachment #3: directory-dtbo-dump.txt --]
[-- Type: text/plain, Size: 8825 bytes --]

   16 -rw-r--r-- 2 frank frank    14010 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-bcm2708-rpi-b-20161014012231.dtb
   16 -rw-r--r-- 2 frank frank    14273 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-bcm2708-rpi-b-plus-20161014012231.dtb
   16 -rw-r--r-- 2 frank frank    15356 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-bcm2709-rpi-2-b-20161014012231.dtb
   16 -rw-r--r-- 2 frank frank    15992 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-bcm2710-rpi-3-b-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank      779 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank      655 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-dac.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1436 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-dacplus.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank      783 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-digi.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     2219 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-i2c-rtc.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1015 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-iqaudio-dac.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1254 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-iqaudio-dacplus.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1348 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-lirc-rpi.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1097 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-pi3-miniuart-bt.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1544 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-pitft22.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     2802 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-pitft28-resistive.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1043 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-pps-gpio.dtbo-20161014012231.dtb
 9044 -rw-r--r-- 2 frank frank  9261056 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-raspberrypi2-20161014012231.bin
    4 -rw-r--r-- 2 frank frank      462 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-rpi-ft5406.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     2722 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-vc4-kms-v3d.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1080 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-w1-gpio.dtbo-20161014012231.dtb
    4 -rw-r--r-- 2 frank frank     1215 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-w1-gpio-pullup.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       66 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-bcm2708-rpi-b.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-bcm2708-rpi-b-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-bcm2708-rpi-b-plus.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-bcm2708-rpi-b-plus-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       68 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-bcm2709-rpi-2-b.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-bcm2709-rpi-2-b-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       68 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-bcm2710-rpi-3-b.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-bcm2710-rpi-3-b-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-dac.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-dac.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       75 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-dacplus.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-dacplus.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       72 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-digi.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-digi.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       65 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-i2c-rtc.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-i2c-rtc.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       69 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-iqaudio-dac.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-iqaudio-dac.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       73 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-iqaudio-dacplus.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-iqaudio-dacplus.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       66 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-lirc-rpi.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-lirc-rpi.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       73 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-pi3-miniuart-bt.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-pi3-miniuart-bt.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       65 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-pitft22.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-pitft22.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       75 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-pitft28-resistive.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-pitft28-resistive.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       66 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-pps-gpio.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-pps-gpio.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       65 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-raspberrypi2.bin -> Image-1-4.4.23+git0+c2a1d97553-r0-raspberrypi2-20161014012231.bin
    4 lrwxrwxrwx 1 frank frank       68 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-rpi-ft5406.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-rpi-ft5406.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       69 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-vc4-kms-v3d.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-vc4-kms-v3d.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       65 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-w1-gpio.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-w1-gpio.dtbo-20161014012231.dtb
    4 lrwxrwxrwx 1 frank frank       72 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-w1-gpio-pullup.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-w1-gpio-pullup.dtbo-20161014012231.dtb
12204 -rw-r--r-- 1 frank frank 41943040 Oct 14 09:19 /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/boot.img

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Master doesn't seem to be building right...
@ 2016-10-24 21:26 "Breixo López García"
  0 siblings, 0 replies; 4+ messages in thread
From: "Breixo López García" @ 2016-10-24 21:26 UTC (permalink / raw)
  To: yocto

Hi Frank,

I found similar errors that you using the ktogoth branch in the poky repo from yocto. When I build the rasberry-pi2 images in a debian Jessy host.

The issue in my case is that the parsing use in split_overlays function from the meta-raspberrypi/classes/linux-raspberrypi-base.bbclass  was not working properly for my case.

I resolved it with a "workaround", when I figured out that the issue is in the task rpi-sdimg from meta-raspberrypi/classes/sdcard_image-rpi.bbclass in the mcopy, because the command was running over files without the correct name

The patch applied in my case looks like:


diff --git a/classes/sdcard_image-rpi.bbclass b/classes/sdcard_image-rpi.bbclass
index 0487ef1..5f555c9 100644
--- a/classes/sdcard_image-rpi.bbclass
+++ b/classes/sdcard_image-rpi.bbclass
@@ -116,9 +122,11 @@ IMAGE_CMD_rpi-sdimg () {
                mmd -i ${WORKDIR}/boot.img overlays
                for DTB in ${DT_OVERLAYS}; do
                                DTB_EXT=${DTB##*.}
+                                #DTB_EXT=dtb
                                DTB_BASE_NAME=`basename ${DTB} ."${DTB_EXT}"`

-                       mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT}
+                       #mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT}
+                         mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTB_BASE_NAME}-overlay.dtb ::overlays/${DTB_BASE_NAME}-overlay.dtb
                done
        fi
        case "${KERNEL_IMAGETYPE}" in
diff --git a/classes/linux-raspberrypi-base.bbclass b/classes/linux-raspberrypi-base.bbclass
index 3a6e33d..02535b2 100644
--- a/classes/linux-raspberrypi-base.bbclass
+++ b/classes/linux-raspberrypi-base.bbclass
@@ -36,7 +36,8 @@ def split_overlays(d, out, ver=None):
     dts = get_dts(d, ver)
     if out:
         overlays = oe.utils.str_filter_out('\S+\-overlay\.dtb$', dts, d)
-        overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d)
+        overlays = oe.utils.str_filter_out('\S+\.dtbo$', dts, d)
+        #overlays = oe.utils.str_filter_out('\S+\.dtbo$', overlays, d)
     else:
         overlays = oe.utils.str_filter('\S+\-overlay\.dtb$', dts, d) + \
                    " " + oe.utils.str_filter('\S+\.dtbo$', dts, d)

-----------------------------------------------------------------------------------------------

Please be aware that this patch is not fully tested and it is only a workaround could be possible that is not working for all the cases.

-Regards 




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Master doesn't seem to be building right...
  2016-10-14 15:26 [meta-raspberrypi] Master doesn't seem to be building right Frank Earl
@ 2016-10-31 17:05 ` Andrei Gherzan
  2016-10-31 19:21   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Andrei Gherzan @ 2016-10-31 17:05 UTC (permalink / raw)
  To: Frank Earl; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 3708 bytes --]

On Fri, Oct 14, 2016 at 03:26:53PM +0000, Frank Earl wrote:
> It's boggling on the sd card image build.  Attached is the console output from the build (Don't need the log, this one's clear from the build fail output.) and a dump of the directory structures in tmp/deploy/images/raspberrypi2 from my setup.
>
> It's choking on trying to put the overlays onto the sd card image:
>
> /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo: No such file or directory
> | WARNING: /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/temp/run.do_image_rpi_sdimg.26079:1 exit 1 from 'mcopy -i /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/boot.img -s /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-${DTB_BASE_NAME}.${DTB_EXT} ::overlays/${DTB_BASE_NAME}.${DTB_EXT}'
>
>
> Directory path:
>
>   4 -rw-r--r-- 2 frank frank      779 Oct 13 20:27 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
>
> So, the backing file seems to be there...but...
>
>     4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45 /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo.dtb -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
>
>
> Heh...  Something's not QUITE right there.  The packager is looking for .dtbo's and we're symlinking .dtb's...    I'm looking through the path trying to understand how it's setting the 'latest-build' symlinks, but if someone actually has a hint for me, it'd be appreciated.  :-D
>
>
>
> Frank Earl
>
>
>
> Frank Earl
>
>
>
> Legal Disclaimer:
> The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message!

> Loading cache...done.
> Loaded 2741 entries from dependency cache.
> WARNING: No recipes available for:
>   /home/frank/git_repos/guardhat/build/../meta-gh/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bbappend
> NOTE: Resolving any missing task queue dependencies
>
> Build Configuration:
> BB_VERSION        = "1.30.0"
> BUILD_SYS         = "x86_64-linux"
> NATIVELSBSTRING   = "universal"
> TARGET_SYS        = "arm-poky-linux-gnueabi"
> MACHINE           = "raspberrypi2"
> DISTRO            = "poky"
> DISTRO_VERSION    = "2.1.1"
> TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4 callconvention-hard cortexa7"
> TARGET_FPU        = "hard"
> meta
> meta-poky
> meta-yocto-bsp    = "krogoth:e93596fe74927e2e2f4dd7f671994ccb9744cff8"
> meta-linaro-toolchain = "krogoth:85faf6c6824597e7fd9e2d35fc9d8da2e9f90bc7"
> meta-oe
> meta-filesystems
> meta-networking
> meta-multimedia
> meta-initramfs
> meta-systemd
> meta-python       = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
> meta-telephony    = "HEAD:8cf5a67850adf270bc2fdb4c0ed708b0ba037670"
> meta-gh           = "master:12dc12456e7f6f486ca2815603c5f21f74c2d2c2"
> meta-ti           = "master:6cb779a6ba1b0693f6bf82777e1a333effe6fca5"
> meta-raspberrypi  = "master:05be947a31df873405cdd70ada210c9f7f7b132f"
>

I see that you are using master of meta-raspberrypi. Can you try with
the krogoth branch, please?

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-raspberrypi] Master doesn't seem to be building right...
  2016-10-31 17:05 ` Andrei Gherzan
@ 2016-10-31 19:21   ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2016-10-31 19:21 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 4330 bytes --]

For clarity if your workspace is krogoth based used krogoth branch for rpi
layer too. Master has hot incompatible changes which requires morty+ of oe
core

On Oct 31, 2016 10:06 AM, "Andrei Gherzan" <andrei@gherzan.ro> wrote:

> On Fri, Oct 14, 2016 at 03:26:53PM +0000, Frank Earl wrote:
> > It's boggling on the sd card image build.  Attached is the console
> output from the build (Don't need the log, this one's clear from the build
> fail output.) and a dump of the directory structures in
> tmp/deploy/images/raspberrypi2 from my setup.
> >
> > It's choking on trying to put the overlays onto the sd card image:
> >
> > /home/frank/git_repos/guardhat/build/tmp/deploy/
> images/raspberrypi2/Image-hifiberry-amp.dtbo: No such file or directory
> > | WARNING: /home/frank/git_repos/guardhat/build/tmp/work/
> raspberrypi2-poky-linux-gnueabi/gh-base-image/1.0-r0/
> temp/run.do_image_rpi_sdimg.26079:1 exit 1 from 'mcopy -i
> /home/frank/git_repos/guardhat/build/tmp/work/raspberrypi2-poky-linux-
> gnueabi/gh-base-image/1.0-r0/boot.img -s /home/frank/git_repos/
> guardhat/build/tmp/deploy/images/raspberrypi2/Image-${DTB_BASE_NAME}.${DTB_EXT}
> ::overlays/${DTB_BASE_NAME}.${DTB_EXT}'
> >
> >
> > Directory path:
> >
> >   4 -rw-r--r-- 2 frank frank      779 Oct 13 20:27 /home/frank/git_repos/
> guardhat/build/tmp/deploy/images/raspberrypi2/Image-1-4.
> 4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
> >
> > So, the backing file seems to be there...but...
> >
> >     4 lrwxrwxrwx 1 frank frank       71 Oct 13 20:45
> /home/frank/git_repos/guardhat/build/tmp/deploy/images/raspberrypi2/Image-hifiberry-amp.dtbo.dtb
> -> Image-1-4.4.23+git0+c2a1d97553-r0-hifiberry-amp.dtbo-20161014012231.dtb
> >
> >
> > Heh...  Something's not QUITE right there.  The packager is looking for
> .dtbo's and we're symlinking .dtb's...    I'm looking through the path
> trying to understand how it's setting the 'latest-build' symlinks, but if
> someone actually has a hint for me, it'd be appreciated.  :-D
> >
> >
> >
> > Frank Earl
> >
> >
> >
> > Frank Earl
> >
> >
> >
> > Legal Disclaimer:
> > The information contained in this message may be privileged and
> confidential. It is intended to be read only by the individual or entity to
> whom it is addressed or by their designee. If the reader of this message is
> not the intended recipient, you are on notice that any distribution of this
> message, in any form, is strictly prohibited. If you have received this
> message in error, please immediately notify the sender and delete or
> destroy any copy of this message!
>
> > Loading cache...done.
> > Loaded 2741 entries from dependency cache.
> > WARNING: No recipes available for:
> >   /home/frank/git_repos/guardhat/build/../meta-gh/
> recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bbappend
> > NOTE: Resolving any missing task queue dependencies
> >
> > Build Configuration:
> > BB_VERSION        = "1.30.0"
> > BUILD_SYS         = "x86_64-linux"
> > NATIVELSBSTRING   = "universal"
> > TARGET_SYS        = "arm-poky-linux-gnueabi"
> > MACHINE           = "raspberrypi2"
> > DISTRO            = "poky"
> > DISTRO_VERSION    = "2.1.1"
> > TUNE_FEATURES     = "arm armv7ve vfp thumb neon vfpv4
> callconvention-hard cortexa7"
> > TARGET_FPU        = "hard"
> > meta
> > meta-poky
> > meta-yocto-bsp    = "krogoth:e93596fe74927e2e2f4dd7f671994ccb9744cff8"
> > meta-linaro-toolchain = "krogoth:85faf6c6824597e7fd9e2d35fc9d8d
> a2e9f90bc7"
> > meta-oe
> > meta-filesystems
> > meta-networking
> > meta-multimedia
> > meta-initramfs
> > meta-systemd
> > meta-python       = "krogoth:851a064b53dca3b14dd33eaaaca9573b1a36bf0e"
> > meta-telephony    = "HEAD:8cf5a67850adf270bc2fdb4c0ed708b0ba037670"
> > meta-gh           = "master:12dc12456e7f6f486ca2815603c5f21f74c2d2c2"
> > meta-ti           = "master:6cb779a6ba1b0693f6bf82777e1a333effe6fca5"
> > meta-raspberrypi  = "master:05be947a31df873405cdd70ada210c9f7f7b132f"
> >
>
> I see that you are using master of meta-raspberrypi. Can you try with
> the krogoth branch, please?
>
> --
> Andrei Gherzan
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>

[-- Attachment #2: Type: text/html, Size: 5518 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-10-31 19:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-14 15:26 [meta-raspberrypi] Master doesn't seem to be building right Frank Earl
2016-10-31 17:05 ` Andrei Gherzan
2016-10-31 19:21   ` Khem Raj
  -- strict thread matches above, loose matches on Subject: below --
2016-10-24 21:26 "Breixo López García"

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.