Re: [yocto] fetcher failure

2016-09-27 Thread Anicic Damir (PSI)
If I replace


-SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x \

with

+SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \


then it works, at least on Ubuntu 16.04 build host
(on ScientificLinx 6.4 fetch does not work, but I simply copied fetched folder 
from Ubuntu)





From: Zhenhua Luo [zhenhua@nxp.com]
Sent: Tuesday, September 27, 2016 11:44
To: Anicic Damir (PSI); Chris Z.
Cc: yocto@yoctoproject.org
Subject: RE: [yocto] fetcher failure

I have submitted a patch for the fetch issue, can you please give a try? You 
can use master-next branch of meta-fsl-ppc for the validation.


Best Regards,

Zhenhua

From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Anicic Damir (PSI)
Sent: Tuesday, September 27, 2016 5:34 PM
To: Chris Z. <winotu.em...@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] fetcher failure

Why should I check,
the meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb has

SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x \
SRCREV = "bd51baffc04ecc73f933aee1c3a37c8b44b889a7"

If that is wrong freescale should correct it.

And besides, the downloaded file gets deleted.

But, OK, I'll try.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] fetcher failure

2016-09-27 Thread Anicic Damir (PSI)
This is anoying.

My primary build host, ScientificLinux 6.4, it stil fails (error log in 
previous mail).

But on my secondary build host,Ubuntu 16.04,  it now succeeded.


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] fetcher failure

2016-09-27 Thread Anicic Damir (PSI)
If I understood properly,  all I have to do is to change the line:

-SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x \

with

+SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;nobranch=1 \


If that is so, it did not help.

Attached the new log file.

Damir



log.do_fetch.27552
Description: log.do_fetch.27552
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] fetcher failure

2016-09-27 Thread Anicic Damir (PSI)
Why should I check,
the meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb has

SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x \
SRCREV = "bd51baffc04ecc73f933aee1c3a37c8b44b889a7"

If that is wrong freescale should correct it.

And besides, the downloaded file gets deleted.

But, OK, I'll try.

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] fetcher failure

2016-09-27 Thread Anicic Damir (PSI)
Hi again,

it seems no one has interests in my problem.

I have the same problem with Ubuntu host build, too.

What I see is that file gets downloaded several times, and then discarded for 
some reason.
One of the last downloads (or the last one), does some
   git -c core.fsyncobjectfiles=0 fetch -f --prune 
git://git.freescale.com/ppc/sdk/linux.git refs/*:refs/*
   git index-pack --stdin --fix-thin --keep=fetch-pack 23181 on pc8414 
--pack_header=2,861898
stuf, but that probably also fails.

I have attached the bitbake output, and error log files.

Kind regards,
Damir



$ bitbake  core-image-psi-gfa-cmd
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.
Loading cache: 100% || ETA:  00:00:00
Loaded 2402 entries from dependency cache.
Parsing recipes: 100% |##| Time: 00:00:00
Parsing of 1842 .bb files complete (1832 cached, 10 parsed). 2401 targets, 192 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS= "powerpc64-poky-linux"
MACHINE   = "powerpc64-ppc64e6500"
DISTRO= "gfa-ppc64e6500"
DISTRO_VERSION= "2.1"
TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
TARGET_FPU= ""
meta  
meta-poky 
meta-yocto-bsp= "krogoth:4376fb851791a1fb514873ad239d516dd7159341"
meta-oe   
meta-python   
meta-networking   = "master:9cd117a5dc5f26133a855d1cc3bf9604ae178685"
meta-gfa  = "krogoth:4376fb851791a1fb514873ad239d516dd7159341"
meta-fsl-ppc  = "master:80bf152760cfe5bfb5c08d65e521a7d03d704c85"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-qoriq-4.1-r0 do_fetch: Failed to fetch URL git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x, attempting MIRRORS if available
ERROR: linux-qoriq-4.1-r0 do_fetch: Fetcher failure: Unable to find revision bd51baffc04ecc73f933aee1c3a37c8b44b889a7 in branch sdk-v2.0.x even from upstream
ERROR: linux-qoriq-4.1-r0 do_fetch: Function failed: Fetcher failure for URL: 'git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x'. Unable to fetch URL from any source.
ERROR: Logfile of failure stored in: /gfa/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/powerpc64_ppc64e6500-poky-linux/linux-qoriq/4.1-r0/temp/log.do_fetch.22960
ERROR: Task 48 (/home/anicic/yocto-2.1-all/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3889 tasks of which 3888 didn't need to be rerun and 1 failed.
No currently running tasks (1276 of 3922)

Summary: 1 task failed:
  /home/anicic/yocto-2.1-all/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb, do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



log.do_fetch.22960
Description: log.do_fetch.22960
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] fetcher failure

