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 

Smap from EE

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






PostPosted: Wed Apr 21, 2004 3:58 pm    Post subject: Smap from EE Reply with quote

Looking through PS2DRV code, it appears that the SMAP
and ATA devices can be controlled from the EE side. As I
mentioned in another posting, I have heard that indeed
this is the case, and that in fact the PS2Linux smap drivers
are done this way.

My question is, to what extent can the EE have full control
over the SMAP ? In other words, is there any requirement
that some work and/or initialization be done from the IOP,
or can I tell the IOP to get lost and let the EE handle everything
without the IOP touching a thing ?

For my application, as odd as it may sound, I want to avoid
the IOP entirely, and initially run networking from the EE. In
fact, I probably may have to completely reset the IOP to
ensure it does not interfere with the SMAP handling on the EE
side, but I am not positive how much concern there might be
in that area.

Only later on, when I have fully ported/bootstrapped the
code into a working state onto the EE, might I consider going
back to using the IOP for anything, but I don't want to be
worry about it at this stage.

Any advice will be appreciated,

Gorim
Back to top
mrbrown



Joined: 17 Jan 2004
Posts: 1536

PostPosted: Wed Apr 21, 2004 5:06 pm    Post subject: Reply with quote

The SMAP is connected to Dev9 which sits on the SBUS. Although the EE has some access to the SBUS, it cannot receive interrupts or use DMA to transfer to devices connected to the SBUS. As long as you don't plan on using interrupts or DMA you shouldn't have any problems accessing SMAP from the EE.
Back to top
View user's profile Send private message
Oobles
Site Admin


Joined: 17 Jan 2004
Posts: 362
Location: Melbourne, Australia

PostPosted: Wed Apr 21, 2004 8:00 pm    Post subject: Reply with quote

ps2ip is included in the new ps2sdk project and includes a full tcpip stack that uses the SMAP. It also includes a EE socket client which communicates with the IOP ps2ips.irx RPC server code.

This doesn't answer you question, but seeing as though a full tcpip implementation is available, I'm not sure why you'd want to get SMAP running form EE?

Oobles.
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Guest






PostPosted: Thu Apr 22, 2004 11:59 pm    Post subject: Reply with quote

Well, there are many reasons.

Actually, your post made me sit back and think in different
directions, and there are now things I might want to use in
ps2drv along the way.

Well, in answer to your question...

I want to do it from the EE because I haven't yet decided how
I want this application to interface with the IOP yet. So, I want
to minimize all interactions with the IOP. In fact, I envision
two forms of the app: one that can stand on its own in some
form, and one that can interface with the IOP.

However, thats merely in the finished product. To get there
along the way during development, I might want access to
IOP usb and network functions so I could at least have some
measure of console and network access during development.

As for PS2ip, great suggestion. Actually, my app already has
a builtin tcp/ip stack I want to keep. BUT, your suggestion
made me consider that I can easily make use of the higher
level SMAP network interface code on the iop, with some
minor mods. The devil is of course in the details.

Thanks for the suggestions!

Gorim
Back to top
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