Hi, We have a custom board running Freescale's i.MX21 (ARM926EJ-S) processor and Linux 2.6.22 with our board-specific patches.
1. I wish to run a patched version of 2.6.22 ucLinux on the board without the MMU. Is it possible to patch ucLinux to run on ARM926EJ core without MMU? 2. I downloaded linux-2.6.22-uc0-big.patch from uclinux.org and applied it to plain vanilla kernel 2.6.22. Before applying any changes specific to our board, I want to just compile the linux patched with the uclinux patch for any ARM board. I tried setting .config using existing defconfigs in arch/arm/configs directory but compilation gives following error. Is there any ARM "config" that I can use so that I am able to compile just out of the box? (.config that I used is attached) arch/arm/mm/consistent.c: In function `__dma_alloc': arch/arm/mm/consistent.c:223: error: `PTRS_PER_PTE' undeclared (first use in this function) arch/arm/mm/consistent.c:223: error: (Each undeclared identifier is reported only once arch/arm/mm/consistent.c:223: error: for each function it appears in.) arch/arm/mm/consistent.c:236: warning: implicit declaration of function `pte_none' arch/arm/mm/consistent.c:242: warning: implicit declaration of function `set_pte_ext' arch/arm/mm/consistent.c:242: warning: implicit declaration of function `mk_pte' arch/arm/mm/consistent.c: In function `dma_free_coherent': arch/arm/mm/consistent.c:389: error: `PTRS_PER_PTE' undeclared (first use in this function) arch/arm/mm/consistent.c:393: warning: implicit declaration of function `ptep_get_and_clear' arch/arm/mm/consistent.c:404: warning: implicit declaration of function `pte_present' arch/arm/mm/consistent.c:405: warning: implicit declaration of function `pte_pfn' arch/arm/mm/consistent.c:424: warning: implicit declaration of function `flush_tlb_kernel_range' arch/arm/mm/consistent.c: In function `consistent_init': arch/arm/mm/consistent.c:453: warning: implicit declaration of function `pgd_offset' arch/arm/mm/consistent.c:453: warning: assignment makes pointer from integer without a cast arch/arm/mm/consistent.c:460: warning: implicit declaration of function `pmd_none' arch/arm/mm/consistent.c:462: warning: implicit declaration of function `pmd_present' arch/arm/mm/consistent.c:462: warning: implicit declaration of function `pte_offset_kernel' arch/arm/mm/consistent.c:462: warning: pointer/integer type mismatch in conditional expression Thanks, AS
.config
Description: Binary data
_______________________________________________ uClinux-dev mailing list uClinux-dev@uclinux.org http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by uclinux-dev@uclinux.org To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev