Hi,
Sorry if I am missing something very obvious, I am building OMAP for the first time.
I fetched latest kernel from:
http://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=shortlog...
tried to do following:
make ARCH=arm O=../panda omap2plus_defconfig (After this, OMAP 2/3/4 none is selected in .config) make ARCH=arm O=../panda uImage
LD drivers/usb/built-in.o LD drivers/video/console/built-in.o LD drivers/video/built-in.o LD drivers/built-in.o LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o arch/arm/mach-vexpress/built-in.o: In function `v2m_dt_timer_init': /root/viresh/work/linux/kernel/arch/arm/mach-vexpress/v2m.c:663: undefined reference to `arch_timer_broken_for_sched_clock' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2
Something is wrong: why vexpress??
-- viresh
On 07/12/2012 07:18 PM, Viresh Kumar wrote:
Hi,
Sorry if I am missing something very obvious, I am building OMAP for the first time.
I fetched latest kernel from:
http://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=shortlog...
tried to do following:
make ARCH=arm O=../panda omap2plus_defconfig (After this, OMAP 2/3/4 none is selected in .config) make ARCH=arm O=../panda uImage
LD drivers/usb/built-in.o LD drivers/video/console/built-in.o LD drivers/video/built-in.o LD drivers/built-in.o LINK vmlinux LD vmlinux.o MODPOST vmlinux.o GEN .version CHK include/generated/compile.h UPD include/generated/compile.h CC init/version.o LD init/built-in.o arch/arm/mach-vexpress/built-in.o: In function `v2m_dt_timer_init': /root/viresh/work/linux/kernel/arch/arm/mach-vexpress/v2m.c:663: undefined reference to `arch_timer_broken_for_sched_clock' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2
Something is wrong: why vexpress??
Yes, you are right. I am looking at this now.
Thanks, Andrey
-- viresh
On 12 July 2012 16:19, Andrey Konovalov andrey.konovalov@linaro.org wrote:
make ARCH=arm O=../panda omap2plus_defconfig (After this, OMAP 2/3/4
none is selected in .config) make ARCH=arm O=../panda uImage
LD init/built-in.o arch/arm/mach-vexpress/built-**in.o: In function `v2m_dt_timer_init': /root/viresh/work/linux/**kernel/arch/arm/mach-vexpress/**v2m.c:663: undefined reference to `arch_timer_broken_for_sched_**clock' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2
Something is wrong: why vexpress??
Yes, you are right. I am looking at this now.
Broken probably by:
commit 9c118124d1c75f06b64a756be579d3b4cf2c99ec Author: Arnd Bergmann arnd@arndb.de Date: Tue May 8 15:17:25 2012 +0000
ARM: initial multiplatform support
This lets us build a multiplatform kernel for experimental purposes. However, it will not be useful for any real work, because it relies on a number of useful things to be disabled for now:
-config ARCH_OMAP +config ARCH_CHOICE_OMAP bool "TI OMAP" - select HAVE_CLK - select ARCH_REQUIRE_GPIOLIB - select ARCH_HAS_CPUFREQ - select CLKSRC_MMIO - select GENERIC_CLOCKEVENTS - select ARCH_HAS_HOLES_MEMORYMODEL + select ARCH_OMAP select MAY_HAVE_SPARSE_IRQ help Support for TI's OMAP platform (OMAP1/2/3/4). @@ -982,6 +963,51 @@ config ARCH_ZYNQ Support for Xilinx Zynq ARM Cortex A9 Platform endchoice
+config ARCH_OMAP + bool + select HAVE_CLK + select ARCH_REQUIRE_GPIOLIB + select ARCH_HAS_CPUFREQ + select CLKSRC_MMIO + select GENERIC_CLOCKEVENTS + select ARCH_HAS_HOLES_MEMORYMODEL + select MAY_HAVE_SPARSE_IRQ +
This patch must have updated all defconfigs too, which probably now require to have CONFIG_ARCH_CHOICE_OMAP?
-- viresh
On 12-07-12 11:36 AM, Viresh Kumar wrote:
On 12 July 2012 16:19, Andrey Konovalov <andrey.konovalov@linaro.org mailto:andrey.konovalov@linaro.org> wrote:
make ARCH=arm O=../panda omap2plus_defconfig (After this, OMAP 2/3/4 none is selected in .config) make ARCH=arm O=../panda uImage LD init/built-in.o arch/arm/mach-vexpress/built-__in.o: In function `v2m_dt_timer_init': /root/viresh/work/linux/__kernel/arch/arm/mach-vexpress/__v2m.c:663: undefined reference to `arch_timer_broken_for_sched___clock' make[1]: *** [vmlinux] Error 1 make: *** [sub-make] Error 2 Something is wrong: why vexpress?? Yes, you are right. I am looking at this now.
Broken probably by:
commit 9c118124d1c75f06b64a756be579d3b4cf2c99ec Author: Arnd Bergmann <arnd@arndb.de mailto:arnd@arndb.de> Date: Tue May 8 15:17:25 2012 +0000
ARM: initial multiplatform support This lets us build a multiplatform kernel for experimental purposes. However, it will not be useful for any real work, because it relies on a number of useful things to be disabled for now:
-config ARCH_OMAP +config ARCH_CHOICE_OMAP bool "TI OMAP"
select HAVE_CLK
select ARCH_REQUIRE_GPIOLIB
select ARCH_HAS_CPUFREQ
select CLKSRC_MMIO
select GENERIC_CLOCKEVENTS
select ARCH_HAS_HOLES_MEMORYMODEL
select ARCH_OMAP select MAY_HAVE_SPARSE_IRQ help Support for TI's OMAP platform (OMAP1/2/3/4).
@@ -982,6 +963,51 @@ config ARCH_ZYNQ Support for Xilinx Zynq ARM Cortex A9 Platform endchoice +config ARCH_OMAP
bool
select HAVE_CLK
select ARCH_REQUIRE_GPIOLIB
select ARCH_HAS_CPUFREQ
select CLKSRC_MMIO
select GENERIC_CLOCKEVENTS
select ARCH_HAS_HOLES_MEMORYMODEL
select MAY_HAVE_SPARSE_IRQ
This patch must have updated all defconfigs too, which probably now require to have CONFIG_ARCH_CHOICE_OMAP?
-- viresh
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev
Try the omap4plus_defconfig.
Scott
On 12 July 2012 16:59, Scott Bambrough scott.bambrough@linaro.org wrote:
Try the omap4plus_defconfig.
There is no such defconfig, only following are present:
omap1_defconfig omap2plus_defconfig
-- viresh
On 13/07/12 15:45, the mail apparently from Viresh Kumar included:
On 12 July 2012 16:59, Scott Bambrough <scott.bambrough@linaro.org mailto:scott.bambrough@linaro.org> wrote:
Try the omap4plus_defconfig.
There is no such defconfig, only following are present:
omap1_defconfig omap2plus_defconfig
It looks like this combined tree is not ready for primetime. We provide and test with omap4plus_defconfig on the TI LT tree. It seems the combined tree isn't being tested equivalently at the moment.
http://git.linaro.org/gitweb?p=landing-teams/working/ti/kernel.git%3Ba=summa...
If you're only currently interested in omap, try tilt-3.4 from there with omap4plus_defconfig.
-Andy
On 07/13/2012 11:45 AM, Viresh Kumar wrote:
On 12 July 2012 16:59, Scott Bambrough <scott.bambrough@linaro.org mailto:scott.bambrough@linaro.org> wrote:
Try the omap4plus_defconfig.
There is no such defconfig, only following are present:
omap1_defconfig omap2plus_defconfig
Correct. omap4plus_defconfig is in the (v3.4 based) linux-linaro-tracking branch (aka the llt tree).
The llt tree is currently tilt-3.4 based (i.e. have the code from the TI LT), the (v3.5 based) ll tree (linux-linaro branch that is) doesn't have anything special from the TI LT, just the community OMAP stuff.
BTW, omap2plus_defconfig has been updated last night:
http://git.linaro.org/gitweb?p=kernel/linux-linaro-tracking.git%3Ba=commitdi...
- and these two CI builds are back to normal now:
https://ci.linaro.org/jenkins/job/linux-linaro-tracking_panda-omap2plus/129/ https://ci.linaro.org/jenkins/job/linux-linaro-tracking_beagle-omap2plus/126...
Thanks, Andrey
-- viresh