No rootfs for beagleboard after bernard 5.0
Hi,
I'm trying to build poky-image-sato-sdk branch bernard-5.0.1 for the beagleboard. It has the following error:
ERROR: Function 'File:
'/work/rber/poky-bernard-5.0.1-arm-beagle/downloads/distcc-2.18.3.tar.bz2' has md5 checksum 2279f50fe7b688c8d6762a3e095a302a when 0d6b80a1efc3a3d816c4f4175f63eaa2 was expected (from URL:
'http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2')' failed
... and no rootfs ...
rber@yocto-vm-1:/work/rber/poky-bernard-5.0.1-arm-beagle/tmp/deploy/images$
ls
licenses
MLO-beagleboard
MLO-beagleboard-1.42+r13+git1+6f3a26101303051e0f91b6213735b68ce804e94e-r13 modules-2.6.37.3-yocto-standard+-r16-beagleboard.tgz
u-boot-beagleboard.bin
u-boot-beagleboard-v2010.12+r1+git1+264eaa0ea967bac32214b87d60cfc86c8b22cac6-r1.bin uImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+2b2ef940457f0bb40e0fb76937c921c2962364ca-r16-beagleboard-20110511114121.bin uImage-beagleboard.bin
x-load-beagleboard-1.42+r13+git1+6f3a26101303051e0f91b6213735b68ce804e94e-r13.bin.ift
x-load-beagleboard.bin.ift
Something similar happened with the latest and greatest from git (that's why I was trying this)
Am I missing something or is poky-image-sato-sdk for the beagleboard broken?
Regards,
Robert
...If the code and the comments disagree, both are probably wrong.
My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
Quoted 10 lines · Robert Berger
Hi,
I'm trying to build poky-image-sato-sdk branch bernard-5.0.1 for the beagleboard. It has the following error:
ERROR: Function 'File:
'/work/rber/poky-bernard-5.0.1-arm-beagle/downloads/distcc-2.18.3.tar.bz2' has md5 checksum2279f50fe7b688c8d6762a3e095a302awhen0d6b80a1efc3a3d816c4f4175f63eaa2was expected (from URL:
'http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2')' failed
Please try a couple things:
1) refetch distcc
$ bitbake -c fetch -f distcc
If that still fails:
2) update the MD5 in the distcc recipe and try to rebuild.
If that works, we need a patch to update the MD5.
--
Darren
Quoted 34 lines
... and no rootfs ...
rber@yocto-vm-1:/work/rber/poky-bernard-5.0.1-arm-beagle/tmp/deploy/images$
ls
licenses
MLO-beagleboard
MLO-beagleboard-1.42+r13+git1+6f3a26101303051e0f91b6213735b68ce804e94e-r13 modules-2.6.37.3-yocto-standard+-r16-beagleboard.tgz
u-boot-beagleboard.bin
u-boot-beagleboard-v2010.12+r1+git1+264eaa0ea967bac32214b87d60cfc86c8b22cac6-r1.bin uImage-2.6.37+git1+212cae404e57ff9dc58c808035770d51325c3512_1+2b2ef940457f0bb40e0fb76937c921c2962364ca-r16-beagleboard-20110511114121.bin uImage-beagleboard.bin
x-load-beagleboard-1.42+r13+git1+6f3a26101303051e0f91b6213735b68ce804e94e-r13.bin.ift
x-load-beagleboard.bin.iftSomething similar happened with the latest and greatest from git (that's why I was trying this)
Am I missing something or is poky-image-sato-sdk for the beagleboard broken?
Regards,
Robert
...If the code and the comments disagree, both are probably wrong.My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky
Signature · 3 lines
Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel
Quoted 13 lines · Darren Hart
Quoted 10 lines · Robert Berger
Hi,
I'm trying to build poky-image-sato-sdk branch bernard-5.0.1 for the beagleboard. It has the following error:
ERROR: Function 'File:
'/work/rber/poky-bernard-5.0.1-arm-beagle/downloads/distcc-2.18.3.tar.bz2' has md5 checksum2279f50fe7b688c8d6762a3e095a302awhen0d6b80a1efc3a3d816c4f4175f63eaa2was expected (from URL:
'http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2')' failed
Quoted 4 lines
Please try a couple things:
1) refetch distcc
$ bitbake -c fetch -f distcc
I'd recommend trying:
bitbake distcc -c cleanall
then
bitbake distcc -c fetch
as this will force a clean out of any existing "bad" state that might exist. The -f option means rerun the task even if bitbake doesn't think it needs to run but it will not wipe out files in DL_DIR.
Cheers,
Richard
Hi Darren/Richard,
Thanks for the hints.
... but the problem is even more interesting.
For some strange reason I can't get a valid .tar.bz from the URL which is in the recipe.
What helped was to grab it from somewhere else:
(quoted diff) +0 -0
b/meta/recipes-devtools/distcc/distcc_2.18.3.bb
index b6b7b78..f5ae761 100644
meta/recipes-devtools/distcc/distcc_2.18.3.bb +1 -1
@@ -11,7 +11,7 @@ RRECOMMENDS_${PN} = "avahi-daemon" # Upstream change this patch periodically so store locally # http://0pointer.de/public/distcc-avahi.patch -SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \ +SRC_URI =
"ftp://ftp.slackware.at/slackware-10.2/source/d/distcc/distcc-${PV}.tar.bz2\
file://distcc-avahi.patch;patch=1 \
file://default \
file://distccmon-gnome.desktop \Regards,
Robert
..."Gott gebe mir die Gelassenheit, Dinge hinzunehmen, die ich nicht ändern kann, den Mut, Dinge zu ändern, die ich ändern kann und die Weisheit, das eine von dem anderen zu unterscheiden." (Friedrich Christoph Oetinger 1702-1782)
My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1
Quoted 23 lines · Robert Berger
Hi Darren/Richard,
Thanks for the hints.
... but the problem is even more interesting.
For some strange reason I can't get a valid .tar.bz from the URL which is in the recipe.What helped was to grab it from somewhere else:
meta/recipes-devtools/distcc/distcc_2.18.3.bb +1
-1@@ -11,7 +11,7 @@ RRECOMMENDS_${PN} = "avahi-daemon" # Upstream change this patch periodically so store locally # http://0pointer.de/public/distcc-avahi.patch -SRC_URI = "http://distcc.samba.org/ftp/distcc/distcc-${PV}.tar.bz2 \ +SRC_URI = "ftp://ftp.slackware.at/slackware-10.2/source/d/distcc/distcc-${PV}.tar.bz2\ file://distcc-avahi.patch;patch=1 \ file://default \
Quoted 1 line
file://distccmon-gnome.desktop \
Indeed, the samba.org URL is no good:
$ wget http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2 --2011-05-12 15:42:03-- http://distcc.samba.org/ftp/distcc/distcc-2.18.3.tar.bz2 Resolving distcc.samba.org... 2001:470:1f05:1a07::1, 216.83.154.106 Connecting to distcc.samba.org|2001:470:1f05:1a07::1|:80... failed: Connection refused. Connecting to distcc.samba.org|216.83.154.106|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://www.distcc.org/ [following] --2011-05-12 15:42:04-- http://www.distcc.org/ Resolving www.distcc.org... 64.202.189.170 Connecting to www.distcc.org|64.202.189.170|:80... connected. HTTP request sent, awaiting response... 302 Found Location: http://distcc.googlecode.com/ [following] --2011-05-12 15:42:04-- http://distcc.googlecode.com/ Resolving distcc.googlecode.com... 74.125.95.82 Connecting to distcc.googlecode.com|74.125.95.82|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: http://code.google.com/p/distcc [following] --2011-05-12 15:42:04-- http://code.google.com/p/distcc Resolving code.google.com... 74.125.95.113, 74.125.95.138, 74.125.95.139, ... Connecting to code.google.com|74.125.95.113|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------