Re: [meta-freescale] bitbake master-next branch is not building

2014-03-13 Thread Tarek El-Sherbiny
On Thu, Mar 13, 2014 at 12:18 PM, Otavio Salvador
wrote:

> On Thu, Mar 13, 2014 at 7:54 AM, Tarek El-Sherbiny
>  wrote:
> > Same problem on the master branch. But thanks for trying to help :)
>
> You seem to not be using fsl-community-bsp; so please add meta-fsl-demos
> layer.
>

This is what I used:
/yocto_next/build$ repo init -u
https://github.com/Freescale/fsl-community-bsp-platform -b master

Is that not fsl-community-bsp ?

>
> I advise you to look at fsl-image-multimedia as this is nicer than gui
> for testing; core-image-sato provides most of fsl-image-gui and is
> smaller and faster to build.
>

I also have this layer:
yocto_next/build$ bitbake-layers show-layers
layer path  priority
==
meta
 
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/poky/meta
 5
meta-yocto
 
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/poky/meta-yocto
 5
meta-oe
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/meta-openembedded/meta-oe
 6
meta-fsl-arm
 
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/meta-fsl-arm
 5
meta-fsl-arm-extra
 
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/meta-fsl-arm-extra
 4
meta-fsl-demos
 
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_next/sources/meta-fsl-demos
 4

And the multimedia image is there:
yocto_next/build$ ll ../sources/meta-fsl-demos/recipes-fsl/images/
fsl-image-multimedia.bb
-rw-rw-r-- 1 telsherbiny telsherbiny 396 Mar 13 10:15
../sources/meta-fsl-demos/recipes-fsl/images/fsl-image-multimedia.bb

But the same problem with the multimedia image:

yocto_next/build$ bitbake fsl-image-multimedia
Loading cache: 100%
|##|
ETA:  00:00:00
Loaded 1804 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES ''
ERROR: Required build target 'fsl-image-multimedia' has no buildable
providers.
Missing or unbuildable dependency chain was: ['fsl-image-multimedia', '']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
>



-- 
*Tarek*
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] bitbake master-next branch is not building

2014-03-13 Thread Tarek El-Sherbiny
Same problem on the master branch. But thanks for trying to help :)


On Thu, Mar 13, 2014 at 1:56 AM, Otavio Salvador wrote:

> On Mon, Mar 10, 2014 at 7:55 AM, Tarek El-Sherbiny
>  wrote:
> > Build instructions:
> >
> > ~/$ mkdir yocto
> > ~/$ cd yocto
> > ~/yocto$ repo init -u
> > https://github.com/Freescale/fsl-community-bsp-platform -b master-next
> > ~/yocto$ repo sync
> > ~/yocto$ MACHINE=nitrogen6x . setup-environment build
> > ~/yocto/build$ vi conf/local.conf
> >   ... added these two lines:
> >   PREFERRED_PROVIDER_virtual/kernel = "linux-boundary"
> >   PREFERRED_VERSION_linux-boundary = "3.10.17"
> > ~/yocto/build$ bitbake fsl-image-gui
> >
> >
> > Output:
> > yocto/build$ bitbake fsl-image-gui
> > Loading cache: 100%
> >
> |##|
> > ETA:  00:00:00
> > Loaded 1800 entries from dependency cache.
> > NOTE: Resolving any missing task queue dependencies
> > ERROR: Nothing PROVIDES ''
> > ERROR: Required build target 'fsl-image-gui' has no buildable providers.
> > Missing or unbuildable dependency chain was: ['fsl-image-gui', '']
> >
> > Summary: There were 2 ERROR messages shown, returning a non-zero exit
> code.
> >
> >
> > What is going wrong?
>
> Please use master for non-bleeding-edged development. master-next is
> more a test bed and we cannot assume everything there is ready to
> merge. Eventually things are dropped there and like.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
>



-- 
*Tarek*
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] bitbake master-next branch is not building

2014-03-10 Thread Tarek El-Sherbiny
Hi All,

Build instructions:

~/$ mkdir yocto
~/$ cd yocto
~/yocto$ repo init -u
https://github.com/Freescale/fsl-community-bsp-platform -b master-next
~/yocto$ repo sync
~/yocto$ MACHINE=nitrogen6x . setup-environment build
~/yocto/build$ vi conf/local.conf
  ... added these two lines:
  PREFERRED_PROVIDER_virtual/kernel = "linux-boundary"
  PREFERRED_VERSION_linux-boundary = "3.10.17"
~/yocto/build$ bitbake fsl-image-gui


Output:
yocto/build$ bitbake fsl-image-gui
Loading cache: 100%
|##|
ETA:  00:00:00
Loaded 1800 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
ERROR: Nothing PROVIDES ''
ERROR: Required build target 'fsl-image-gui' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-gui', '']

Summary: There were 2 ERROR messages shown, returning a non-zero exit code.


What is going wrong?


Thanks
-- 
*Tarek*
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Changing Virtual/kernel for Nitrogen Board

2014-03-05 Thread Tarek El-Sherbiny
Hi Eric,

The blocks I'm using are:
VPU - IPU - HDMI - USB - MMC - ETHERNET

Are these blocks not stable on the linux-imx kernel?

Thanks,
Tarek


On Wed, Mar 5, 2014 at 4:42 PM, Eric Nelson  wrote:

> Hi Tarek,
>
>
> On 03/05/2014 08:41 AM, Tarek El-Sherbiny wrote:
>
>> Hi All,
>>
>> I'm using the Nitrogen board and I needed to change the kernel to the
>> original Freescale linux-imx. I tried the following:
>>
>>
> There's no support for Nitrogen6 boards in linux-imx.
>
> You may be able to get a crippled kernel to boot by using the
> vestigial Sabre Lite machine definition, but audio certainly
> won't work, and I'm doubtful that things will be stable.
>
> Regards,
>
>
> Eric
>
>


-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Changing Virtual/kernel for Nitrogen Board

2014-03-05 Thread Tarek El-Sherbiny
Hi All,

I'm using the Nitrogen board and I needed to change the kernel to the
original Freescale linux-imx. I tried the following:

(1) Add PREFERRED_PROVIDER_virtual/kernel = "linux-imx" in
build/conf/local.conf
(2) Add DEFAULT_PREFERENCE = "1" in a newly created
linux-imx_3.0.35.bbappend
(3) Add DEFAULT_PREFERENCE = "-1" in a newly created
linux-boundary_3.0.35.bbappend
(4) Copy machine/nitrogen6x.conf to my layer and change
PREFERRED_PROVIDER_virtual/kernel = "linux-imx"

With all the above changes the linux-imx kernel is being built and also the
linux-boundary kernel. Both are being deployed in the /boot directory but
uImage soft link points to linux boundary!

What is the correct way to force a different virtual/kernel ?


Thanks
-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Failed to fetch evtest package

2014-02-10 Thread Tarek El-Sherbiny
Hi All,

I couldn't build 3.10.17 because of the evtest package.

Seams that freedesktop.org is not available.


NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL
http://cgit.freedesktop.org/~whot/evtest/snapshot/evtest-1.25.tar.bz2;name=archive,
attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command failed with exit code 4, output:
wget: /home/telsherbiny/.netrc:1: unknown token "c2$xskp8xWqMwQmb"

ERROR: Function failed: Fetcher failure for URL: '
http://cgit.freedesktop.org/~whot/evtest/snapshot/evtest-1.25.tar.bz2;name=archive'.
Unable to fetch URL from any source.
ERROR: Logfile of failure stored in:
/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_fsl_3.10.17/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/evtest/1.25-r0/temp/log.do_fetch.26116
ERROR: Task 1706
(/media/extradisk-1/data/extend_homes/telsherbiny/work/yocto_fsl_3.10.17/sources/meta-openembedded/meta-oe/recipes-support/evtest/
evtest_1.25.bb, do_fetch) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3930 tasks of which 3929 didn't need to be
rerun and 1 failed.



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] DHCP IP address is never obtained if powering up without network connected

2014-02-03 Thread Tarek El-Sherbiny
Hi Bob,

I mean from /etc/network/interfaces. I'm working with eth0

cat /etc/network/interfaces

# The loopback interface
auto lo
iface lo inet loopback

# Wireless interfaces
iface wlan0 inet dhcp
wireless_mode managed
wireless_essid any
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf

# Wired interface
 auto eth0
 iface eth0 inet dhcp
# iface eth0 inet static
#   address 192.168.0.50
#   netmask 255.255.255.0
#   gateway 192.168.0.1


I Have dhcp package:
# rpm -qa | grep dhcp
busybox-udhcpc-1.21.1-r0.cortexa9hf_vfp_neon
dhcp-client-4.2.5+P1-r1.cortexa9hf_vfp_neon

And ifupdown:
# rpm -qa | grep ifupdown
init-ifupdown-1.0-r4.cortexa9hf_vfp_neon


dhcp client should obtain ip once I plug-in the cable, right?

On Mon, Feb 3, 2014 at 4:23 PM, Bob Cochran  wrote:

> On 02/03/2014 11:12 AM, Tarek El-Sherbiny wrote:
>
>> Hi,
>>
>> Starting i.MX6 board without network cable connected then connect the
>> cable. I expect udhcpc to obtain ip address after the if-up event but it
>> doesn't.
>>
>> How do I force udhcpc to obtain IP after detecting if-up event?
>>
>
> I'm not sure if you mean in your /etc/network/interfaces script or from
> the shell.  Assuming I'm working with eth1:
>
> When I'm debugging dhcp issues from the shell, I run:
>
> dhclient -v eth1
>
> The verbose output is useful in place of a packet sniffer to see info on
> the handshake
>
> In my interfaces script:
>
> auto eth1
> iface eth1 inet dhcp
>
> Of course, you'll need to have the right packages installed.  I think you
> want dhcp-client and init-ifupdown
>
>
>
>
>> --
>> /Tarek/
>>
>>
>> ___
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>


-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] DHCP IP address is never obtained if powering up without network connected

2014-02-03 Thread Tarek El-Sherbiny
Hi,

Starting i.MX6 board without network cable connected then connect the
cable. I expect udhcpc to obtain ip address after the if-up event but it
doesn't.

How do I force udhcpc to obtain IP after detecting if-up event?

-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Upgrading the kernel without having to install 600 kernel-modules

2014-01-27 Thread Tarek El-Sherbiny
Thanks Otavio, I managed to config the kernel and bring down the number
to 45 !
Hope I didn't remove any essential module ;)


On Mon, Jan 27, 2014 at 12:15 PM, Otavio Salvador
wrote:

> On Mon, Jan 27, 2014 at 9:16 AM, Tarek El-Sherbiny
>  wrote:
> > Hi All,
> >
> > Every time I compile a new kernel and try to upgrade my image using smart
> > upgrade there are 600  kernel-modules that gets upgraded although I'm not
> > using any of these modules. This takes very long time. The reason for
> this
> > is the  kernel-modules package which includes all kernel modules
> available.
> > The kernel-modules package is included by imx-base.inc and every kernel
> > update this package gets updated.
> >
> > How do I configure kernel-modules package to include only the modules I
> > need?
>
> You need to change the kernel configuration to remove the unused ones.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
>



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Upgrading the kernel without having to install 600 kernel-modules

2014-01-27 Thread Tarek El-Sherbiny
Hi All,

Every time I compile a new kernel and try to upgrade my image using smart
upgrade there are 600  kernel-modules that gets upgraded although I'm not
using any of these modules. This takes very long time. The reason for this
is the  kernel-modules package which includes all kernel modules available.
The kernel-modules package is included by imx-base.inc and every kernel
update this package gets updated.

How do I configure kernel-modules package to include only the modules I
need?

Thanks

-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6q Boot failure using MACHINE=nitrogen6x

2013-12-04 Thread Tarek El-Sherbiny
On Tue, Dec 3, 2013 at 6:31 PM, Eric Nelson  wrote:

> Hi Tarek,
>
> Are you using multiple displays?
>

No just one display


> If not, you're going to want these
> video=mxcfb1:off video=mxcfb2:off video=mxcfb2:off
>

I will give this a try. Thanks


> Otherwise you'll get a default LDB display. You can check this
> in /sys/class/graphics/fb2/.
>
> Did you try running the DVI monitor with "mxc_hdmi.only_cea=0" in your
> kernel command-line?
>

Yes, it doesn't help.


> I'm not sure what dmfc=3 is doing to the display, but I suspect
> that you're exceeding the bandwidth requirements with multiple
> displays configured.
>
> I'm also not certain what you're running into with the
> gstreamer build.
>
No problem I found it :-)


> Regards,
>
>
> Eric
>
>
> On 12/03/2013 10:33 AM, Tarek El-Sherbiny wrote:
>
>> Hi Eric,
>>
>> On the command line arguments I had dmfc=3. That was set to improve the
>> IPU performance as I need to play up to 16 streams simultaneously.
>> When I removed this option the boundary kernel is booting without the
>> horizontal lines problem. HDMI to DVI is still not working.
>>
>> cat /proc/cmdline
>> console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080@60 fbmem=24M,10M
>> root=/dev/mmcblk0p1 rootfs=ext2 rw rootwait enable_wait_mode=off
>> consoleblank=0 bpp=32
>>
>>
>> This is fine for know but it would be nice to understand why dmfc is
>> conflict with boundary kernel.
>> Also I'm not sure how is this going to affect the IPU performance!
>> Hope you have an answer to this question so I can fully test the
>> application.
>> https://lists.yoctoproject.org/pipermail/meta-freescale/
>> 2013-December/005854.html
>>
>> Thanks,
>> Tarek
>>
>>
>>
>> The command line argument doesn't help:
>>
>> console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080@60 fbmem=24M,10M
>> root=/dev/mmcblk0p1 rootfs=ext2 rw rootwait enable_wait_mode=off
>> consoleblank=0 dmfc=3 bpp=32
>>
>> Also
>>
>>
>>
>> On Tue, Dec 3, 2013 at 4:40 PM, Eric Nelson
>> > <mailto:eric.nel...@boundarydevices.com>> wrote:
>>
>> Hi Tarek,
>>
>>
>> On 12/03/2013 08:12 AM, Tarek El-Sherbiny wrote:
>>
>> Hi Eric,
>>
>> root@nitrogen6x:~# cat /sys/class/graphics/fb0/modes
>> S:720x480p-60
>> S:720x576p-50
>> S:1280x720p-50
>> S:1280x720p-60
>> S:1280x1024p-60
>> V:1024x768p-75
>> V:1024x768p-70
>> V:1024x768p-60
>> V:800x600p-75
>> V:800x600p-72
>> V:800x600p-60
>> V:640x480p-75
>> V:640x480p-72
>> V:640x480p-60
>> U:720x400p-70
>> D:1360x768p-60
>> D:1280x720p-60
>> V:640x480p-60
>>
>>
>> This looks like a pretty standard set of modes for a
>> 4:3 aspect ratio monitor.
>>
>>
>> root@nitrogen6x:~# cat /sys/class/graphics/fb0/mode
>> S:1280x1024p-60
>>
>>
>> This doesn't match one of the CEA modes:
>> https://github.com/__boundarydevices/linux-imx6/__
>> blob/boundary-imx_3.0.35_4.1.__0/drivers/video/mxc/mxc_edid.__c#L41
>>
>> <https://github.com/boundarydevices/linux-imx6/
>> blob/boundary-imx_3.0.35_4.1.0/drivers/video/mxc/mxc_edid.c#L41>
>>
>> Can you boot with this command-line argument?
>>  mxc_hdmi.only_cea=0
>>
>> I think you'll either need that or you'll need to choose a
>> display resolution from the list. It appears that your monitor
>> and CEA both like 1280x720@60, though you'll likely get
>> letter-boxing.
>>
>> Regards,
>>
>>
>> Eric
>>
>>
>>
>>
>> --
>> /Tarek/
>>
>
>


-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6Q VPU firmware missing for core-image-basic

2013-12-04 Thread Tarek El-Sherbiny
I mad some progress now.

core-imgae-base ---> VPU FW is included.
core-imgae-basic ---> VPU FW is not included. ?

Does anyone understand why?

I know that the firmware is picked up in MACHINE_EXTRA_RRECOMMENDS variable
but I don't know why it affects only core-imgae-base and
not core-imgae-basic !

Hope someone could shed some light here.



On Tue, Dec 3, 2013 at 3:32 PM, Tarek El-Sherbiny <
tarek.elsherb...@gmail.com> wrote:

> I'm building a console image with VPU and gstreamer support.
>
> I've included core-image-basic.bb in my image in addition
> to packagegroup-fsl-gstreamer.
>
> The firmware is not installed and I'm getting this error:
> Please put bin file to /lib/firmware/vpu folder or export VPU_FW_PATH env
>
> I've seen this thread but what is the conclusion for 1.5 branch:
>
>
> https://lists.yoctoproject.org/pipermail/meta-freescale/2013-April/002344.html
>
> Thanks
> --
> *Tarek*
>



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] GStreamer VPU support on i.MX6

2013-12-04 Thread Tarek El-Sherbiny
What is the latest on this subject. I'm building (dora) branch and I've
included core-image-basic.bb + packagegroup-fsl-gstreamer but the firmware
is not installed!

What else should I do?

PS: MACHINE=nitrogen6x

-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6q Boot failure using MACHINE=nitrogen6x

2013-12-03 Thread Tarek El-Sherbiny
Hi Eric,

On the command line arguments I had dmfc=3. That was set to improve the IPU
performance as I need to play up to 16 streams simultaneously.
When I removed this option the boundary kernel is booting without the
horizontal lines problem. HDMI to DVI is still not working.

cat /proc/cmdline
console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080@60 fbmem=24M,10M
root=/dev/mmcblk0p1 rootfs=ext2 rw rootwait enable_wait_mode=off
consoleblank=0 bpp=32


This is fine for know but it would be nice to understand why dmfc is
conflict with boundary kernel.
Also I'm not sure how is this going to affect the IPU performance!
Hope you have an answer to this question so I can fully test the
application.
https://lists.yoctoproject.org/pipermail/meta-freescale/2013-December/005854.html

Thanks,
Tarek



The command line argument doesn't help:

console=ttymxc1,115200 video=mxcfb0:dev=hdmi,1920x1080@60 fbmem=24M,10M
root=/dev/mmcblk0p1 rootfs=ext2 rw rootwait enable_wait_mode=off
consoleblank=0 dmfc=3 bpp=32

Also



On Tue, Dec 3, 2013 at 4:40 PM, Eric Nelson  wrote:

> Hi Tarek,
>
>
> On 12/03/2013 08:12 AM, Tarek El-Sherbiny wrote:
>
>> Hi Eric,
>>
>> root@nitrogen6x:~# cat /sys/class/graphics/fb0/modes
>> S:720x480p-60
>> S:720x576p-50
>> S:1280x720p-50
>> S:1280x720p-60
>> S:1280x1024p-60
>> V:1024x768p-75
>> V:1024x768p-70
>> V:1024x768p-60
>> V:800x600p-75
>> V:800x600p-72
>> V:800x600p-60
>> V:640x480p-75
>> V:640x480p-72
>> V:640x480p-60
>> U:720x400p-70
>> D:1360x768p-60
>> D:1280x720p-60
>> V:640x480p-60
>>
>
> This looks like a pretty standard set of modes for a
> 4:3 aspect ratio monitor.
>
>
>  root@nitrogen6x:~# cat /sys/class/graphics/fb0/mode
>> S:1280x1024p-60
>>
>
> This doesn't match one of the CEA modes:
> https://github.com/boundarydevices/linux-imx6/
> blob/boundary-imx_3.0.35_4.1.0/drivers/video/mxc/mxc_edid.c#L41
>
> Can you boot with this command-line argument?
> mxc_hdmi.only_cea=0
>
> I think you'll either need that or you'll need to choose a
> display resolution from the list. It appears that your monitor
> and CEA both like 1280x720@60, though you'll likely get
> letter-boxing.
>
> Regards,
>
>
> Eric
>



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6Q VPU firmware missing for core-image-basic

2013-12-03 Thread Tarek El-Sherbiny
I'm building a console image with VPU and gstreamer support.

I've included core-image-basic.bb in my image in addition
to packagegroup-fsl-gstreamer.

The firmware is not installed and I'm getting this error:
Please put bin file to /lib/firmware/vpu folder or export VPU_FW_PATH env

I've seen this thread but what is the conclusion for 1.5 branch:

https://lists.yoctoproject.org/pipermail/meta-freescale/2013-April/002344.html

Thanks
-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6q Boot failure using MACHINE=nitrogen6x

2013-12-03 Thread Tarek El-Sherbiny
Hi Eric,

root@nitrogen6x:~# cat /sys/class/graphics/fb0/modes
S:720x480p-60
S:720x576p-50
S:1280x720p-50
S:1280x720p-60
S:1280x1024p-60
V:1024x768p-75
V:1024x768p-70
V:1024x768p-60
V:800x600p-75
V:800x600p-72
V:800x600p-60
V:640x480p-75
V:640x480p-72
V:640x480p-60
U:720x400p-70
D:1360x768p-60
D:1280x720p-60
V:640x480p-60
root@nitrogen6x:~# cat /sys/class/graphics/fb0/mode
S:1280x1024p-60


I'm not running the latest U-boot!

Thanks,
Tarek




On Tue, Dec 3, 2013 at 2:48 PM, Eric Nelson  wrote:

> Hi Tarek,
>
>
> On 12/03/2013 05:43 AM, Tarek El-Sherbiny wrote:
>
>> Hi Eric,
>>
>> Thank you very much for the patch. With the new kernel I don't see the
>> bouncing on HDMI problem.
>> I am using HDMI to DVI cable to test 1080 as I don't have 1080 HDMI
>> monitor.
>> With the new kernel Linux does not drive the DVI monitor at all. I
>> switched to 720 HDMI monitor and now there is output signal but I get
>> horizontal scrolling lines across the screen!
>> I don't see this problem with u-boot or Freescale kernel.
>> Have you seen this problem before?
>>
>>
> Can you forward the output from /sys/class/graphics/fb0/modes and
> /sys/class/graphics/fb0/mode from each of these displays?
>
> It's possible that we're blocking some of the modes because they
> don't support audio:
> https://github.com/boundarydevices/linux-imx6/commit/
> 104d4ebfcad4021ed982ec0f436d56c3d0f44068
>
> We added a driver parameter to the mxc_hdmi driver to force
> the use of CEA modes. You can override it with this kernel
> command-line parameter.
> mxc_hdmi.only_cea=0
>
> If you're running a recent U-Boot, you can also get a list
> of supported modes from your monitor using these two
> commands:
> U-Boot > i2c dev 1
> U-Boot > i2c edid
>
> Please advise,
>
>
> Eric
>



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6q Boot failure using MACHINE=nitrogen6x

2013-12-03 Thread Tarek El-Sherbiny
Hi Eric,

Thank you very much for the patch. With the new kernel I don't see the
bouncing on HDMI problem.
I am using HDMI to DVI cable to test 1080 as I don't have 1080 HDMI monitor.
With the new kernel Linux does not drive the DVI monitor at all. I switched
to 720 HDMI monitor and now there is output signal but I get horizontal
scrolling lines across the screen!
I don't see this problem with u-boot or Freescale kernel.
Have you seen this problem before?

Thanks,
Tarek


On Mon, Dec 2, 2013 at 5:07 PM, Eric Nelson  wrote:

> Hi Tarek,
>
>
> On 12/02/2013 09:51 AM, Tarek El-Sherbiny wrote:
>
>> Hello,
>>
>> I'm building the latest Yocto branch (/dora/) for the Nitrogen6 board as
>>
>> given by this post:
>> http://boundarydevices.com/yocto-dora-release-mx6/
>>
>> The image is based on core-image-basic + packagegroup-fsl-gstreamer .
>>
>> When I boot the nitrogen board I get the following kernel messages then
>> system hangs:
>>
>>
>>  
>>
>>
>> INIT: version 2.88 booting
>>
>> generic-usb: probe of 0003:D0D9:0002.0001 failed with error -22
>> usb 2-1.2: new low speed USB device number 4 using fsl-ehci
>> Starting udev
>> Starting Bootlog daemon: input: USB Optical Mouse as
>> /devices/platform/fsl-ehci.1/usb2/2-1/2-1.2/2-1.2:1.0/input/input1
>> generic-usb 0003:0461:4D0F.0002: input,hidraw0: USB HID v1.11 Mouse [USB
>> Optical Mouse] on usb-fsl-ehci.1-1.2/input0
>> udevd[1433]: starting version 182
>> camera_reset: power_gp=0x6, reset_gp=0x8 reset_gp2=0xab
>> ov5642_powerdown: powerdown=0, power_gp=0x6
>> ov5642_read_reg:write reg error:reg=300a
>> camera ov5642 is not found
>> mxc_sdc_fb mxc_sdc_fb.0: timeout when waiting for flip irq
>> bootlogd.
>>
>> ALSA: Restoring mixer settings...
>>
>> Configuring network interfaces... eth0: Freescale FEC PHY driver [Micrel
>> KSZ9021 Gigabit PHY] (mii_bus:phy_addr=1:06, irq=284)
>> udhcpc (v1.21.1) started
>>
>> Sending discover...
>>
>> mxc_hdmi mxc_hdmi: same edid
>> mxc_hdmi mxc_hdmi: mxc_hdmi_edid_rebuild_modelist: Added mode 0(VIC 16):
>> mxc_hdmi mxc_hdmi: mxc_hdmi_edid_rebuild_modelist: Added mode 1(VIC 0):
>> mxc_hdmi mxc_hdmi: mxc_hdmi_edid_rebuild_modelist: Added mode 23(VIC 0):
>>
>> What exactly is missing?
>>
>>
> It doesn't appear that your machine is hanging, but rather bouncing
> on HDMI connect/disconnect. Jose reported this a while back:
>
> https://lists.yoctoproject.org/pipermail/meta-freescale/
> 2013-October/005113.html
>
> Can you try applying this patch into sources/meta-fsl-arm-extra?
>
> ~/yocto/sources/meta-fsl-arm-extra$ patch -p1 < 0001-*.patch
>
> We've seen some issues with particular monitors (especially DVI) where
> the DVI/HDMI detection pins seem to "bounce" when X starts up.
>
> This kernel version includes a patch which bypasses the HDMI/DVI
> disconnect code:
> https://github.com/boundarydevices/linux-imx6/commit/
> d9cd79d11ff9f7a7f89cbc94b68757b67cdfe5fc
>
>
> Please advise,
>
>
> Eric
>



-- 
*Tarek*
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6q Boot failure using MACHINE=nitrogen6x

2013-12-02 Thread Tarek El-Sherbiny
Hello,

I'm building the latest Yocto branch (*dora*) for the Nitrogen6 board as
given by this post:
http://boundarydevices.com/yocto-dora-release-mx6/

The image is based on core-image-basic + packagegroup-fsl-gstreamer .

When I boot the nitrogen board I get the following kernel messages then
system hangs:


3739488 bytes read in 263 ms (13.6 MiB/s)

## Booting kernel from Legacy Image at 1200 ...

   Image Name:   Linux-3.0.35-4.1.0+yocto+g580993

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:3739424 Bytes = 3.6 MiB

   Load Address: 10008000

   Entry Point:  10008000

   Verifying Checksum ... OK

   Loading Kernel Image ... OK

OK


Starting kernel ...


Uncompressing Linux... done, booting the kernel.
Linux version 3.0.35-4.1.0+yocto+g5809938 (telsherbiny@HP-Elite7500) (gcc
version 4.8.1 (GCC) ) #1 SMP PREEMPT Fri Nov 29 16:29:21 GMT 2013
CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Boundary Devices Nitrogen6X/SABRE Lite Board
Memory policy: ECC disabled, Data cache writealloc
CPU identified as i.MX6Q, silicon rev 1.2
PERCPU: Embedded 7 pages/cpu @8c008000 s5440 r8192 d15040 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 227328
Kernel command line: console=ttymxc1,115200
video=mxcfb0:dev=hdmi,1920x1080@60 fbmem=24M,10M root=/dev/mmcblk0p1
rootfs=ext2 rw rootwait enable_wait_mode=off consoleblank=0 dmfc=3 bpp=32
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 640MB 256MB = 896MB total
Memory: 900748k/900748k available, 147828k reserved, 0K highmem
Virtual kernel memory layout:
vector  : 0x - 0x1000   (   4 kB)
fixmap  : 0xfff0 - 0xfffe   ( 896 kB)
DMA : 0xf460 - 0xffe0   ( 184 MB)
vmalloc : 0xc080 - 0xf200   ( 792 MB)
lowmem  : 0x8000 - 0xc000   (1024 MB)
pkmap   : 0x7fe0 - 0x8000   (   2 MB)
modules : 0x7f00 - 0x7fe0   (  14 MB)
  .init : 0x80008000 - 0x8003a000   ( 200 kB)
  .text : 0x8003a000 - 0x806d20b0   (6753 kB)
  .data : 0x806d4000 - 0x8072b5c0   ( 350 kB)
   .bss : 0x8072b5e4 - 0x8076f924   ( 273 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:624
MXC GPIO hardware
sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655ms
arm_max_freq=1GHz
MXC_Early serial console at MMIO 0x21e8000 (options '115200')
bootconsole [ttymxc1] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 1581.05 BogoMIPS (lpj=7905280)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
CPU1: Booted secondary processor
CPU2: Booted secondary processor
CPU3: Booted secondary processor
Brought up 4 CPUs
SMP: Total of 4 processors activated (6324.22 BogoMIPS).
devtmpfs: initialized
print_constraints: dummy:
NET: Registered protocol family 16
print_constraints: vddpu: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddcore: 725 <--> 1300 mV at 1150 mV fast normal
print_constraints: vddsoc: 725 <--> 1300 mV at 1200 mV fast normal
print_constraints: vdd2p5: 2000 <--> 2775 mV at 2400 mV fast normal
print_constraints: vdd1p1: 800 <--> 1400 mV at 1100 mV fast normal
print_constraints: vdd3p0: 2625 <--> 3400 mV at 3000 mV fast normal
 Board type Nitrogen6X/W
imx_add_mxc_pwm:pdata=  (null)
imx_add_mxc_pwm:pdata=  (null)
imx_add_mxc_pwm:pdata=806f71d8
imx_add_mxc_pwm:pdata=  (null)
Flexcan NXP tja1040
hw-breakpoint: found 6 breakpoint and 1 watchpoint registers.
hw-breakpoint: 1 breakpoint(s) reserved for watchpoint single-step.
hw-breakpoint: maximum watchpoint size is 4 bytes.
L310 cache controller enabled
l2x0: 16 ways, CACHE_ID 0x41c7, AUX_CTRL 0x0207, Cache size:
1048576 B
bio: create slab  at 0
print_constraints: VDDA: 2500 mV
print_constraints: VDDIO: 3300 mV
machine_constraints_voltage: VDDD: unsupportable voltage constraints
reg-fixed-voltage reg-fixed-voltage.2: Failed to register regulator: -22
reg-fixed-voltage: probe of reg-fixed-voltage.2 failed with error -22
print_constraints: vmmc: 3300 mV
print_constraints: VDD_1.8V: 1800 mV
vgaarb: loaded
SCSI subsystem initialized
spi_imx imx6q-ecspi.0: probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Freescale USB OTG Driver loaded, $Revision: 1.55 $
imx-ipuv3 imx-ipuv3.0: IPU DMFC ONLY-DP HIGH RESOLUTION: 5B(0~3), 5F(4~7)
imx-ipuv3 imx-ipuv3.1: IPU DMFC ONLY-DP HIGH RESOLUTION: 5B(0~3), 5F(4~7)
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 driver probed
mxc_mipi_csi2 mxc_mipi_csi2: i.MX MIPI CSI2 dphy version is 0x3130

Re: [meta-freescale] Build image for Nitrogen board fails -dylen branch-

2013-08-19 Thread Tarek El-Sherbiny
Hi Otavio,

How do I disable building u-boot ? I want to remove it from the
 fsl-image-fb image.


On Mon, Aug 19, 2013 at 1:10 PM, Otavio Salvador wrote:

> On Mon, Aug 19, 2013 at 5:00 AM, Tarek El-Sherbiny
>  wrote:
> > Hi,
> >
> > I'm trying the latest release for Nitrogen board and I want to build this
> > image:
> > $ bitbake fsl-image-fb
> ...
> > | DEBUG: Executing shell function do_compile
> > | NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi-
> > CC=arm-poky-linux-gnueabi-gcc
> >
> --sysroot=/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/build-fb/tmp/sysroots/nitrogen6x
> > nitrogen6X_config
> > | make: *** No rule to make target `nitrogen6X_config'.  Stop.
> > | make: *** [nitrogen6X_config] Error 1
> > | ERROR: oe_runmake failed
> > | ERROR: Function failed: do_compile (see
> ...
>
> You are using u-boot-imx; use u-boot-boundary.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Build image for Nitrogen board fails -dylen branch-

2013-08-19 Thread Tarek El-Sherbiny
Hi,

I'm trying the latest release for Nitrogen board and I want to build this
image:
$ bitbake fsl-image-fb

The build is failing in u-boot
 bitbake fsl-image-fb
Parsing recipes: 100%
|#|
Time: 00:00:26
Parsing of 1303 .bb files complete (0 cached, 1303 parsed). 1671 targets,
138 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= "1.18.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS= "arm-poky-linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.4.1"
TUNE_FEATURES = "armv7a vfp neon"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):e4a0a4c5e419154a34710a1b6c28d4180c6304c3"
meta-oe   = "(nobranch):13ae5105ee30410136beeae66ec41ee4a8a2e2b0"
meta-fsl-arm  = "(nobranch):d31a4e85673874dbc6b42bb5d1e8496810c574cc"
meta-fsl-arm-extra = "(nobranch):5f5a9cfcad223f5a1c623346780510ffcdc012ab"
meta-fsl-demos= "(nobranch):724cfb929748f47782dea3b1dc412b028f6f3515"
meta-fsl-arm
meta-fsl-demos= "(nobranch):7c9369b7a80276c438439f1a79b86e32721630b0"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
ERROR: Function failed: do_compile (see
/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/build-fb/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-imx/2013-04-5/temp/log.do_compile.14752
for further information)
ERROR: Logfile of failure stored in:
/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/build-fb/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-imx/2013-04-5/temp/log.do_compile.14752
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4 CROSS_COMPILE=arm-poky-linux-gnueabi-
CC=arm-poky-linux-gnueabi-gcc
 
--sysroot=/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/build-fb/tmp/sysroots/nitrogen6x
nitrogen6X_config
| make: *** No rule to make target `nitrogen6X_config'.  Stop.
| make: *** [nitrogen6X_config] Error 1
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see
/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/build-fb/tmp/work/nitrogen6x-poky-linux-gnueabi/u-boot-imx/2013-04-5/temp/log.do_compile.14752
for further information)
ERROR: Task 74
(/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/
u-boot-imx_2013-04.bb, do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2202 tasks of which 2178 didn't need to be
rerun and 1 failed.
Waiting for 0 running tasks to finish:

Summary: 1 task failed:

/media/extradisk-1/data/extend_homes/telsherbiny/work/oe_fsl_t4/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-bsp/u-boot/
u-boot-imx_2013-04.bb, do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.


Did anyone face a similar problem?

Thanks
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] (no subject)

