Parkydr Developing for the GP2X since 2006 Joined Dec 3, 2005 Messages 1,357 Website www.parkydr.ezeedsl.co.uk Feb 20, 2006 #1 Would it be possible to set up enough networking (just a loopback device will do) to be able to create sockets without requiring a custom kernel?
Would it be possible to set up enough networking (just a loopback device will do) to be able to create sockets without requiring a custom kernel?
R RiX0R Idler-Inside Joined Sep 20, 2005 Messages 294 Website rix0r.nl Feb 20, 2006 #2 My guess would be yes, since there are applications like ifconfig and thttpd on there already. But you never know until you try, of course. Are you planning on using it for IPC? (which would be a pretty neat thing, come to think of it)
My guess would be yes, since there are applications like ifconfig and thttpd on there already. But you never know until you try, of course. Are you planning on using it for IPC? (which would be a pretty neat thing, come to think of it)
Parkydr Developing for the GP2X since 2006 Joined Dec 3, 2005 Messages 1,357 Website www.parkydr.ezeedsl.co.uk Feb 20, 2006 #3 RiX0R posted on Feb 20 2006 at 09:45 PM said: My guess would be yes, since there are applications like ifconfig and thttpd on there already. But you never know until you try, of course. Are you planning on using it for IPC? (which would be a pretty neat thing, come to think of it) Click to expand... ifconfig is available but there are no address families available and even the loopback interface is not defined. I've been looking at porting Nano-X which has an X compatibility library which could open up a lot of games/apps. It would be possible to replace the socket code with a different IPC method such as pipes but if sockets worked this would be less effort. Last edited by a moderator: Feb 4, 2016
RiX0R posted on Feb 20 2006 at 09:45 PM said: My guess would be yes, since there are applications like ifconfig and thttpd on there already. But you never know until you try, of course. Are you planning on using it for IPC? (which would be a pretty neat thing, come to think of it) Click to expand... ifconfig is available but there are no address families available and even the loopback interface is not defined. I've been looking at porting Nano-X which has an X compatibility library which could open up a lot of games/apps. It would be possible to replace the socket code with a different IPC method such as pipes but if sockets worked this would be less effort.
T theoddbot Certified Guru Joined Sep 25, 2005 Messages 341 Website oddbot.googlepages.com Feb 20, 2006 #4 The next version of cramfs will at least support loopback network, and probably gadget ethernet as well. I've got g_ether talking to a windows host fine, but mac and linux make the gp2x crash in entertaining ways.
The next version of cramfs will at least support loopback network, and probably gadget ethernet as well. I've got g_ether talking to a windows host fine, but mac and linux make the gp2x crash in entertaining ways.
B BBTroll Member Joined Sep 30, 2005 Messages 160 Feb 21, 2006 #5 Parkydr: No, GPH's kernel doesn't have networking, even "ifconfig lo up 127.0.0.1" doesn't work. theoddbot: Yeah, I was getting kernel panics after the first incoming packet using the CDC Ethernet part of the driver.
Parkydr: No, GPH's kernel doesn't have networking, even "ifconfig lo up 127.0.0.1" doesn't work. theoddbot: Yeah, I was getting kernel panics after the first incoming packet using the CDC Ethernet part of the driver.
T theoddbot Certified Guru Joined Sep 25, 2005 Messages 341 Website oddbot.googlepages.com Mar 2, 2006 #6 BBTroll: I've asked PLX to take a look at the driver, hopefully they'll come up with something.
B BBTroll Member Joined Sep 30, 2005 Messages 160 Mar 3, 2006 #7 It will be nice if they fix it. Hopefully they will not fall back to "move to 2.6".