From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C0DA3139083 for ; Sun, 24 Dec 2017 04:45:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDA6BE0EFD; Sun, 24 Dec 2017 04:45:28 +0000 (UTC) Received: from mail-oi0-x244.google.com (mail-oi0-x244.google.com [IPv6:2607:f8b0:4003:c06::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8AC1FE0E43 for ; Sun, 24 Dec 2017 04:45:28 +0000 (UTC) Received: by mail-oi0-x244.google.com with SMTP id j14so10017037oih.3 for ; Sat, 23 Dec 2017 20:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=+K7O+w/1eCrx5lZ7aPZGwPIJQecANiiyVHSEcSgvEBY=; b=CdDq64htEgIuPrC3ktIZodseBr4rkDvMBPQvlPdhPlVJG+At0YCNZgEBoUXBqjUQBZ XPHtS5qSTnVuugatxsLqaStU+4Tzt6jFzWPuvaF9PEiJ9g5OInWfMNqpVRBOlijDXWDG 5MM6W1QUmMbbqwvkIKuD//cK79qqDC0K+vKpYBUL0iKJOoFokjvyJFYCyQPsDAQZCwjt tDp0b+AcA/xgDGN+8pg63Fb0D8V4NPSAbF+cUKIS0GTvDQ87cg8wsbTAXtdAqw2iJTU4 E1zu4nNOnqWtH2J90Nad9U8nxkxD2wN+HmcUT4DQ9a1LwfM4ZdHL1UASgDZ+wbBsLAp6 FcVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=+K7O+w/1eCrx5lZ7aPZGwPIJQecANiiyVHSEcSgvEBY=; b=MrsRhhv0iFxXleHcj+BHanje2I7WrY8M0ihRMyR0sLx9LCtidMK/nQhoItcNkMTTVR KcTriIuK8ZGFSs9or3xFBblGArnRuEU1O391qjvl7V8b70lajYCIVmx7CtbdceoBiBkZ FOq8qzEMqIFrBOqN7l2wcangBArP1WvfNkFjKcN0J53csvGUXVgSgb5x1VpCwxqAA3eA OvwsWeCOgRXdxtSZ3jHT/SRDk+r9oRKH82u+UjlqOx2fHWcZjRgE86Jo1ao2w7zjhw42 vR+HQR5OSo2GuP8spvmi0woUe2WlKytcsnsIzAyPXAQO5CZX6uNzPRbAUD0ckkbZrn71 LiDA== X-Gm-Message-State: AKGB3mIBK6oFlSrNTKpAZxXZgqw4xmTXDitxcO3KQmnHnOqc7FgvQTdZ kkYNOAFz2YMktbXYXNBt3q0RNpqzBkgPZEQ6rDgQy8RH X-Google-Smtp-Source: ACJfBot8jC67eVlkkJrEduwMeWZOEYpd9Y6cW6UV4rollNPEIp+x2lwvSyH4OKHPFN7S8JyrRqj2sykHsQBOu94IOQg= X-Received: by 10.202.2.73 with SMTP id 70mr13635270oic.296.1514090727498; Sat, 23 Dec 2017 20:45:27 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.157.19.65 with HTTP; Sat, 23 Dec 2017 20:45:27 -0800 (PST) In-Reply-To: <7930316.nJAtrItFxY@dell_xps> References: <504603539.5rY3yrNDt7@dell_xps> <7811049.DPXu07HB61@dell_xps> <7930316.nJAtrItFxY@dell_xps> From: Adam Carter Date: Sun, 24 Dec 2017 15:45:27 +1100 Message-ID: Subject: Re: [gentoo-user] Radeon RV730 blobs changed To: gentoo-user@lists.gentoo.org Content-Type: multipart/alternative; boundary="001a11379b0ef86cbe05610eb7f4" X-Archives-Salt: 424ae2f8-683f-482b-a42c-cd1acaf3a1ff X-Archives-Hash: 2330712cf73e3bef08584b11675bf08d --001a11379b0ef86cbe05610eb7f4 Content-Type: text/plain; charset="UTF-8" On Thu, Dec 21, 2017 at 7:20 AM, Mick wrote: > On Wednesday, 20 December 2017 19:55:40 GMT Mick wrote: > > On Wednesday, 20 December 2017 18:31:03 GMT Mike Gilbert wrote: > > > On Wed, Dec 20, 2017 at 12:39 PM, Mick > wrote: > > > > [ 1.072525] [drm] Loading RV730 Microcode > > > > [ 1.072679] radeon 0000:02:00.0: Direct firmware load for radeon/ > > > > RV730_pfp.bin failed with error -2 > > > > [ 1.072859] r600_cp: Failed to load firmware > "radeon/RV730_pfp.bin" > > > > [ 1.072974] [drm:rv770_init] *ERROR* Failed to load firmware! > > > > > > Does this error occur before your root filesystem has been mounted? > > > You should see a message about mounting root further down in the dmesg > > > output. > > > > > > If that's the case, and your kernel needs the firmware blob before > > > root has been mounted, you will probably need to start using an > > > initramfs, or add radeon/RV730_pfp.bin to CONFIG_EXTRA_FIRMWARE. > > > > I beg your pardon guys, the deprecated 'make firmware_install' through me > > off the scent! It seems that the blobs for Radeon R730 have changed with > > kernel 4.14.7, from those the Gentoo Wiki shows. So I'm fishing for > errors > > in dmesg and adding one blob at a time to see what I get. The kernel > > compile builds the blobs fine as I show below, even if the > firmware_install > > is not used any longer. > > > > CHK include/generated/compile.h > > MK_FW firmware/radeon/RV730_me.bin.gen.S > > AS firmware/radeon/RV730_me.bin.gen.o > > AR firmware/built-in.o > > OK, problem solved for now! :-) > > My list of blobs was: > > CONFIG_EXTRA_FIRMWARE="intel-ucode/06-1e-05 radeon/R700_rlc.bin radeon/ > RV730_smc.bin radeon/RV710_uvd.bin" > > and it now is: > > CONFIG_EXTRA_FIRMWARE="intel-ucode/06-1e-05 radeon/R700_rlc.bin radeon/ > RV730_pfp.bin radeon/RV730_me.bin radeon/RV730_smc.bin > radeon/RV710_uvd.bin" > > Console buffer works, xserver works. I don't know if all of them are > necessary, but if it works and doesn't complain I don't have to try messing > things up. ;-) > > My video card in case you have the same is: > > Chipset: "ATI Mobility Radeon HD 4670" (ChipID = 0x9488) > https://en.wikipedia.org/wiki/List_of_AMD_graphics_processing_units#Radeon_HD_4000_Series reckons that the 4670 is RV730, so i'd say you dont need radeon/R700_rlc.bin or radeon/RV710_uvd.bin --001a11379b0ef86cbe05610eb7f4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Dec 21, 2017 at 7:20 AM, Mick <michaelkintzios@gmail.c= om> wrote:
On Wednesday, 20 December 2017 19:55:40 GMT Mick = wrote:
> On Wednesday, 20 December 2017 18:31:03 GMT Mike Gilbert wrote:
> > On Wed, Dec 20, 2017 at 12:39 PM, Mick <michaelkintzios@gmail.com> wrote:
> > > [=C2=A0 =C2=A0 1.072525] [drm] Loading RV730 Microcode
> > > [=C2=A0 =C2=A0 1.072679] radeon 0000:02:00.0: Direct firmwar= e load for radeon/
> > > RV730_pfp.bin failed with error -2
> > > [=C2=A0 =C2=A0 1.072859] r600_cp: Failed to load firmware &q= uot;radeon/RV730_pfp.bin"
> > > [=C2=A0 =C2=A0 1.072974] [drm:rv770_init] *ERROR* Failed to = load firmware!
> >
> > Does this error occur before your root filesystem has been mounte= d?
> > You should see a message about mounting root further down in the = dmesg
> > output.
> >
> > If that's the case, and your kernel needs the firmware blob b= efore
> > root has been mounted, you will probably need to start using an > > initramfs, or add radeon/RV730_pfp.bin to CONFIG_EXTRA_FIRMWARE.<= br> >
> I beg your pardon guys, the deprecated 'make firmware_install'= through me
> off the scent!=C2=A0 It seems that the blobs for Radeon R730 have chan= ged with
> kernel 4.14.7, from those the Gentoo Wiki shows.=C2=A0 So I'm fish= ing for errors
> in dmesg and adding one blob at a time to see what I get.=C2=A0 The ke= rnel
> compile builds the blobs fine as I show below, even if the firmware_in= stall
> is not used any longer.
>
>=C2=A0 =C2=A0CHK=C2=A0 =C2=A0 =C2=A0include/generated/compile.h
>=C2=A0 =C2=A0MK_FW=C2=A0 =C2=A0firmware/radeon/RV730_me.bin.gen.S<= br> >=C2=A0 =C2=A0AS=C2=A0 =C2=A0 =C2=A0 firmware/radeon/RV730_me.bin.g= en.o
>=C2=A0 =C2=A0AR=C2=A0 =C2=A0 =C2=A0 firmware/built-in.o

OK, problem solved for now!=C2=A0 :-)

My list of blobs was:

CONFIG_EXTRA_FIRMWARE=3D"intel-ucode/06-1e-05 radeon/R700_rlc.bin= radeon/
RV730_smc.bin radeon/RV710_uvd.bin"

and it now is:

CONFIG_EXTRA_FIRMWARE=3D"intel-ucode/06-1e-05 radeon/R700_rlc.bin= radeon/
RV730_pfp.bin radeon/RV730_me.bin radeon/RV730_smc.bin radeon/RV710_uvd.bin= "

Console buffer works, xserver works.=C2=A0 I don't know if all of them = are
necessary, but if it works and doesn't complain I don't have to try= messing
things up.=C2=A0 ;-)

My video card in case you have the same is:

Chipset: "ATI Mobility Radeon HD 4670" (ChipID =3D 0x9488)


reckons th= at the 4670 is RV730, so i'd say you dont need radeon/R700_rlc.bin or r= adeon/RV710_uvd.bin

--001a11379b0ef86cbe05610eb7f4--