cannot boot with linux-libre>=5.7, amdgpu and cryptsetup

Denis 'GNUtoo' Carikli GNUtoo at cyberdimension.org
Mon Jul 20 19:57:58 UTC 2020


On Sun, 19 Jul 2020 03:05:37 +0000
edgar at openmail.cc wrote:

> I don't know how to proceed.
In that case the easiest way to proceed is to go step by step.

So far we manage to:
- Verify that your GPU wasn't supported by linux-libre yet
- Identify the code that handle your GPU in Linux
- Identify the first location to patch

The next step is to comment the request_firmware mentioned below:
> #+begin_QUOTE
>    > err = request_firmware(&adev->firmware.gpu_info_fw, fw_name,
>    >                        adev->dev);
>    So here it requests the gpu_info firmware, and Linux can then have
>    access to it.
> #+end_QUOTE

Once this is done the best way to proceed is to build a kernel with
that being commented, and to just run it and get a log, and paste the
log here.

> I guess that you mean in the Linux source code, not in Linux Libre, 
> right? (I was unable to find that line in my copy of linux-libre 5.7)
Both will work. Here we're just testing some things so even if you use
Linux for the tests, we can still re-incorporate the patch in
linux-libre later on.

If you want to use a deblobbed version of Linux you can use the
following commands:
> git clone https://jxself.org/git/linux-libre.git
> cd linux-libre
> git checkout v5.7.9-gnu

In any case we should be able to verify if everything was done well
with the log.

I've also a more in depth howto here:
https://libreplanet.org/wiki/Group:Hardware/research/gpu/radeon/How_to_patch_and_test_linux-libre_in_Parabola

Alternatively, if it's too long or complicated, I could try to make a
patched Parabola kernel for you to test from. This way you would only
have to install the kernel and get the log. However it might take time
for me to build it as I've a slow x86 builder for Parabola.

Denis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://www.fsfla.org/pipermail/linux-libre/attachments/20200720/16dab280/attachment.sig>


More information about the linux-libre mailing list