A new port of uClinux on PSP (with accessibility to ms0)

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Kaldeen
Posts: 1
Joined: Sun Jul 27, 2008 12:48 am

Post by Kaldeen »

The download link of uclinux-on-psp-0.22.zip doesn't work because
myfreefilehosting took it off off their page.
daisuke0kun
Posts: 3
Joined: Sat May 19, 2007 11:42 am

Post by daisuke0kun »

I don't mean to bring up a months-old topic or anything, but the link for the precompiled download is down because of someone being stupid and reporting the link for abuse. Could someone kindly reupload it? Thanks in advance!
M.Jackson
Posts: 85
Joined: Mon Sep 10, 2007 6:37 pm
Contact:

Post by M.Jackson »

Sorry for long delay guys, life has been kind of driving me nuts lately. I have uploaded the files to another file hosting server again. For those who still need the packages, you may have another try.
molusca
Posts: 3
Joined: Sat Sep 13, 2008 11:23 am

Post by molusca »

M.Jackson wrote:Sorry for long delay guys, life has been kind of driving me nuts lately. I have uploaded the files to another file hosting server again. For those who still need the packages, you may have another try.
i really have great hope in this project please keep it up,i really appreciated for your freetime developing this, does uclinux has atleast x window system or gui interface? (any stripped down kde?)

btw uClinux-dist-20080808 released has been released ,a stable release with 2.6.25 kernel support, i haven't tried to run it tough since i need to download the big toolchain 50 mb :( + kernel 250 mb,btw about the guide can you more clear describing the steps how to run it in psp?

Edit :

about the x-windows system there is only 3 system for mobile :
- microwindows : microwindows.org
- picogui : picogui.org
- dinx : dinx.sourceforge.net

for other resources about uclinux software and stuff you can check it out here : http://uclinux.home.at

does i just need to install the gui system or need to wait till kernel support?

great! embedded web server(haven't tested :) )
M.Jackson
Posts: 85
Joined: Mon Sep 10, 2007 6:37 pm
Contact:

Post by M.Jackson »

Frankly speaking, just like some guys had pointed out before, that one of the biggest limitation on psp is that it has no mmu, thus userland programs would not be able to take advantage of features like share libraries which could have significantly reduced memory consumption at runtime. This is not much of a problem if you just run one piece of program incorporating everything in it, like a game. But it is a problem if you try to create a multi-process operating environment, like a desktop system, in which each program will take a big bite of the memory as they all must be statically linked (unless radical changes can be made to the way how a FLAT executable is now loaded). That's why when someone suggested porting the compiler as well as other build utilities to the console before in order to establish an on-target development environment, I would not even consider it. It sounds cool, but even if the memory stick can have that much space, the RAM would probably not be able to load them all.

Similar story would happen to gui systems. Though there has been some successful applications of embedded gui systems implemented on devices with limited resources, but I don't think this could go very far on psp. I mean even though I can put up a gui platform/framework, like X, but how many more programs can you run on left resources? Note that gui programs usually come with some serious memory demands. The on-screen keyboard, for instance, using just with a few bitmaps already takes away almost 500k of RAM at runtime, needless to say launching more complex gui software. I didn't say it is impossible, but it will meet its limit very soon.

Instead, if I have enough time and energy I would invest it on getting the wifi to work first, cos I think a boa might consume even less resources than a usable gui environment. And it's pretty cool too. Think about having a portable web server in your pocket. So if any of you have the time and interest, I would suggest you do the same.
molusca
Posts: 3
Joined: Sat Sep 13, 2008 11:23 am

yup

Post by molusca »

yup it's a wise decision,ssh,tftp,etc won't work without wifi :),so you gonna implement the wifi first?any plan for uClinux-dist-20080808 patch?i cann't found the changelog but from the release said it's released after couple test release,but 1 test release before stable once said
"uClinux-dist-test-20080728 released


News gerg writes "I have released what I hope will be the final test release for the next uClinux-dist source package. You can get it from the links on the uClinux-dist web pages. The biggest change was updating the bind and dnsmasq2 packages to fix the recently publicized DNS exploits. Otherwise only a handful of small fixes - mostly correcting specific vendor configs. If you test and find any problems please email to the uClinux-dev mailing list. Happy compiling :-)""

pretty important update as the 20080808 update will contain to these dns exploit,well so far great work,i need go to internet cafe to download the kernel lol,cause in home i've only got 56 :/
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Nano-X

Post by shadash »

Nano-X seems like a logical choice for a Gui once wifi is working.
http://www.microwindows.org/

There is a MIPS R4000 port available...
http://en.wikipedia.org/wiki/Microwindows

Thank You M.Jackson for all your hard work.
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Nano-X

Post by shadash »

Someone appears to have already got Nano-X running on the PsP...

http://yaleh.blogspot.com/2005/07/nano-x-for-psp.html

