Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ARM Support] Raspberry Pi 3 B+ build successful, execution error #52

Open
kravens opened this issue Apr 22, 2019 · 5 comments
Open

[ARM Support] Raspberry Pi 3 B+ build successful, execution error #52

kravens opened this issue Apr 22, 2019 · 5 comments
Labels

Comments

@kravens
Copy link

kravens commented Apr 22, 2019

General Description

After building WalletWasabi.Gui on the RaspberryPi and run it the following error occurs:
pi@raspberrypi:~/WalletWasabi/WalletWasabi.Gui $ dotnet run

Unhandled Exception: System.BadImageFormatException: Could not load file or assembly '/home/pi/WalletWasabi/WalletWasabi.Gui/bin/Debug/netcoreapp2.2/WalletWasabi.Gui.dll'. An attempt was made to load a program with an incorrect format.

How To Reproduce?

  1. Install DotNet 2.2.203 ARM32
    403 mkdir -p $HOME/dotnet && tar zxf dotnet-sdk-2.2.203-linux-arm.tar.gz -C $HOME/dotnet
    404 export DOTNET_ROOT=$HOME/dotnet
    405 export PATH=$PATH:$HOME/dotnet
    406 dotnet
  2. Build WalletWasabi.Gui
    git clone https://github.com/zkSNACKs/WalletWasabi.git --recursive
    cd WalletWasabi/WalletWasabi.Gui
    dotnet build
  3. Run WalletWasabi.Gui
    dotnet run

Operating System

pi@raspberrypi:~/WalletWasabi/WalletWasabi.Gui $ dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 2.2.203
Commit: e5bab63eca

Runtime Environment:
OS Name: raspbian
OS Version: 9
OS Platform: Linux
RID: linux-arm
Base Path: /home/pi/dotnet/sdk/2.2.203/

Host (useful for support):
Version: 2.2.4
Commit: f95848e524

.NET Core SDKs installed:
2.2.203 [/home/pi/dotnet/sdk]

.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.2.4 [/home/pi/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.2.4 [/home/pi/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.2.4 [/home/pi/dotnet/shared/Microsoft.NETCore.App]

Wasabi Version

Latest version from:
commit 617f63a02301dfa21f144a6d9c86bc30156c3c03
Date: Mon Apr 22 15:04:41 2019 +0200

@nopara73
Copy link
Contributor

ARM is not supported by Wasabi, but I guess you know that. I've never tried to build it to ARM though (or any software.) So I am unfamiliar with the error message.

Also Wasabi doesn't support x86 either, only x64. I am not sure if we have anything in Wasabi's codebase to justify this. Probably.

Also two dependencies: Tor and HWI - hardware wallet integration can be issues.

I'm afraid what you are doing won't be simple, and will require a fair amount of coding. Anyway get back to us with the results if you can progress further.

@nopara73 nopara73 transferred this issue from WalletWasabi/WalletWasabi Apr 22, 2019
@nopara73 nopara73 added the ideas label Apr 22, 2019
@nopara73 nopara73 changed the title Raspberry Pi 3 B+ build successful, execution error [ARM Support] Raspberry Pi 3 B+ build successful, execution error Apr 22, 2019
@kravens
Copy link
Author

kravens commented Apr 24, 2019

Perhaps I should first test the HWI scripts with Python and hardware-wallet, Tor should also run on ARM I believe. *Tor browser bundle also lacks RBPi3/ARM support!
I agree that we don't need ARM support for now, as people concerned with coin-joining should be able to afford a decent 64-bit personal computer ;-)
But could have been a nice educational project!

@MaxHillebrand
Copy link
Member

This might be possible now with DotNet 3 and Avalonia 9?

Can someone confirm? @jmacato maybe

@kravens
Copy link
Author

kravens commented Nov 26, 2019

Let me try to build / run the latest master repository :)

@jmacato
Copy link

jmacato commented Nov 27, 2019

This is possible but i cant test coz i dont have RPi at hand right now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants