Spagett1 / pineflash

A tool to flash ironos to the pinecil soldering iron and possibly other pine64 devices in the future
Other
235 stars 13 forks source link

bug: 0.4.8 MacOS, v1 works, v2 not working #35

Open River-Mochi opened 1 year ago

River-Mochi commented 1 year ago

MacOS Ventura 13.3.1

Working:

Not working

image

River-Mochi commented 1 year ago

Update: I changed the blisp inside the Pineflash folder to chmod +x (to give blisp executable permission)

then downloaded pinecilv2_en.bin directly from IronOS zip.

-same pinecil, same cable, same use-c port on laptop, works with blisp directly on command line in terminal. I'm using the same blisp that came with Pineflash git clone but changed permissions.

terminal blisp inside folder = good, gui not working.

mark1352 commented 1 year ago

I am having trouble compiling past from terminal:

MacBook-Pro-4:PineFlash markjohn$ sh generic_unix_install.sh warning: unused manifest key: package.edition Updating registry https://github.com/rust-lang/crates.io-index error: no matching version = 0.3.0-beta.3 found for package objc2
location searched: registry https://github.com/rust-lang/crates.io-index versions found: 0.2.7 required by package accesskit_macos v0.5.0 ... which is depended on by accesskit_winit v0.10.0 ... which is depended on by egui-winit v0.21.1 ... which is depended on by eframe v0.21.3 ... which is depended on by pineflash v0.5.0 (file:///Users/markjohn/PineFlash) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 100k 100 100k 0 0 71244 0 0:00:01 0:00:01 --:--:-- 174k Archive: blisp-macos64-v0.0.3.zip replace blisp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y inflating: blisp
cp: ./target/release/pineflash: No such file or directory MacBook-Pro-4:PineFlash markjohn$ OfMacBook-Pro-4:PineFlash markjohn$ sh generic_unix_install.sh warning: unused manifest key: package.edition error: failed to parse lock file at: /Users/markjohn/PineFlash/Cargo.lock

Caused by: invalid serialized PackageId for key package.dependencies % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 100k 100 100k 0 0 72043 0 0:00:01 0:00:01 --:--:-- 487k Archive: blisp-macos64-v0.0.3.zip inflating: blisp
Password: cp: ./target/release/pineflash: No such file or directory MacBook-Pro-4:PineFlash markjohn$ sh generic_unix_install.sh warning: unused manifest key: package.edition Updating registry https://github.com/rust-lang/crates.io-index error: no matching version = 0.3.0-beta.3 found for package objc2
location searched: registry https://github.com/rust-lang/crates.io-index versions found: 0.2.7 required by package accesskit_macos v0.5.0 ... which is depended on by accesskit_winit v0.10.0 ... which is depended on by egui-winit v0.21.1 ... which is depended on by eframe v0.21.3 ... which is depended on by pineflash v0.5.0 (file:///Users/markjohn/PineFlash) % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 100k 100 100k 0 0 71244 0 0:00:01 0:00:01 --:--:-- 174k Archive: blisp-macos64-v0.0.3.zip replace blisp? [y]es, [n]o, [A]ll, [N]one, [r]ename: y inflating: blisp
cp: ./target/release/pineflash: No such file or directory

What am I doing wrong?

Spagett1 commented 1 year ago

Hi @mark1352, can you please make a separate issue rather than post in this one as the two issues seem unrelated. Just makes it easier for me to track things

Spagett1 commented 1 year ago

As for @River-Mochi i believe ive fixed this issue now, if you wouldnt mind testing it out when you get a chance id appreciate it.

Spagett1 commented 1 year ago

Can someone confirm if this is still an issue? My mate with a macbook doesnt seem to encounter it.