Subject: Re: Crosscompiling for evbarm
To: None <>
From: Richard =?utf-8?q?K=C3=A4stner?= <>
List: port-arm
Date: 12/02/2006 10:32:25

thanks - seems you saved my day!

On Thursday 30 November 2006 22:51, Christos Zoulas wrote:

> >/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/gnu/usr.bin/binutils/gas/../../..
> >/ di/binutils/gas/config/tc-arm.c
> >cc1: warnings being treated as errors
> >/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/gnu/usr.bin/binutils/gas/../../..
> >/dist/binutils/gas/config/ -arm.c: In function 'start_unwind_section':
> >/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/gnu/usr.bin/binutils/gas/../../..
> >/dist/binutils/gas/config/tc -arm.c:13721: warning: not protecting local
> > variables: variable length buffer

... I should have READ this message ...
> >
> >*** Failed target:  tc-arm.o
> why are you compiling with SSP?
yes, I did. Corrected, and compiles now!
> christos

Three more question, maybe you can help:

1. How to get a target system with devices epgpio, epwdt, ...

cd /usr/src ; ./  -m evbarm distribution
fails with:
#   install  /usr/www/pages/ftp/pub/NetBSD/evbarm/DESTDIR//dev/MAKEDEV
cd /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc/obj && 
-N /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc -c -p -r -T etc_pkg -o root -g 
wheel -m 555  MAKEDEV /usr/www/pages/ftp/pub/NetBSD/evbarm/DESTDIR//dev

nbinstall: MAKEDEV: stat: No such file or directory

... which is clear, since MAKEDEV is 
in /usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/etc/
so I did it manually, then re-do a ' distribution' - fails again 
despite having 'update=yes'

(OK, Documentation mentions, evbarm does not work with target 'distribution' 
or 'release' !)

2. I loaded the kernel into the Olimex board, start it
but only get garbage on console.
Changing CONSPEED to 57600 does not help ...
(57600, 8N1 is default for Olimex Board - and works with provided kernels)

Any other switches to turn?

3. I am working with 4-current sources (because I thought it has 'all the 
latest' additions) - bad idea, better to work with 3.0 / 3.1?

Thanks for patience and help ...

Richard Kaestner
IT-Consulting - Training - Development

Woerthgasse 17
A-2500 Baden