Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

cross-compiling ARM img question



I've got an invocation like this, hoping to get an armv7 img to dd
onto an SD card:

$ nice ./build.sh  -j1 -u -U -R /home/bch/releasedir -O
/home/bch/usr/obj_nanopi/ -m evbearmv7hf-el release


But the build step is trying to install things to root (/boot/...). It
seemed to me that the -R switch should have the release installed to
the supplied dir. I've got nothing at all in
/home/bch/releasedir/evbarm/binary/gzimg, though I've got sets built
(/home/bch/releasedir/evbarm/binary/sets/*)

What am I missing?

Here's the final output from the build.sh as indicated above:

[...]

release ===> etc/evbarm/cdroms
release ===> etc/evbarm/cdroms/installcd
/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/armv7--netbsdelf-eabihf-install
-r -p -c -m 444
/home/bch/usr/obj_nanopi/sys/arch/evbarm/stand/boot2440/bootmini2440
/home/bch/releasedir/evbarm/installation
TOOL_MAKE=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbmake
 TOOL_MAKEFS=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbmakefs
 TOOL_DISKLABEL=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbdisklabel
 TOOL_FDISK=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/armv7--netbsdelf-eabihf-fdisk
 TOOL_GZIP=gzip
TOOL_MKNOD=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbmknod
 TOOL_PAX=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbpax
 TOOL_MKUBOOTIMAGE=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbmkubootimage
 TOOL_MTREE=/home/bch/usr/obj_nanopi/tooldir.NetBSD-8.99.7-amd64/bin/nbmtree
 HOST_SH=/bin/sh
KERNOBJDIR=/home/bch/usr/obj_nanopi/sys/arch/evbarm/compile
MACHINE=evbarm  /bin/sh /usr/src/distrib/utils/embedded/mkimage -x -h
armv7 -D /home/bch/usr/obj_nanopi/destdir.evbarm  -S /usr/src -B le -K
/home/bch/releasedir/evbarm/binary/kernel
/home/bch/releasedir/evbarm/binary/gzimg/armv7.img.gz
=== configuring sets ===
=== running MAKEDEV ===
=== fixing up permissions
=== looking for kernels in /home/bch/releasedir/evbarm/binary/kernel ===
=== installing /home/bch/releasedir/evbarm/binary/kernel/netbsd-BEAGLEBOARD.ub.gz
to /boot/netbsd-BEAGLEBOARD.ub ===
=== installing /home/bch/releasedir/evbarm/binary/kernel/netbsd-BEAGLEBONE.ub.gz
to /boot/netbsd-BEAGLEBONE.ub ===
=== installing /home/bch/releasedir/evbarm/binary/kernel/netbsd-BPI.ub.gz
to /boot/netbsd-BPI.ub ===
=== installing /home/bch/releasedir/evbarm/binary/kernel/netbsd-CUBIEBOARD.ub.gz
to /boot/netbsd-CUBIEBOARD.ub ===
=== installing /home/bch/releasedir/evbarm/binary/kernel/netbsd-CUBIETRUCK.ub.gz
to /boot/netbsd-CUBIETRUCK.ub ===

/: write failed, file system is full
gzip: error writing to output: No space left on device
gzip: /home/bch/releasedir/evbarm/binary/kernel/netbsd-CUBIETRUCK.ub.gz:
uncompress failed
*** [smp_armv7] Error code 1

nbmake[1]: stopped in /usr/src/etc
1 error

nbmake[1]: stopped in /usr/src/etc
*** [release] Error code 2

nbmake: stopped in /usr/src
1 error

nbmake: stopped in /usr/src

ERROR: Failed to make release
*** BUILD ABORTED ***
ing inat though t I' got   sets builtr.r.r.
kjhhkkkkjkjkjhhlhlhhhlhlhhkjkjllhxhh final  output


Home | Main Index | Thread Index | Old Index