Pinned toot

for context i was bored and tried getting postmarketos working with github.com/linux-3ds/linux (none of this is my code, neither is arm9linuxfw or firm_linux_loader)

Show thread

trying to figure out how to modify arm9linuxfw to take initrd size as a dynamic argument and getting mad over the fact that atag has been deprecated

i really don't want to have to take a hacksaw to it and somehow merge the code with dtc just to modify the dtb. what kinda idiot thought this was a good idea

(i am not a bootloader developer how did i get here help)

oh yeah, i actually got mainline booting after 6 months of fighting on and off with serial debugging! unfortunately i do not have a proper shell yet, smp is broken (freezes the system) and the clocks are broken (also reported by another person on the 5.2 kernel with a similar chipset (same clock driver))

Show thread

on downstream the galaxy grand neo is limited to 786mb of ram despite there being 994m (at least according to the bootloader). i managed to get the full 994m on mainline by enabling highmem support.

if this is correct, then some oversight by the kernel devs over at broadcom or samsung literally makes the grand neo stuck at 200mb ram less than is actually available in hardware

> i could use reflection (...) but i'm worried that it might negatively impact performance in the long run

turns out: no, it doesn't! i just didn't bother reading the documentation past the first few lines.

Show thread

now theoretically i could use reflection (docs.sqlalchemy.org/en/13/core) but i'm worried that it might negatively impact performance in the long run

but like, who cares about "performance in the long run" i will probably get crucified for writing any of this in python anyways

Show thread

i think it'll just be easier if i turn my regular tables into table objects, since i'm not doing anything special anyways

Show thread

for context: i have some simple classes for simple tables (objects, users, oauth clients). then i have separate tables for each object type. now i don't want to have to update the database backend whenever i add something to an object, so i simply made the backend generate table objects based on the objects.
so if i understand correctly, orm wants me to use a "session" to interact with the database, but the object tables want "metadata". i'm stubborn and want to do everything with metadata bc it seems nicer

Show thread

i have initialized 4 things so far and i only understand 2 of them. this is a nightmare

Show thread

is it just me or are you not supposed to mix sqlalchemy's orm with the core

ok i unboosted most of it. not sure how it'll federate tho

Show thread

i think i should simply remove all followers from this account and use this exclusively as something like this. in hindsight it was a dumb idea to boost the whole thread so uhh

Show thread
knuxify boosted

update: it locked up while installing debian, so i decided to use hiren's bootcd. through hiren's bootcd i was able to update the bios

Show thread
knuxify boosted

it does!! and there's no clicking anymore, so that confirms my theory about a dead hard drive.

Show thread
knuxify boosted

oh well. let's at least see if I can boot this thing without it

Show thread
knuxify boosted
Show older
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!