User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
from what I'm seeing here and in the rest of the code, the WHY badge firmware creates these "alias" devices (APPS:, STORAGE:) that automatically map to the microSD if present, and fallback to the flash if not. including for writes.

github.com/elizabeth-dev/WHY2025_kitten_firmware/blob/main/badgevms/why2025_firmware.c#L124

​:neocat_think:​ interesting
:drgn_heart@not.an.evilcyberhacker.net:1
1
0
0
1
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
oh, someone was quicker than me to build this ​:neocat_laugh_sweat:​

badge.why2025.org/page/project/badgehub_client
:drgn_heart@not.an.evilcyberhacker.net:1
2
1
0
1
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten ...how do I install it? I tried following the directions on the wiki, but it's very vague
1
0
0
0
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten so I have:
the_sd_card/BADGEVMS/APPS/badgehub_client/badgehub_client.elf
the_sd_card/BADGEVMS/APPS/badgehub_client/manifest.json

both unmodified from badgehub - is that right?
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe I haven't tried yet, but from what it says in the wiki, manifest.json should be renamed to badgehub_client.json and placed in SDCARD/BADGEVMS/APPS/
💜1
1
0
0
1
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten yeah didn't work... before I debug it a bunch, I'm just going to assume that the firmware is broken again in some way
2
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe for me the app appeared right away with this folder structure. but when trying to launch it, I get this in the serial console:
Framebuffer texture could not be created! SDL_Error: Texture dimensions can't be 0
which sounds like a bug in the app
💜1
1
0
0
1
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten what is the partition type of the sd card?
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe FAT32
1
0
0
0

User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten hmmm ok that's what I had too
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe hmmm ​:neocat_think:​ sounds like you'll have to read the serial logger
1
0
0
0
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten yeah I think I'll just go to bed for today lol
:neocat_comfy:1
1
0
0
1
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten but it looks like it isn't mounting the SD card..?
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe that should be simple to check, were the BADGEVMS/APPS folders created automatically after the first time you put the (empty) microSD card in the badge? if not, that's probably the case. in my case, I first put the empty microSD in it and it created those folders for me
1
0
0
0
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten ohhhh okie
1
0
0
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe from the dev's answer here, your issues with the SD card might actually be related to a bug in the official firmware (in my case I already pulled the faulty commit off my badge, so maybe that's why it worked)

gitlab.com/why2025/team-badge/firmware/-/issues?show=eyJpaWQiOiI3IiwiZnVsbF9wYXRoIjoid2h5MjAyNS90ZWFtLWJhZGdlL2Zpcm13YXJlIiwiaWQiOjE3MTg4MTI4Mn0=
1
0
0
0
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten lmao I fucking called it
1
0
1
0
User avatar
pathetic piss kitten @kitten@elizabeth.cat
1y
@LilaHexe this is supposedly now fixed in BadgeVMS v12
1
0
0
0
User avatar
LilaHexe @LilaHexe@fedi.lilahexe.top
1y
@kitten Yay!
0
0
1
0