2016-09-26 Thread Anicic Damir (PSI)
Hi,

Yocto 2.1

Trying to switch from yocto default linux-yocto to freescale linux-qoriq

but getting fetcher failure:



$ bitbake  core-image-psi-gfa-cmd
NOTE: Unable to use interactive mode for this terminal, using fallback
WARNING: Host distribution "Scientific-6.4" 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.
Loading cache: 100% 
|##|
 ETA:  00:00:00
Loaded 2402 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION= "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS= "powerpc64-poky-linux"
MACHINE   = "powerpc64-ppc64e6500"
DISTRO= "gfa-ppc64e6500"
DISTRO_VERSION= "2.1"
TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
TARGET_FPU= ""
meta
meta-poky
meta-yocto-bsp= "krogoth:4376fb851791a1fb514873ad239d516dd7159341"
meta-oe
meta-python
meta-networking   = "master:9cd117a5dc5f26133a855d1cc3bf9604ae178685"
meta-gfa  = "krogoth:4376fb851791a1fb514873ad239d516dd7159341"
meta-fsl-ppc  = "master:932ec9b590939641c6a248122b1627d2d710b78b"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 1276 of 3922 (ID: 48, 
/home/anicic/yocto-2.1-all/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb,
 do_fetch)
NOTE: recipe linux-qoriq-4.1-r0: task do_fetch: Started
WARNING: linux-qoriq-4.1-r0 do_fetch: Failed to fetch URL 
git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x, attempting MIRRORS 
if available
ERROR: linux-qoriq-4.1-r0 do_fetch: Fetcher failure: Fetch command failed with 
exit code 128, output:
fatal: remote origin already exists.

