A GUI tool to flash IronOS to the Pinecil V1, V2 and future other pine products.
- Auto-fetch the newest stable release of IronOS firmware.
- Allows manual installs of beta versions using a browse to file feature.
- Selectable options: pick the iron type, pick the firmware version and download it.
- Boot logo art upload supported for V1 (use custom & folder icon)
System | Linux | MacOS | Windows |
---|---|---|---|
Pinecil V1 | |||
Pinecil V2 |
-
Easy install: use premade binaries, currently only available for Linux x86 distros and Windows x86.
-
Build from Code: recommended if you are on MacOS, an ARM device, or doing development.
Download the latest pineflash exe file from the releases page.
Then just double click it.
Download the latest pineflash .rpm file from the releases page.
Then just run.
sudo dnf install ./pineflash-*.x86_64.rpm
Download the latest pineflash pkg.tar.zst file from the releases page.
Then simply run.
sudo pacman -U pineflash-*-x86_64.pkg.tar.zst
Download the latest pineflash .deb file from the releases page.
Then just run.
sudo apt install ./pineflash_*_amd64.deb
Download the latest pineflash .tar.xz file from the releases page.
Extract the file.
tar -xf ./pineflash-*-x86_64.tar.xz
And copy the contents into your system
doas cp -r ./usr /
NOTE: Make sure you install dfu-util manually if you have a pinecil v1 and choose this option. Window manager users should ensure they have a pokit agent installed and enabled.
Sorry we dont have built apps for you yet, head to the build from code section and use the Unix install script.
NOTE: You will also need to start pineflash from the terminal, this is on the todo list to get fixed.
Use this build method if the premade binaries do not support your architecture or you have dev purposes.
- Install these if you do not have them (not needed if using the PKGBUILD).
- Use the General list if you do not see your OS name.
General dependancy list
If your operating system has its own section, then please go there; it has package names tailored to your distro.
This list only covers linux distros which are not named below.
If you had to install more dependencies to get it to work, please open an issue to let us know the specific OS and packages you used.
cmake
rust
git
dfu-util - for pinecil V1 support
polkit - Linux only
gcc
Dependencies for Debian
cmake
rust-all (alternatively go to https://rustup.rs/)
git
dfu-util - for pinecil V1 support
policykit-1
g++
pkg-config
libglib2.0-dev
build-essential
libfontconfig-dev
fontconfig-config
libgdk3.0-cli-dev
libatk1.0-0
libatk1.0-dev
libgtk-3-dev
This line will install everything:
sudo apt install cmake rust-all git dfu-util policykit-1 g++ pkg-config libglib2.0-dev build-essential libfontconfig-dev fontconfig-config libgdk3.0-cli-dev libatk1.0-0 libatk1.0-dev libgtk-3-dev
Dependencies for Arch
cmake
rust (If doing development i recommend the `rustup` package)
git
dfu-util - for pinecil V1 support
polkit
gcc
pkgconf
glibc
base-devel
fontconfig
atmm
gtk3
This line will install everything:
sudo pacman -S --needed cmake rust git dfu-util polkit gcc pkgconf glibc base-devel fontconfig atmm gtk3
Handy scripts will compile and install PineFlash for you.
- To build from source code, first install build dependencies.
- Download the source code with the following commands.
git clone https://github.com/Spagett1/PineFlash/
cd PineFlash
- Run the
generic_unix_install.sh
file which will build and install Pineflash.
- All dependancies will be handled by the PKGBUILD
- Download the source code with the following commands.
git clone https://github.com/Spagett1/PineFlash/
cd PineFlash
- Just run
makepkg -si
in the main directory to build and install it.
Old school style, this is recommended if you have issues with the scripts or want to help develop PineFlash.
-
Install all the build dependancies listed above.
-
Download the source code.
git clone https://github.com/Spagett1/PineFlash/
cd PineFlash
- Download blisp which is needed for pinecil V2 support, alternatively compile it if you are not on a 64 bit computer. Instructions
In the following instructions replace platform
with your operating system (linux
or macos
)
curl -L "https://github.com/pine64/blisp/releases/download/v0.0.3/blisp-platform64-v0.0.3.zip" -o "blisp-platform64-v0.0.3.zip"
unzip "blisp-platform-v0.0.3.zip"
sudo mv ./blisp /usr/local/bin/blisp
🎯 Important: Don't forget to add blisp to your path
- Then build pineflash itself
cargo build --release
-
The resulting binary will be in
target/release/pineflash
, this can be moved into your path (/usr/bin/pineflash
) or just run as a portable executable. -
Then copy the
assets/Pineflash.desktop
file to/usr/share/applications
and copyassets/pine64logo.png
to/usr/share/pixmaps
for the shortcut to show up in launchers. (This does not apply to MacOs, you will have to run pineflash from the terminal for now, sorry.) -
Just run the program by typing it into the terminal.
pineflash
Alternatively just run it from your app launcher (unless your on macos).
Linux: Pineflash should appear in app launcher options. Alternatively, you can run the command:
`pineflash`
MacOS: Sorry, no launcher icon yet, youll need to run this command to run pineflash.
`pineflash`
Windows: Just run pineflash from the start menu or desktop icon.
- Select Custom from version drop-down, then click on the folder icon to browse to the art file you want to load.
- Currently only V1 supports Boot logos.
- See IronOS-Meta to get premade art or details on how to make custom art.
- Work in progress by Ralim to get blisp to support logos for V2.
- Presently, the only method for V2 is to make a custom version of IronOS firmware with logo art embeded in the code; this is for advanced users comfortable Github and code changes see here.
- To do the firmware update, connect one end of a USB cable to the PC.
- Then, hold down the
[-]
button before plugging the usb-c cable to the back of Pinecil. - Keep holding the
[-]
for ~10 seconds more before releasing the button. If you correctly entered flashing mode, the screen will be black/empty. If not, do it again, flip the cable, or try another cable, different port, or a different PC. - See Pinecil Wiki firmware details if you get stuck.
- MacOS premade binary
- Launcher icon for macos, easier method to install
- Improve UI (colors, design, workflow).
- In app instructions for connecting pinecil to pc.
- V2 boot logo art support when blisp supports it.
Well you can buy me a coffee, or rather tea bags since i dont drink coffee ;)
- Blisp - Backend for flashing Pinecil V2
- Dfu-util - Backend for flashing Pinecil V1
- Pinecil - The Pinecil Wiki page
- IronOS - The firmware running on this soldering iron
- PineSAM - A cool Bluetooth app to control Pinecil V2 from any browser
- Egui - The awesome GUI toolkit used to make this program
- InnoSetup - The software i use to generate windows releases
- FPM - The tool i use to generate linux releases for all sorts of distros