[uClinux-dev] Realtime applications on 5272C3 board

Bart Steens bartsteens at seldi.nl
Mon Mar 31 04:44:28 EST 2003


Hi!

I'm trying to create an application or the 5272C3 board that has (near) 
realtime priority, because I need to write GPO ports at a fixed frequency. 
Using the standard kernel the application gives too much jitter and latency, 
so I'm currently trying to figure out how to achieve better results.

I've been looking at RTAI (Real-time Application Interface), but I only could 
find a patch for an outdated uClinux distribution (20020411). The patch runs 
fine, but when I try to make the patched kernel I get the error listed at the 
end of this mail.

I've tried the latest distribution as well as the 20020927 package. Anyone had 
this error before? Or can somebody recommend me another way to give an 
application real-time priority? Thanks in advance.

Regards,

Bart Steens


m68k-elf-ld -T arch/m68knommu/platform/5272/MOTOROLA/ram.ld 
arch/m68knommu/platform/5272/MOTOROLA/crt0_ram.o init/main.o init/version.o 
init/do_mounts.o \
        --start-group \
        arch/m68knommu/kernel/kernel.o arch/m68knommu/mm/mm.o 
arch/m68knommu/platform/5272/platform.o kernel/kernel.o mmnommu/mmnommu.o 
fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o 
drivers/net/net.o drivers/media/media.o \
        net/network.o \
        /home/mike/newucl/realtime/uClinux-dist/linux-2.4.x/lib/lib.a 
arch/m68knommu/lib/lib.a 
/usr/local/lib/gcc-lib/m68k-elf/2.95.3/./m5307/libgcc.a \
        --end-group \
        -o linux
arch/m68knommu/platform/5272/platform.o: In function `sw_usp':
arch/m68knommu/platform/5272/platform.o(.data+0x468): multiple definition of 
`local_irq_count'
arch/m68knommu/kernel/kernel.o:/home/mike/newucl/realtime/uClinux-dist/linux-2.4.x/arch/m68knommu/kernel/sys_m68k.c:103: 
first defined here
make[1]: *** [linux] Error 1
make[1]: Leaving directory 
`/home/mike/newucl/realtime/uClinux-dist/linux-2.4.x'
make: *** [linux] Error 1





More information about the uClinux-dev mailing list