Hi All,
I'm using older kernel 2.6 on my DM365 processor, just to make sure few things i need to build newer kernel on the same platform.
I'm building kernel 3.6 with same custom defconfig that we used for 2.6 kernel, it gave few errors that we fixed but in the end I'm stuck at
ld: no machine record defined
######################################################################
/home/brajesh/Documents/Projects/Vela/Debug_session/wcnd/src/ipnc_rdk_dm36x_5.1/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit//bin/arm-arago-linux-gnueabi-ld: no machine record defined
/home/brajesh/Documents/Projects/Vela/Debug_session/wcnd/src/ipnc_rdk_dm36x_5.1/Source/ipnc_rdk/../dvsdk_ipnctools/linux-devkit//bin/arm-arago-linux-gnueabi-ld: no machine record defined
arch/arm/mach-davinci/built-in.o: In function `dm365_venc_setup_clock':
pm_domain.c:(.text+0x2a04): undefined reference to `vpss_enable_clock'
pm_domain.c:(.text+0x2a10): undefined reference to `vpss_enable_clock'
pm_domain.c:(.text+0x2a94): undefined reference to `vpss_enable_clock'
pm_domain.c:(.text+0x2aa0): undefined reference to `vpss_enable_clock'
pm_domain.c:(.text+0x2adc): undefined reference to `vpss_enable_clock'
arch/arm/mach-davinci/built-in.o:pm_domain.c:(.text+0x2ae8): more undefined references to `vpss_enable_clock' follow
arch/arm/mach-davinci/built-in.o: In function `dm365_init_devices':
pm_domain.c:(.init.text+0x1298): undefined reference to `davinci_sysmodbase'
arch/arm/mach-davinci/built-in.o: In function `dm365_init':
pm_domain.c:(.init.text+0x12f0): undefined reference to `davinci_sysmodbase'
make[2]: *** [vmlinux] Error 1
make[2]: Leaving directory `/home/brajesh/Documents/Projects/Vela/kernel/linux-3.6.1'
make[1]: *** [lspbuild] Error 2
make[1]: Leaving directory `/home/brajesh/Documents/Projects/Vela/Debug_session/wcnd/src/ipnc_rdk_dm36x_5.1/Source/ipnc_rdk'
make: *** [lsp] Error 2
brajesh@brajesh-Latitude-3540:~
######################################################################
I checked there are few things which are not updated in .config file from defconfig, while for 2.6 kernel that defconfig was copied pretty much as it is in .config of kernel-2.6.
Please comment on it and give your suggestions.
Thanks
Brajesh