Jump to content











Photo
- - - - -

How to compile an imdisk program for ARM or ARM64 architecture

arm or arm64

Best Answer Olof Lagerkvist , 12 February 2020 - 01:22 PM

It is not possible to compile for ARM or ARM64 using the existing build/Makefile model. You would need to build in Visual Studio for that. But I have a Visual Studio solution now that could build for ARM and ARM64 that I will publish soon.

Go to the full post


  • Please log in to reply
5 replies to this topic

#1 527104427

527104427
  • Members
  • 5 posts
  •  
    China

Posted 12 February 2020 - 06:48 AM

I am a Chinese,so My English is Translate from the Internet.

 

I know how to compile  amd64、i386、ia64,can you teach me  step by step how to compile ARM or ARM64 ?



#2 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 12 February 2020 - 01:22 PM   Best Answer

It is not possible to compile for ARM or ARM64 using the existing build/Makefile model. You would need to build in Visual Studio for that. But I have a Visual Studio solution now that could build for ARM and ARM64 that I will publish soon.



#3 527104427

527104427
  • Members
  • 5 posts
  •  
    China

Posted 12 February 2020 - 02:04 PM

thanks



#4 Anthonion

Anthonion
  • Members
  • 2 posts
  •  
    Australia

Posted 27 August 2021 - 02:57 AM

It is not possible to compile for ARM or ARM64 using the existing build/Makefile model. You would need to build in Visual Studio for that. But I have a Visual Studio solution now that could build for ARM and ARM64 that I will publish soon.

Hey is there an update on this ARM/ARM64 Solution?
In a situation where I need to run imDisk on Windows 10 for ARM.



#5 Olof Lagerkvist

Olof Lagerkvist

    Gold Member

  • Developer
  • 1448 posts
  • Location:Borås, Sweden
  •  
    Sweden

Posted 27 August 2021 - 03:08 PM

Hey is there an update on this ARM/ARM64 Solution?
In a situation where I need to run imDisk on Windows 10 for ARM.

 

The installer on the website includes arm and arm64 versions, but the installer unfortunately does not work on arm or arm64 Windows versions it seems. But you could workaround it by manually setting things up like this (assuming arm64):

  1. Download http://ltr-data.se/f.../imdiskinst.exe
  2. Extract it with 7-zip.
  3. Copy sys\arm64\imdisk.sys and awealloc\arm64\awealloc.sys to C:\Windows\system32\drivers
  4. Copy cpl\arm64\imdisk.cpl, cli\arm64\imdisk.exe and svc\arm64\imdsksvc.exe to C:\Windows\system32
  5. Copy cpl\arm\imdisk.cpl and cli\arm\imdisk.exe to C:\Windows\sysarm32
  6. Copy cpl\i386\imdisk.cpl and cli\i386\imdisk.exe C:\Windows\syswow64

Then, create drivers and services:

sc create imdisk type= kernel error= ignore start= auto binPath= system32\drivers\imdisk.sys
sc create awealloc type= kernel error= ignore start= auto binPath= system32\drivers\awealloc.sys
sc create imdsksvc type= own error= ignore start= auto binPath= imdsksvc.exe

Then, start drivers and services:

net start imdisk
net start awealloc
net start imdsksvc

Hope this helps!


  • Anthonion likes this

#6 Anthonion

Anthonion
  • Members
  • 2 posts
  •  
    Australia

Posted 27 August 2021 - 04:03 PM

The installer on the website includes arm and arm64 versions, but the installer unfortunately does not work on arm or arm64 Windows versions it seems. But you could workaround it by manually setting things up like this (assuming arm64):

  1. Download http://ltr-data.se/f.../imdiskinst.exe
  2. Extract it with 7-zip.
  3. Copy sys\arm64\imdisk.sys and awealloc\arm64\awealloc.sys to C:\Windows\system32\drivers
  4. Copy cpl\arm64\imdisk.cpl, cli\arm64\imdisk.exe and svc\arm64\imdsksvc.exe to C:\Windows\system32
  5. Copy cpl\arm\imdisk.cpl and cli\arm\imdisk.exe to C:\Windows\sysarm32
  6. Copy cpl\i386\imdisk.cpl and cli\i386\imdisk.exe C:\Windows\syswow64

Then, create drivers and services:

sc create imdisk type= kernel error= ignore start= auto binPath= system32\drivers\imdisk.sys
sc create awealloc type= kernel error= ignore start= auto binPath= system32\drivers\awealloc.sys
sc create imdsksvc type= own error= ignore start= auto binPath= imdsksvc.exe

Then, start drivers and services:

net start imdisk
net start awealloc
net start imdsksvc

Hope this helps!

 

This is perfect!
Works flawlessly, you are a life saver.


  • Olof Lagerkvist likes this

#7 rapcat

rapcat
  • Members
  • 0 posts
  •  
    Spain

Posted 06 July 2023 - 03:27 PM

The installer on the website includes arm and arm64 versions, but the installer unfortunately does not work on arm or arm64 Windows versions it seems. But you could workaround it by manually setting things up like this (assuming arm64):

  1. Download http://ltr-data.se/f.../imdiskinst.exe
  2. Extract it with 7-zip.
  3. Copy sys\arm64\imdisk.sys and awealloc\arm64\awealloc.sys to C:\Windows\system32\drivers
  4. Copy cpl\arm64\imdisk.cpl, cli\arm64\imdisk.exe and svc\arm64\imdsksvc.exe to C:\Windows\system32
  5. Copy cpl\arm\imdisk.cpl and cli\arm\imdisk.exe to C:\Windows\sysarm32
  6. Copy cpl\i386\imdisk.cpl and cli\i386\imdisk.exe C:\Windows\syswow64

Then, create drivers and services:

sc create imdisk type= kernel error= ignore start= auto binPath= system32\drivers\imdisk.sys
sc create awealloc type= kernel error= ignore start= auto binPath= system32\drivers\awealloc.sys
sc create imdsksvc type= own error= ignore start= auto binPath= imdsksvc.exe

Then, start drivers and services:

net start imdisk
net start awealloc
net start imdsksvc

Hope this helps!

 

 

Hi, it's not working for me..

Windows 11 pro ARM on  rpi 4b

 

After doing the manual steps, imdisk and awealloc services start successfull, but not imdsksvc.

 

 

73d74a2294c9fe58576573499de604e7.png

 

 

Where can I see what is happening?






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users