elinux FAQ

Q - I have downloaded the developer board software release 1 and I get the error

/bin/sh: -c: line 2: syntax error: unexpected end of file
while running make elinux. The error seems to come from elinux/user.
A - If you are using bash 2.x as /bin/sh you get this error. It is corrected in elinux for developer board release 1.0.1. Solution: upgrade to release 1.0.1 or change line 643 in elinux/user/Makefile from:
	@[ ! -d $(DEV) ] && { mkdir $(DEV) && chmod 755 $(DEV) }
to
	@if [ ! -d $(DEV) ]; then mkdir $(DEV); chmod 755 $(DEV); fi;

Q - I want to be able to control the pins of the par0 and/or par1 interface of the ETRAX. But when I write to the R_PAR* registers, it does not seem to have any effect on the hardware.
A - You have probably forgotten to enable the interfaces in elinux/arch/etrax100/kernel/head.S. Have a look at the 'Notes' section of the How to Write Device Drivers for ETRAX 100 document for details.




$Date: 2001/01/25 08:47:09 $
$Revision: 1.2 $
Please send feedback on how to improve this document to technology@axis.com.
Axis Communications, Technology Division