i would love to see a way to have a terminal on the lcd
While itās not a full linux environment on the device itself, someone recently got a build of wezterm working under the u2floader. Iāve tried it and it works well for SSHing into other devices. Options are a bit sparse at the moment with it only able to save login information for one session (and in an insecure text file on the sd card if you decide to use the option), and it doesnāt have history for commands within the app using the arrow keys, but itās great for just logging in to another machine via SSH.
I tried that version of wezterm (loadding trough the uf2 loader) and cannot get to connect to Wi-Fi, doing so results in wezterm saying
SdError(FormatError(āPartition type not supportedā))
Is there something I am doing wrong?
Since the config set wifi_ssd and config set wifi_pw commands save the wifi credentials in a file, maybe check the WEZTERM.CFG file that was created on the SD card. Pretty sure itās in the root directory. I havenāt looked at it in a while, but I remember it being something like a simple .ini file in terms of content, or maybe just the two lines with the name = value (probably with the value in quotes). If something looks weird in there you could hand edit it and see if that helps. Or maybe it has a problem with spaces or some kind of special characters in the ssid or password? In my case, I donāt have any spaces so maybe thatās why it worked. Iām just guessing though. Hopefully checking hte file will help uncover something.
I canāt find any wezterm files on the card while on other firmware.
In wezterm running ls answers with
ā Failed to open vol0: FormatError(āPartition type not supportedā) ā
Perhaps my SD card is incompatible with this version of wezterm? Iāve used the non-uf2 loader wezterm with success beforeā¦.
![]()
Iāve got a WEZTERM.CFG file (all caps, but it may not matter?) in the root directory of my SD card. Itās been a while, but I donāt think I created it. Pretty sure it was created by the wezterm firmware (using the uf2loader).
Here are the contents of mine, with my actual details removed:
wifi_ssid=ssidname
wifi_pw=password
ssh_user=username
ssh_pw=password
hostname=ip
In all cases there were no quotes used (not " or '). In fact, I actually did have a space in one of the password fields and it was just a space, with no extra symbols or quotes. Iām not sure if it matters (probably does for the value!), but there were no spaces before or after the equals. Also, no blank line at the top or bottom of the file. In my case the hostname was an IP address, so I know that works. It might also be able to resolve a hostname, but I havenāt tried that.
Maybe it will work if you create this file and fill it in? If not, then maybe youāre correct and the SD card is not compatible somehow. Itās weird that it would work for other firmwares though.
I tried to create one and it seems to not be able to see it.
I donāt remember but I guess I must have reformatted the SD card at some point. Iām using the SD card that came with the picocalc⦠but I know I had issues at least in the beginning. Maybe I only ran wezterm before reformatting?
I guess Iāll prepare myself another SD card or just reformat this one.
What file format are we supposed to have?
Iāve been using FAT32.
The only reason the card that ships with the PicoCalc has the extra partition is for Fuzix, which isnāt really all that useful anyway, except as a novelty. Actual Linux can be run on the PicoCalc with other modules like the Luckfox Lyra or by making an adapter (and modding the case) to plug in a more powerful Pi module than the Pico.
Most, if not all of the firmware Iāve seen for the Pico can use FAT32. In some cases it might only be able to use 8.3 filenames (like with CP/M) but it still works with fat32 even with the limited filenames.
I tried another (older) SD card and got this weird message
The SD card works great in micomite loaded from the same uf2 loader.
Will try to reformat I guess
That sounds like WezTerm is trying to use a feature of the SD card that Picomite does not attempt to use, specifically support for CRCās. Reformatting the SD card probably would not help there.
Yes, reformat leads to exact same behaviour. It seems it has issues with the partition.
Maybe I need to repartition the card?
Try repartitioning then ā the extra FUZIX partition is only of use if you plan on using FUZIX anyways.
Iād be interested to know what the ānormalā partitions are, in an effort to mimick that.
I had the bad luck of having my original card become unreadable early on and had it fully reformatted long ago. (I donāt have the fuzix Partition)
Lack of a FUZIX partition would not explain why you are getting this behavior with WezTerm.
No, but maybe my partition is not of the correct type. My SD card was fully reformatted after getting corrupted on day one.
Did you reformat as FAT32 or as exFAT? If you actually reformatted it as exFAT, try reformatting it as plain FAT32 (note that Windows makes it easy to unintentionally format things as exFAT).
It was under windows and the selection was fat32 - wouldnāt it be correct?
FAT32 is correct, but Windows has a way of formatting larger media as exFAT without making it obvious to the user.
Iāll try to reformat with a different tool maybe Iāll get good results.
For anyone else with this issue, formatting the SD card with Rufus to get proper fat32 does work.
