Subject: Re: Crosscompiling for evbarm
To: None <port-arm@netbsd.org>
From: Richard =?utf-8?q?K=C3=A4stner?= <richard.kaestner@kabsi.at>
List: port-arm
Date: 12/02/2006 10:32:25
Christos,

thanks - seems you saved my day!

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

[snip]
> >/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 ; ./build.sh  -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 && 
STRIP=/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/obj/tooldir.NetBSD-4.99.4-i386/bin/arm--netbsdelf-strip 
/usr/www/pages/ftp/pub/NetBSD/evbarm/SRC/obj/tooldir.NetBSD-4.99.4-i386/bin/nbinstall  
-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 'build.sh 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
-- 
Richard Kaestner
IT-Consulting - Training - Development

Woerthgasse 17
A-2500 Baden
Austria

richard.kaestner@ycn.com
richard.kaestner@kabsi.at