2013-03-06 Thread Tarek El-Sherbiny
http://www.microsoft-careers.com/key/motion-capture-job.html
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6Q VPU firmware missing "MACHINE=Nitrogen6X"

2013-01-23 Thread Tarek El-Sherbiny
Hi,

The VPU firmware is not installed for Nitrogen6X board

Image.bb:

include recipes-core/images/core-image-minimal.bb

IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"


SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# mesa-demos is currently broken when building with other GL library
# so we avoid it by now and tools-testapps includes it.
SOC_EXTRA_IMAGE_FEATURES_mx6 = ""


# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES} \
tools-debug \
tools-profile \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
${SOC_IMAGE_INSTALL} \
cpufrequtils \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
qt4-plugin-phonon-backend-gstreamer \
fsl-gui-extrafiles \
"

# Adh Console applications
IMAGE_INSTALL += " \
rpm \
dropbear \
gst-plugins-base-app \
gst-plugins-base-app-dev \
"


export IMAGE_BASENAME = "adh-image-minimal"

BR,
T
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Latest build is broaken i.MX6 Nitrogen

2013-01-22 Thread Tarek El-Sherbiny
Hi,

Last night I pulled a fresh build because I was under the impression that
isink problem is resolved.

Sadly  it's not building. I have attached the image file

MACHINE=nigtogen6x

Error:

bitbake adh-image-minimal
Pseudo is not present but is required, building this first before the main
build
Parsing recipes: 100%
||
ETA:  00:00:00
Parsing of 1300 .bb files complete (0 cached, 1300 parsed). 1653 targets,
59 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= "1.16.0"
TARGET_ARCH   = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):47b0864fbd65746558d8186450c182d98bac78ca"
meta-oe   = "(nobranch):d095cf01dabf79b846add708f2ae813c64bec9e1"
meta-fsl-arm  = "(nobranch):63a94e5eb2d4f54b66313fdf8d67b4e440f46bc2"
meta-fsl-arm-extra = "(nobranch):458651889d79b315e465be047e7aca250be48c9c"
meta-fsl-demos= "(nobranch):2f23526b29e30aa64fa0b1ccdf005eff778d4447"
meta-adh-console  = "master:b3d19c5f9846af7cd73cd03f07e3d3b58add1169"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 56 tasks of which 0 didn't need to be rerun
and all succeeded.
Loading cache: 100%
|##|
ETA:  00:00:00
Loaded 1647 entries from dependency cache.
Parsing recipes: 100%
||
Time: 00:00:00
Parsing of 1300 .bb files complete (1293 cached, 7 parsed). 1653 targets,
59 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= "1.16.0"
TARGET_ARCH   = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):47b0864fbd65746558d8186450c182d98bac78ca"
meta-oe   = "(nobranch):d095cf01dabf79b846add708f2ae813c64bec9e1"
meta-fsl-arm  = "(nobranch):63a94e5eb2d4f54b66313fdf8d67b4e440f46bc2"
meta-fsl-arm-extra = "(nobranch):458651889d79b315e465be047e7aca250be48c9c"
meta-fsl-demos= "(nobranch):2f23526b29e30aa64fa0b1ccdf005eff778d4447"
meta-adh-console  = "master:b3d19c5f9846af7cd73cd03f07e3d3b58add1169"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 63 tasks of which 42 didn't need to be rerun
and all succeeded.
Loading cache: 100%
|##|
ETA:  00:00:00
Loaded 1647 entries from dependency cache.
Parsing recipes: 100%
||
Time: 00:00:00
Parsing of 1300 .bb files complete (1293 cached, 7 parsed). 1653 targets,
59 skipped, 0 masked, 0 errors.

Build Configuration:
BB_VERSION= "1.16.0"
TARGET_ARCH   = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE   = "nitrogen6x"
DISTRO= "poky"
DISTRO_VERSION= "1.3"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU= "vfp-neon"
meta
meta-yocto= "(nobranch):47b0864fbd65746558d8186450c182d98bac78ca"
meta-oe   = "(nobranch):d095cf01dabf79b846add708f2ae813c64bec9e1"
meta-fsl-arm  = "(nobranch):63a94e5eb2d4f54b66313fdf8d67b4e440f46bc2"
meta-fsl-arm-extra = "(nobranch):458651889d79b315e465be047e7aca250be48c9c"
meta-fsl-demos= "(nobranch):2f23526b29e30aa64fa0b1ccdf005eff778d4447"
meta-adh-console  = "master:b3d19c5f9846af7cd73cd03f07e3d3b58add1169"

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native,
libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: Failed to fetch URL
http://www.apache.org/dist/subversion/subversion-1.7.6.tar.bz2, attempting
MIRRORS if available
WARNING: Failed to fetch URL
ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if
available
WARNING: Failed to fetch URL
http://downloads.sourceforge.net/project/libpng/libpng12/1.2.49/libpng-1.2.49.tar.bz2,
attempting MIRRORS if available
ERROR: Command Error: exit status: 1  Output:
Applying patch sync-boundary-changes.patch
patching file arch/arm/configs/nitrogen6x_defconfig
patching file arch/arm/mach-mx6/K

Re: [meta-freescale] i.MX6 enable DirectFB GPU acceleration

2013-01-14 Thread Tarek El-Sherbiny
Hi Andrei,

Can you please clarify what should work?

Is it libdirectfb_gal.so with DirectFB 1.6 OR
DirectFB 1.4 with OE danny?

Thanks
Tarek


On Mon, Jan 14, 2013 at 12:24 PM, Andrei Gherzan  wrote:

> It should work. I did that once ago. If need support don't hesitate to
> mail.
>
>
>
> *Andrei Gherzan*
> mobile +40.744.478.414  fax +40.31.816.28.12
> Email: and...@gherzan.ro
> Email: andrei.gher...@windriver.com
> Romania
>
>
> On Mon, Jan 14, 2013 at 2:06 PM, Tarek El-Sherbiny <
> tarek.elsherb...@gmail.com> wrote:
>
>> I've tried to integrate directfb_1.4.0.bb recipe in the past but I had
>> lot's of dependency issues. I will try again with the latest build I've got
>> and see how it goes.
>>
>>
>> T
>>
>>
>> On Mon, Jan 14, 2013 at 12:00 PM, Otavio Salvador <
>> ota...@ossystems.com.br> wrote:
>>
>>> On Mon, Jan 14, 2013 at 7:07 AM, Tarek El-Sherbiny
>>>  wrote:
>>> > Hello,
>>> >
>>> > The pgu-viv-bin package provides libdirectfb_gal.so under
>>> > /directfb-1.4-0/gfxdrivers.  However OE/Yocto comes with dierctfb
>>> version
>>> > 1.6.
>>> >
>>> > Does the same library works for v1.6?
>>> >
>>> > if not can we rollback Directfb version to 1.4?
>>>
>>> I doubt it will work with 1.6. It seems 1.4 will need to be packaged
>>> and maintained in the BSP.
>>>
>>> Can you work on this?
>>>
>>> --
>>> Otavio Salvador O.S. Systems
>>> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
>>> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>>>
>>
>>
>> ___
>> meta-freescale mailing list
>> meta-freescale@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-freescale
>>
>>
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 enable DirectFB GPU acceleration

2013-01-14 Thread Tarek El-Sherbiny
I've tried to integrate directfb_1.4.0.bb recipe in the past but I had
lot's of dependency issues. I will try again with the latest build I've got
and see how it goes.


T


On Mon, Jan 14, 2013 at 12:00 PM, Otavio Salvador
wrote:

> On Mon, Jan 14, 2013 at 7:07 AM, Tarek El-Sherbiny
>  wrote:
> > Hello,
> >
> > The pgu-viv-bin package provides libdirectfb_gal.so under
> > /directfb-1.4-0/gfxdrivers.  However OE/Yocto comes with dierctfb version
> > 1.6.
> >
> > Does the same library works for v1.6?
> >
> > if not can we rollback Directfb version to 1.4?
>
> I doubt it will work with 1.6. It seems 1.4 will need to be packaged
> and maintained in the BSP.
>
> Can you work on this?
>
> --
> Otavio Salvador O.S. Systems
> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6 enable DirectFB GPU acceleration

