Hi Kevin,
Thanks for the quick response.
Below is my build line
make ARCH=arm
CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-
Thanks,
Amit
From: Kevin Wells
[mailto:address@hidden
Sent: Thursday, 17 June 2010 9:00 AM
To: Amit Hergass; address@hidden
Subject: RE: ARM lpc32xx build fails for linux-2.6.34
Hi Amit,
Can you show the entire
‘make’ line with parameters you use to build the image?
thanks,
Kevin
From: address@hidden
[mailto:address@hidden On Behalf Of Amit
Hergass
Sent: Wednesday, June 16, 2010 3:30 PM
To: address@hidden
Subject: [Ltib] ARM lpc32xx build fails for linux-2.6.34
Hi,
I am currently upgrading the kernel from LTIB Linux 2.6.27.8 to 2.6.34.
I applied all the patches for the lpc32xx, and tried to build.
The build failed with missing __pfn_to_bus and __bus_to_pfn.
A search through the sources showed that "__arch_page_to_dma"
definition is not available for the lpc32xx processors.
Is there a patch that provides the above? Is anyone know of a solution for it?
I
am quite new to the Linux kernel and will appreciate any information that will
help solving this issue.
Thanks
Amit
Build output:
CHK include/linux/version.h
CHK include/generated/utsrelease.h
UPD include/generated/utsrelease.h
make[1]: `include/generated/mach-types.h' is up to date.
CC arch/arm/kernel/asm-offsets.s
In file included from include/linux/dma-mapping.h:103,
from arch/arm/kernel/asm-offsets.c:15:
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h: In function
'page_to_dma':
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h:20: error:
implicit declaration of function '__pfn_to_bus'
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h: In function
'dma_to_page':
/home/hergass/dev/linux-2.6.34/arch/arm/include/asm/dma-mapping.h:25: error:
implicit declaration of function '__bus_to_pfn'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2