Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Minor issue with kernel building script (NetBSD-6.1_RC4 related ?)
Hi,
First: many thanks for the Raspberry pi port, keep up :-)
If you like to know, the plan is to have NetBSD/RaspberryPi handle a
tiny mail server.
About my current setup :
Board: Raspberry Pi B (v2)
Release: NetBSD 6.99.19
System: NetBSD net-rbpi.local.net 6.99.19 NetBSD 6.99.19 (RPI) #0: Sat
May 11 12
:12:19 UTC 2013
builds%b6.netbsd.org@localhost:/home/builds/ab/HEAD/evbarm/201305110850Z-o
bj/home/builds/ab/HEAD/src/sys/arch/evbarm/compile/RPI evbarm
Architecture: arm
Machine: evbarm
Install sets form:
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201305110850Z/evbarm/binary/sets/
Source sets from: ftp -i
ftp://ftp.fr.netbsd.org/pub/NetBSD/NetBSD-6.1_RC4/source/sets/
There is a little issue here with kernel building script. Everything
from install to unpacking needed sources goes perfect except a chmod +x
missing on this file: /usr/src/sys/conf/osrelease.sh
See, I have already unpacked, customised my kernel conf file, and moved
forward to "make depend" :
net-rbpi$ make depend
sh: ../../../../conf/osrelease.sh: permission denied
make:
"../../../../arch/evbarm/conf/../../../../arch/evbarm/conf/mk.rpi" line
8: warning: " ../../../../conf/osrelease.sh" returned non-zero status
^C
Fix transcript:
net-rbpi$ pwd
/usr/src/sys/arch/evbarm/compile/M_RPI_KERNEL
net-rbpi$ ls -alh ../../../../conf/osrelease.sh
-rw-r--r-- 1 ml ml 2.8K Feb 17 2012 ../../../../conf/osrelease.sh
net-rbpi$ chmod +x /usr/src/sys/conf/osrelease.sh
net-rbpi$ ls -alh /usr/src/sys/conf/osrelease.sh
-rwxr-xr-x 1 ml ml 2.8K Feb 17 2012 /usr/src/sys/conf/osrelease.sh
net-rbpi$ make depend
depending the kern library objects
# create kern/anddi3.d
mkdep -f anddi3.d -- -I../../../../../../lib/libkern/arch/arm
-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp -I../../. -I../../../../.
<...>
l.d wsdisplay_util.d wsdisplay_vcons.d wsdisplay_vcons_util.d
wsemul_dumb.d wsemul_vt100.d wsemul_vt100_chars.d wsemul_vt100_keys.d
wsemul_vt100_subr.d wsemulconf.d wsevent.d wsfont.d wsfontdev.d wskbd.d
wskbdutil.d wsmouse.d wsmux.d xc3028.d xc5k.d xform.d xform_ah.d
xform_esp.d xform_ipcomp.d xform_ipip.d zlib.d assym.d" | mkdep -D
net-rbpi$ echo $?
0
net-rbpi$
After this, it goes fine:
net-brpi$ make
<... ~1h later>
ld -Map netbsd.map --cref -T ldscript -X -o netbsd ${SYSTEM_OBJ}
${EXTRA_OBJ} vers.o
text data bss dec hex filename
3350652 960512 118628 4429792 4397e0 netbsd
dbsym netbsd
objcopy -S -O binary netbsd kernel.img
net-rbpi$ echo $?
0
Regards,
Mat.
Home |
Main Index |
Thread Index |
Old Index