:-)
vijay
Posts: 25
Joined: Thu Jan 03, 2008 10:07 pm

Post by vijay »

Hi jackson good to see u again

Im also looking for the wifi driver. It will be a great push to the psplinux project

There are many ncurses applications that u can run on psplinux than getting a GUI. I was reading about non-mmu and mmu systems recently and getting to understand how painfull it is to get linux on a non-mmu system :/ . I was wondering whether u can modify the PSPOSK to include more ctrl+key and alt+key options than just ctrl+c .... I was unable to use nano and some other ncurses based applications.

Regarding GUI i was able to get "MINIGUI" on psplinux, I tried running some examples provided with it and many ran fine. but there is nothing much u can do on it. And there are some problems like resizing etc .....

But im much intrested in getting qt-embedded to psp. Everything went fine untill i got some errors during linking (R_MIPS_CALL16 R_MIPS_GOT16 errors). I googled a bit and found that these are errors related to ld scripts and some memory locations. Qt-embedded look like a better option than getting Xserver to psp.

Thanx
vijay
Posts: 25
Joined: Thu Jan 03, 2008 10:07 pm

Post by vijay »

hi
just got a cam from my friend. here is the link to the youtube video if someone is interested
http://www.youtube.com/watch?v=m3U10YopH-A
bye
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Nice work

Post by shadash »

vijay,

I just did research into MiniGUI and you are right. It's definitely the way to go. Unfortunately there's not much user documentation (in English) available on the web. But, the MiniGUI wiki has complete and well written docs explaining it's use.

http://www.minigui.org/docs.shtml

Nice work getting this running. ;-)

The only thing left is...

1. A wifi driver

* Something cool that MiniGUI might be able do is 3D rendering...
http://www.minigui.org/app/app-mesa3d.shtml
manatails007
Posts: 13
Joined: Wed Mar 05, 2008 10:34 pm

deleted

Post by manatails007 »

Oops, I accidently wrote 2 replys at once! sorry
Last edited by manatails007 on Sat Sep 27, 2008 4:36 pm, edited 1 time in total.
manatails007
Posts: 13
Joined: Wed Mar 05, 2008 10:34 pm

I can host your toolchain

Post by manatails007 »

I can host your toolchain at my project server(of course no ads etc), if you agree. reply :)
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

wiki for linuxonpsp

Post by shadash »

manatails007,

What this project needs is...

1. A good/reliable host for the downloadable source and binaries

2. A Wiki were data about psp hardware , uClinux kernel, minigui, kernel build process, minigui build process, and possible wifi drivers can be listed.

Something like this...

http://www.mythtv.org/wiki/index.php/Main_Page

If you can host that I'll start uploading info.
manatails007
Posts: 13
Joined: Wed Mar 05, 2008 10:34 pm

Post by manatails007 »

shadash, Maybe we can use sourceforge
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Sourceforge would work

Post by shadash »

Sourceforge would work but I don't think they allow wiki's. (It's been a while since I've used sourceforge). If they do allow Wiki's that might be the way to go. What this project needs is a central hub of information people can go to. Currently there's little bits of info in lots of different places.

Vijays personal page is really good because there's all kinds of how to processes for linuxonpsp.

If we were able to combine all the highlights from this forum, Vijays personal blog, and a couple of the better psp hardware listing sites. Hacking the psp to run a linux kernel would be much more accessible to more people.

I'll check into sourceforge to see is they allow wiki's for projects pages.

Ps. I talked to some of the guys at http://www.moblin.org/ on their IRC channel. They provided a possible WIFI driver for the PSP that I forwarded to Mo and Vijay. It needs to be ported to mips.
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Pending state

Post by shadash »

Your project is placed in a Pending state until the SourceForge.net staff is able to review and approve your project request. The approval process may take 1 to 3 business days.

We'll find out in a couple of days if sourceforge will allow this as a project. My guess is they will I'll update the forum when I get their decision.

Just a little fyi...

By doing this I'm in no way looking to take away from the Jackson Mo project. I'm just trying to provide a more reliable hosting solution and a wiki so development can be more focused.
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Java PSP Emulator

Post by shadash »

Looks like there's a Java PSP emulator...

http://www.jpcsp.org/

Here's a statement from their forums...

"Emulation of the 3D graphics hardware is in the early stages. This leaves programs that use the frame buffer directly, such as through pspDebugScreen. In other words a few pspsdk samples work but regular programs are not yet ready."

What this means is that linuxonpsp "should" be able to run on an emulated PSP system in Java. ;-) This will make debugging much faster. Assuming emulation is correct.
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Post by shadash »

looks like the emulator is a no go...

"nope, we are not emulate any hardware through their mmio addresses and we don't even emulate kernel mode."

