Poster | Thread |
Signal
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 21-Jan-2016 20:51:18
| | [ #41 ] |
|
|
|
Cult Member |
Joined: 1-Jun-2013 Posts: 664
From: USA | | |
|
| @tlosm
No uboot.
It uses CFE, from Broadcom. _________________ Tinkering with computers. |
|
Status: Offline |
|
|
tlosm
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 21-Jan-2016 21:19:18
| | [ #42 ] |
|
|
|
Elite Member |
Joined: 28-Jul-2012 Posts: 2746
From: Amiga land | | |
|
| @Signal
Thanks for the info _________________ I love Amiga and new hope by AmigaNG A 500 + ; CDTV; CD32; PowerMac G5 Quad 8GB,SSD,SSHD,7800gtx,Radeon R5 230 2GB; MacBook Pro Retina I7 2.3ghz; #nomorea-eoninmyhome |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 21-Jan-2016 22:49:32
| | [ #43 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
Spectre660
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 21-Jan-2016 23:57:02
| | [ #44 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @Xeno74 & zzd10h
Seeing the same thing on my Sam460ex and Kernel 4.4 .
Quote:
Having an isssue when adding Radeon TAHITI_vce.bin firmware to kernel. When not compiled into 4.4.0rc kernels system boots but with error messages :
Direct firmware load for radeon/TAHITI_vce.bin failed with error -2 Can't load firmware "radeon/TAHITI_vce.bin
When I add the TAHITI_vce.bin firmware into the kernel it results in an oops:
Unable to handle kernel paging request for data at address 0xf000001c
|
Reported to the the dri-devel mailing list last month. http://lists.freedesktop.org/archives/dri-devel/2015-December/097706.html
Follow up http://lists.freedesktop.org/archives/dri-devel/2016-January/099217.html
Last edited by Spectre660 on 22-Jan-2016 at 12:35 AM. Last edited by Spectre660 on 21-Jan-2016 at 11:58 PM.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 7:21:40
| | [ #45 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Quote:
Many thanks for testing. I have compiled the Alpha8 yesterday. I know that the kernel 4.4 final works with your R7-250X but the kernel 4.5 Alpha1 doesn't work with your R7-250X. Between the final of kernel 4.4 and the first alpha of kernel 4.5 there was a big DRM update for the kernel 4.5. I removed this update (reverted) and after that I compiled the kernel vmlinux-4.5-a8-without-drm-next-4.5. Could you please test this kernel?
Thank you very much for your help!
Download: vmlinux-4.5-alpha8-AmigaONE_X1000.tar.gz
New:
- Linux Git log
FYI:
vmlinux-4.5-a8-without-drm-next-4.5 -> Alpha8 without branch 'drm-next-4.5' (git revert b483666bb4939ee14501da9978e5f87e4aa22228 -m 1) vmlinux-4.5 -> Alpha8 with all Linux Git updates
Quote:
Spectre660 wrote: @Xeno74 & zzd10h
Seeing the same thing on my Sam460ex and Kernel 4.4 .
Having an isssue when adding Radeon TAHITI_vce.bin firmware to kernel. When not compiled into 4.4.0rc kernels system boots but with error messages :
Direct firmware load for radeon/TAHITI_vce.bin failed with error -2 Can't load firmware "radeon/TAHITI_vce.bin
When I add the TAHITI_vce.bin firmware into the kernel it results in an oops:
Unable to handle kernel paging request for data at address 0xf000001c
|
Thanks a lot for the hint! Since kernel 4.4-rc4 I integrate the firmwares from the Debian package firmware-amd-graphics (20151018-2). Since this firmware update, Srtest wasn't able to boot his X1000 with the R9 270. But zzd10h could boot his X1000 with R7-250X till/including kernel 4.4 final. That's strange. I will try to install an old firmware package and integrate it to the Alpha9.
Quote:
alexdeucher wrote: I think the firmware is little endian, so you'll probably need to byte swap it before interpreting it in the driver. Something like the attached patch should avoid the crash, but I'm not sure if that is enough for the firmware to load properly.
Alex
|
Quote:
0001-drm-radeon-properly-byte-swap-vce-firmware-setup.patch
From 88ee458e1258c73dae7d2956a134caacf0fe160f Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Fri, 22 Jan 2016 00:13:15 -0500 Subject: [PATCH] drm/radeon: properly byte swap vce firmware setup
Firmware is LE. Need to properly byteswap some of the fields so they are interpreted correctly by the driver on BE systems.
Signed-off-by: Alex Deucher --- drivers/gpu/drm/radeon/vce_v1_0.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/radeon/vce_v1_0.c b/drivers/gpu/drm/radeon/vce_v1_0.c index 07a0d37..a01efe3 100644 --- a/drivers/gpu/drm/radeon/vce_v1_0.c +++ b/drivers/gpu/drm/radeon/vce_v1_0.c @@ -178,12 +178,12 @@ int vce_v1_0_load_fw(struct radeon_device *rdev, uint32_t *data) return -EINVAL; } - for (i = 0; i < sign->num; ++i) { - if (sign->val[i].chip_id == chip_id) + for (i = 0; i < le32_to_cpu(sign->num); ++i) { + if (le32_to_cpu(sign->val[i].chip_id) == chip_id) break; } - if (i == sign->num) + if (i == le32_to_cpu(sign->num)) return -EINVAL; data += (256 - 64) / 4; @@ -191,18 +191,18 @@ int vce_v1_0_load_fw(struct radeon_device *rdev, uint32_t *data) data[1] = sign->val[i].nonce[1]; data[2] = sign->val[i].nonce[2]; data[3] = sign->val[i].nonce[3]; - data[4] = sign->len + 64; + data[4] = cpu_to_le32(le32_to_cpu(sign->len) + 64); memset(&data[5], 0, 44); memcpy(&data[16], &sign[1], rdev->vce_fw->size - sizeof(*sign)); - data += data[4] / 4; + data += le32_to_cpu(data[4]) / 4; data[0] = sign->val[i].sigval[0]; data[1] = sign->val[i].sigval[1]; data[2] = sign->val[i].sigval[2]; data[3] = sign->val[i].sigval[3]; - rdev->vce.keyselect = sign->val[i].keyselect; + rdev->vce.keyselect = le32_to_cpu(sign->val[i].keyselect); return 0; } --
|
_________________ www.amigalinux.org |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 9:30:46
| | [ #46 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 9:38:29
| | [ #47 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Quote:
Thanks for testing. I am already compiling the Alpha9 with the old firmware package "firmware-nonfree_0.44". _________________ www.amigalinux.org |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 9:46:35
| | [ #48 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 10:00:53
| | [ #49 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Quote:
Fantastic!!!!! With the kernel 4.4-rc4 I updated the firmware package from "firmware-nonfree_0.44" to "firmware-amd-graphics (20151018-2)" It seems it is a firmware problem. Many thanks for the hint!!!!!!!!!!!!_________________ www.amigalinux.org |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 10:25:55
| | [ #50 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 10:26:39
| | [ #51 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 11:56:36
| | [ #52 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| I have recently released the Alpha9 of kernel 4.5.
New:
- Linux Git log - New Nemo patch 4.5-3
FYI: There are two kernels with different integrated firmware packages
vmlinux-4.5-a9-firmware-amd-graphics_20151018-2 (new firmware package) vmlinux-4.5-a9-firmware-nonfree_0.44 (old firmware package)
Download: vmlinux-4.5-alpha9-AmigaONE_X1000.tar.gz
R7 and R9 users: Please test vmlinux-4.5-a9-firmware-nonfree_0.44. _________________ www.amigalinux.org |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 13:00:38
| | [ #53 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|
Signal
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 13:43:10
| | [ #54 ] |
|
|
|
Cult Member |
Joined: 1-Jun-2013 Posts: 664
From: USA | | |
|
| @xeno74
Quote:
Spectre660 wrote: @Xeno74 & zzd10h
Seeing the same thing on my Sam460ex and Kernel 4.4 .
Having an isssue when adding Radeon TAHITI_vce.bin firmware to kernel. When not compiled into 4.4.0rc kernels system boots but with error messages :
Direct firmware load for radeon/TAHITI_vce.bin failed with error -2 Can't load firmware "radeon/TAHITI_vce.bin
When I add the TAHITI_vce.bin firmware into the kernel it results in an oops:
Unable to handle kernel paging request for data at address 0xf000001c |
Try removing the SBLive! patch. (just a shot in the dark)_________________ Tinkering with computers. |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 13:47:18
| | [ #55 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| Quote:
Thanks for testing. I am compiling the Alpha10 with the new byte swap patch by Alex Deucher.
Spectre660 was able to boot with the byte swap patch.
Quote:
Hi All The patch from Alex Deucher fixes the problem on the Sam460ex.
Regards Julian
|
_________________ www.amigalinux.org |
|
Status: Offline |
|
|
Spectre660
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 13:50:40
| | [ #56 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @xeno74
This with with kernel 4.4 . You should use the patch on kernel 4.4 . I also use limited firmware in the kernel .
CONFIG_EXTRA_FIRMWARE="radeon/TAHITI_vce.bin radeon/tahiti_ce.bin radeon/tahiti_mc.bin radeon/tahiti_me.bin radeon/tahiti_pfp.bin radeon/tahiti_rlc.bin radeon/tahiti_smc.bin radeon/TAHITI_uvd.bin radeon/pitcairn_ce.bin radeon/pitcairn_mc.bin radeon/pitcairn_me.bin radeon/pitcairn_pfp.bin radeon/pitcairn_rlc.bin radeon/pitcairn_smc.bin radeon/verde_ce.bin radeon/verde_mc.bin radeon/verde_me.bin radeon/verde_pfp.bin radeon/verde_rlc.bin radeon/verde_smc.bin radeon/BTC_rlc.bin radeon/TURKS_mc.bin radeon/TURKS_me.bin radeon/TURKS_pfp.bin radeon/TURKS_smc.bin radeon/SUMO_uvd.bin radeon/CAICOS_mc.bin radeon/CAICOS_me.bin radeon/CAICOS_pfp.bin radeon/CAICOS_smc.bin radeon/CEDAR_me.bin radeon/CEDAR_pfp.bin radeon/CEDAR_rlc.bin radeon/CEDAR_smc.bin radeon/CYPRESS_uvd.bin " Last edited by Spectre660 on 22-Jan-2016 at 01:55 PM.
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
Spectre660
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 14:01:27
| | [ #57 ] |
|
|
|
Elite Member |
Joined: 5-Jun-2005 Posts: 3918
From: Unknown | | |
|
| @Signal
No need to shoot in the dark when theLinux radeon Gurus take a look.
Am 22.01.2016 um 06:15 schrieb Alex Deucher: Quote:
I think the firmware is little endian, so you'll probably need to byte swap it before interpreting it in the driver. Something like the attached patch should avoid the crash, but I'm not sure if that is enough for the firmware to load properly. Alex |
On 1/22/2016 4:17 AM, Christian König wrote: Quote:
Most likely not the whole solution, but a good start that should avoid the crash. Patch is Reviewed-by: Christian König Christian. |
_________________ Sam460ex : Radeon Rx550 Single slot Video Card : SIL3112 SATA card |
|
Status: Offline |
|
|
xeno74
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 14:15:25
| | [ #58 ] |
|
|
|
Cult Member |
Joined: 15-Dec-2010 Posts: 667
From: Unknown | | |
|
| |
Status: Offline |
|
|
Signal
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 15:45:57
| | [ #59 ] |
|
|
|
Cult Member |
Joined: 1-Jun-2013 Posts: 664
From: USA | | |
|
| @Spectre660
Quote:
Spectre660 wrote: @Signal
No need to shoot in the dark when theLinux radeon Gurus take a look.
|
The patch limits the IOMMU range only to allow for the on board firmware and RAM of the SBLive!. It really has no other value to the system AFAIK._________________ Tinkering with computers. |
|
Status: Offline |
|
|
zzd10h
| |
Re: A1-X1000: Linux Kernel 4.5 Posted on 22-Jan-2016 16:50:49
| | [ #60 ] |
|
|
|
Amiga Developer Team |
Joined: 21-May-2012 Posts: 1077
From: France | | |
|
| |
Status: Offline |
|
|