ERROR: linux-qoriq-4.1-r0 do_fetch: Function failed: Fetcher failure for URL: 
'git://git.freescale.com/ppc/sdk/linux.git;branch=sdk-v2.0.x'. Unable to fetch 
URL from any source.
ERROR: Logfile of failure stored in: 
/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/powerpc64_ppc64e6500-poky-linux/linux-qoriq/4.1-r0/temp/log.do_fetch.21271
NOTE: recipe linux-qoriq-4.1-r0: task do_fetch: Failed
ERROR: Task 48 
(/home/anicic/yocto-2.1-all/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb,
 do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3889 tasks of which 3888 didn't need to be rerun 
and 1 failed.

Summary: 1 task failed:
  
/home/anicic/yocto-2.1-all/poky/meta-fsl-ppc/recipes-kernel/linux/linux-qoriq_4.1.bb,
 do_fetch
Summary: There were 2 WARNING messages shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


What I see is that it actually gets downloaded:  
.../downloads/git2_git.freescale.com.ppc.sdk.linux.git.tar.gz
   is beeing downloaded, up to some 790MB (complete ?),
   and then size goes to zero   
(git2_git.freescale.com.ppc.sdk.linux.git.tar.gz.done size = 0)

I have also attached the log file.


regards,
Damir





log.do_fetch.21271
Description: log.do_fetch.21271
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Freescale DPAA drivers

2016-09-23 Thread Anicic Damir (PSI)
Hi,

I am using Yocto 2.1, PowerPC64, default kernel 4.1.22
Building for T2080rdb.

Everything builds, but kernel is missing DPAA Freescale drivers
(dpaa_eth at least)


It seems that DPAA Freescale drivers not in any Linux kernel (or am I wrong).

Why is that so, is Freescale not planing to include them in kernel ?

Kind regards,

Damir



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Enable/disable service startup

2016-09-22 Thread Anicic Damir (PSI)

Hi,

I am building Yocto 2.1 for PowerPC-64

I have bind and dhcpcd packages built in.

named service (from bind) gets started - but I do not want it started
dhcpcd service does not get started - but I would like to have it started

I would also prefer not to remove bind, because I need dig (dig, host, nslookup)

How to get services enabled/disabled ?

Also I do not want to change original recipes.

Kind regards,
Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
Thanx all for a help,

I have tested with:

   python -c 'import urllib2; print urllib2.urlopen.

The problem was only with https protocol, http worked.
The certificate was not accepted (SSL, as used by bitbake wget.py),
but with TLS it worked.

it turns out that something HAS changed in my system/libraries (but not Python 
itself),
influencing python urllib2 to fail, although wget, chrome, firefox, ... worked

Fortunately we have another python version installed, and with that one it 
works again.

Thanx again for your help


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
Ups, typo.

It also works


wget https://www.example.com/
--2016-09-14 14:58:03--  https://www.example.com/
Resolving www.example.com... 93.184.216.34, 2606:2800:220:1:248:1893:25c8:1946
Connecting to www.example.com|93.184.216.34|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1270 (1.2K) [text/html]
Saving to: “index.html.1”

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
This works:
wget http://www.exampe.com/
--2016-09-14 14:42:23--  http://www.exampe.com/
Resolving www.exampe.com... 69.172.201.153
Connecting to www.exampe.com|69.172.201.153|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “index.html.1”

[ <=>   
 ] 1,558   --.-K/s   in 0s  

2016-09-14 14:42:23 (20.8 MB/s) - “index.html.1” saved [1558]



But this does not:
wget https://www.exampe.com/
--2016-09-14 14:42:39--  https://www.exampe.com/
Resolving www.exampe.com... 69.172.201.153
Connecting to www.exampe.com|69.172.201.153|:443... connected.
Unable to establish SSL connection.

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
Sorry, the error message is:

   DEBUG: checkstatus() urlopen failed: 

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
No, I have direct internet connection, no proxy needed (and was not needed 
before).

Temporarily I use
  CONNECTIVITY_CHECK_URIS=""
in local.conf

That way it works again,
but I would like to have better solution.


After investigating little bit more, I see an error:
   Fetcher failure for URL: 'https://www.example.com/'. URL 
https://www.example.com/ doesn't work. Please ensure your network is configured 
correctly.

which comes from
bitbake/lib/bb/fetch2/wget.py line 282
275:try:
276:uri = ud.url.split(";")[0]
277:r = urllib2.Request(uri)
278:r.get_method = lambda: "HEAD"
279:opener.open(r)
280:except urllib2.URLError as e:
281:# debug for now to avoid spamming the logs in e.g. remote 
sstate searches
282:logger.debug(2, "checkstatus() urlopen failed: %s" % e)
283:return False
284:return True


All I know is that python did not change,
but there were some additional packages installed,
and may be some other packages/libraries changed on my system
in scope of regular auto-updates.
Unfortunately I do not see which of the newly installed packages have anything 
to do with python.

Any help?


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Fetcher failure

2016-09-14 Thread Anicic Damir (PSI)
Hi,

Yocto 2.1:

I had working setup, and wanted to rebuild.
I am quite sure that I did not change anything, and suddenly it does not work 
any more:

Fetcher failure for URL: 'https://www.example.com/'. URL 
https://www.example.com/ doesn't work. Please ensure your network is configured 
correctly.

If I
  wget https://www.example.com/
it works

What could it be?


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] u-boot-mkimage in SDK

2016-08-31 Thread Anicic Damir (PSI)
Hi all,


I have built Yocto 2.1, for PowerPC (E6500):

Build Configuration:
BB_VERSION= "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS= "powerpc-poky-linux"
MACHINE   = "powerpc-ppce6500"
DISTRO= "gfa-ppce6500"
DISTRO_VERSION= "2.1"
TUNE_FEATURES = "m32 fpu-hard e6500 altivec"
TARGET_FPU= ""





Now, if I am cross-compiling additional uImage kernels outside bitbake,
I need mkimage.
But it is not in SDK.

I have managed to get mkimage into rootfs, (added to IMAGE_INSTALL +=...)
but how to get it inside cross-toolchain?

Regards,
Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] qemu-qoriq

2016-06-28 Thread Anicic Damir (PSI)
Hi!

For Yocto 2.1
I have added meta-fsl-ppc repo,
added layer to bblayers.conf,
but how to instruct bitbake to use fsl's qemu-qoriq
instead of poky's qemu (and qemu-native)

Regards,
Damir



-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Powerpc64e6500 missing altivec option

2016-06-24 Thread Anicic Damir (PSI)
Hi!

When I built only poky, I had
  TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
