Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Re: Porting To New System
@ 2005-05-27 16:28 Cameron Cooper
  2005-05-27 16:41 ` Alan Cox
  0 siblings, 1 reply; 26+ messages in thread
From: Cameron Cooper @ 2005-05-27 16:28 UTC (permalink / raw)
  To: linux-mips

>  > You should probably have a look at http://www.psp-linux.org/ click on
>  > messages boards at the top of the page to get to all the action.  I am
>  > sure these guys can answer all your questions.
>  
>  Hurm, hurm. I think that the closed-circle development model is, uhm, less
>  efficient - there are no tech info on the forums which means nobody can
>  try and follow. They just finished organizing themselves, and it took them
>  *three months*. Three months wasted on choosing developers. He he he.

That project is pretty much a joke. There is literally no work being done there. After three months of selecting developers they chose 12 people, and of those twelve were me and an application someone submitted under the name Dennis Ritchie. Since they have chosen developers over a month ago, they have not done a single thing. Beyond that, I don't like their closed development model. I have started a Sourceforge project for PSP Linux at psplinux.sf.net .
  
>  That said, they have really hard work to do - I wish them all the luck
>  they need, which is *a lot*. Cracking locked-down systems with proprietary
>  formats is incredibly hard. It's hard enough when they aren't proprietary,
>  or when they aren't deliberately locked-down.

I understand that cracking a closed system is very hard, so I would rather not do it that way. I have never ported a kernel, so I don't know what I will suggest is possable, but it seems like it could be. 

At this time I can write code for the PSP. I have access to the keypad, MemoryStick, and the frame buffer. The programs that I compile can be placed on the memory stick and launched from the PSP's OS. All I/O in the program is done through calls to libraries provided in the firmware, which are part of the PSPs OS. Becuase the PSP makes heavy use of encryption, it has been very hard to reverse engineer the software. We can't simply look at the libraries to understand the hardware better, because they are encrypted. They only way we have been able to discover anything about the libraries is through the small bits of uencrypted code that were extracted from the firmware chip.

What I would like to know is if it would be possable to do what User Mode Linux has done. Would it be possable to run Linux on top of the PSP's current OS, and write drivers for Linux which will use the libraries provided by the firmware? I know that this is not an ideal solution, but when the PSP being as closed as it as, I see it being a very long time until we will know enough about the hardware to do it another way. Mostly because the PSP makes much use of many custom chips and almost every executable is encrypted.

So even if this is a bad way of doing it, is it even possable?

Thanks,
Cameron Cooper

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Re: Porting To New System
@ 2005-05-27 16:59 Cameron Cooper
  2005-05-27 17:30 ` Stanislaw Skowronek
  0 siblings, 1 reply; 26+ messages in thread
From: Cameron Cooper @ 2005-05-27 16:59 UTC (permalink / raw)
  To: Alan Cox, Cameron Cooper, linux-mips

>  > So even if this is a bad way of doing it, is it even possable?
>  
>  It's certainly a good way to get started. Several ports began by using
>  boot firmware drivers and then eventually replaced them.
>  
>  Does the firmware give you the ability to control MMU mappings ?

At this time only a few firmware functions are known. Well, to be more exact, only a few are usable. While we know many of the functions provided by the firmware, we do not know many of thier arguments. At this time we know how to maniuplate the frame buffer, read button presses, read/write to the memory stick, and play back audio, but we do not have a way to control MMU mappings. We have only had the ability to write/execute code on the PSP for a month. Discoveries are being made all the time, so we will certainly know more about the firmware in the coming weeks.

^ permalink raw reply	[flat|nested] 26+ messages in thread
* Porting To New System
@ 2005-05-27  3:11 developer
  2005-05-27  4:37 ` Stanislaw Skowronek
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: developer @ 2005-05-27  3:11 UTC (permalink / raw)
  To: linux-mips

Hello all,

I'm a long time Linux user, and computer engineering student. I've recently become interested in porting Linux to Sony's PSP gaming system. I'm wanting to do this mainly as an exercise in understanding the kernel better, also I just think it would be neat :). The PSP system has a MIPS R4000 CPU which is already supported so it is my understanding that the port should not be so difficult, not to say that I think it will be easy. At this time I have a gcc toolchain set up which allows me to write and execute code on the PSP, however I have never attempted a kernel port so I'm a little unsure on what to do. I'm looking for someone who wouldn't mind assisting me with my project by helping me with my questions on the porting process. I you have time to answer a few emails here and there, and would like to help me, I would greatly appreciate it.

Thanks,
Cameron Cooper

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2005-05-28 19:57 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-27 16:28 Porting To New System Cameron Cooper
2005-05-27 16:41 ` Alan Cox
  -- strict thread matches above, loose matches on Subject: below --
2005-05-27 16:59 Cameron Cooper
2005-05-27 17:30 ` Stanislaw Skowronek
2005-05-27 18:13   ` Alan Cox
2005-05-27 18:21     ` Cameron Cooper
2005-05-27 19:43       ` Stanislaw Skowronek
2005-05-27 23:12         ` Alan Cox
2005-05-28  5:07           ` Stanislaw Skowronek
2005-05-28  7:30           ` Stanislaw Skowronek
2005-05-28 15:48             ` Cameron Cooper
2005-05-27 19:52     ` Cameron Cooper
2005-05-27 23:40       ` Alan Cox
2005-05-28 15:43         ` Cameron Cooper
2005-05-28 19:27           ` Ralf Baechle
2005-05-28 19:35             ` Cameron Cooper
2005-05-27  3:11 developer
2005-05-27  4:37 ` Stanislaw Skowronek
2005-05-27  5:13 ` Ed Okerson
2005-05-27  5:40   ` Stanislaw Skowronek
2005-05-27  6:22     ` Kumba
2005-05-27 22:51 ` Ralf Baechle
2005-05-28 19:43   ` Cameron Cooper
2005-05-28 19:50     ` Thiemo Seufer
2005-05-28 19:55     ` Ralf Baechle
2005-05-28 19:55       ` Cameron Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox