Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
11 crawler(s) on-line.
 89 guest(s) on-line.
 1 member(s) on-line.


 MichaelMerkel

You are an anonymous user.
Register Now!
 MichaelMerkel:  1 min ago
 zipper:  26 mins ago
 matthey:  42 mins ago
 amigakit:  56 mins ago
 Hypex:  1 hr 21 mins ago
 1Mouse:  1 hr 30 mins ago
 Allanon:  1 hr 35 mins ago
 Rob:  1 hr 42 mins ago
 VooDoo:  1 hr 55 mins ago
 Mr_Capehill:  2 hrs ago

/  Forum Index
   /  Amiga PPC Linux
      /  A1-X1000: Linux Kernel 4.5
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )
PosterThread
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
Profile     Report this post  
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
Profile     Report this post  
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

@Xeno74

Right, it works better with ttyS0.

With your standard kernel, crashs

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_Standard_Serial.txt

With "without-radeon" kernel
it seems to boot fine but I don't have display on my monitor (I retested without serial bootargs, it doesn't work, no linux startup messages)

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_WithoutRadeon_Serial.txt

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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:

zzd10h wrote:
@Xeno74

Right, it works better with ttyS0.

With your standard kernel, crashs

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_Standard_Serial.txt

With "without-radeon" kernel
it seems to boot fine but I don't have display on my monitor (I retested without serial bootargs, it doesn't work, no linux startup messages)

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_WithoutRadeon_Serial.txt


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
Profile     Report this post  
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

@xeno74

Sorry, still crash !

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_WithoutDRM_Serial.txt

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
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:

zzd10h wrote:
@xeno74

Sorry, still crash !

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel_4_5_WithoutDRM_Serial.txt


Thanks for testing. I am already compiling the Alpha9 with the old firmware package "firmware-nonfree_0.44".

_________________
www.amigalinux.org

 Status: Offline
Profile     Report this post  
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

@xeno74

Wait a little bit.

The latest 4.4 kernel that work for me is 4.4.rc2 and not 4.4 final RC.

http://zzd10h.amiga-ng.org/X1000/Linux/X1000_15_10_Kernel44rc2.png

I will have to download all your 4.4 and find the very latest that work... :(

Last edited by zzd10h on 22-Jan-2016 at 09:47 AM.

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
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:

zzd10h wrote:
@xeno74

Wait a little bit.

The latest 4.4 kernel that work for me is 4.4.rc2 and not 4.4 final RC.

http://zzd10h.amiga-ng.org/X1000/Linux/X1000_15_10_Kernel44rc2.png

I will have to download all your 4.4 and find the very latest that work... :(


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
Profile     Report this post  
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

Quote:

Spectre660 wrote:
@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


Could you please test the firmware http://people.freedesktop.org/~agd5f/radeon_ucode/TAHITI_vce.bin from 11 May 2015?

_________________
www.amigalinux.org

 Status: Offline
Profile     Report this post  
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

@xeno74

So it's a 4.4 problem.

All 4.4 kernels tested, I continue in the Hyperion 4.4 thread :

http://forum.hyperion-entertainment.biz/viewtopic.php?f=35&t=3236&p=36644#p36644

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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

@xeno74

"R7 and R9 users: Please test vmlinux-4.5-a9-firmware-nonfree_0.44."

Sorry... Not better

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel4_5_NonFree_Serial.txt

Therefore, still something wrong between 4.4.3 and 4.4.4 kernels.

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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:

zzd10h wrote:
@xeno74

"R7 and R9 users: Please test vmlinux-4.5-a9-firmware-nonfree_0.44."

Sorry... Not better

http://zzd10h.amiga-ng.org/X1000/Linux/Kernel4_5_NonFree_Serial.txt

Therefore, still something wrong between 4.4.3 and 4.4.4 kernels.


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
Profile     Report this post  
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
Profile     Report this post  
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
Profile     Report this post  
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

Here is the Alpha10.

New: New Nemo patch 4.5-4 with the byte swap code for Radeon firmwares by Alex Deucher

Download: vmlinux-4.5-alpha10-AmigaONE_X1000.tar.gz

Please test it.

_________________
www.amigalinux.org

 Status: Offline
Profile     Report this post  
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
Profile     Report this post  
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

@Xeno74

Well done !

http://forum.hyperion-entertainment.biz/viewtopic.php?f=35&t=3316&start=40#p36656

Last edited by zzd10h on 22-Jan-2016 at 04:57 PM.

_________________
http://apps.amistore.net/zTools

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle