linux-2.6.14-omap2-v3.tgz won't compile for OMAP2420
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello,
I got compilation errors when I tried to compile linux-2.6.14-omap2-v3.tgz (from http://linux.omap.com/pub/kernel/2430sdp/source/ ) for OMAP2420 H4 board.
I did:
make omap_h4_2420_defconfig
make uImageand I got:
arch/arm/mach-omap2/prcm_lib1.c: In function `prcm_set_idlemode_handshake':arch/arm/mach-omap2/prcm_lib1.c:2133: error: `OMAP243X_CORE_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2133: error: (Each undeclared identifier is reported only once arch/arm/mach-omap2/prcm_lib1.c:2133: error: for each function it appears in.) arch/arm/mach-omap2/prcm_lib1.c:2162: error: OMAP243X_WAKEUP_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2225: error: GPIO5_SYSCONFIG' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c: In function `prcm_wakeup_ctrl':arch/arm/mach-omap2/prcm_lib1.c:2446: error: OMAP243X_CORE_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2457: error: GPIO5_SYSCONFIG' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c: In function `prcm_softreset_ctrl':arch/arm/mach-omap2/prcm_lib1.c:2529: error: OMAP243X_CORE_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2609: error: OMAP243X_WAKEUP_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2704: error: GPIO5_SYSCONFIG' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c: In function prcm_autoidle_ctrl':arch/arm/mach-omap2/prcm_lib1.c:2772: error: OMAP243X_WAKEUP_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2781: error: OMAP243X_CORE_L4_IO_BASE' undeclared (first use in this function) arch/arm/mach-omap2/prcm_lib1.c:2932: error: `GPIO5_SYSCONFIG' undeclared (first use in this function) make[1]: *** [arch/arm/mach-omap2/prcm_lib1.o] Error 1
make: *** [arch/arm/mach-omap2] Error 2
Where do I go from here ? I would appreciate any advice.
Thanks and regards,
Andray
Hi,
Quoted 4 lines
I got compilation errors when I tried to compile linux-2.6.14-omap2-v3.tgz (from http://linux.omap.com/pub/kernel/2430sdp/source/ ) for OMAP2420 H4 board.
I just now tested and confirm that it is not compiling for 2420 H4. I can update latest drop later this week. You can try to use V2 version or you might prefer to use OMAP GIT pull for 2420.
Generally I try booting the tar source on 2430 / 2420, I don't remember for some reason I missed this time. Sorry for the inconvenience.
Regards,
Khasim