Comments (3)
I try to compile rustboot on native ubuntu 18.4. So, I think there is no need to use wsl command (Windows Subsystem for Linux) and to avoid this issue I remove wsl command.
in main.rs file (rustBoot-main/xtask/src/main.rs)
remove wsl command.
//cmd!("wsl python3 signer.py").run()?;
cmd!("python3 signer.py").run()?;
Dat Nguyen
from rustboot.
Dear Nihal
I have an issue related to wsl and python3. when i run command
wsl python3 signer.py
and issue happens as below
$ python3 convert2bin.py
$ wsl python3 signer.py
Unknown command: python3
WSL
Wsman Shell commandLine, version 0.2.1
USAGE: wsl COMMAND [PARAMS...]
COMMANDS:
identify - WS-Identify
enum - WS-Enumerate
get - WS-Get
put - WS-Put
invoke - WS-Invoke
xclean - Delete all files generated by this tool set
xcred - Create or display credential file
xcert - Get server certificate (saved to .crt)
PARAMS specification is specific to a COMMAND.
Output will be saved to ./response.xml. If you want to run parallel
executions in the same directory, define RTFILEPREFIX in the environment.
Doing so may significantly increase files generated.
Requires: curl, xmllint, GNU core utilities.
Optional: xsltproc for output formatting, gpg for encrypted credential.
Optional: wget as alternate for curl when not available.
Error: commandwsl python3 signer.py
failed, exit status: 1
home@home:/media/home/3BBA6BB21611231A/data/Prj_Security/SourceCode/rustBoot-main/rustBoot$ python --version
Python 3.6.9I think python3 is not recognized in wsl even python3 is installed
https://www.codegrepper.com/code-examples/python/wsl+install+python+3.10
https://www.codegrepper.com/code-examples/shell/bash%3A+python%3A+command+not+foundCould you please support me fix issue related to wsl and python3
Dat Nguyen
Just got back from my vacation. So, were you able to fix this? WSL is basically a light-weight VM that runs in Windows. We use WSL on windows as the python script has a few dependencies (i.e. imports wolfcrypt
libraries) that need Linux
.
from rustboot.
I try to compile rustboot on native ubuntu 18.4. So, I think there is no need to use wsl command (Windows Subsystem for Linux) and to avoid this issue I remove wsl command.
in main.rs file (rustBoot-main/xtask/src/main.rs)
remove wsl command. //cmd!("wsl python3 signer.py").run()?; cmd!("python3 signer.py").run()?;
Dat Nguyen
Yeah, Ubuntu should work without issues. But you may need to edit the main build
file in xtask
to work in Ubuntu. The current implementation of xtask was only tested on Windows.
from rustboot.
Related Issues (20)
- No available debug probes are connected HOT 1
- Add support for a QSPI enabled flash-driver for the RP2040 board HOT 3
- Add a rust-based flash driver for STM32F334 dev-board HOT 2
- Add a rust-based NVMC driver for the STM32F446RE board HOT 4
- Add a rust-based NVMC driver for the ATSAM4L8-XPRO board HOT 2
- rustBoot image signing tools HOT 11
- Add a rust-based flash driver for 'STM32L562E-DK' board HOT 1
- Add rust-based flash driver for the "STM32H723ZG" board HOT 1
- Add rust-based flash driver for the "STM32F746ZG" board
- Order IMX-8 chip set. HOT 8
- Upgrade board specific dependencies HOT 2
- Add support for STM32F469 MCU in examples HOT 10
- Add support for the nRF9160 HOT 4
- Rust based driver development for secure element STSAFE-A100 HOT 1
- Add a rust-based secure element "NXP SE050" driver for ARM TrustZone-M and A
- Support for NRF9160DK
- Build a prototype impl for a firmware distribution platform using ockam's secure channels HOT 1
- Could this boot a smartphone image?
- Firmware distribution platform based on IPFS protocol
- Potential for putting partitions in invalid state for smt32h723 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rustboot.