First of, this is not a release thread. Secondly this is not a "omg omg plz make flashur thread". Thirdly, please excuse any inaccuracies and/or misuse of terms. My experience with C/C++ is limited, but I do have some.
Being in a situation where my DVD drive is dead and LPT cables have been removed I started looking into the possibility of creating a sort of port for lflash that'd be a flat ELF binary which would use libxenon to read the new image off a a usb drive.
lflash itself is based on iomap which is a platform specific memory mapper that's a part of the kernel. As one might guess it's fairly tightly intervened with the Linux kernel and that's mostly a lost cause. libxenon doesn't appear to have any straightforward way of accessing the flash either, but then I remember that Xell has the ability to update itself, thus it must be able to read and write to the internal nand.
Heck, even the method signatures (I have an OO background, not sure if that's actually the proper term for pure C) match up.
Using libxenon to access an image to be written to the nand from a usb stick (fixed path I spose) and some form of screen output + flash read/write code borrowed from Xell and we should have a simple way of flashing pretty much anything provided you have some version of Xell installed.
Thoughts? Any forseeable issues?
Wondering how come tmbnic or someone just hasn't thrown together (made public?) this exact thing.