Gentoox Loader with HTTP client
Date: Monday, December 26 @ 19:49:50 UTC
Topic: Xbox Linux


' ShALLaX posted new updates about the progress made on Gentoox Loader with HTTP client (see earlier news. '
Two more hours of work and I now have a kernel being downloaded and booted! Hooray for progress!

What still needs to be done:
- Fix network transmission reliability issues.
- Elegant menu option to select this functionality.
- Download progress meter.
- I have a full version of Resctoox being booted from a server now!
- I've created a special file format specially for this.

Basically, it is constructed as follows:
INITRD
KERNEL
APPEND

|||SENTINEL|||
INITRDSIZE
|||SENTINEL|||
KERNELSIZE
|||EOF|||

This eliminates the need to set up multiple connections and downloads. Gentoox Loader parses this file and loads the appropriate parts into the appropriate memory and then boots it. Currently, the parsing is working at a 100% success rate (tested with various different files), a bug has been fixed whereby the Linux kernel could not initialise the network after Gentoox Loader had already done so (Gentoox Loader now disactivates the ethernet device before exiting to Linux). The only issues being faced now are listed above.

Update:
I have now had it booting the kernel from ShAPAChE and Apache! It correctly parses the HTTP header (and uses the Content-Length field to clear memory for the file). The only problem I'm facing now is reliability - it seems that sometimes the transmission cuts out or never starts (I fear that this could be a horrible bug to do with memory allocation)!

I've changed the TCP priority for the connection to "MAX" and that seems to have sorted out the reliability issues during transmission - starting the transmission is still hit and miss, however. The good news is that I managed to get the Resctoox "Packlet" to download and boot 100% successfully from a Sourceforge mirror on the first attempt!

Progress bar done and improved reliability. It seems that doing processing while it is receiving packets causes it to stop receiving data. I've reduced processing as much as possible by using "HEAD" first to get all the header details and process them, then "GET" to just get the data rather than doing it all in one go.
Official Site: http://gentoox.shallax.com





This article comes from XBOX-HQ.COM
https://www.xbox-hq.com/html

The URL for this story is:
https://www.xbox-hq.com/html/modules.php?name=News&file=article&sid=2731