forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Implementing minimal EXT2 filesystem on native PS2

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
raema



Joined: 26 Jan 2010
Posts: 5

PostPosted: Tue Jan 26, 2010 1:29 am    Post subject: Implementing minimal EXT2 filesystem on native PS2 Reply with quote

Hi all,

I'm planning to implement the basic functionalities of the EXT2 file system for the "native" PS2 (i.e not on the ps2linux).

Before starting my work, I did a search, and find a subject of this, dating from 2005 ...

http://forums.ps2dev.org/viewtopic.php?p=6379#6379

If the user mharris could contact me it would be a good start of my project. But this user activity seems ending in this same year (2005), so I fear it won't happen ...

If anyone know how to contact him ... or have some sources on this subject, I would greatly appreciate it.


I've already retrieve some other projects ext2 implementation, but I didn't settle to the one to port. Any subjection ?

(the first step would be to have only read access, no permission check, no extended attributes, no badblock listing, no longname, ... !)

Thank you for your help.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jan 26, 2010 2:58 am    Post subject: Reply with quote

For relatively simple implementations, you might check the ext2/3/4 support in grub2, u-boot, or other bootloaders.
Back to top
View user's profile Send private message
raema



Joined: 26 Jan 2010
Posts: 5

PostPosted: Tue Jan 26, 2010 5:10 am    Post subject: Reply with quote

Hum, thank you for this suggestion.

I've just look quickly at the grub_legacy code, but I didn't find the expected usual functions ... As I know that grub uses it's "stage1" to access the filesystem, and then read the "/boot" directory, there should be what I need indeed.

I guess I need to read the code more toroughly
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Tue Jan 26, 2010 5:52 am    Post subject: Reply with quote

In grub-legacy it would be in stage2... check stage2/fsys_ext2fs.c.

Also check grub2 and u-boot, they're probably better. For example:
http://git.denx.de/?p=u-boot.git;a=blob;f=fs/ext2/ext2fs.c;h=4b391d60a8fd0091f9e797401aca7b426c81a4c4;hb=HEAD
Back to top
View user's profile Send private message
raema



Joined: 26 Jan 2010
Posts: 5

PostPosted: Tue Jan 26, 2010 6:17 am    Post subject: Reply with quote

That is the exact file I checked ;) due to its name ...

I prefer stick to grub_legacy, as it is more "stable" and with less functionnalities (which should ease the work)

But I could have a look at the other program nevertheless.

Thanks.

I've seen that mharris looks like a wellknown contributor to ps2dev, did someine know if he is still joignable somewhere ?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group