and everything was built with -maltivec
and environment-setup-ppc64e6500-poky-linux contained -m altivec:
  export CC="powerpc64-poky-linux-gcc  -mhard-float -m64 -mcpu=e6500 -maltivec 
--sysroot=$SDKTARGETSYSROOT"


It seems that since I added openembedded layers:
/home/anicic/yocto-2.1-all/poky/meta-openembedded/meta-oe \
/home/anicic/yocto-2.1-all/poky/meta-openembedded/meta-python \
/home/anicic/yocto-2.1-all/poky/meta-openembedded/meta-networking \
build reports
  TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
but it builds without altivec,
and environment-setup-ppc64e6500-poky-linux does not have -maltivec any more:
  export CC="powerpc64-poky-linux-gcc  -mhard-float -m64 -mcpu=e6500 
--sysroot=$SDKTARGETSYSROOT"


Where does it get disabled, and how to enable it again?

Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
I found something.
It seems that tar 1.29 (which I recently installed) is broken.

http://patchwork.openembedded.org/patch/123727/

I'll try now with tar 1.28


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
Ah, I have even deleted everything (repo, downloads, build dir)
and started from scratch.:
  git clone -b krogoth git://git.yoctoproject.org/poky.git
  add my meta-gfa/*
  source oe-init-build-env
  adjust local.conf + bblayers.conf
  bitbake core-image-psi-gfa-cmd --continue

simple everything from scratch:

and everything builds except:

ERROR: perl-5.22.1-r0 do_package: objcopy failed with exit code 256 (cmd was 
'powerpc64-poky-linux-objcopy' --only-keep-debug 
'/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap'
 
'/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/.debug/generate_uudmap'):
powerpc64-poky-linux-objcopy: Unable to recognise the format of the input file 
`/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap'
ERROR: perl-5.22.1-r0 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: 
/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/temp/log.do_package.4237
ERROR: Task 1691 
(/home/anicic/yocto-2.1-all/poky/meta/recipes-devtools/perl/perl_5.22.1.bb, 
do_package) failed with exit code '1'

Any suggestions?

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto 2.1 perl problem

2016-06-21 Thread Anicic Damir (PSI)
Hi!

Suddenly perl does not build any more (I did not have the problem in last two 
weeks).
I did not change anything (my humble bitbake understanding) about perl.

=
Build Configuration:
BB_VERSION= "1.30.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS= "powerpc64-poky-linux"
MACHINE   = "powerpc64-ppc64e6500"
DISTRO= "gfa-ppc64e6500"
DISTRO_VERSION= "2.1"
TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
TARGET_FPU= ""
meta
meta-poky
meta-yocto-bsp
meta-gfa  = "krogoth:4376fb851791a1fb514873ad239d516dd7159341"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: perl-5.22.1-r0 do_package: objcopy failed with exit code 256 (cmd was 
'powerpc64-poky-linux-objcopy' --only-keep-debug 
'/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap'
 
'/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/.debug/generate_uudmap'):
powerpc64-poky-linux-objcopy: Unable to recognise the format of the input file 
`/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap'
ERROR: perl-5.22.1-r0 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: 
/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/temp/log.do_package.21205
ERROR: Task 1691 
(/home/anicic/yocto-2.1-all/poky/meta/recipes-devtools/perl/perl_5.22.1.bb, 
do_package) failed with exit code '1'
=

The problem seems to be that
/home/anicic/yocto-2.1-all/build/ppc64e6500/tmp/work/ppc64e6500-poky-linux/perl/5.22.1-r0/package/usr/lib64/perl/ptest/generate_uudmap
is built for host "ELF 64-bit LSB executable, x86-64"
instead of target "64-bit PowerPC or cisco 7500"

What could it be?

Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] NTP

2016-06-17 Thread Anicic Damir (PSI)
I am new to Yocto, so please explain a bit more.

All I have done is:
  git clone -b krogoth git://git.yoctoproject.org/poky.git

How do I now add layers ?

Or can I somehow clone Yocto 2.1 with all layers ?

Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] NTP

2016-06-17 Thread Anicic Damir (PSI)
Hi!

I just realised that ntpd + ntpdate is not part of Yocto 2.1

I found http://layers.openembedded.org/layerindex/recipe/2299/

but how to get it?

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] meta-qt3 and meta-qt4

2016-06-16 Thread Anicic Damir (PSI)
Hi!

By building core-image-lsb-sdk (or derivate) I get :


WARNING: The meta-qt4 layer should be added, this layer provides Qt 
4.xlibraries. Its intended use is for passing LSB tests as Qt4 isa requirement 
for LSB.
WARNING: The meta-qt3 layer should be added, this layer provides Qt 
3.xlibraries. Its intended use is for passing LSB tests as Qt3 isa requirement 
for LSB.

WARNING: packagegroup-core-lsb-1.0-r10 do_package: The meta-qt4 layer should be 
added, this layer provides Qt 4.xlibraries. Its intended use is for passing LSB 
tests as Qt4 isa requirement for LSB.
WARNING: packagegroup-core-lsb-1.0-r10 do_package: The meta-qt3 layer should be 
added, this layer provides Qt 3.xlibraries. Its intended use is for passing LSB 
tests as Qt3 isa requirement for LSB.

I do not find meta-qt3 & meta-qt4 in Yocto 2.1



Damir

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Yocto 2.1 powerpc64 e6500 - postinstall intercept hook problems

2016-06-15 Thread Anicic Damir (PSI)
Hi !

I am trying to build Yocto 2.1 for PowerPC64, e6500 CPU.

I managed to build, with warnings that some steps will be postponed to first 
boot,
but if I add "read-only-rootfs" then warnings change to errors.

The problem seems to be missing qemu-ppc64, see down "exit code: 127".
qemu-* executables ( tmp/sysroots/x86_64-linux/usr/bin/qemu-* ) are built, but 
qemu-ppc64 is missing.

If I build qemu-ppc64 (qemu 2.6) myself (install it to /usr/local/bin which is 
in PATH),
then I get "Invalid instruction" from my qemu-ppc64.


My build (core-image-psi-gfa-cmd is basically core-image-full-cmdline ):

  Build Configuration:
  BB_VERSION= "1.30.0"
  BUILD_SYS = "x86_64-linux"
  NATIVELSBSTRING   = "ScientificLinux-6.4"
  TARGET_SYS= "powerpc64-poky-linux"
  MACHINE   = "powerpc64-ppc64e6500"
  DISTRO= "gfa-ppc64e6500"
  DISTRO_VERSION= "2.1"
  TUNE_FEATURES = "m64 fpu-hard e6500 altivec"
  TARGET_FPU= ""
  meta
  meta-poky
  meta-yocto-bsp
  meta-gfa  = "krogoth-gfa-v2:898a78357e72fb80f1f8e26ba90bad5b7b054a4f"

  NOTE: Preparing RunQueue
  NOTE: Executing SetScene Tasks
  NOTE: Executing RunQueue Tasks
  WARNING: core-image-psi-gfa-cmd-1.0-r0 do_rootfs: The postinstall intercept 
hook 'update_gio_module_cache' failed (exit code: 127)! See log for details!
  WARNING: core-image-psi-gfa-cmd-1.0-r0 do_rootfs: The postinstalls for the 
following packages will be postponed for first boot: libglib-2.0-0
  WARNING: core-image-psi-gfa-cmd-1.0-r0 do_rootfs: [log_check] 
core-image-psi-gfa-cmd: found a warning message in the logfile (keyword 
'WARNING:'):
  [log_check] WARNING: The postinstall intercept hook 'update_gio_module_cache' 
failed (exit code: 127)! See log for details!

  WARNING: core-image-psi-gfa-cmd-1.0-r0 do_rootfs: [log_check] 
core-image-psi-gfa-cmd: found a warning message in the logfile (keyword 
'WARNING:'):
  [log_check] WARNING: The postinstalls for the following packages will be 
postponed for first boot: libglib-2


If I build core-image-psi-gfa-cmd ( which is basicaly core-image-lsb-sdk ),
then there are few more postinstall problems, too:
  The postinstalls for the following packages will be postponed for first boot:
 libgdk-pixbuf-2.0-loader-ico libgdk-pixbuf-2.0-loader-bmp 
libgdk-pixbuf-2.0-loader-jpeg
 libgdk-pixbuf-2.0-loader-png   libgdk-pixbuf-2.0-loader-gif 
libgdk-pixbuf-2.0-loader-xpm libgdk-pixbuf-2.0-loader-ani

all with the same qemu-ppc64 problem.


I have additionally eudev postinstall problem (generating hwdb.bin) -probably 
also qemu related


Please help.

Kind regards,

Damir


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto