Lots of stuff working now!
I changed alios to copy the VGA bios from the ATMEL flash to
0xF000. Now alios can call the bios and initialise the video!
Next problem was getting the keyboard to work. I eventually found that I needed to send a self test command to the keyboard controller. After that Linux found it and took over.
So now, we have a working VGA console. Only problem is, I can't get a good framebuffer working. I can only use the 16 colour vga one, as the GD5440 framebuffer needs a PCI bios :(
Now to the Intel Flash. I found that the MTD drivers will read and write this, once I've mapped it into physical memory. The flashcp program will write to it, but only for the 1st 3 erase blocks. This had me stumped for a long time - eventually i found that it was because I didn't map all of the flash into memory - doh!
So now I can put the kernel and initrd into the Intel flash and now the winterm boots without a PCMCIA card!