Where do the extra #include <mach/board-overo.h> come from in linux-omap3-2.6.29.bb recipe?
Hi,
I am using the overo-oe repository.
I have a linux-omap3-2.6.29.bb recipe that pulls in the sources from the master branch of the linux-omap-2.6 repository, as follows:
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=master;protocol=git \ file://defconfig \
If I run the bitbake linux-omap3-2.6.29 command in the /tool/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.29-r41/git/arch/arm/mach-omap2/board-overo.c file,
on line 41, there is a #include <mach/board-overo.h> entry as shown below.
39 #include <asm/mach/map.h>
40
41 #include <mach/board-overo.h>
42 #include <mach/board.h>
Now, I have in a separate folder, cloned the same repository using the following command:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
However, when I look at arch/arm/mach-omap2/board-overo.c file, the #include <mach/board-overo.h> entry is missing
39 #include <asm/mach/map.h>
40
41 #include <mach/board.h>
What task is contributing to this extra code, when I run the bitbake recipe, compared to the original linux-omap-2.6 master branch?
I'm trying to patch in Tomi's DSS2 and Kevin's PM patches, for the Overo by modifying the linux-omap3-2.6.29.bb recipe. I'm getting stuck because of this apparent difference, and cannot make modifications to Tomi's patch files without first being able to manually fast forward to the appropriate state.
Best regards,
Elvis
# Linux OMAP3 2.6.29 recipieDEFAULT_PREFERENCE = 1
# Required packages
require linux.inc
# Package information
DESCRIPTION = "Linux kernel for OMAP3 processors"KERNEL_IMAGETYPE = "uImage"
COMPATIBLE_MACHINE = "beagleboard|omap3evm|overo"
SRCREV = "90e758af52ba803cba233fabee81176d99589f09"
PN = "linux-omap3"
PV = "2.6.29"
PR = "r41"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=master;protocol=git \
file://defconfig \
"SRC_URI_append = " \
"SRC_URI_append_beagleboard = " \
file://beagle-ehci.patch;patch=1 \
"SRC_URI_append_omap3evm = " \
"SRC_URI_append_overo = " \
"S = "${WORKDIR}/git"
Quoted 32 lines · Elvis Dowson
Hi,
I am using the overo-oe repository.I have a linux-omap3-2.6.29.bb recipe that pulls in the sources from the master branch of the linux-omap-2.6 repository, as follows:
SRC_URI= "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=master;protocol=git\ file://defconfig \If I run the bitbake linux-omap3-2.6.29 command in the /tool/overo-oe/tmp/work/overo-angstrom-linux-gnueabi/linux-omap3-2.6.29-r41/git/arch/arm/mach-omap2/board-overo.c file,
on line 41, there is a #include <
mach/board-overo.h> entry as shown below.39 #include <
asm/mach/map.h>
40
41 #include <mach/board-overo.h>
42 #include <mach/board.h>Now, I have in a separate folder, cloned the same repository using the following command:
$ git clone git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.gitHowever, when I look at
arch/arm/mach-omap2/board-overo.cfile, the #include <mach/board-overo.h> entry is missing
Quoted 6 lines
39 #include <
asm/mach/map.h>
40
41 #include <mach/board.h>What task is contributing to this extra code, when I run the bitbake recipe, compared to the original linux-omap-2.6 master branch?
The recipe pulls 2.6.29 version (specified by SRCREV), while you are looking at the latest source after git clone. Somewhere in between the file was removed:
Quoted 57 lines
I'm trying to patch in Tomi's DSS2 and Kevin's PM patches, for the Overo by modifying the linux-omap3-2.6.29.bb recipe. I'm getting stuck because of this apparent difference, and cannot make modifications to Tomi's patch files without first being able to manually fast forward to the appropriate state.
Best regards,
Elvis
# Linux OMAP3 2.6.29 recipie
DEFAULT_PREFERENCE= 1# Required packages
require linux.inc# Package information
DESCRIPTION = "Linux kernel for OMAP3 processors"KERNEL_IMAGETYPE= "uImage"
COMPATIBLE_MACHINE= "beagleboard|omap3evm|overo"SRCREV = "
90e758af52ba803cba233fabee81176d99589f09"PN = "linux-omap3"
PV = "2.6.29"
PR = "r41"
SRC_URI= "git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git;branch=master;protocol=git\ file://defconfig \ "SRC_URI_append = " \ "SRC_URI_append_beagleboard = " \ file://beagle-ehci.patch;patch=1 \ "SRC_URI_append_omap3evm = " \ "SRC_URI_append_overo = " \ "S = "${WORKDIR}/git"
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Thanks Denys,
So shall I just comment out the SRCREV entry? How do I find out
what the current SRCREV value is, as of today, to lock down on a particular SRCREV version?
Best regards,
Elvis
Quoted 7 lines · Denys Dmytriyenko
Quoted 1 line
aster branch?
The recipe pulls 2.6.29 version (specified by SRCREV), while you are looking at the latest source after git clone. Somewhere in between the file was removed:
Quoted 4 lines · Elvis Dowson
Thanks Denys,
So shall I just comment out the SRCREV entry? How do I find out what
the current SRCREV value is, as of today, to lock down on a particular
SRCREV version?
$ git log -1
That would show you the last commit with its hash#.
Or you can go to gitweb and select any commit from the list and get its hash#:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git
Quoted 10 lines · Denys Dmytriyenko
Quoted 9 lines
Quoted 2 lines
aster branch?
The recipe pulls 2.6.29 version (specified by SRCREV), while you are looking
at the latest source after git clone. Somewhere in between the file was removed:
Hi Denys,
Quoted 9 lines · Denys Dmytriyenko
Quoted 1 line
$ git log -1That would show you the last commit with its hash#.
Or you can go to gitweb and select any commit from the list and get its hash#:
http://git.kernel.org/?p=linux/kernel/git/tmlind/linux-omap-2.6.git
I tried that but I get a "fatal: Not a git repository" error:
bitbake -c rebuild linux-omap3-2.6.29
NOTE: Handling BitBake files: | (6810/6810) [100 %]
NOTE: Parsing finished. 6541 cached, 0 parsed, 269 skipped, 2 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 305 of 546 (ID: 2, /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_setscene)
NOTE: Running task 527 of 546 (ID: 3, /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_fetch)
fatal: Not a git repository
NOTE: Task failed: Fetch failed: Fetch command export HOME=/home/elvis; export SSH_AUTH_SOCK=/tmp/keyring-M40Rvw/ssh; export PATH=/tool/overo-oe/tmp/staging/i686-linux/usr/bin/overo-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/i686-linux/usr/sbin:/tool/overo-oe/tmp/staging/i686-linux/usr/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/tool/overo-oe/tmp/staging/i686-linux/sbin:/tool/overo-oe/tmp/staging/i686-linux/bin:/tool/repo:/tool/android/out/host/linux-x86/bin:/tool/script:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/java/jdk1.6.0_12/bin:/tool/repo:/tool/android/out/host/linux-x86/bin:/tool/script:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/java/jdk1.6.0_12/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/elvis/bin; git fetch git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git master failed with signal 128, output:
fatal: Not a git repository
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb do_fetch failed
ERROR: Task 3 (/tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_fetch) failed
NOTE: Tasks Summary: Attempted 526 tasks of which 525 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb' failed
What should I do?
Best regards,
Elvis
Hi,
When I comment out the SRCREV entry, and do a
$ bitbake -c clean linux-omap3-2.6.29 $ bitbake -c rebuild linux-omap3-2.6.29
I get a "fatal: Not a git repository" error:
bitbake -c rebuild linux-omap3-2.6.29
NOTE: Handling BitBake files: | (6810/6810) [100 %]
NOTE: Parsing finished. 6541 cached, 0 parsed, 269 skipped, 2 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 305 of 546 (ID: 2, /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_setscene)
NOTE: Running task 527 of 546 (ID: 3, /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_fetch)
fatal: Not a git repository
NOTE: Task failed: Fetch failed: Fetch command export HOME=/home/elvis; export SSH_AUTH_SOCK=/tmp/keyring-M40Rvw/ssh; export PATH=/tool/overo-oe/tmp/staging/i686-linux/usr/bin/overo-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/i686-linux/usr/bin/armv7a-angstrom-linux-gnueabi:/tool/overo-oe/tmp/staging/i686-linux/usr/sbin:/tool/overo-oe/tmp/staging/i686-linux/usr/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/tool/overo-oe/tmp/staging/i686-linux/sbin:/tool/overo-oe/tmp/staging/i686-linux/bin:/tool/repo:/tool/android/out/host/linux-x86/bin:/tool/script:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/java/jdk1.6.0_12/bin:/tool/repo:/tool/android/out/host/linux-x86/bin:/tool/script:/tool/overo-oe/bitbake/bin:/tool/overo-oe/tmp/cross/armv7a/bin:/usr/java/jdk1.6.0_12/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/elvis/bin; git fetch git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git master failed with signal 128, output:
fatal: Not a git repository
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb do_fetch failed
ERROR: Task 3 (/tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb, do_fetch) failed
NOTE: Tasks Summary: Attempted 526 tasks of which 525 didn't need to be rerun and 1 failed.
ERROR: '/tool/overo-oe/user.collection/recipes/linux/linux-omap3_2.6.29.bb' failed
Best regards,
Elvis