Radeon NI: GIT kernel with the nislands_smc commit doesn't boot on a Freescale P5040 board and P.A.Semi Nemo board
chzigotzky at xenosoft.de
Fri May 7 16:43:19 AEST 2021
Great! I will test it. Many thanks for your help.
> On 7. May 2021, at 01:55, Gustavo A. R. Silva <gustavo at embeddedor.com> wrote:
> Hi Christian,
>> On 4/30/21 06:59, Christian Zigotzky wrote:
>> The Nemo board (A-EON AmigaOne X1000)  and the FSL P5040 Cyrus+ board (A-EON AmigaOne X5000)  with installed AMD Radeon HD6970 NI graphics cards (Cayman
>> XT)  don't boot with the latest git kernel anymore after the commit "drm/radeon/nislands_smc.h: Replace one-element array with flexible-array member in
>> struct NISLANDS_SMC_SWSTATE branch" . This git kernel boots in a virtual e5500 QEMU machine with a VirtIO-GPU .
>> I bisected today .
>> Result: drm/radeon/nislands_smc.h: Replace one-element array with flexible-array member in struct NISLANDS_SMC_SWSTATE branch
>> (434fb1e7444a2efc3a4ebd950c7f771ebfcffa31)  is the first bad commit.
> I have a fix ready for this bug:
> I wonder if you could help me to test it with your environment, please.
> It should be applied on top of mainline.
> Thank you!
>> I was able to revert this commit  and after a new compiling, the kernel boots without any problems on my AmigaOnes.
>> After that I created a patch for reverting this commit for new git test kernels. 
>> The kernel compiles and boots with this patch on my AmigaOnes. Please find attached the kernel config files.
>> Please check the first bad commit.
>>  https://en.wikipedia.org/wiki/AmigaOne_X1000
>>  http://wiki.amiga.org/index.php?title=X5000
>>  https://forum.hyperion-entertainment.com/viewtopic.php?f=35&t=4377
>>  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=434fb1e7444a2efc3a4ebd950c7f771ebfcffa31
>>  qemu-system-ppc64 -M ppce500 -cpu e5500 -m 1024 -kernel uImage -drive format=raw,file=MintPPC32-X5000.img,index=0,if=virtio -netdev user,id=mynet0 -device
>> virtio-net-pci,netdev=mynet0 -append "rw root=/dev/vda" -device virtio-vga -usb -device usb-ehci,id=ehci -device usb-tablet -device virtio-keyboard-pci -smp 4
>> -vnc :1
>>  https://forum.hyperion-entertainment.com/viewtopic.php?p=53074#p53074
>>  git revert 434fb1e7444a2efc3a4ebd950c7f771ebfcffa3
More information about the Linuxppc-dev