Using the emulator to run linuxonpsp won't work. (At least that's what one of the devs said)
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Sourceforge rejected us :-(

Post by shadash »

Sourceforge rejected us :-(

I'm resubmitting one more time before I try google code

*It's really weird that they would reject the project.
raedbenz
Posts: 1
Joined: Sat Oct 11, 2008 2:43 am

simple questions

Post by raedbenz »

hi,,
i have been working with embedded Linux using ARM boards, but i have a couple of questions although they might be in this post but sorry it consists of nine pages and i am running out of time.

1. if i install uClinux will i be able continue playing games?
2. do u have any hardware specs for the internal electronics of the PSP
3. in order to connect it to PC terminal like Cutecom do i need extra hardware for voltage conversions?
thanks
shadash
Posts: 24
Joined: Wed Dec 19, 2007 3:18 am
Location: San Diego

Given up on Sourceforge

Post by shadash »

Ok, I've given up on Sourceforge.

Their admins that accept or reject projects are ridiculous. They send me emails asking about the project but the reply email doesn't work. I try to tell them that their email address is not allowing me to respond and they send another email asking that I only respond in the proper format.

The sourceforge idea has been dropped.

I'm now looking into google code.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Google code is good for smaller things. You only get 100 MB and limited bandwidth, so it might not handle what you need for this.
SpikeX
Posts: 8
Joined: Sun Jan 14, 2007 7:12 pm
Location: Germany

Post by SpikeX »

What do think about OpenSVN?
There we would get Subversion and Trac without bandwidth limitation, for free.

-- EDIT:
I created a project on OpenSVN.
The svn repo is at:
http://opensvn.csie.org/PSPLinux or
https://opensvn.csie.org/PSPLinux
ViewCVS:
http://opensvn.csie.org/viewcvs.cgi/?root=PSPLinux or
https://opensvn.csie.org/viewcvs.cgi/?root=PSPLinux
Trac:
https://opensvn.csie.org/traccgi/PSPLinux

The ones, who want to get an account for svn commit, trac and stuff, please write an email to: mail at spikex dot homelinux dot net

-- EDIT, the second:
@Insert_witty_name:
This one is also looking good, but they have a disk space limit of only 200MB. Don't know if that's enough...
Last edited by SpikeX on Fri Oct 17, 2008 2:39 am, edited 3 times in total.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

I would recommend http://www.assembla.com/
SpikeX
Posts: 8
Joined: Sun Jan 14, 2007 7:12 pm
Location: Germany

Got approved by berlios.de

Post by SpikeX »

Hey guys,

since I noticed that opensvn is crap, I yesterday requested hosting at berlios.de and my request was approved today! They will need some time to get it all running (next 6-hour cron update for shell account, up to 1 day for DNS), so I will setup the Wiki tomorrow. Furthermore I will setup a mailing list and sourcecode management (they provide SVN, CVS, GIT and Mercurial, what would you prefer?).

The project name is PSPLinux, the webserver will be available at psplinux.berlios.de (100MB space, I will setup MediaWiki there).

-- EDIT:
The Wiki, Subversion and some mailing lists have been set up.
Information about the mailing lists and subversion you'll find in the wiki: http://psplinux.berlios.de/

And please add some content to the wiki...
manatails007
Posts: 13
Joined: Wed Mar 05, 2008 10:34 pm

Post by manatails007 »

I can host it, I have few gigs of space and more gigs of bandwidth per day
Visit http://www.seungjukim.com/psplinux/wiki/
SpikeX
Posts: 8
Joined: Sun Jan 14, 2007 7:12 pm
Location: Germany

Post by SpikeX »

What a server (tested from Germany):
- HTTP-Bandwidth: 6.45 KB/s (results in around 500 MB bandwidth per day ;) )
- Packet-loss: 50% !!!
- Ping-time: 500 ms

manatails007, you should better add some content to the wiki at berlios.de: http://psplinux.berlios.de
Last edited by SpikeX on Sat Nov 01, 2008 3:10 am, edited 1 time in total.
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

shadash wrote:looks like the emulator is a no go...

"nope, we are not emulate any hardware through their mmio addresses and we don't even emulate kernel mode."

Using the emulator to run linuxonpsp won't work. (At least that's what one of the devs said)
well, I guess it's me :). This emulator uses an HLE approach.
manatails007
Posts: 13
Joined: Wed Mar 05, 2008 10:34 pm

Post by manatails007 »

SpikeX wrote:What a server (tested from Germany):
- HTTP-Bandwidth: 6.45 KB/s (results in around 500 MB bandwidth per day ;) )
- Packet-loss: 50% !!!
- Ping-time: 500 ms
SpikeX; I'll use my server

I dont know what method have you used for measuring bandwidth, but you're wrong, bandwidth is NOT 500mb/day
it's 5 GB/day and I get No packet loss and Ping-time 100ms :p

Somebody help me making the wiki!
http://www.seungjukim.com/psplinux/wiki
Post Reply