[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help amdgpu kernel 6.4 sifive unmatched



Hi,

On Thu, Oct 12, 2023 at 11:37 AM Edson Contreras Cárdenas
<edrecon@gmail.com> wrote:
>
> Hi gurus! :)
>
> I was following this guide:
>
> https://wiki.debian.org/InstallingDebianOn/SiFive/HiFiveUnmatched
>
> And I succeeded installing debian on my Unmatched board booting from nand and with a nvme drive. However, I cannot make the amdgpu driver work.
>
> I have installed firmware-amd-graphics, firmware-linux, firmware-linux-free and firmware-linux-nonfree with no luck.
>
What is your graphics card? my is  AMDnRadeon HD 5000/6000/7350/8350
Series, so one firmware-amd-graphics maybe can work here.

> After changing kernel parameters in several combinations I succeeded to have it "working" but not twice in a row. Always the "second time" didn't work. Anyway... when it worked, I couldn't interact with keyboard or mouse, but I had X.
>
> Almost every time that I boot, dmesg shows the following:
>
> https://pastebin.com/RWqBdB8h

yeah, I have such dmesg after rebooting every time. But once it passed
the complaint, the whole system worked normal.
The log maybe from power issue with the graphics card.

>
> My idea is to help to repair as many errors as possible. I like the RISC-V architecture, and I want to run Debian latest here.
>
> I typically use the following kernel parameters:
>
> root=/dev/nvme0n1p4 rw rootwait console=ttySIF0,115200 earlycon net.ifnames=0 radeon.cik_support=0 amdgpu.cik_support=1 radeon.si_support=0 amdgpu.si_support=1

In fact, the wiki you followed I think was some obscure. I am not sure
your u-boot-* file was put where. But
I remembered if putting them on SD and nvme separately and this caused
maintainance trouble: after upgrading kernel
need to copy from SD to nvme. So I just simple here: on nvme, there is
only rootfs; on sd card, there is only
u-boot-* file. it works! But if you enable to boot from onboard SPI
Flash as the wiki, you do not need sd at all maybe.

Here is my pre-built Unmatched Debian image(hope this helps):
https://github.com/yuzibo/Unmatched-Debian-image/releases/tag/0.0.2

Then dd these images into nvme and sd separately then the system
should work. On my system, there is no kernel parameters,
just:

rv@debci-01:~$ cat /proc/cmdline
root=/dev/nvme0n1p1 ro quiet

BR,
Bo
>
> One of the journalctl logs that ran ok:
>
> https://pastebin.com/zSKtuSbx
>
> I hope you can help me boot my system properly.
>
> Best regards and thanks!
>
> --
> Atte.
> Edson René Contreras Cárdenas
> Ingeniero Civil Electrónico
> Technical Manager - BciPlus+ Loyalty
> Banco BCI


Reply to: