Subject: Re: jornada 720: success
To: Ben Harris <>
From: Steve Clement <>
List: port-hpcarm
Date: 07/22/2002 16:19:11
Ben Harris wrote:
> In article <> you write:
>>Ok, this is somehow all moving...
>>I am about to write a howto on getting netbsd onto the Jornada but one 
>>of the biggest barriers is getting the netbsd kernel to compile, so I am 
>> trying to write as much info as possible about compiling the kernel on 
>>NetBSD. The compile errors are mostly ASM errors and I had to set some 
>>constants in order to get it to nearly compile, there were errors 
>>regarding bios32 on my i386 platform.
>>So my current problem is:
>>bash-2.05a# /usr/src/tools/obj/tools.NetBSD-1.6D-i386/bin/nbmake-hpcarm
> [...]
>>Error: bad instruction `movzwl 4(%esp),%eax'
>>Error: bad instruction `rorw $8,%ax'
>>Error: bad instruction `ret'
> So you seem to be getting the i386 .S files, which is clearly wrong, and is
> probably caused by your having MACHINE_ARCH set wrongly.  Can you show us
> the contents of $TOOLDIR/bin/nbmake-hpcarm and /etc/mk.conf?

ok indeed arch wasnt set /etc/mk.conf doesnt exist nbmake contents :
#! /bin/sh
# Set proper variables to allow easy "make" building of a NetBSD subtree.
# Generated from:  $NetBSD:,v 1.63 2002/07/09 06:36:16 pooka Exp $

DESTDIR='/usr/local/hpcarm'; export DESTDIR
TOOLDIR='/usr/src/tools/obj/tools.NetBSD-1.6D-i386'; export TOOLDIR
MACHINE='hpcarm'; export MACHINE
MAKEFLAGS='-m /usr/src/share/mk MKOBJDIRS=yes'; export MAKEFLAGS

exec "$TOOLDIR/bin/nbmake" ${1+"$@"}

chrs steve

ION Network Solutions
Steve Clement
Unix System Administrator
Tel: +352 091 721 923
Fax: +352 595 271