#
✕ nick:chadmed
#asahi · 2021-10-17 09:05
chadmedyeah, most non-x86 platforms lack that. if we ever see x86 supplanted in a large way in the enthusiast space i suspect we will see firmware implementations that take care of that. if AMD/Intel ever decide to abandon it they will probably make sure that nothing about the PC platform changes except the ISA in the chips, as its vital to their revenue
#asahi · 2021-10-17 08:56
chadmedits hard to accustom yourself to the quirks and procedures of other platforms if all youve known for the past 20 years is x86, as is probably the case for most people
#asahi · 2021-10-17 08:55
chadmedyeah thats totally understandable. i dont think anyone was trying to have a go at you :)
#asahi · 2021-10-17 01:55
chadmednsklaus: firmware/pre-linux stuff does an asston of hardware initialisation on x86 too, its just that its all proprietary and you dont get to see it happening
#asahi · 2021-10-16 13:28
chadmedthose opportunities are becoming rare as funding gets slashed though :(
#asahi · 2021-10-16 13:27
chadmedi go through depressive episodes where i come dangerously close to dropping out but going in and doing meaningful research digs me out
#asahi · 2021-10-16 13:26
chadmedespecially if the three overlap
#asahi · 2021-10-16 13:26
chadmedits a massive privilege to be able to work, study AND pursue a hobby all at one and you should absolutely do it while you can
#asahi · 2021-10-16 13:25
chadmeduni is fun though
#asahi · 2021-10-15 09:16
chadmedwell its MIT licensed so whoever wants to make it work with alpine can do so
#asahi · 2021-10-15 09:15
chadmedaaaaa youre killing me
#asahi · 2021-10-15 08:15
chadmedworking on a C port now just to reduce external dependencies
#asahi · 2021-10-15 07:52
chadmedok it now works fully
#asahi · 2021-10-15 07:25
chadmednvm fixed it by using os.system instead of subprocess.call
#asahi · 2021-10-15 07:23
chadmedits broken anyway, useradd doesnt like being called
#asahi · 2021-10-15 07:23
chadmedthis will be run on the first boot of the linux environment though, not from 1TR with the installer
#asahi · 2021-10-15 06:58
chadmedwhen i get some free time im gonna port it to C so that it works on all openrc distros without depending on python. its not like it does anything that depends on python anyway
#asahi · 2021-10-15 06:56
chadmedhttps://github.com/chadmed/openrc-firstboot alright if you want to laugh at some ugly ugly ugly code
#asahi · 2021-10-15 05:51
chadmedeventually i think marcan wants to write one in Qt to mimic the macos firstboot for desktop images which is a nice idea. uni is a few weeks from finishing here so i will have a few months free to brush up on my C++ and maybe help out with that too
#asahi · 2021-10-15 05:49
chadmedi likely wont even use it myself :P
#asahi · 2021-10-15 05:49
chadmedwhat im doing isnt really even entirely necessary, its just a nice-to-have for new users who might not be comfortable being dumped to a shell with the expectation that they just know a priori that they have to change the default root pw and/or delete the default local user that is usually set up on these ARM images
#asahi · 2021-10-15 05:47
chadmedso i guess if someone wants to maintain an alpine image for that, they can just have python included with it which isnt any trouble
#asahi · 2021-10-15 05:46
chadmedyeah so marcan's idea was to have a barebones/desktop rootfs image for each distro people want to maintain such that the asahi installer script can just extract that to the root partition which is a popular way of "installing" distros on other ARM SBCs
#asahi · 2021-10-15 05:44
chadmednot only did i plan to use python, im basically 80% of the way done writing the thing using python :P
#asahi · 2021-10-15 05:44
chadmedoh well whoever maintains the alpine rootfs image can just add python to it
#asahi · 2021-10-15 05:43
chadmednoooooooo aahahah i was trying to write a generalised openrc firstboot to do roughly the same thing that systemd-firstboot does
#asahi · 2021-10-15 05:43
chadmedwhat init does alpine use
#asahi · 2021-10-15 05:06
chadmedare there any distros that dont ship with python by default anymore?
#asahi · 2021-10-15 03:39
chadmeddo not do this if for any reason you will need to revise commits older than the most recent for each file
#asahi · 2021-10-15 03:39
chadmedadd --depth=1 to the clone command if youre only interested in building the kernel and wont need to walk down the repo at any point. speeds up the download significantly and doesnt break any symlinks
#asahi · 2021-10-15 03:13
chadmedyeesh that piwiz code hurts to look at
#asahi · 2021-10-15 03:07
chadmedyou could implement that as an init service that destroys itself after the first boot, theres a few SBC images that do similar things
#asahi · 2021-10-15 03:02
chadmedyeah that
#asahi · 2021-10-15 03:02
chadmedthe latter just doesnt seem to be in the spirit of gentoo imo
#asahi · 2021-10-15 03:01
chadmedwell yeah i just meant use the stage3 as the image, rather than something like the genpi image where you get a ready-to-go system
#asahi · 2021-10-15 02:48
chadmedplus we could just have a shell script that updates m1n1/u-boot from 1TR should it become necessary
#asahi · 2021-10-15 02:45
chadmedi just like that way because it just abstracts away the mac-specific boot stuff and lets people follow the handbook pretty much word-for-word. assuming youd never want/need to update m1n1 or u-boot, you could treat the system in almost exactly the same way as any amd64 machine now
#asahi · 2021-10-15 02:41
chadmedim still trying to think of the most easily maintainable way to have a luser-proof gentoo install for these macs. im leaning towards a shell script that just grabs the latest stage3 and sets up a m1n1->uboot->grub boot chain but idk... seems a little convoluted
#asahi · 2021-10-15 02:39
chadmedthats what offtopic is for :)
#asahi · 2021-10-15 01:32
chadmeddamn i wish i could upload images so you could see my reaction to the insinuation that C is better than Python for GUI programming :P
#asahi · 2021-10-14 11:26
chadmedi actually dont think ff is capable of sinking direct to alsa
#asahi · 2021-10-14 11:26
chadmeditd be through pulse then yeah
#asahi · 2021-10-14 11:24
chadmedor straight to alsa?
#asahi · 2021-10-14 11:24
chadmedvia pulse/pipewire?
#asahi · 2021-10-14 11:23
chadmedpovik: i might be wrong (im really stupid) but i think that is to mark the time the cpu was stolen from the m1n1 guest
#asahi · 2021-10-14 11:15
chadmedgit blame marcan
#asahi · 2021-10-14 11:14
chadmedpovik: yeah today went really slowly for me, guess marcan's messing with some code :P
#asahi · 2021-10-14 10:03
chadmedyeah im talking just "M1X" here. pretty sure M2 will be blizzard/avalanche replacement for the M1
#asahi · 2021-10-14 10:01
chadmedonly real difference for bring up _should_ be more firestorm cores afaik. i sincerely doubt apple will bother changing anything else that does not need to be changed, especially given their knack for maintaining hardware compatibility
#asahi · 2021-10-13 05:52
chadmedthey really gonna make me get up at 3am to watch this? *sigh* all business should be conducted on my timezone only

plus ›