Just some thoughts..
Yesterday after my posting I read about arm assembly and the wince
memory model and device drivers.
After reading I thought it was a easy task to get the code, I located
all the drivers in the registry, for example touchpad.dll(or exe don't
remember) is the one to look in windows directory, but I saw it was
impossible to get because it is in the ROM and marked as system file and
the createfile api function does not work in files from ROM.(this
function is used to open the file for reading)
If it is possible to get this files from ROM in the pe format,it would
be very easy, but I think that the format of the files in the ROM is
not documented from windows 2003 se (I think that they must have the
same layout as in memory to execute them directly from ROM (PXI) but
just guessing)
After, I have been thinking that the other option is to dump the memory
of the drivers from haret. I think that we can know the memory address
of the modules loaded with the debugger from microsoft, because in
windowsce all the memory is mapped for all the processes so they have
limited the number of processes to run simultaneously.
I am downloading the debugger now from microchof, it's free.
If this aproaching does not work we can dump all the memory and search
for strings or instructions to locate the driver in memory.
If I have some results I will post them to the list.
Regards
Fisherss wrote:
I and Richard have tried PDA pro, it is useful, but only for getting
GPIO and hardware initializing code. I don't know how to dump the
device driver code from WINCE and have never heard about that.
Assembly tutorial is not hard to get, I have, but it is Chinese........
eugenio wrote:
Hello, I'm Eugenio. I will try to help to port Linux to the Dell X50
(i have X50v)
I have made the toolchain, downloaded the last kernel and compiled it
(I needed to modify the source because of missed macros. I modify the
linuxrc to boot in a partition of a securedigital with the
rootfilesystem of fisherss. Now I have booted, the rootfilesystem is
mounted but my kernel oopses badly.
I have tried to download Jedi's kernel with the initrd that boot from
fat but the link is down.
Can anyone send me the file or put it online?
Also I have purchased a Gomadic connector to make a serial cable, but
now I have seen that it's needed to put a rs232 chip to lift the
voltage. I think next week I will have the serial cable ready.
I'm completely new to arm architecture, I think we need to reverse
engineer some windows ce drivers, anyone know any kernel debugger for
WindowsCE in the style of SoftIce? I think IDA Pro can be very usefull
too. Any links of arm assembly tutorial will be welcome too.
Thanks Guys, specially to Fisherss for his great work
See you
--
_______________________________________________
Aximx50-port mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/aximx50-port