Can you move the xmodemTransmit and two mains etc to another file in util dir?
Also could add print out seconds used...
4Mbyte will need 4*1024*1024*10/115200 = 364s...
USB ROM emulator is very convient.
YH
-----Original Message----- From: linuxbios-bounces@linuxbios.org [mailto:linuxbios-bounces@linuxbios.org] On Behalf Of Ed Swierk Sent: Thursday, October 05, 2006 5:42 PM To: LinuxBIOS Subject: [LinuxBIOS] [PATCH] Download payload from console via XMODEM
The attached patch adds a new option, CONFIG_XMODEM_ROM_STREAM, that allows LinuxBIOS to download its payload from the console via the XMODEM file transfer protocol.
This is handy if you want to try out a payload that's too big to fit into ROM, and you haven't yet gotten IDE or USB devices to work.
I chose to hook this into the ROM stream code so it can take advantage of the usual compression methods, but one could imagine moving it to a separate "serial stream" mechanism.
Comments are welcome.
--Ed