Ignore:
Timestamp:
07/31/2023 01:44:37 PM (11 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.0, 12.1, ken/TL2024, ken/tuningfonts, lazarus, plabs/newcss, python3.11, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, xry111/llvm18
Children:
7ebdf4e
Parents:
4e37f01
git-author:
Xi Ruoyao <xry111@…> (07/30/2023 10:59:07 AM)
git-committer:
Xi Ruoyao <xry111@…> (07/31/2023 01:44:37 PM)
Message:

firmware: Update NVIDIA firmware info

  1. It does not make sense to tell the users "enable CONFIG_DRM_NOUVEAU" here. It's the kernel driver needs the firmware, not the opposite. So drop the kernel configuration section here.
  2. Port the script to Python 3. I've checked the md5sums of the output binaries and they are same with the original version.
  3. Bump the NVIDIA driver blob version. If the blob is not downloaded or extracted, the script will tell to download 340.32, so we use the same version to avoid confusion.
  4. Update nouveau wiki link.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/firmware.xml

    r4e37f01 rece1f60d  
    570570        For more exact information about which chips need extracted firmware, see
    571571        <ulink url=
    572           "https://nouveau.freedesktop.org/wiki/VideoAcceleration/#firmware"/>.
    573       </para>
    574 
    575       <para>
    576         First, the kernel Nvidia driver must be activated:
    577       </para>
    578 
    579 <screen><literal>Device Drivers ---&gt;
    580   Graphics support ---&gt;
    581       Direct Rendering Manager ---&gt;
    582         &lt;*&gt; Direct Rendering Manager (XFree86 ... support)  [CONFIG_DRM]
    583       &lt;*/M&gt; Nouveau (NVIDIA) cards                          [CONFIG_DRM_NOUVEAU]</literal></screen>
     572          "https://nouveau.freedesktop.org/VideoAcceleration.html"/>.
     573      </para>
    584574
    585575      <para>
     
    591581      <para>
    592582        If the firmware has not been made available in linux-firmware,
    593         for the old chips mentioned in the nouveau wiki link above ensure you have
    594         installed <xref linkend="python2"/> and run the following commands:
    595       </para>
    596 
    597       <!-- Someone please port this to Python 3.  -->
    598 <screen><userinput>wget https://raw.github.com/imirkin/re-vp2/master/extract_firmware.py
    599 wget https://us.download.nvidia.com/XFree86/Linux-x86/325.15/NVIDIA-Linux-x86-325.15.run
    600 sh NVIDIA-Linux-x86-325.15.run --extract-only
    601 python2 extract_firmware.py
     583        for the old chips mentioned in the nouveau wiki link above
     584        run the following commands:
     585      </para>
     586
     587<screen><userinput>wget https://anduin.linuxfromscratch.org/BLFS/nvidia-firmware/extract_firmware.py
     588wget https://us.download.nvidia.com/XFree86/Linux-x86/340.32/NVIDIA-Linux-x86-340.32.run
     589sh NVIDIA-Linux-x86-340.32.run --extract-only
     590python3 extract_firmware.py
    602591mkdir -p /lib/firmware/nouveau
    603592cp -d nv* vuc-* /lib/firmware/nouveau/</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.