smx-smx / ASMTool

Firmware dumper and various utilities for ASMedia USB Controllers and related firmware
64 stars 10 forks source link

ARM-porting the code #13

Open Laurix1983 opened 6 months ago

Laurix1983 commented 6 months ago

Hello @hartimcwildfly I was looking your code and it would exactly be what we are looking for....but we have the ASM3142 integrated directly into our custom raspberry cm4 carrier board running either ARM64 or 32.

Do you have any idea would there be some major blocker to write ASMIoLinux.c for ARM as now it uses sys/io functions for communication. If you have a feeling that it could be done we could start writing the port for it....

hartimcwildfly commented 6 months ago

I have no idea. Sorry.

ZeaKyX commented 5 months ago

Maybe you should use mmap instead of sys/io, that seems like what Intel did in their nic eeprom flash program tool for Arm.