Astralixi Pico OS Megathread

You’re missing one crucial step in each of your methods. You need to look at Blair’s examples again or the Storage class of Picoware.

Also, Blair’s project is open source, and so is mine. No one is here to “steal your code”, especially if your code isn’t working…

11 Likes

I would recommend you look at how other systems pass commands around as an array of strings instead of just passing a single string around.

Saves a lot of cleanup and allows for a way more versatile command system if the command doesn’t have to be hard coded in multiple places.

1 Like

ASTRALIXI OS VERSION ALPHA HAS RELEASED

Forgot to say, the above version alpha only works with the Pico 2W

I just gave this a try :fire:

It says login failed?

Is there a registration process and/or are credentials saved on the SD card or a server?

I again recommend open sourcing your project… I’m not used to just downloading/flashing files (even to my IoT devices) without knowing what it (generally) contains.

My WiFi wasn’t connected, so I’m not too worried, and I’m not saying you would put malware or anything like that, but some people may find it a bit odd or worrisome.

8 Likes

@jblanked I forgot to tell everyone, username is admin password is also admin

Credentials will be saved on SD card in future

DEVLOG AS A YOUTUBE SHORT RELEASING Which will have MORE DETAILS IN A COUPLE OF HOURS!!!

More Details In This NEW Devlog!!!

That doesn’t answer the important question above: where the ids are saved?

We hope they’re saved in a hashed version at least!
What sould be the purpose of having a key you hide into the keyhole?

Others recommendations:

  • you can use a better formatting for the ls output, it’s hard to read,
  • the os still boot when you didn’t plug a SD card in it? like a BSOD maybe,
  • a config command can be useful for configuring lcd/keyboard backlight, rtc (if available), etc.
  • lack a list of current “features”/commands in changelog.
1 Like

The credentials are both currently admin and admin by default, as I said in the short, even if you change them, the next time you boot the PicoCalc up, they will both reset. They are saved as a runtime variable, I will make it save to a hashed file in Version BETA

1 Like

I’m having issues with the cd command (change directory):

It works, but to do it you would have to do “cd //test” or something similar. It’s odd that you have to do a double slash before the directory name, as if we are using escape backslashes. It might be to do with the capture area (where the os sees the directory name), my goal for today, will be to fix that, and make a list of features and stuff to add for version beta.

Looking at the code, I think the problem is

and that should fix it.

6 Likes

Commands I will aim to add to version BETA of Astralixi Pico OS:

  • flash (startup, see files in flash, etc) [2 separate commands]
  • tempcheck (read onboard sensor temp)
  • pixel rain (simulate matrix-style rain in terminal)
  • wifi (scan, connect, disable, etc) [3 separate commands]
  • reboot (restart system)
  • suspend (enter super low power mode)
  • history (view command history)
  • cp (copy files and directories)
  • mv (move or rename files and directories)

This will add 12 additional commands to use in the OS. I will also add new features such as credentials saving to a seperate hashed file on the SD card, and more.

Status Update: “reboot” command is working! it does a full chip restart!

11 more commands to go! (cd command is still not working as intended so +1 to total commands) so 12 more commands to go…

Update: I have created a basic suspend command which just turns off the display so far until the user hits enter, but I plan on also capping cpu and clearing majority of user space ram when suspend command is used.

I have also fixed the cd (change directory) command, so now its working as intended.

But what about

and the part where

?

1 Like

Update:
I have created a “history” command (which shows the last 25 used commands) and a “tempcheck” command (which shows the onboard sensor temperature in celcius and farenheit)

They were both not working at first, as I forgot to create an append thing for the history command and I didn’t put the correct formula for temperature conversion from raw temp to celcius, but both of them now completely work.

I will be releasing episode 1 of Astrox Radio Podcast on my channel this Sunday, and I plan on making a ~5 minute part of a progress update in it.

Enjoy!

Update:
I have created a “wifi list” command which will list nearby wifi networks, and I have also created a “wifi enable” and “wifi disable” commands which speak for themselves, and enable/disable the wifi chip onboard.

Astrox Podcast/Radio Releasing EP 1 - 2025 TOMMOROW!

1 Like