invisible kid Posted November 28, 2023 Share Posted November 28, 2023 (edited) Got it! In the build-instructions.md file, I found the build command, "pyinstaller -F -w -n ESPHome-Flasher -i icon.icns esphomeflasher/__main__.py", and that built a working executable. In linux, icon is not supported, but it doesn't appear to do any harm. This is the build command I settled on: pyinstaller -F -w -n esphomeflasher esphomeflasher/__main__.py Then I just copy esphomeflasher from the dist directory to /usr/bin. It's not "seeing" my serial ports, but I'll fix that if I get one. Edited November 28, 2023 by invisible kid Quote Link to comment Share on other sites More sharing options...
Jfcatari Posted November 28, 2023 Share Posted November 28, 2023 if this is LFS. The kernel you are using probably does not have the serial drivers compiled in or set up as modules to loaded on demand. This is why you are not getting the /dev/USB serial device. Quote Link to comment Share on other sites More sharing options...
invisible kid Posted November 28, 2023 Share Posted November 28, 2023 (edited) I think I have serial support turned on: │ │ <*> Serial ATA and Parallel ATA drivers (libata) ---> │ │ But it does look like will have to turn on my parallel port and recompile(unrelated to this issue): │ │ < > Parallel port support ---- │ │ I have two serial ports I believe, one provided by the motherboard, and a another serial and parallel port via pci card. I'm not seeing the serial and the parallel on the pci card, but the one from the motherboard seems to be accessible: esphomeflasher -p /dev/ttyS0 fujinet-ATARI-v1.2.0.zip Using '/dev/ttyS0' as serial port. Using '460800' as baud rate. Starting firmware upgrade... File 1: bootloader.bin, Offset: 0x1000 File 2: partitions.bin, Offset: 0x8000 File 3: firmware.bin, Offset: 0x10000 File 4: spiffs.bin, Offset: 0x910000 FujiNet Version: v1.2 Version Date: 2023-10-14 18:40:00 Git Commit: 4c184943 Connecting........_____....._____....._____....._____....._____....._____....._____ I'm thinking if I get one, it would work. Which brings up a question. If it does work, would I be able to use one of your dev versions? Edited November 28, 2023 by invisible kid Quote Link to comment Share on other sites More sharing options...
Jfcatari Posted November 28, 2023 Share Posted November 28, 2023 This looks good so far, but the devkit fujinet is hooked up using micro usb to usb type a. My devkit builds are already flashed with 1.2. If you want a devkit version and want to avoid ebay. I can do a direct sale. Quote Link to comment Share on other sites More sharing options...
invisible kid Posted November 28, 2023 Share Posted November 28, 2023 Thanks for the reply! After connecting via usb, does it use the same program? Thanks again for answering. Quote Link to comment Share on other sites More sharing options...
Jfcatari Posted November 28, 2023 Share Posted November 28, 2023 Yes the device name will be something like /dev/ttyUSB0 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.