Re: Update PS2 R5900 to kernel 4.x?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/01/2017 10:08, Fredrik Noring wrote:
> Hello MIPS maintainers,
> 
> I'm trying update the PS2 R5900 patch to kernel version 4.x. I started
> at 2.6.35 and it was easy up to v3.9-rc1 commit 64b3122 which crashes with
> a memory fault at boot:
> 
>   commit 64b3122df48b81a40366a11f299ab819138c96e8
>   Author: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
>   Date:   Thu Dec 27 11:52:32 2012 -0500
>   
>       mips: take the "zero newsp means inherit the parent's one" to copy_thread()
>       
>       Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
> 
> I've pushed the patched (working) parent commit here:
> 
>   https://github.com/frno7/linux/tree/ps2-v3.9-rc1-974fdb3
> 
> The whole PS2 R5900 patch is quite large, but I suspect the problem is limited
> to changes in arch/mips/kernel, more specifically:
> 
>   arch/mips/kernel/process.c
>   arch/mips/kernel/scall32-n32.S
>   arch/mips/kernel/syscall.c
> 
> (Several system calls etc. have been rearranged since 2.6.35.) I've been stuck
> for a couple of days trying to get this to work. Would anyone be able to help?
> 
> Many thanks,
> Fredrik

Didn't the PS2 kernel need a lot of userland changes and a special toolchain to
deal with the hybrid nature of the R5900?  Do you have a working userland that
can run under the 3.9 kernel?  Last I heard, the latest kernel that would work
on PS2 was a Sony-modified ~2.4.17 that was put out for some kind of
specialized PS2 hardware found only in Japan.

-- 
Joshua Kinard
Gentoo/MIPS
kumba@xxxxxxxxxx
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux