From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: How to get firmware-imx for imx8mm evk into sdcard image? I'm getting firmware loading errors for sdma-imx7d.bin etc. To: meta-freescale@lists.yoctoproject.org From: "Brian Hutchinson" X-Originating-Location: Big Island, Virginia, US (184.105.1.51) X-Originating-Platform: Linux Firefox 81 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 06 Oct 2020 13:58:38 -0700 References: <22224.1602013328940611325@lists.yoctoproject.org> In-Reply-To: <22224.1602013328940611325@lists.yoctoproject.org> Message-ID: <24102.1602017918375108094@lists.yoctoproject.org> Content-Type: multipart/alternative; boundary="CUPYwKbRcPlF0dusCu0h" --CUPYwKbRcPlF0dusCu0h Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 6, 2020 at 12:42 PM, Brian Hutchinson wrote: >=20 >=20 >=20 > Smoking sstate & tmp and trying build again with: >=20 >=20 > IMAGE_INSTALL_append =3D " firmware-imx-sdma-imx7d firmware-imx-epdc" >=20 So just finished the above cycle and flashed sdcard.=C2=A0 Think we got so= mewhere this time! I get only one instance of sdma error: [ =C2=A0=C2=A0=C2=A00.117495] EINJ: ACPI disabled. [ =C2=A0=C2=A0=C2=A00.126332] imx-sdma 302c0000.dma-controller: Direct fir= mware load for imx/sdma/sdma-imx7d.bin failed with error -2 [ =C2=A0=C2=A0=C2=A00.126346] imx-sdma 302c0000.dma-controller: Falling ba= ck to sysfs fallback for: imx/sdma/sdma-imx7d.bin [ =C2=A0=C2=A0=C2=A00.134253] mxs-dma 33000000.dma-controller: initialized [ =C2=A0=C2=A0=C2=A00.135378] Bus freq driver module loaded ... of note here is it didn't say it was using ROM version!!!! And I have firmware package for sdma now: root@imx8mmevk:~# rpm -qa | grep -i firmware linux-firmware-ath10k-license-20200817-r0.noarch firmware-qca9377-3.0.2-r0.noarch firmware-imx-epdc-8.8-r0.noarch linux-firmware-ath10k-20200817-r0.noarch firmware-imx-sdma-imx7d-8.8-r0.noarch root@imx8mmevk:/lib/firmware# ls -l -rw-r--r-- =C2=A0=C2=A0=C2=A01 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02713 Mar =C2=A09 12:34 LICENS= E.QualcommAtheros_ath10k drwxr-xr-x =C2=A0=C2=A011 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01024 Mar =C2=A09 12:34 ath10k drwxr-xr-x =C2=A0=C2=A0=C2=A04 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01024 Mar =C2=A09 12:34 imx drwxr-xr-x =C2=A0=C2=A0=C2=A02 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01024 Mar =C2=A09 12:34 qca drwxr-xr-x =C2=A0=C2=A0=C2=A02 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01024 Mar =C2=A09 12:34 qca937= 7 -rw-r--r-- =C2=A0=C2=A0=C2=A01 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A03764 Mar =C2=A09 12:34 regula= tory.db -rw-r--r-- =C2=A0=C2=A0=C2=A01 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01182 Mar =C2=A09 12:34 regula= tory.db.p7s drwxr-xr-x =C2=A0=C2=A0=C2=A03 root =C2=A0=C2=A0=C2=A0=C2=A0root =C2=A0=C2= = =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A01024 Mar =C2=A09 12:34 wlan ... and /lib/firmware/imx/sdma looks like: root@imx8mmevk:/lib/firmware/imx/sdma# ls sdma-imx7d.bin So hopefully this helps with the ALSA issue I was chasing that led me to t= his sdma issue in the first place! Thanks guys!=C2=A0 I don't know why core-image-minimal isn't working ... I= see there is a firmware-imx-8m package so maybe I should add it. Regards, Brian --CUPYwKbRcPlF0dusCu0h Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Tue, Oct 6, 2020 at 12:42 PM, Brian Hutchinson wrote:


Smoking ss= tate & tmp and trying build again with:


IMAGE_INSTALL_appe= nd =3D " firmware-imx-sdma-imx7d firmware-imx-epdc"
So just finished the above cycle and flashed sdcard.  Think we got so= mewhere this time!

I get only one instance of sdma error:
<= br />[    0.117495] EINJ: ACPI disab= led.     
[    0.126332] imx= -sdma 302c0000.dma-controller: Direct firmware load for imx/sdma/sdma-imx7d= .bin failed with error -2
[    0.126346] imx-sdma 302c= 0000.dma-controller: Falling back to sysfs fallback for: imx/sdma/sdma-imx7= d.bin
[    0.134253] mxs-dma 33000000.dma-controller: = initialized           &nb= sp;         
[  &nbs= p; 0.135378] Bus freq driver module loaded

... of note here= is it didn't say it was using ROM version!!!!

And I have firmwa= re package for sdma now:

root@imx8mmevk:~# rpm -qa | grep -i firmwar= e
linux-firmware-ath10k-license-20200817-r0.noarch
firmw= are-qca9377-3.0.2-r0.noarch
firmware-imx-epdc-8.8-r0.noarch
lin= ux-firmware-ath10k-20200817-r0.noarch
firmware-imx-sdma-imx7d-8.8-r0.= noarch


root@im= x8mmevk:/lib/firmware# ls -l
-rw-r--r--    1 ro= ot     root        &= nbsp; 2713 Mar  9 12:34 LICENSE.QualcommAtheros_ath10k
drwx= r-xr-x   11 root     root    &= nbsp;     1024 Mar  9 12:34 ath10k
drwx= r-xr-x    4 root     root   &n= bsp;      1024 Mar  9 12:34 imx
dr= wxr-xr-x    2 root     root   =        1024 Mar  9 12:34 qca
= drwxr-xr-x    2 root     root  &nbs= p;       1024 Mar  9 12:34 qca9377 =
-rw-r--r--    1 root     root &nbs= p;        3764 Mar  9 12:34 re= gulatory.db
-rw-r--r--    1 root    &nb= sp;root          1182 Mar &nbs= p;9 12:34 regulatory.db.p7s
drwxr-xr-x    3 root  = ;   root         &nb= sp;1024 Mar  9 12:34 wlan

... and /lib/firmware/imx/sdma lo= oks like:

root@imx8mmevk:/lib/firmware/imx/sdma# = ls
sdma-imx7d.bin

So hopefully this helps wi= th the ALSA issue I was chasing that led me to this sdma issue in the first= place!

Thanks guys!  I don't know why core-image-minimal i= sn't working ... I see there is a
firmware-imx-8m package so maybe I should add it.<= br />
Regards,

Brian

--CUPYwKbRcPlF0dusCu0h--