2013-01-14 Thread Tarek El-Sherbiny
Hello,

The pgu-viv-bin package provides libdirectfb_gal.so under
/directfb-1.4-0/gfxdrivers.  However OE/Yocto comes with dierctfb version
1.6.

Does the same library works for v1.6?

if not can we rollback Directfb version to 1.4?

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] libgalUtil.so is missing

2013-01-09 Thread Tarek El-Sherbiny
Hi Otavio,

The gpu-viv package is installed.

I needed to modify the LD_LIBRARY_PATH to point to the unit test directort:

#LD_LIBRARY_PATH=/opt/viv_samples/hal/unit_test/
/opt/viv_samples/hal/unit_test/galRunTest2
The parameters are too less!!!Usage: galRunTest2 gltTestCase.dll [-option
value] [...]
options:
s enable/disable. Enable/disable target saving.
c The config file.

Freescale should provide more information on how to use this app. I request
more info from freescale.

Thanks,
Tarek



On Wed, Jan 9, 2013 at 3:10 PM, Otavio Salvador wrote:

> On Tue, Jan 8, 2013 at 4:03 PM, Tarek El-Sherbiny
>  wrote:
> > Hello,
> >
> > I need to use the GPU for scaling, playing and overlaying multiple video
> > streams. I will be implementing something similar to the galRunTest2
>  unit
> > testing application.
> > I stared by running the test to make sure I've got all the required
> packages
> > but I've got the flowing error message:
> >
> > # /opt/viv_samples/hal/unit_test/galRunTest2
> > /opt/viv_samples/hal/unit_test/galRunTest2: error while loading shared
> > libraries: libgalUtil.so: cannot open shared object file: No such file or
> > directory
> >
> > What is the package that provides this library?
>
> Have you install gpg-viv-bin-mx6q package? This ought to bring all
> dependencies by itself.
>
> --
> Otavio Salvador O.S. Systems
> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] libgalUtil.so is missing

2013-01-08 Thread Tarek El-Sherbiny
Hello,

I need to use the GPU for scaling, playing and overlaying multiple video
streams. I will be implementing something similar to the galRunTest2  unit
testing application.
I stared by running the test to make sure I've got all the required
packages but I've got the flowing error message:

# /opt/viv_samples/hal/unit_test/galRunTest2
/opt/viv_samples/hal/unit_test/galRunTest2: error while loading shared
libraries: libgalUtil.so: cannot open shared object file: No such file or
directory

What is the package that provides this library?

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6: How to add OpenGL to the image?

2012-12-18 Thread Tarek El-Sherbiny
Hi,

I would like to add the accelerated OpenGL package and all it's
dependencies to my image.

bitbake opengl > no provider

Is it a FEATURE, a Group or something else?

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-18 Thread Tarek El-Sherbiny
Filed one:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3617


On Mon, Dec 17, 2012 at 6:33 PM, Daiane Angolini wrote:

> On Mon, Dec 17, 2012 at 3:59 PM, Tarek El-Sherbiny
>  wrote:
> > Hi Daiane,
> >
> > Yes, This change improved things.
> >
> > I can play video but only once!  the second time I run the same command I
> > get this error:
> >
> > [INFO] bitstreamMode 1, chromaInterleave 1, mapType 0,
> tiled2LinearEnable 0
> > hwbuf allocator zone(356352) created
> > can not create threadmfw_gst_isink_setcaps:1489
> > Pipeline is PREROLLED ...
> > Setting pipeline to PLAYING ...
> > VS0 created. in fmt[NV12] win(0,0-640,360:640x360) out
> > win(0,0-512,384:512x384)
> > New clock: GstAudioSinkClock
> > vss/mfw_gst_vss_common.c:701 ioctl error, return -1
> > vss/mfw_gst_vss_common.c:726 ioctl error, return -1
> > set deinterlace mode 0
> > Can not open dll, libgstfsl-0.10.so: cannot open shared object file: No
> such
> > file or directory.
> > Caught SIGSEGV accessing address (nil)
> > #0  0x4e2979a4 in ?? ()
> > #1  0x4e297994 in ?? ()
> > #2  0x4e297994 in ?? ()
> > Spinning.  Please run 'gdb gst-launch 1856' to continue debugging,
> Ctrl-C to
> > quit, or Ctrl-\ to dump core.
> >
> > Do you have any suggestions to solve this problem?
>
> Yes, please submit a bug here:
> https://bugzilla.yoctoproject.org/enter_bug.cgi?product=BSPs
>
>
> It´s a .so missing.
>
> I tried to reproduce the same on LTIB rootfs and I was not able to
> reproduce.
>
>
> Let´s work to fix that ;-)
> (And thanks for discovering that)
>
> Daiane
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-17 Thread Tarek El-Sherbiny
Hi Daiane,

Yes, This change improved things.

I can play video but only once!  the second time I run the same command I
get this error:

[INFO] bitstreamMode 1, chromaInterleave 1, mapType 0, tiled2LinearEnable 0
hwbuf allocator zone(356352) created
can not create threadmfw_gst_isink_setcaps:1489
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
VS0 created. in fmt[NV12] win(0,0-640,360:640x360) out
win(0,0-512,384:512x384)
New clock: GstAudioSinkClock
vss/mfw_gst_vss_common.c:701 ioctl error, return -1
vss/mfw_gst_vss_common.c:726 ioctl error, return -1
set deinterlace mode 0
Can not open dll, libgstfsl-0.10.so: cannot open shared object file: No
such file or directory.
Caught SIGSEGV accessing address (nil)
#0  0x4e2979a4 in ?? ()
#1  0x4e297994 in ?? ()
#2  0x4e297994 in ?? ()
Spinning.  Please run 'gdb gst-launch 1856' to continue debugging, Ctrl-C
to quit, or Ctrl-\ to dump core.

Do you have any suggestions to solve this problem?

Thanks,
Tarek



On Mon, Dec 17, 2012 at 5:00 PM, Daiane Angolini <
daiane.angol...@freescale.com> wrote:

> On 12/17/2012 02:40 PM, Tarek El-Sherbiny wrote:
>
>> I get the same behaviour I can't see the output.
>>
>> Here is my vssconfig. I'm using HDMI TV for display
>>
>> root@nitrogen6x:~# cat /usr/share/vssconfig
>> # vss device definition
>> # Master=DVI, Slave=TV
>> # please add "video=video=mxcdi1fb:YUV444,**720P60
>> video=mxcdi0fb:RGB24,**1024x768M-16@60" to kernel startup command line
>>
>> # master display
>> [master]
>> type = framebuffer
>> format = RGBP
>>
>
> Change:
>
>  fb_num = 0
>
> It still "blended" but it plays and shows the movie
>
>
> Daiane
>
>  main_fb_num = 0
>>
>
>
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-17 Thread Tarek El-Sherbiny
I get the same behaviour I can't see the output.

Here is my vssconfig. I'm using HDMI TV for display

root@nitrogen6x:~# cat /usr/share/vssconfig
# vss device definition
# Master=DVI, Slave=TV
# please add "video=video=mxcdi1fb:YUV444,720P60
video=mxcdi0fb:RGB24,1024x768M-16@60" to kernel startup command line

# master display
[master]
type = framebuffer
format = RGBP
fb_num = 1
main_fb_num = 0




On Mon, Dec 17, 2012 at 4:19 PM, Daiane Angolini wrote:

> On Mon, Dec 17, 2012 at 2:01 PM, Daiane Angolini 
> wrote:
> > On Mon, Dec 17, 2012 at 1:42 PM, Tarek El-Sherbiny
> >  wrote:
> >> Same problem
> >> root@nitrogen6x:~# DISPLAY=:0 /unit_tests/mxc_epdc_x11_fb_test.out
> >>
> >> Error: unable to open X display
> >>
> >> Does work for you Daiane?
> > I haven´t tried.
> >
> > I´m booting my board and I will test everything, but For X11 you
> > always need to tell which display you´re using (when starting anything
> > from console).
>
> mfw_isink plays the movie, but I cannot see it (what is your behavior?
> Do you get any error?)
>
> And, for isink you need to take care of vssconfig file and kernel
> command line. It does not work "out of box" as v4lsink does.
>
> See at /usr/share/vssconfig*
>
> I´m not familiar with isink behavior for imx6 yet, but for imx53, if
> you don´t configure it properly, it won´t work.
>
>
> Daiane
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-17 Thread Tarek El-Sherbiny
Same problem
root@nitrogen6x:~# DISPLAY=:0 /unit_tests/mxc_epdc_x11_fb_test.out

Error: unable to open X display

Does work for you Daiane?


On Mon, Dec 17, 2012 at 3:36 PM, Daiane Angolini <
daiane.angol...@freescale.com> wrote:

> On 12/17/2012 01:31 PM, Tarek El-Sherbiny wrote:
>
>> Hi Eric,
>>
>> I think it's not the mfw_isink but X11 itself.
>>
>> I have confirmed that by running the unit test:
>>
>
> Try
>
> DISPLAY=:0 /unit_tests/mxc_epdc_x11_fb_**test.out
>
> Daiane
>
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-17 Thread Tarek El-Sherbiny
Hi Eric,

I think it's not the mfw_isink but X11 itself.

I have confirmed that by running the unit test:
/unit_tests/mxc_epdc_x11_fb_test.out
Error: unable to open X display

Do you get the same error with LTIB?

Thanks,
Tarek

On Mon, Dec 17, 2012 at 3:19 PM, Eric Nelson <
eric.nel...@boundarydevices.com> wrote:

> Hi Tarek,
>
>
> On 12/17/2012 05:32 AM, Tarek El-Sherbiny wrote:
>
>> Hi,
>>
>> I have compiled X11 image based on core-image-x11.bb for the Nitrogen6x
>> MACHINE. This is my image bb file:
>>
>> --**--**-
>> include recipes-graphics/images/core-**image-x11.bb<http://core-image-x11.bb>
>>
> >
>
>> IMAGE_FEATURES += "debug-tweaks"
>> DISTRO_FEATURES += "pulseaudio"
>>
>>
>>  > 
>
>>
>> The gstreamer runs perfectly well with mfw_v4lsink using this command:
>> gst-launch playbin2 uri=
>> file:///home/root/mmfiles/**clipcanvas_14348_offline.mp4<**
>> file:///%5C%5Chome%5Croot%**5Cmmfiles%5Cclipcanvas_14348_**offline.mp4>
>>
>>
>> I need to use mfw_isink to scale and convert the output so I use the
>> following command which doesn't work:
>> gst-launch playbin2 uri=
>> file:///home/root/mmfiles/**clipcanvas_14348_offline.mp4
>> video-sink="mfw_isink
>> axis-top=0 axis-left=0 disp-width=512 disp-height=384"
>>
>> So I disabled the x11 flag for gst-fsl-plugin by
>> creating gst-fsl-plugin_3.0.1.bbappend:
>> PRINC := "${@int(PRINC) + 1}"
>>
>> EXTRA_OECONF += "--enable-x11=no --disable-x11"
>>
>> Now the mfw_isink is working???
>>
>> Can someone please try the mfw_isink command on his target?
>>
>>
> Thanks for the note. We thought that mfw_isink was completely broken
> on i.MX6.
>
>
>  I would like to know if it is the Nitrogen board or something else that
>> makes gst-fsl-plugin not compatible with X11.
>>
>>
> There is absolutely no difference in this area (IPU) between the
> SABRE Lite board and Nitrogen6X. I suspect that those with SABRE SD
> boards can also confirm that mfw_isink fails in the same way with the
> default compilation.
>
> We noticed it in LTIB builds.
>
> Regards,
>
>
> Eric
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] i.MX6 mfw_isink is not working with X11 "Nitrogen"

2012-12-17 Thread Tarek El-Sherbiny
Hi,

I have compiled X11 image based on core-image-x11.bb for the Nitrogen6x
MACHINE. This is my image bb file:

-
include recipes-graphics/images/core-image-x11.bb


IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"


SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# mesa-demos is currently broken when building with other GL library
# so we avoid it by now and tools-testapps includes it.
SOC_EXTRA_IMAGE_FEATURES_mx6 = ""


# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES} \
tools-debug \
tools-profile \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
${SOC_IMAGE_INSTALL} \
cpufrequtils \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
qt4-plugin-phonon-backend-gstreamer \
fsl-gui-extrafiles \
"

# Adh Console applications
IMAGE_INSTALL += " \
dropbear \
"


export IMAGE_BASENAME = "adh-image-x11"
-

The gstreamer runs perfectly well with mfw_v4lsink using this command:
gst-launch playbin2 uri=
file:///home/root/mmfiles/clipcanvas_14348_offline.mp4

I need to use mfw_isink to scale and convert the output so I use the
following command which doesn't work:
gst-launch playbin2 uri=
file:///home/root/mmfiles/clipcanvas_14348_offline.mp4video-sink="mfw_isink
axis-top=0 axis-left=0 disp-width=512 disp-height=384"

So I disabled the x11 flag for gst-fsl-plugin by
creating gst-fsl-plugin_3.0.1.bbappend:
PRINC := "${@int(PRINC) + 1}"

EXTRA_OECONF += "--enable-x11=no --disable-x11"


Now the mfw_isink is working???

Can someone please try the mfw_isink command on his target?

I would like to know if it is the Nitrogen board or something else that
makes gst-fsl-plugin not compatible with X11.

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
yes I'm using fsl-community-bsp
git describe = 1.3 , I think it's danny

If so I'm sure why I can't include X ! :(

On Thu, Dec 13, 2012 at 2:25 PM, Otavio Salvador wrote:

> git describe
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
My poky is master :(

Can I just update it to danny or do I need a fresh repo init   -b danny
?


On Thu, Dec 13, 2012 at 2:05 PM, Otavio Salvador wrote:

> On Thu, Dec 13, 2012 at 11:57 AM, Tarek El-Sherbiny
>  wrote:
> > Hi Otavio,
> >
> > I've created the following adh-image-x11.bb:
> >
> > --
> > include recipes-graphics/images/core-image-x11.bb
> >
> > IMAGE_FEATURES += "debug-tweaks"
> > DISTRO_FEATURES += "pulseaudio"
> >
> >
> > SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
> > # mesa-demos is currently broken when building with other GL library
> > # so we avoid it by now and tools-testapps includes it.
> > SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
> >
> >
> > # Add extra image features
> > EXTRA_IMAGE_FEATURES += " \
> > ${SOC_EXTRA_IMAGE_FEATURES} \
> > tools-debug \
> > tools-profile \
> > "
> >
> > SOC_IMAGE_INSTALL = ""
> >
> > IMAGE_INSTALL += " \
> > ${SOC_IMAGE_INSTALL} \
> > cpufrequtils \
> > packagegroup-fsl-gstreamer \
> > packagegroup-fsl-tools-testapps \
> > packagegroup-fsl-tools-benchmark \
> > qt4-plugin-phonon-backend-gstreamer \
> > fsl-gui-extrafiles \
> > "
> >
> >
> > export IMAGE_BASENAME = "adh-image-x11"
> > --
> >
> > But I'm getting the following error:
> >
> >
> >
> root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> > -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
> > -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
> > -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
> > -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> > -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> > -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
> > -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
> > -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> > -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> > -Werror=array-bounds -Werror=write-strings -Werror=address
> > -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing
> > -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
> > -I../include -I../include -I../Xext -I../composite -I../damageext
> > -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
> > -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> >
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
> > -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
> > indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
> > | In file included from ../include/dixstruct.h:28:0,
> > |  from glxserver.h:42,
> > |  from indirect_dispatch.c:35:
> > | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> > [-Wredundant-decls]
> > | In file included from ../include/dixstruct.h:28:0,
> > |  from glxserver.h:42,
> > |  from indirect_dispatch_swap.c:35:
> > | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> > [-Wredundant-decls]
> > | In file included from indirect_dispatch.c:40:0:
> > | glapitable.h:458:92: error: unknown type name 'GLchar'
> > | glapitable.h:460:90: error: unknown type name 'GLchar'
> > | In file included from indirect_dispatch_swap.c:40:0:
> > | glapitable.h:458:92: error: unknown type name 'GLchar'
> > | glapitable.h:460:90: error: unknown type name 'GLchar'
> > | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> > | glapitable.h:544:55: error: unknown type name
> > 'GLintptrARB'glapitable.h:543:52: error: unknown type name
> 'GLsizeiptrARB'
> > | glapitable.h:544:55: error: unknown type name 'GLintptrARB'
> > | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'
> >
> >
> > What should I do to fix this?
>
> Your poky version is 'danny' or master? Use danny.
>
> --
> Otavio Salvador O.S. Systems
> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
The error is from:

ERROR: Task 3792
(/data/extend_homes/telsherbiny/work/fsl-community-bsp/sources/poky/meta/recipes-graphics/xorg-xserver/
xserver-xorg_1.11.2.bb, do_compile)


On Thu, Dec 13, 2012 at 1:57 PM, Tarek El-Sherbiny <
tarek.elsherb...@gmail.com> wrote:

> Hi Otavio,
>
> I've created the following adh-image-x11.bb:
>
> --
> include recipes-graphics/images/core-image-x11.bb
>
> IMAGE_FEATURES += "debug-tweaks"
> DISTRO_FEATURES += "pulseaudio"
>
>
> SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
> # mesa-demos is currently broken when building with other GL library
> # so we avoid it by now and tools-testapps includes it.
> SOC_EXTRA_IMAGE_FEATURES_mx6 = ""
>
>
> # Add extra image features
> EXTRA_IMAGE_FEATURES += " \
> ${SOC_EXTRA_IMAGE_FEATURES} \
> tools-debug \
> tools-profile \
> "
>
> SOC_IMAGE_INSTALL = ""
>
> IMAGE_INSTALL += " \
> ${SOC_IMAGE_INSTALL} \
> cpufrequtils \
> packagegroup-fsl-gstreamer \
> packagegroup-fsl-tools-testapps \
> packagegroup-fsl-tools-benchmark \
> qt4-plugin-phonon-backend-gstreamer \
> fsl-gui-extrafiles \
> "
>
>
> export IMAGE_BASENAME = "adh-image-x11"
> --
>
> But I'm getting the following error:
>
>
> root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
> -std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
> -I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
> -I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
> -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
> -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
> -Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
> -Wmissing-format-attribute -Wredundant-decls -Werror=implicit
> -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
> -Werror=sequence-point -Werror=return-type -Werror=trigraphs
> -Werror=array-bounds -Werror=write-strings -Werror=address
> -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
> -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
> -I../include -I../include -I../Xext -I../composite -I../damageext
> -I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
> -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
> -I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
> -DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
> indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
> | In file included from ../include/dixstruct.h:28:0,
> |  from glxserver.h:42,
> |  from indirect_dispatch.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from ../include/dixstruct.h:28:0,
> |  from glxserver.h:42,
> |  from indirect_dispatch_swap.c:35:
> | ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
> [-Wredundant-decls]
> | In file included from indirect_dispatch.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | In file included from indirect_dispatch_swap.c:40:0:
> | glapitable.h:458:92: error: unknown type name 'GLchar'
> | glapitable.h:460:90: error: unknown type name 'GLchar'
> | glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name
> 'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
> | glapitable.h:544:55: error: unknown type name 'GLintptrARB'
> | glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'
>
>
> What should I do to fix this?
>
> Thanks
> Tarek
>
>
> On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador  > wrote:
>
>> On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny
>>  wrote:
>> > What is the simplest image that contains X to start with?
>>
>> core-image-x11
>>
>> --
>> Otavio Salvador O.S. Systems
>> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
>> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>>
>
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
Hi Otavio,

I've created the following adh-image-x11.bb:

--
include recipes-graphics/images/core-image-x11.bb

IMAGE_FEATURES += "debug-tweaks"
DISTRO_FEATURES += "pulseaudio"


SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps"
# mesa-demos is currently broken when building with other GL library
# so we avoid it by now and tools-testapps includes it.
SOC_EXTRA_IMAGE_FEATURES_mx6 = ""


# Add extra image features
EXTRA_IMAGE_FEATURES += " \
${SOC_EXTRA_IMAGE_FEATURES} \
tools-debug \
tools-profile \
"

SOC_IMAGE_INSTALL = ""

IMAGE_INSTALL += " \
${SOC_IMAGE_INSTALL} \
cpufrequtils \
packagegroup-fsl-gstreamer \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
qt4-plugin-phonon-backend-gstreamer \
fsl-gui-extrafiles \
"


export IMAGE_BASENAME = "adh-image-x11"
--

But I'm getting the following error:


root=/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite
-std=gnu99 -DHAVE_CONFIG_H -I. -I../include -I../hw/xfree86/os-support
-I../hw/xfree86/os-support/bus -I../hw/xfree86/common -I../hw/xfree86/dri
-I../mi -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wmissing-declarations
-Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs
-Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement
-Wunused -Wuninitialized -Wshadow -Wcast-qual -Wmissing-noreturn
-Wmissing-format-attribute -Wredundant-decls -Werror=implicit
-Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces
-Werror=sequence-point -Werror=return-type -Werror=trigraphs
-Werror=array-bounds -Werror=write-strings -Werror=address
-Werror=int-to-pointer-cast -Werror=pointer-to-int-cast
-fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/pixman-1
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/freetype2
-I../include -I../include -I../Xext -I../composite -I../damageext
-I../xfixes -I../Xi -I../mi -I../miext/sync -I../miext/shadow
-I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/libdrm
-I/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/sysroots/imx6qsabrelite/usr/include/X11/dri
-DGLX_USE_TLS -DPTHREADS -O2 -pipe -g -feliminate-unused-debug-types -c
indirect_dispatch.c  -fPIC -DPIC -o .libs/indirect_dispatch.o
| In file included from ../include/dixstruct.h:28:0,
|  from glxserver.h:42,
|  from indirect_dispatch.c:35:
| ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
[-Wredundant-decls]
| In file included from ../include/dixstruct.h:28:0,
|  from glxserver.h:42,
|  from indirect_dispatch_swap.c:35:
| ../include/dix.h:532:22: warning: redundant redeclaration of 'ffs'
[-Wredundant-decls]
| In file included from indirect_dispatch.c:40:0:
| glapitable.h:458:92: error: unknown type name 'GLchar'
| glapitable.h:460:90: error: unknown type name 'GLchar'
| In file included from indirect_dispatch_swap.c:40:0:
| glapitable.h:458:92: error: unknown type name 'GLchar'
| glapitable.h:460:90: error: unknown type name 'GLchar'
| glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
| glapitable.h:544:55: error: unknown type name
'GLintptrARB'glapitable.h:543:52: error: unknown type name 'GLsizeiptrARB'
| glapitable.h:544:55: error: unknown type name 'GLintptrARB'
| glapitable.h:544:75: error: unknown type name 'GLsizeiptrARB'


What should I do to fix this?

Thanks
Tarek


On Thu, Dec 13, 2012 at 12:59 PM, Otavio Salvador
wrote:

> On Thu, Dec 13, 2012 at 10:50 AM, Tarek El-Sherbiny
>  wrote:
> > What is the simplest image that contains X to start with?
>
> core-image-x11
>
> --
> Otavio Salvador O.S. Systems
> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
What is the simplest image that contains X to start with?

Thanks,
Tarek


On Thu, Dec 13, 2012 at 11:47 AM, Otavio Salvador
wrote:

> On Thu, Dec 13, 2012 at 9:40 AM, Tarek El-Sherbiny
>  wrote:
> > What is the easiest way to add X11 into my local image?
>
> It depends how your image is being done. If you are using it base in
> core-image, you can use IMAGE_FEATURES (X11 or x11-base) otherwise you
> can add packagegroup-core-x11 or packagegroup-core-x11-base.
>
> --
> Otavio Salvador O.S. Systems
> E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
> Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
>
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] iMX6: How to Include X11 into my image

2012-12-13 Thread Tarek El-Sherbiny
Hi All,

What is the easiest way to add X11 into my local image?

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] How to include libfslcodec pkg in my image?

2012-12-06 Thread Tarek El-Sherbiny
Hi All,

I have pulled the latest git://git.yoctoproject.org/meta-fsl-arm into my -b
master build just today.

In my local image I added to IMAGE_INSTALL += "libfslcodec" but I'm getting
this error:

| Processing lighttpd-module-fastcgi...
| Processing perl-module-strict...
| Processing gst-fsl-plugin...
| Processing perl-module-file-glob...
| Processing libfslvpuwrap3...
| Processing libsysvar...
| Processing gstreamer...
| Processing libfslcodec...
| Processing perl-module-exporter-heavy...
| Processing libsdl-image-1.2-0...
| Unable to resolve package libfslcodec
| ERROR: some packages were missing
| ERROR: Function failed: do_rootfs (see
/data/extend_homes/telsherbiny/work/fsl-community-bsp/build/tmp/work/imx6qsabrelite-poky-linux-gnueabi/imx6-accelerated-image-1.0-r0/temp/log.do_rootfs.16851
for further information)
ERROR: Task 7
(/data/extend_homes/telsherbiny/work/fsl-community-bsp/sources/meta-adh-console/recipes-core/images/
imx6-accelerated-image.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3804 tasks of which 3802 didn't need to be
rerun and 1 failed.
No currently running tasks (3803 of 3805)

Summary: 1 task failed:

/data/extend_homes/telsherbiny/work/fsl-community-bsp/sources/meta-adh-console/recipes-core/images/
imx6-accelerated-image.bb, do_rootfs
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

It is not complaining about libfslvpuwrap or libfslparser which is strange!!

I'm trying to use the gstreamer vpu plugin but it's not working so when I
checked the installed libraries I didn't find the codecs which I think is
causing the problem.

How can I fix this problem?

Thanks,
Tarek
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale