[yocto] Compiling the kernel source from Angstrom distribution building an OS console-image.

2013-12-13 Thread vishal gupta
 Hi, I'm having this issue, I'm not able to build an  OS console-image.

When the command MACHINE=beagleboard bitbake console-image is run, i got
the error as follows:


Log data follows:
| DEBUG: Executing shell function do_compileconfigs
| Multiple configs found, building those first
| NOTE: make -j2 oldconfig
| scripts/kconfig/conf -o arch/arm/Kconfig
| .config:341:warning: override: reassigning to symbol OABI_COMPAT
| .config:3041:warning: override: reassigning to symbol IKCONFIG
| .config:3042:warning: override: reassigning to symbol IKCONFIG_PROC
| .config:3057:warning: override: reassigning to symbol DEVTMPFS
| .config:3058:warning: override: reassigning to symbol DEVTMPFS_MOUNT
| *
| * Restart config...
| *
| *
| * Character devices
| *
| Virtual terminal (VT) [Y/n/?] y
|   Enable character translations in console (CONSOLE_TRANSLATIONS) [Y/n/?]
y
|   Support for console on virtual terminal (VT_CONSOLE) [Y/n/?] y
|   Support for binding and unbinding console drivers
(VT_HW_CONSOLE_BINDING) [Y/n/?] y
| /dev/kmem virtual device support (DEVKMEM) [Y/n/?] y
| Non-standard serial port support (SERIAL_NONSTANDARD) [N/y/?] n
| Unix98 PTY support (UNIX98_PTYS) [Y/n/?] (NEW)   Support multiple
instances of devpts (DEVPTS_MULTIPLE_INSTANCES) [N/y/?] n
| Legacy (BSD) PTY support (LEGACY_PTYS) [N/y/?] n
| Hardware Random Number Generator Core support (HW_RANDOM) [Y/n/m/?] y
|   Timer IOMEM HW Random Number Generator support (HW_RANDOM_TIMERIOMEM)
[N/m/y/?] n
| Siemens R3964 line discipline (R3964) [N/m/y/?] n
| RAW driver (/dev/raw/rawN) (RAW_DRIVER) [N/m/y/?] n
| *
| * Partition Types
| *
| Advanced partition selection (PARTITION_ADVANCED) [Y/n/?] y
|   Acorn partition support (ACORN_PARTITION) [N/y/?] n
|   Alpha OSF partition support (OSF_PARTITION) [N/y/?] n
|   Amiga partition table support (AMIGA_PARTITION) [N/y/?] n
|   Atari partition table support (ATARI_PARTITION) [N/y/?] n
|   Macintosh partition map support (MAC_PARTITION) [Y/n/?] y
|   PC BIOS (MSDOS partition tables) support (MSDOS_PARTITION) [Y/n/?] y
| BSD disklabel (FreeBSD partition tables) support (BSD_DISKLABEL)
[Y/n/?] y
| Minix subpartition support (MINIX_SUBPARTITION) [Y/n/?] y
| Solaris (x86) partition table support (SOLARIS_X86_PARTITION) [Y/n/?]
y
| Unixware slices support (UNIXWARE_DISKLABEL) [N/y/?] (NEW)   Windows
Logical Disk Manager (Dynamic Disk) support (LDM_PARTITION) [Y/n/?] y
| Windows LDM extra logging (LDM_DEBUG) [Y/n/?] y
|   SGI partition support (SGI_PARTITION) [N/y/?] n
|   Ultrix partition table support (ULTRIX_PARTITION) [N/y/?] n
|   Sun partition tables support (SUN_PARTITION) [N/y/?] n
|   Karma Partition support (KARMA_PARTITION) [N/y/?] n
|   EFI GUID Partition support (EFI_PARTITION) [Y/n/?] y
|   SYSV68 partition table support (SYSV68_PARTITION) [N/y/?] n
| *
| * OCF Configuration
| *
| OCF (Open Cryptograhic Framework) (OCF_OCF) [N/m/y/?] (NEW) #
| # configuration written to .config
| #
| NOTE: make -j2 oldconfig
| scripts/kconfig/conf -o arch/arm/Kconfig
| #
| # configuration written to .config
| #
| NOTE: make -j2 uImage CC=arm-angstrom-linux-gnueabi-gcc
-mno-thumb-interwork -marm
--sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
LD=arm-angstrom-linux-gnueabi-ld
--sysroot=/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/sysroots/beagleboard
| scripts/kconfig/conf -s arch/arm/Kconfig
|   CHK include/linux/version.h
|   SYMLINK include/asm - include/asm-arm
| make[1]: `include/asm-arm/mach-types.h' is up to date.
|   CHK include/linux/utsrelease.h
|   CALLscripts/checksyscalls.sh
| stdin:1523:2: warning: #warning syscall recvmmsg not implemented [-Wcpp]
|   CHK include/linux/compile.h
|   GZIPkernel/config_data.gz
|   IKCFG   kernel/config_data.h
|   CC  kernel/configs.o
|   LD  kernel/built-in.o
|   LOGOdrivers/video/logo/logo_linux_clut224.c
|   CC  drivers/video/logo/logo_linux_clut224.o
|   LD  drivers/video/logo/built-in.o
|   LD  drivers/video/built-in.o
|   LD  drivers/built-in.o
|   LD  vmlinux.o
|   MODPOST vmlinux.o
|   GEN .version
|   CHK include/linux/compile.h
|   UPD include/linux/compile.h
|   CC  init/version.o
|   LD  init/built-in.o
|   LD  .tmp_vmlinux1
|   KSYM.tmp_kallsyms1.S
|   AS  .tmp_kallsyms1.o
|   LD  .tmp_vmlinux2
|   KSYM.tmp_kallsyms2.S
|   AS  .tmp_kallsyms2.o
|   LD  vmlinux
|   SYSMAP  System.map
|   SYSMAP  .tmp_System.map
|   OBJCOPY arch/arm/boot/Image
|   Kernel: arch/arm/boot/Image is ready
|   GZIParch/arm/boot/compressed/piggy.gz
|   AS  arch/arm/boot/compressed/piggy.o
|   LD  arch/arm/boot/compressed/vmlinux
|   OBJCOPY arch/arm/boot/zImage
|   Kernel: arch/arm/boot/zImage is ready
|   UIMAGE  arch/arm/boot/uImage
| Image Name:   Linux-2.6.32
| Created:  Fri Dec 13 16:13:18 2013
| Image Type:   ARM Linux Kernel Image (uncompressed)
| Data Size:3134344 Bytes = 

[yocto] Compiling the kernel source from Angstrom distribution building an OS console-image.

2013-12-13 Thread vishal gupta
Thank you Koen for the reply.

I made the local changes so that i can include some features in my kernel.
The features are:
1.The camera driver mt9t112 for LI-LBCM3M1 from leopard imaging.
2.The camera driver mt9v113 for LI-LBCMVGA from leopard imaging.

As per a small test carried out by me i found that both the above camera
modules work fine with the pre-build image with Kernel  Version 2.6.32 from
Narccissus Image Builder.

So i downloaded the source of this Narccissus image from Angstrom
Distribution (https://github.com/Angstrom-distribution/meta-angstrom) and i
went for making the below listed local changes to change the default kernel
version which is 3.2.28 to the kernel version 2.6.32.

In the beagleboard.conf file present in the meta-ti layer i made the
following changes.

#PREFERRED_PROVIDER_virtual/kernel = linux-mainline
PREFERRED_PROVIDER_virtual/kernel = linux-omap-psp



 adding an smc.patch to resolve  another error which i got when i compiled
above changed ,below is the error what i got.

/tmp/ccWRvvsG.s:309: Error: selected processor does not support ARM mode
`smc #0'


This error was resolved as i added the smc.patch.

But encountered with the error when command MACHINE=beagleboard bitbake
console-image is run  i got the error as presented in previous mail and
below again :

cp: cannot stat `include/generated/bounds.h': No such file or directory
ERROR: Function failed: do_compileconfigs (see
/home/vishal/oe-nad/setup-scripts/build/tmp-angstrom_v2012_12-eglibc/work/beagleboard-angstrom-linux-gnueabi/linux-omap-psp-2.6.32-r122c+gitr5fc29e7b2a76a64a739f857858ef0b98294aa155/temp/log.do_compileconfigs.22554
for further information)


Now I hope you have more information...!!
Sorry that i was not clear in explanation in my previous mail.

Please guide me to debug this Function failed: do_compileconfigs issue..

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


[yocto] Which is the suitable kernel version for in yocto project to bring up camera module on BB-xM

2013-12-06 Thread vishal gupta
Hi all,

I am new to yocto project.
Can anyone please tell me which is the most suitable kernel version in
yocto project to bring up camera module from leopard imaging on Beagle
board-xM

I have Beagleboard-xM revision C with two camera module LI-LBCMVGA and
LI-LBCM3M1.

Regards,
VG
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto