Index | Thread | Search

From:
Thomas de Grivel <billitch@gmail.com>
Subject:
Re: increase install75.img size to consider iwx firmware
To:
Theo de Raadt <deraadt@openbsd.org>, Mikhail Pchelin <misha@freebsd.org>, tech@openbsd.org
Date:
Thu, 6 Mar 2025 16:09:08 +0100

Download raw body.

Thread
mount_mfs -s ??? /dev/sd0b /mnt
cp -ax / /mnt
chroot /mnt /bin/ksh
fw_update

On Tue, Apr 16, 2024 at 8:11 PM Stuart Henderson <stu@spacehopper.org> wrote:
>
> I'd recommend a second usb stick (or usb ethernet etc)
>
>
> On 2024/04/16 11:01, Theo de Raadt wrote:
> > iwx cannot go onto the media because we are not permitted.
> >
> > this is simply an after-market assistance which I think we may
> > have been mistaken to give the public.
> >
> > If we increase the media for arbitrary payloads people want to shove
> > into it, it will become bigger and bigger for other people and
> > someone else will be negatively affected.  I do not want to spend my
> > life increasing this size over and over again.
> >
> >
> >
> >
> > Mikhail Pchelin <misha@freebsd.org> wrote:
> >
> > > $ ftp https://cdn.openbsd.org/pub/OpenBSD/snapshots/amd64/install75.img
> > > $ doas vnconfig install75.img
> > > vnd0
> > > $ doas mount /dev/vnd0a /mnt
> > > $ doas fw_update -Fv -p /mnt iwx
> > > Get/Verify iwx-firmware-20230629.tgz ...\
> > > /mnt: write failed, file system is full
> > >  failed.
> > >
> > > with inlined patch and iwx downloaded I get:
> > >
> > > $ df -h /mnt
> > > Filesystem     Size    Used   Avail Capacity  Mounted on
> > > /dev/vnd0a     681M    672M    9.3M    99%    /mnt
> > >
> > > git blame says that etc/etc.amd64/disktab also was updated on the last
> > > $FSSIZE grow, but i wasn't able to understand/grep what
> > > install360/install.img image is all about
> > >
> > > iwx is enabled on arm64 too and its install75.img also doesn't have
> > > enough space for iwx, but I lack the hardware to test the build
> > >
> > > diff --git a/distrib/amd64/iso/Makefile b/distrib/amd64/iso/Makefile
> > > index a4cc5dd600e..9968c9b8d30 100644
> > > --- a/distrib/amd64/iso/Makefile
> > > +++ b/distrib/amd64/iso/Makefile
> > > @@ -1,7 +1,8 @@
> > >  #  $OpenBSD: Makefile,v 1.47 2023/12/15 06:03:00 jmatthew Exp $
> > >
> > >  FS=                install${OSrev}.img
> > > -FSSIZE=            1359872
> > > +# keep free space for large wifi firmware
> > > +FSSIZE=            1396736
> > >  CDROM=             install${OSrev}.iso
> > >
> > >  MOUNT_POINT=       /mnt
> > >
> >
>


-- 
 Thomas de Grivel
 https://www.kmx.io