Jeff Geerling
Jeff Geerling
Tried: `sudo SKIP_KERNEL=1 rpi-update`, then rebooted. Now it's just hanging at: ``` [ 115.560984] DEBUG: Passed gmc_v10_0_hw_init 1078 ``` And the green ACT light on the IO board just stays...
Trying a few more times, with various debug statements. I can definitely get to `gmc_v10_0_hw_init` but I'm trying to dig around and see where the code is calling that through...
Another run with some more debugging: ``` [ 59.061056] [drm] GART: num cpu pages 131072, num gpu pages 131072 [ 59.061084] DEBUG: Passed gmc_v10_0_hw_init 1075 [ 59.061216] [drm] PCIE GART...
Opened an issue on the 'official' tracker: [Freedesktop GitLab - Can't get RX 6700 XT running on Raspberry Pi CM4](https://gitlab.freedesktop.org/drm/amd/-/issues/1703).
> Which leads me to believe we’re seeing the crashes occur at random points again? Smells familiar… Indeed, I'm running through a few more tests just to see if I...
I'm also adding .5s delays with two lines like the following: ```c printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__); msleep(500); ``` And it looks like I can very consistently reach: ```...
Debugging `psp_v11_0_memory_training` now: ``` [ 26.845578] amdgpu 0000:03:00.0: amdgpu: PSP runtime database doesn't exist [ 26.845590] DEBUG: Passed psp_sw_init 303 [ 27.357576] DEBUG: Passed psp_sw_init 308 [ 27.869578] DEBUG: Passed...
Maybe it's time for me to read through the entire [Linux Device Drivers book on PCIe memory access](https://www.oreilly.com/library/view/linux-device-drivers/0596005903/ch09.html)?
Trimming down the debug to just before the `memcpy_fromio()` line: ```c static int psp_v11_0_memory_training(struct psp_context *psp, uint32_t ops) ... if (drm_dev_enter(&adev->ddev, &idx)) { printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__); printk(KERN_ALERT...
Added an issue on the Raspberry Pi Forums too: [Having trouble with AMD Radeon RX 6700 XT on CM4](https://www.raspberrypi.org/forums/viewtopic.php?f=98&t=319390).