Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - adaptl

Pages: [1] 2
1
Firmware / Re: What does it take to support a new CPU?
« on: February 27, 2025, 10:20:30 pm »
Alright I got the XML depedencies installed, I also had to install a static zlib to get it compiling. I misremembered the build failing with bitbake URLs earlier, it was actually buildroot that's failing to fetch stuff.

Code: [Select]
--2025-02-27 22:50:28--  http://sources.buildroot.net/ppe42-gcc/ppe42-gcc-84a6a88e95d3b52cf4a6979a5ca47a12daa6ec49-br1.tar.gz
Resolving sources.buildroot.net... 172.67.72.56, 104.26.0.37, 104.26.1.37, ...
Connecting to sources.buildroot.net|172.67.72.56|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-02-27 22:50:33 ERROR 404: Not Found.

2
Firmware / Re: What does it take to support a new CPU?
« on: February 27, 2025, 04:07:24 am »

When you say it doesn't IPL, does absolutely nothing come up on the console, or do you at least get some output from Hostboot?


I don't get anything from hostboot's serial console. I just remembered that last time I tried, I got a bootup screen on the VGA, but nothing else. I'll try again without the VGA disable pin. This is what it looks like. It just boot loops 3 or 4 times and stays on. The loading bar loads a bit but gets stuck like a 1/6th of the way. Looks like this: https://files.catbox.moe/fzskrz.jpg

There are a 4 WOF csv files meant for 16core SFORZA over on https://github.com/open-power/WOF-Tables which aren't included in Raptor's PNOR, but if you're not getting any Hostboot output at all, I think it's more than just missing WOF tables. But I can build a PNOR that simply includes all of the 16core WOF tables.

I've just started to build the PNOR without the debian chroot and it is coming along pretty well. I am going to leave it compiling overnight. I think it's complaining about some XML depedency?

The 02AA883 boots with anything except the latest firmware, and on the second-latest firmware (v2.00) it complains about not having WOF tables in the PNOR serial's dmesg.

Try using the PNOR from v2.00 and upgrading the BMC to v2.10. My guess is the BMC firmware is unrelated to your issue.

Isn't the BMC firmware the same from System Package v2.00 and v2.10? BMC v2.10 and PNOR v2.00 is what ive usually got on and it works but complains about WOF tables.


I don't think we're quit there yet, but here's the diff between v2.00 and v2.10 pnor. There's changes to talos_config and a talos_defconfig that we'd probably want to start with.

That is a good start

If the issue with the 20CY230 is strictly a WOF table issue, then try this: https://gitlab.com/bobpaul/talos-op-build/-/releases/wof-16-20250226

Oh wow this is awesome

3
Firmware / Re: What does it take to support a new CPU?
« on: February 25, 2025, 10:01:53 pm »
Have you tried booting the 02CY230 yet?

I've tried booting it on several firmware versions with the 20CY230 but it just doesn't IPL or give me any info from the PNOR serial interface or from the BMC.

The 02AA883 boots with anything except the latest firmware, and on the second-latest firmware (v2.00) it complains about not having WOF tables in the PNOR serial's dmesg. If I ever get around to building the firmware or making WOF tables I'll keep you updated. I might try to set up some sort of archive for a lot of this talos repo stuff just in case it all becomes abandonware. Currently it's not building because it fails to fetch repositories from bitbake, dead links I suppose.

I haven't upgraded the FPGA with the PNOR/BMC flash so that may be causing it, looking at FPGA changes there are some minor things related to Talos II lite. I've got a flash programmer here I just dont want to brick the FPGA.

4
User Zone / Re: Calling for gaming experiences
« on: February 19, 2025, 10:58:57 pm »
Just for fun, I tried to get minecraft working with prism launcher on gentoo to test my GPU, and I even patched the DRM out because my old mojang account won't work. It doesn't seem to work out of the box with lwjgl. How did you all go about building lwjgl?

https://packages.gentoo.org/packages/games-action/prismlauncher

5
Applications and Porting / Re: Running Ollama on PPC64LE
« on: February 19, 2025, 10:55:30 pm »
I got llama.cpp working with vulkan and on CPU alone, and I also noticed poor performance

6
Firmware / Re: What does it take to support a new CPU?
« on: February 19, 2025, 07:23:16 pm »
Oh, I should mention my card is a RX6600 (Navi23, dimgrey_cavefish)  ::)

7
Firmware / What does it take to support a new CPU?
« on: February 19, 2025, 07:21:42 pm »
I'm just wondering what I should know about modifying the firmware to support a new CPU  :D

Here is my situation: I've been trying to upgrade my firmware to the newest version, but it won't IPL on anything past System Package v2.00  :'(  . I've got a weird Talos II lite development board for a discount back in 2018 that I think uses a different DD2.1 stepping CPU (02AA883:o . So I managed to pick up two CPUs off of ebay with the number 02CY230  8)

If anyone wants, I'll send you the other 02CY230 in the mail for free if you're interested in working on the firmware with it (I've only got a single-socket board anyways)  ;D

I found this post which discusses altering the firmware with a 02CY231:
tl;dr I bought an unsupported CPU, which was mostly ok, and I tweaked some firmware to make it work properly...

I figured I'd try to get a newer version of linux on the PNOR to get petitboot running on amdgpu, cause right now I've got no output even after adding firmware to BOOTKERNFW. I'll also probably try to adjust the fan curves to be quieter and undervolt if possible  :P

8
General Discussion / Re: AMD RX 6900 XT from Sapphire NITRO
« on: February 19, 2025, 07:00:14 pm »
I am having a really hard time getting my 6600 to work on gentoo w/ linux 6.6

If anyone has any advice for getting it working, please give me a shout

I've had an RX 6600 (and, later, a W6600) running without much incident on Fedora since around kernel 6.2. Dumb screening questions first:
- have you installed all the latest device firmware to go with that kernel?
- have you gotten a different GPU working in this machine before?
- what's the kernel page size?

I got it working, I just needed to disable the ast driver like with the RX580 I used to have. The trouble is that now I don't have petitboot over HDMI so I need to unlock my hard drive over serial, so I'm working on compiling the firmware again to try to update it.

9
GPU Compute / Accelerators / Re: AMD OpenCL / ROCm
« on: February 15, 2025, 08:58:45 pm »
I tried ROCm years ago on this platform and it didn't work at all. Then I tried it on an x86 platform and it didn't work at all. Then I tried OpenCL and it was slow as hell.

My takeaway is that if you want to do reasonably portable GPGPU stuff learn WebGPU/Vulkan compute shaders. You can do also GPGPU stuff with opengles/webgl with "transform feedbacks" but its extremely limited and a total nightmare, speaking from experience.

10
GPU Compute / Accelerators / Re: Which .bin files to use
« on: February 15, 2025, 08:53:18 pm »
this page: https://wiki.gentoo.org/wiki/AMDGPU suggests amdgpu/dimgrey_cavefish_{ce,me,mec2,rlc,smc,ta,dmcub,mec,pfp,sdma,sos,vcn}.bin, which i've tried and never gotten to work. Maybe it's because my firmware is out of date. A guy on IRC told me you should just check your petitboot's dmesg (you can still do this over serial if your VGA is disabled with the jumper) and see what firmware files it complains about, which may be more than just the ones strictly necessary for your card.

11
Nevermind, the problem wasn't with my card, my kernel, or my petitboot. I booted up fedora workstation and gfx worked fine. The problem was just with KDE (and other DEs) not accepting multiple graphics drivers as described elsewhere on the wiki.

Before, I wasn't able to log in and set my system up without enabling the ast, so blacklisting it was problematic. But I was talking to some guy on IRC, he reminded me that you can access petitboot over serial. That's good enough for my setup. I can just use the VGA disable jumper and turn the PC on with autoboot most of the time.

The one problem I have right now is that I use genkernel's initramfs to unlock my LUKS storage, so I need to build that with amdgpu or something, otherwise I have to do it over serial. But yeah having serial interface to petitboot is awesome because it gets handed over to the main OS with kexec.

Too much information, I know. but I like to just follow up on this sort of stuff online just in case its useful to someone else. You wouldn't believe how much time ive spent on a wild goose chase flashing firmware. And all this stuff gets fed into a search engine or an LLM anyways...

12
how did you guys get your 6600 set up? I'm stuck on linux 6.6 and I can only boot to ast, with no graphics acceleration

13
GPU Compute / Accelerators / Re: Which .bin files to use
« on: February 15, 2025, 12:31:16 am »
I have no idea, I have the same GPU so if I figure it out I'll get back to you

14
Operating Systems and Porting / Re: powerpc equivalent to x86 intrinsics?
« on: February 14, 2025, 11:00:09 pm »
holy shit thats awesome. Yeah fences are synchronization primitives. because writing parallel code is hard https://www.youtube.com/watch?v=A8eCGOqgvH4

15
General Discussion / Re: AMD RX 6900 XT from Sapphire NITRO
« on: February 14, 2025, 10:56:26 pm »
I am having a really hard time getting my 6600 to work on gentoo w/ linux 6.6

If anyone has any advice for getting it working, please give me a shout

Pages: [1] 2