Jump to content


Photo

Xbox1/openxdk Really Needs A Tcp/ip Stack To Work With!


  • Please log in to reply
6 replies to this topic

#1 Mię«os∞ft

Mię«os∞ft

    X-S Member

  • Members
  • Pip
  • 147 posts

Posted 30 July 2008 - 04:36 AM

I currently have 2 stalled projects stuck on 1 thing.

My port of UIP 1.0 'stucks up' when it recieves around 113 Pkts; The actual project started way back in February 2007 with my attempt to port WatTCP, that was a total failure. sad.gif

I believe I have the peakest peek of my patience levels laugh.gif


Tomorrow I will try my BEST to attempt to find an FIX what ever that bug is; If I cannot I will upload the
SRC as it is; Hopefully someone can debug it and make it functional. smile.gif

Regarding 2 Projects I said:

1) Use XBOX as a controller for PSP Natively. Currently there is IRShell but it requires Xbox 360 Controller and a PC.
2) Use PSP w/ Motion Kit connected via serial port as a Wii-ish Controller on XBOX1. pop.gif
3) [NOT A PRIORITY - Highly unlikely] Phat PSP Wireless TV-out

Thank you! smile.gif

Edited by Mię«os∞ft, 30 July 2008 - 04:39 AM.


#2 Mię«os∞ft

Mię«os∞ft

    X-S Member

  • Members
  • Pip
  • 147 posts

Posted 30 July 2008 - 03:35 PM

1 Question:

Does Xbox Has a specific Byte alignment? blink.gif

[PSP likes 16 bit aligned]

#3 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 30 July 2008 - 09:27 PM

xbox is just like a PC

quite tolerant for alignments...

When I tried my ports on PS2 I got slammed hard by MIPS...

#4 Mię«os∞ft

Mię«os∞ft

    X-S Member

  • Members
  • Pip
  • 147 posts

Posted 30 July 2008 - 11:43 PM

QUOTE(openxdkman)

xbox is just like a PC

quite tolerant for alignments...

When I tried my ports on PS2 I got slammed hard by MIPS...


Would you be interested in debugging the code? huh.gif
If so, I'll clean the source in the meanwhile and upload ASAP.

I tried implementing DPC but I reverted back since the results were unstable. unsure.gif


Out of luck today, it reached a max of 142 Recv and then... same.

Edited by Mię«os∞ft, 30 July 2008 - 11:53 PM.


#5 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 01 August 2008 - 10:28 AM

If it's possible publish your sources publicly.
I'm not the only one able to help you debugging it.
My job is eating up my free time, so it's better to go world-wide for an openxdk compatible legal tcp/ip stack source maintenance!

(my working stack source based on wattcp-16 can't be published because of the odd license attached to it)


#6 KRAK_JOE

KRAK_JOE

    X-S Member

  • Members
  • Pip
  • 70 posts
  • Location:UK
  • Xbox Version:v1.6
  • 360 version:none

Posted 17 December 2008 - 05:37 PM

If I understand correctly, both of you have a seemingly working TCP/IP stack for OpenXDK ( or that will work in conjunction with ) ...

If the license prohibits the distribution you could at least post a tutorial or key points that matter in porting the libraries you're using ...

How did you port uip without resolv.h ?? I got uip to build as a static library, but bit confused as examples still require resolv.h for htons and stuff ...

Please help ...

#7 openxdkman

openxdkman

    X-S Genius

  • Moderator
  • PipPipPipPip
  • 823 posts
  • Xbox Version:unk
  • 360 version:unknown

Posted 22 December 2008 - 09:30 AM

I posted in a previous post a copy of the structures I declare for wattcp-16 for openxdk (lots of traps there : alignments issues)

But, frankly, all you need it that :

http://home.tele2.fr.../xb1_pktdrv.zip
(AFL packet driver source for XBOX1)

and a tcp/ip stack source of your choice...

I detected recently that PS2 homebrew SMS (Simple Media System)
got an update in fall 2007 that integrates tpc/ip stack lwip
It's author (Eugene Plotnikov) is very good at inserting good features as
modular, independant, and very simplified sub parts.
The packet driver of PS2 is very similar to the one I provide above for Xbox1.
I bet that looking at his work can help to create another tcp/ip stack project for Xbox1.

Command to retrieve SMS source (under Cygwin for example) :
svn checkout svn://svn.pspdev.org/ps2ware/trunk/SMS
integrated lwip stack is located here in the source :
SMS\drv\SMSTCPIP

Edited by openxdkman, 22 December 2008 - 09:30 AM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users