Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2025 20:51:41 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        Stefan Esser <se@freebsd.org>, Emmanuel Vadot <manu@freebsd.org>,  FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: "don't know how to make /usr/main-src/sys/contrib/dev/iwm/iwm-3160-17.fw.uu. Stop"
Message-ID:  <CAJ-VmomNZ9dLE2XxYz9z_2AjGMDWBB0BVq%2BCr8MvvhxS=RJ0Kw@mail.gmail.com>
In-Reply-To: <1B14894C-78E3-4696-9E4F-FBA97A356BF1@yahoo.com>
References:  <CD107BA5-1168-4A75-9323-9A4B7E90825E.ref@yahoo.com> <CD107BA5-1168-4A75-9323-9A4B7E90825E@yahoo.com> <978176f7-270c-4603-b80a-e29c3b1b4b73@FreeBSD.org> <4FC807EC-10DD-49FD-AACE-9026B4925923@yahoo.com> <1B14894C-78E3-4696-9E4F-FBA97A356BF1@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000d507a8062ca8d5c1
Content-Type: text/plain; charset="UTF-8"

Hi!

So, there's no longer a build target for the firmware uuencoded files ->
kernel module.

Being able to build iwm in the kernel rather than a module is broken.

Now, the real issue(s) are that iwm needs firmware to initialise, and the
firmware needs to exist, and thus it needs access to the rootfs for
firmware_get() to find the now binary files in /boot/firmware instead of
the kernel module old way, and that whole pipeline is broken if it's loaded
at boot time or included in the kernel directly. There isn't a nice way to
defer the firmware load attempt until /after/ rootfs is up.




-adrian

--000000000000d507a8062ca8d5c1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_quote gmail_quote_container"><div><br>=
</div><div>Hi!</div><div><br></div><div>So, there&#39;s no longer a build t=
arget for the firmware uuencoded files -&gt; kernel module.</div><div><br><=
/div><div>Being able to build iwm in the kernel rather than a module is bro=
ken.</div><div><br></div><div>Now, the real issue(s) are that iwm needs fir=
mware to initialise, and the firmware needs to exist, and thus it needs acc=
ess to the rootfs for firmware_get() to find the now binary files in /boot/=
firmware instead of the kernel module old way, and that whole pipeline is b=
roken if it&#39;s loaded at boot time or included in the kernel directly. T=
here isn&#39;t a nice way to defer the firmware load attempt until /after/ =
rootfs is up.</div><div><br></div><div><br></div><div><br></div><div><br></=
div><div>-adrian</div><div><br></div><blockquote class=3D"gmail_quote" styl=
e=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);paddin=
g-left:1ex">=C2=A0</blockquote></div></div>

--000000000000d507a8062ca8d5c1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomNZ9dLE2XxYz9z_2AjGMDWBB0BVq%2BCr8MvvhxS=RJ0Kw>