Port-arm archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Adding firmware for USB ethernet to RPI install image
Martin Husemann <martin <at> duskware.de> writes:
>
> On Fri, Aug 01, 2014 at 04:33:00PM +0200, Martin Husemann wrote:
> > Obvious downside: the image grows.
> >
> > I have no RPI and can not test it, but a release build completes for me.
> >
> > Another option is to depreciate this image or completely drop it,
documenting
> > use (and resizing) of the pre-installed root image.
>
> Anyone?
>
> Martin
>
>
Hi, I apologize for not getting back sooner Martin- I don't actually
subscribe to this mailing list (I've fixed this). My question regarding
this patch is: based upon our discussion back in current-users, how is this
patch different from the one I submitted back in this message: http://mail-
index.netbsd.org/current-users/2014/07/16/msg025273.html?
I was able to install the extra firmware into the image without error, and
(rather notably) without increasing the firmware image size. Which probably
means I did something wrong :P. I've since reverted my own changes (so the
sshramdisk directory matches upstream), but it seems that I was attempting
to build an RPI release using a composite of my patch and yours :P.
Incidentally (and most likely unrelated), the changes added broke the RPI
build for me, with the following error:
/mnt/lfs/NetBSD-CVS/src/../tools/bin/armv6--netbsdelf-eabihf-mdsetimage -v
netbsd-RPI_INSTALL.tmp /mnt/lfs/NetBSD-CVS/src/../objdir/evbearmv6hf-el-rpi/
distrib/evbarm/instkernel/sshramdisk/sshramdisk.fs
got symbols from netbsd-RPI_INSTALL.tmp
mapped netbsd-RPI_INSTALL.tmp
armv6--netbsdelf-eabihf-mdsetimage: fs image (8806400 bytes) too big for
buffer (4194304 bytes)
*** Failed target: netbsd-RPI_INSTALL
*** Failed command: /mnt/lfs/NetBSD-CVS/src/../tools/bin/armv6--netbsdelf-
eabihf-mdsetimage -v netbsd-RPI_INSTALL.tmp /mnt/lfs/NetBSD-CVS/src/../
objdir/evbearmv6hf-el-rpi/distrib/evbarm/instkernel/sshramdisk/sshramdisk.fs
*** Error code 1
Stop.
nbmake[5]: stopped in /mnt/lfs/NetBSD-CVS/src/distrib/evbarm/instkernel/
instkernel
*** Failed target: all-instkernel
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/evbarm/
instkernel/"; real="/mnt/lfs/NetBSD-CVS/src/distrib/evbarm/instkernel" ;;
*) this="etc/evbarm/instkernel/${dir}/"; real="/mnt/lfs/NetBSD-CVS/src/
distrib/evbarm/instkernel/${dir}" ;; esac; show=${this:-.}; echo "${target}
===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/lfs/NetBSD-CVS/
src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget instkernel all
*** Error code 1
Stop.
nbmake[4]: stopped in /mnt/lfs/NetBSD-CVS/src/distrib/evbarm/instkernel
*** Failed target: all-instkernel
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/
evbarm/"; real="/mnt/lfs/NetBSD-CVS/src/distrib/evbarm" ;; *) this="etc/
evbarm/${dir}/"; real="/mnt/lfs/NetBSD-CVS/src/distrib/evbarm/${dir}" ;;
esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
"${real}" && /mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget instkernel all
*** Error code 1
Stop.
nbmake[3]: stopped in /mnt/lfs/NetBSD-CVS/src/distrib/evbarm
*** Failed target: all-evbarm
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="etc/";
real="/mnt/lfs/NetBSD-CVS/src/distrib" ;; *) this="etc/${dir}/"; real="/mnt/
lfs/NetBSD-CVS/src/distrib/${dir}" ;; esac; show=${this:-.}; echo
"${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/lfs/
NetBSD-CVS/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
_makedirtarget evbarm all
*** Error code 1
Stop.
nbmake[2]: stopped in /mnt/lfs/NetBSD-CVS/src/distrib
*** Failed target: snap_post
*** Failed command: cd /mnt/lfs/NetBSD-CVS/src/distrib && /mnt/lfs/NetBSD-
CVS/src/../tools/bin/nbmake depend && /mnt/lfs/NetBSD-CVS/src/../tools/bin/
nbmake && /mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmake release
*** Error code 1
Stop.
nbmake[1]: stopped in /mnt/lfs/NetBSD-CVS/src/etc
*** Failed target: release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift;
case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/
mnt/lfs/NetBSD-CVS/src" ;; *) this="${dir}/"; real="/mnt/lfs/NetBSD-CVS/src/
${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+
(with: $@)}"; cd "${real}" && /mnt/lfs/NetBSD-CVS/src/../tools/bin/nbmake
_THISDIR_="${this}" "$@" ${target}; }; _makedirtarget etc release
DISTRIBUTION_DONE=1
*** Error code 1
Stop.
nbmake: stopped in /mnt/lfs/NetBSD-CVS/src
ERROR: Failed to make release
*** BUILD ABORTED ***
william@xubuntu-ltrain:~/Projects/NetBSD-CVS/util$
It seems I am one of those unfortunate souls who updated his CVS tree
between the time when the sshramdisk patch (http://cvsweb.netbsd.org/
bsdweb.cgi/src/distrib/evbarm/instkernel/sshramdisk/Makefile?
only_with_tag=MAIN) was committed and the ramdisk size increase (http://
cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/evbarm/conf/RPI_INSTALL) was
committed :P.
That it broke is probably a good thing actually, because I otherwise
would've created a composite sshramdisk of my changes and yours, which
probably would've subtly been broken. I'm going to update my CVS tree and
see if the error fixes itself.
On Fri, Aug 01, 2014 at 04:33:00PM +0200, Martin Husemann wrote:
>
> I have no RPI and can not test it, but a release build completes for me.
>
Martin, do you know why your RPI build ran successfully initially without
having to increase the ramdisk size?
Home |
Main Index |
Thread Index |
Old Index