[yocto] adding drivers to rpi-basic-image

2014-12-15 Thread abhishek srivastava
Hi allI have generated image for raspberrypi basic image rpi-basic-image using 
"hob"
Now How can i add my TFT drivers or any other driver to the rpi-basic-image? I 
am also willing to know some more details on package importance in building 
raspberrypi image such that what those packages would do, if I add them to my 
image or how it helps?
Actually I am into making a customized LINUX just for my target requirement so 
I want to be very specific on packages I am adding and why? Please guide me.
 warm regards
Abhishek 
 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] basic questions on LINUX costomization for raspberrypi

2014-12-18 Thread abhishek srivastava
Hi allPlease answer to these questions regarding LINUX kernel image build using 
yocto project:
1) What basic LINUX packages needed for raspberrypi ? any list for reference ? 
2) What if I want to add any package after my image is build ? Do i need to 
repeat the complete process again? 
3) How can i add any driver (ex: TFT driver) to the build kernel image? 
4) How to add any desired applications to packages?
Thank you for your help
regards
 Abhishek
 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] addiding external driver to minimal image

2014-12-21 Thread abhishek srivastava
Hi
How to add external driver (ex:TFT driver) to core-minimal-image. 
After building core -minimal-image, in case I need to add additional package to 
existing image, do i need to modify in .conf file and REBUILD IT..every 
time ?

please clarify !

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


[yocto] remove package from sdimg

2015-03-31 Thread abhishek srivastava
hi
i have created core-image-sato sdimg for my project on raspberrypi.
actually, i want to run few applications that need python. i want to remove
unnecessary packages that were required for smooth compilation of those
applications since I downloaded entire python and gcc packages which had
heavily increased size of my sdimg size.

how can i find which applications requires what packages for its normal
functionality so that i can further tweak my sdimg or keep exactly those
libraries that are needed for my application and remove rest.
please help

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


[yocto] error on gtk-sato-engine

2015-04-07 Thread abhishek srivastava
Hi
Please help me to find solution of this error in yocto-dizzy for
raspberrypi

Log data follows:
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common',
'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function do_compile
| NOTE: make -j 4
| make  all-am
| make[1]: Entering directory
`/home/abhi/yocto_new/build-dizzy/tmp/work/armv6-vfp-poky-linux-gnueabi/gtk-sato-engine/0.3.3+gitAUTOINC+4740ad8d53-r0/build'
| ./arm-poky-linux-gnueabi-libtool  --tag=CC   --mode=link
arm-poky-linux-gnueabi-gcc  -march=armv6 -mthumb-interwork
-mfloat-abi=softfp  -mfpu=vfp
--sysroot=/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi  -O2
-pipe -g -feliminate-unused-debug-types -module -avoid-version
-no-undefined -Werror -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o
libsato-engine.la -rpath /usr/lib/gtk-2.0/2.10.0/engines sato-draw.lo
sato-draw-cairo.lo sato-main.lo sato-style.lo sato-utils.lo -lgtk-x11-2.0
-lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0
-lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype
| make[1]: *** No rule to make target `data/gtkrc', needed by `all-am'.
Stop.
| make[1]: *** Waiting for unfinished jobs
| arm-poky-linux-gnueabi-libtool: link: arm-poky-linux-gnueabi-gcc
-march=armv6 -mthumb-interwork -mfloat-abi=softfp  -mfpu=vfp
--sysroot=/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi
-shared  -fPIC -DPIC  .libs/sato-draw.o .libs/sato-draw-cairo.o
.libs/sato-main.o .libs/sato-style.o .libs/sato-utils.o
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgtk-x11-2.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgdk-x11-2.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libpangocairo-1.0.so -L=/usr/lib
-L/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libharfbuzz.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libatk-1.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libcairo.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libpixman-1.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libxcb-shm.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libxcb-render.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libXrender.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libXext.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libX11.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libxcb.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libXau.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libXdmcp.so
-lrt /home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgdk_pixbuf-2.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libpng16.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgio-2.0.so -lz -lresolv
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libpangoft2-1.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libpango-1.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgmodule-2.0.so -ldl
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgthread-2.0.so -lm
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libgobject-2.0.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libffi.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/
libglib-2.0.so -lpthread
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libfontconfig.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libexpat.so
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/usr/lib/libfreetype.so
-march=armv6 -mthumb-interwork -mfloat-abi=softfp -mfpu=vfp
--sysroot=/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi -O2
-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed   -pthread -Wl,-soname
-Wl,libsato-engine.so -o .libs/libsato-engine.so
| arm-poky-linux-gnueabi-libtool: link: ( cd ".libs" && rm -f "
libsato-engine.la" && ln -s "../libsato-engine.la" "libsato-engine.la" )
| make[1]: Leaving directory
`/home/abhi/yocto_new/build-dizzy/tmp/work/armv6-vfp-poky-linux-gnueabi/gtk-sato-engine/0.3.3+gitAUTOINC+4740ad8d53-r0/build'
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_compile (log file is located at
/home/abhi/yocto_new/build-dizzy/tmp/work/armv6-vfp-poky-linux-gnueabi/gtk-sato-engine/0.3.3+gitAUTOINC+4740ad8d53-r0/temp/log.do_compile.23728)
ERROR: Task 2592
(/home/abhi/yocto_new/poky-dizzy-12.0.1/meta-yphone/recipes-yphone/gtk-engines/
gtk-sato-engine_git.bb, do_compile) failed with exit code '1'
-- 

[yocto] error while inserting driver as recipe in raspberrypi kernel

2015-04-15 Thread abhishek srivastava
I am getting following error when i try to include driver as recipe in
raspberrypi kernel

NOTE: Executing write_package_manifest ...
| DEBUG: Executing python function write_package_manifest
| DEBUG: Python function write_package_manifest finished
| NOTE: Executing license_create_manifest ...
| DEBUG: Executing shell function license_create_manifest
| ls: cannot access
/home/abhi/yocto_new/build-dizzy/tmp/sysroots/raspberrypi/pkgdata/runtime-reverse/fbtft:
No such file or directory
| readlink: missing operand
| Try 'readlink --help' for more information.
| basename: missing operand
| Try 'basename --help' for more information.
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function do_rootfs finished
| ERROR: Function failed: license_create_manifest (log file is located at
/home/abhi/yocto_new/build-dizzy/tmp/work/raspberrypi-poky-linux-gnueabi/rpi-basic-image/1.0-r0/temp/log.do_rootfs.1262)
ERROR: Task 7
(/home/abhi/yocto_new/poky-dizzy-12.0.1/meta-raspberrypi/recipes-core/images/
rpi-basic-image.bb, do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3332 tasks of which 3324 didn't need to be
rerun and 1 failed.

please help me to identify the issue.

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


[yocto] package build for raspberrypi for armel not armhf

2015-05-01 Thread abhishek srivastava
Hi all
I want to build armhf package for raspberrypi but bitbake is always giving
me armel packages.
I have made changes in
~/yocto/poky-dizzy-12.0.1/meta-raspberrypi/conf/raspberrypi file at
DEFAULTTUNE ?= "arm1176jzfshf"

I have also changes in
~/yocto/poky-dizzy-12.0.1/meta-raspberrypi/conf/machine/include/tiune-arm1176jzf.inc
file at DEFAULTTUNE ?= "arm1176jzfshf"

Under ~/yocto/build_dizzy/tmp/deploy/deb/raspberrypi, I see all .armel
packages. Why not armhf? please help to get me armhf packages in my image

Is there somewhere else I am supposed to changes to get armhf packages?

Please help

Thank you

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


[yocto] piTFT support in yocto

2015-05-06 Thread abhishek srivastava
Hi all
I am looking for piTFT 2.8" resistive screen in yocto.
Even though, i can see those fbtft drivers in stagging mode in linux
3.18.11 but i do not know how to use it?
when i can expect these drivers to be included in Linux kernel? I have
checked notro's github but it doesn't go in sync with yocto procedure. I
have tried using $bitbake linux-raspberrypi -c menuconfig,  and i can see
that under Touchscreen option, required driver is already selected:
ADS7846/AD7873.

But when i connect my piTFT, its all white...no display ?How can I make
it functional and till when it would be officially included in kernel.

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


[yocto] How to interface piTFT2.8" with Raspberrypi using fbtft driver?

2015-05-20 Thread abhishek srivastava
Hii need to interface piTFT2.8" resistive display with raspberrypi using fbtft 
driver. i want to insert this driver in Yocto Image that I have built.But I 
really dont know how? I can find fbtft driver under stagging directory (in 
linux3.18.11+) but when it would be officially available as feature/package ? 
Putting piTFT2.8" driver is extremely easy in Raspbian but when i try to do the 
same in Yocto built image, it gives error (I thing libc issue, which is looking 
for gcc4.6 and in Yocto we have gcc4.9/5.1).Any help would be appreciated. 
Abhishek

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


[yocto] how to activate piTFT stagging driver?

2015-06-04 Thread abhishek srivastava
HiI need to interface raspberrypi with piTFT 2.8" resistive. I can find the 
driver in stagging directory in linux.I have enabled the driver from $make 
menuconfig option but could not get the display working. Is their some more 
settings needed to be done in other files in linux kernel ? please specify the 
detailed procedure how to do so? 
How to activate that driver from stagging directory? Abhishek 

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


[yocto] driver for piTFT 2.8 resistive display

2015-07-23 Thread abhishek srivastava
Hi allCan anyone please tell how to interface raspberrypi with pitft 2.8 
resistive screen. notro tft driver is available in stagging mode but how to use 
that to make display functional, is not clear.Have any one succeeded in running 
pitft with yocto ?  
please help to make pitft display functional with yocto.
thank you
Abhishek 
 
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto