[uClinux-dev] ARM7TDMI Linux 2.6.19 patch or port for TI chips / Where to find Srcs ?

Erwin Authried eauth at softsys.co.at
Wed Jan 3 06:45:13 EST 2007


Am Mittwoch, den 03.01.2007, 15:59 +0530 schrieb Nalin Gupta:
> I found under arch/arm/configs atmel_defconfig and s3c3410_defconfig,
> which are ARM NO MMU.  I tried compiling them. There are atleast
> compile time problems. Runtime I do not know. I tried resolving
> compile time problems. My work is not neat or sure, so can not give
> patch. But below I have listed what I found and did to resolve them. I
> did for 2.6.17-uc1 (uClinux-dist-20060803.tar.gz), but "guess" is
> valid for 2.6.19 post applying relevant big patch.
> ---------------------------------------------------------------------------------------------------------------------
> ==========
> ATMEL
> ==========
> 1.   MODE_SVC is SVC_MODE (ptrace.h)
> 
> 2.   PTRS_PER_PTE is undefined pgtable-nommu.h (it is there in pgtable.h)
>      Correct arch/arm/mm/Makefile and edit
> 	consistent.o -> consistent$(MMUEXT).o
> 
> 3.   NPTL support issue
>      arch/arm/kernel/entry-armv.S:337:2: warning: #warning "NPTL on
> non MMU needs fixing"
> 
> 4.   uClinux-dist/vendors/config/armnommu/config.arch
>      Edit
>           CROSS_COMPILE = arm-linux-   to
>           CROSS_COMPILE ?= arm-linux-
>      Conditional initialization done.

not sure what you are talking about, for uClinux-dist-20060803 none of
the problems exist.

> 
> 5.  Compilation Problm with arm-uclinux-gcc 3.4.0
> 
> arm-uclinux-gcc -Wp,-MD,mm/.page_alloc.o.d  -nostdinc -isystem
> /home/nalin/crossarm/usr/local/arm-uclinux-tools/bin/../lib/gcc/arm-uclinux/3.4.0/include
> -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h
> -mlittle-endian -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs
> -fno-strict-aliasing -fno-common -Os -fno-omit-frame-pointer
> -fno-optimize-sibling-calls -g -fno-omit-frame-pointer -mapcs
> -mno-sched-prolog -mapcs-32 -mno-thumb-interwork
> -D__LINUX_ARM_ARCH__=4 -march=armv4 -mtune=arm7tdmi -malignment-traps
> -msoft-float -Uarm -Wdeclaration-after-statement
> -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(page_alloc)"
> -D"KBUILD_MODNAME=KBUILD_STR(page_alloc)" -c -o mm/page_alloc.o
> mm/page_alloc.c
> /tmp/cc3EJu47.s: Assembler messages:
> /tmp/cc3EJu47.s:6420: Error: .err encountered
> make[2]: *** [mm/page_alloc.o] Error 1
> make[1]: *** [mm] Error 2
> 
> [use is 3.4.3 arm-uclinux-elf-gcc compiler]

3.4.3 ? You just mentioned 3.4.0. I had no problems with 3.4.4 (from
snapgear).

Regards,
Erwin





More information about the uClinux-dev mailing list