Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [SOLVED] ARM lpc32xx build fails for linux-2.6.34

    I am currently upgrading the ARM kernel from Linux 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?


    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

  2. #2


    The issue was sorted by using the latest LTIB build with kernel version 2.6.34,


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts