BrodieOnLinux, to linux
@BrodieOnLinux@linuxrocks.online avatar

Open Source NVIDIA Drivers Are Finally Good https://youtu.be/IIGEElOsoJw

kkarhan,
@kkarhan@mstdn.social avatar

@BrodieOnLinux @fuchsiii OFC not - and not because they don't want to [tho I'd also nope ransomware groups' demands] but also because #nvidia can't legally do that in many cases, as they too are #licensees of #patents and are bound to #NDA's.

So #GPLv3 and #AGPLv3 are impossible to comply with and even #GPLv2 would be hard to.

Kinda like the shitshow #BusyBox did (gojng GPLv3 and sueing the crap out of license violators), so @landley left that project and started #toybox from the ground up.

kkarhan, to linux German
@kkarhan@mstdn.social avatar

I really did squash a lot of issues in OS/1337:
https://github.com/orgs/OS-1337/projects/1

Good news: Network Support is in it.
Status: Still within #1440kB size for the #Core Edition.
Bad News: PCI(e) stack had to be yeeted in order to fit, so no #Networking in #VirtualBox

I'll now have to get my workflow to follow the pipeline that @SweetAIBelle has been builing...

#OS1337 #linux #EmbeddedLinux #Development #Kernel #Embedded #minimalist #Desktop #toybox

kkarhan, (edited )
@kkarhan@mstdn.social avatar

Granted I'm open and willing to suggestions to make that happen on the "#CoreEdition" of OS/1337 but as of now that'll be the limit.

Tho this could change later once #syslinux has been replaced with something more efficient...

I guess @landley may also be interested in the alternatives to syslinux for #mkroot / #toybox?
https://github.com/OS-1337/OS1337/issues/10

Either way, development is continuing and work is in progress...

#OS1337

SweetAIBelle, to random

This might sound silly, but I installed virt-manager to make things a little easier when using qemu, then created a new virtual machine with debian 12 on it... then installed qemu on that.

The actual reason for this is to make github account separation a little easier...

If you get virt-manager set up properly, it definitely makes using qemu easier, though. I practically just had to tell it to make a new virtual machine using this iso with this much memory and this big of a hard drive, and it was right at the debian install screen. (Set it up with xfce...).

Main tricky parts were that I had to install libvirt first, make myself a member of the libvirt user group, enable the service, and install dnsmasq. Not great, but could've been worse...

Used debian on the virtual box just for a little variety. I like to keep my hand in on different distributions a bit.

kkarhan,
@kkarhan@mstdn.social avatar

@SweetAIBelle Ideally we'd end up with something more featureful than #toybox's #mkroot when it comes to OS/1337.

Like a more modular configureability for targets and native- & cross-compiling, where supporting a new architecture/hardware is as easy as plopping in a profile with configs (plus i.e. necessary drivers / firmware not included in the kernel) into a folder and kicking off the build pipeline to generate a bootable image to dd onto a drive…

Tho I'd assume this won't happen b4 Q3/2024.

OS1337, to random

Thanks again to @SweetAIBelle for extensive contributions to OS/1337, making the pipeline and scripts to reproduceably build OS/1337 images and it's parts more flexible and nifty.

https://github.com/OS-1337/OS1337/issues/17

kkarhan, (edited )
@kkarhan@mstdn.social avatar

@SweetAIBelle I think this is great forward-thinking on your side since OS/1337 should long-term be developed into a robust yet "clean slate" for that isn't as bloated as but remains customizeable and flexible.

OFC [ as -client only built] errors out due to me having to fix the kernel first, because right now not even 's included command works...
https://github.com/OS-1337/OS1337/issues/13#issuecomment-1857169987

I'm working on that tho...

@OS1337

kkarhan,
@kkarhan@mstdn.social avatar

@landley

Yeah, I didn't really leveraged code from #mkroot for OS/1337 and merely took a look at it at times.

The inital and currently used scripts are loosely based upon @w84death 's #Floppinux Manual [ https://archive.org/details/floppinux-manual/ ] with just #BusyBox being replaced with #toybox and a current #Kernel version as well...
https://github.com/OS-1337/OS1337/tree/main/build/0.CORE/build

Tho @SweetAIBelle is reworking the pipeline to be more modular and configureable, and I appreciate that a lot.
https://github.com/OS-1337/OS1337/issues/17

@OS1337
#OS1337

bagder, to random
@bagder@mastodon.social avatar

Making it harder to do wrong

is written in C. We try to write better C to reduce the risk of future vulnerabilities.

https://daniel.haxx.se/blog/2023/12/13/making-it-harder-to-do-wrong/

kkarhan,
@kkarhan@mstdn.social avatar

@empathicqubit @etam @hramrach that does make sense if portability is a must.

Luckily #toybox does have a minimalist #bash implementation (#toysh), making it easier to work with than #BusyBox's #ash.

At least I've not hit a snag on it yet developing @OS1337 ...

coolelectronics, to random
@coolelectronics@akkoma.mercurywork.shop avatar

fediverse server with 200 members being run entirely off of some random girl's rooted android

kkarhan,
@kkarhan@mstdn.social avatar

@coolelectronics why not?

I'd not be surprised if that's gonna be the case.

#toybox, the underlying #userland, includes even an #http server!

rory, to FreeBSD

I've been re-reconverting a lot of my "stuff" to the BSDs (Free, Open, Net). It's refreshing. The Linux every-tool-has-to-be-a-swiss-army-knife ethos is exhausting after a while. The relative simplicity and clean organization of *BSD (especially OpenBSD) re-affirms my fondness for UNIX-y things.

You might think there's not that much difference but, in many cases, I'd rather admin a BSD box. Try it, you'll see.

Also, NetBSD is soo lean, it has made my old Pentium III almost useful again. Even with 333Mhz and 128 MB of RAM 🙃

#bsd #openbsd #freebsd #vintagecomputing

kkarhan,
@kkarhan@mstdn.social avatar

@rory Well, for OS71337 I took inspiration from @w84death 's and took his and went full "chimp banging rocks together" on it, but swapping for @landley 's since I prefer over and wanted something really basic that would do more than cat text files but provide i.e. a portable on a FDD.
Something that could serve as a foundation or rather plain "slate for my other projects in lieu of a THICC distro that is not practically auditable

kkarhan,
@kkarhan@mstdn.social avatar

@rory Since then @SweetAIBelle and I have worked on OS/1337 and whilst we have some booting prereleases, I want to iron it out into something that works and that is easily extensible and "build from source yourself"...

https://github.com/OS-1337/OS1337
https://github.com/orgs/OS-1337/projects/1/views/1

Tho #OS1337 is not to be confused with @landley 's reference implementation of a #toybox + #musl / #Linux distro that is #mkroot, which is close to but not identical to the foundation of #Android, but exceeds my space requirements.

kkarhan,
@kkarhan@mstdn.social avatar

@rory That being said, Contributions and Feedback is welcome and as per it's #0BSD license you could even go so far as to fork it and put a #NetBSDor any other #unix-esque #Kernel under it if you so please.

In fact, I'd not be surprised if #toybox + #musl / #FreeBSD is the foundation of the OSes used on the #NintendoSwitch and #Playstation5...

it's just that neither #Nintendo nor #Sony have admitted so and I'm not going to stalk through the mailinglist of toybox when @landley hinted enough.

nixCraft, to random
@nixCraft@mastodon.social avatar

If you could code any fictional technology from movies or books, what would it be?

kkarhan,
@kkarhan@mstdn.social avatar

@landley @nixCraft @OS1337 makes sense...

also #gzip is the lowest common denominator of #compression on #linux, so it does make sense given that #toybox aims to provide a good yet space-efficient userland, even if that means i.e. vi instead of neovim or ne.

And given that #mkroot is a minimum viable product of a complete toybox/linux distro that is able to reproduce itself from source, it's inevitably going to be big.

A "self-hosting" distro that fits on 1440kB is very likely impossible...

kkarhan, (edited )
@kkarhan@mstdn.social avatar

@SweetAIBelle @landley @OS1337 Eeyupp...

In fact, the approach as of now is the classic file as script since exists.
https://github.com/OS-1337/OS1337/blob/main/build/0.CORE/fdd/fs/etc/init

For a minimalist system that wants to be a successor to and there isn's anything smaller nor more efficient.

After all, I don't expect OS/1337 to be used as a "" in lieu of @ubuntu / or but instead want to use it as a clean foundation for other projects of mine in need of an .

whitekiba, to random German
@whitekiba@squeak.social avatar

@kkarhan The fuck ist los mit den plötzlichen Cryptoboosts? Ist dein Account okay?

kkarhan, (edited )
@kkarhan@mstdn.social avatar

@landley @whitekiba @OS1337 sry.

My quest is to see if something like #tomsrtbt can be done with modern versions of #Linux & #toybox.

I know #mkroot is meant to show a full #musl + toybox / linux system for each supported architecture without sacrificing features and drivers along the way whilst retaining readability and reproduceability.

So OFC it can't fit on #1440kB...

But what can fit is a shimmed-down system able to load additional tools and/or flash/write a bigger system onto disk.

kkarhan, to linux
@kkarhan@mstdn.social avatar

At least #Linux 6.6.4 & #toybox 0.8.10 can still pull #floppyfw - level numbers in terms of memory efficiency:

About 12 MB on an idling command line is completely acceptable and propably the lowest I could ever get it...

This is promising for OS/1337...

#OS1337 #EmbeddedLinux #Development #Embedded

kkarhan, to linux
@kkarhan@mstdn.social avatar

I really did underestimate as compression for a :

I was able to just shove the pre-made, full & uncut binary from @landley and still have some breathing room.

Tho I expect this to change once I put a in that has actual capabilities...

This will be interesting for OS/1337.

http://landley.net/toybox/bin/
https://landley.net/toybox/help.html

the complete toybox binary outputting the commands it has implemented

kkarhan,
@kkarhan@mstdn.social avatar

@landley yeah...

To my own admission I just followed along the manual and only derivated where necessary and useful.

https://archive.org/details/floppinux-manual

I'm convinced that it's possible to get a -SX with and into 1440kB since someone managed that with way less optimization and with ample wiggle room [272kB] using Linux 5.13.0-rc2 and 1.33.1 manual and not even halfassing optimization at all.

So yeah I've to look deeper into it and see what I'm missing.

kkarhan,
@kkarhan@mstdn.social avatar

@landley I mean I know #mkroot will definitely remain the baseline of #toybox / #linux for a good reason...

I'll take notes later and see how much I can trim toybox too without having useless system...

In theory cat, dd, echo, ls, poweroff, reboot, sh / toysh, ip / ifconfig / ipconfig & wget should be sufficient.

Then just dbclient...

But yeah, minifying kernel is far more pressing then the xz compression of the rootfs is very efficient and not bottlenecking me, but the Kernel balooning is.

kkarhan, to linux
@kkarhan@mstdn.social avatar

Good news everyone!

OS/1337 now finally boots to a [quite castrated] version of / in glorious 80x25.

Thanks a lot to @SweetAIBelle and also thanks to @landley for nudging me in the right directions...

https://github.com/OS-1337/OS1337/issues/2#issuecomment-1839511578

kkarhan, (edited )
@kkarhan@mstdn.social avatar

For those interested:

Here's the 3,5" 1440kB FDD image of #OS/1337 as of now:
https://github.com/OS-1337/OS1337/blob/966753e739878e281fb1a2bb5dc250aae753cc9e/build/0.CORE/os1337.img

It's still quite broken but it does boot...

so feel free to provide feedback and report issues
https://github.com/OS-1337/OS1337/issues

#Linux #toybox #OS1337 #Embedded #EmbeddedLinux #Distro #Distribution #CLI

kkarhan, (edited )
@kkarhan@mstdn.social avatar

@SweetAIBelle @landley yeah, it's still somewhat broken but it's at least in a booting state where I could see how much and I can squeeze into the rootfs.cpio.xz given the limitations and the fact that it competes with the Kernel [bzimage] for space...

https://github.com/OS-1337/OS1337/issues/2#issuecomment-1839511578

But I'd say it is on track to fill the gap of and be a practical option.
https://en.wikipedia.org/wiki/Tomsrtbt

kkarhan, (edited )
@kkarhan@mstdn.social avatar

...providing people with a baseline that is at least functional to evaluate stuff and maybe rescue some data or wipe a machine and test stuff...

And of course, being "self-hosting" or rather self-compiling and being a viable platform to develop not just for but on.

Like #Toybox and #CommanderX16 aim to be.
https://www.youtube.com/watch?v=mPuP1L7vnr0&t=360s

kkarhan, to linux
@kkarhan@mstdn.social avatar

I guess I fecked up on this build of OS/1337...

need to repackage rootfs.cpio.xz and see if that works....

https://github.com/OS-1337/OS1337/issues/2#issuecomment-1837628147

#OS1337 #EmbeddedLinux #Linux #embedded #Development

kkarhan,
@kkarhan@mstdn.social avatar

@SweetAIBelle that seems to be odd - almost as if calling #toybox without calling sh / bash / toysh will make it spit out all the available "toys"...

I guess it should be

#! /bin/toybox sh

instead of just
#! /bin/toybox

https://github.com/OS-1337/OS1337/blob/6d7b7e05e0987c53917080fd2185e41369d2640d/build/0.CORE/fdd/fs/etc/init#L1

kkarhan,
@kkarhan@mstdn.social avatar

@SweetAIBelle in theory that initramfs and kernel files should boot on qemu out of the box as @landley would've intended for #Toybox / #Linux to do.

I only tested on #VirtualBox out of lazyness and convenience.

The Flopply-Fill - Script should basically shove those files over.

I merely replaced rootfs.cpio.xz with the new file and booted that up to this point, but if you're pedantic you could literally rebuilt the entire floppy image.

https://github.com/OS-1337/OS1337/blob/6d7b7e05e0987c53917080fd2185e41369d2640d/build/0.CORE/build/image/fill.floppy.sh

kkarhan,
@kkarhan@mstdn.social avatar

@landley @SweetAIBelle makes sense...

I for once only have i686, amd64, arm5r11 (Pi0) & armv7 (Pi3B) at hand and whilst I wish to support all the platforms #toybox & #linux do support, I only intent to gradually add those I can't test on physical hardware based off demand and once I got the entire build pipeline automated to the point that it's merely an argument to pass down for building those.

I do expect that to take quite some time but I happily accept contributions and welcome testers.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • tacticalgear
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • megavids
  • InstantRegret
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ethstaker
  • osvaldo12
  • modclub
  • normalnudes
  • provamag3
  • tester
  • anitta
  • Leos
  • lostlight
  • All magazines