kkarhan,
@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,
@kkarhan@mstdn.social avatar

And yes, after considering the mountain of evidence I decided to choose a instead of license.

In fact, I did choose the same license that @landley chose for : .

https://github.com/OS-1337/OS1337/blob/main/LICENSE.md

Since would not guarantee improvements as can be seen not only from but also @grsecurity and - .

"[" is a botched and horribly outdated mess based off what they released on their website]...

https://web.archive.org/web/20230331121150/https://www.viprinet.com/en/support/downloads

kkarhan,
@kkarhan@mstdn.social avatar

Either way, I hope to longterm develop OS/1337 as a practical distro for lowest-end machines whilst still retaining features and keeping it smol.
Think of it like
@rasteri 's and 's having a one-night-stand and out comes a that runs on decades old just as nice as on recently discontinued or some classic like the famous and ...
https://www.youtube.com/watch?v=aJEp4ZUG7BI
https://www.youtube.com/watch?v=mPuP1L7vnr0
https://www.ebay.de/itm/196058676290

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 and aim to be.
https://www.youtube.com/watch?v=mPuP1L7vnr0&t=360s

SweetAIBelle,

@kkarhan @landley
Yep, looking good!

And the mount, clear, and cat errors are undoubtedly because we didn't say toybox in front of them, which is why we need a bunch of symbolic links. IIRC, at that point, I typed ls, it didn't recognize it, then typing toybox ls worked...

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 #toybox and #dropbear 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 #tomsrtbt and be a practical option.
https://en.wikipedia.org/wiki/Tomsrtbt

#OS1337

kkarhan,
@kkarhan@mstdn.social avatar

@SweetAIBelle @landley for example I didn't compile the kernel with much driver support and getting at least -based support will eat up about 200kB...

But I'd rather have a system that cat at least pull stuff and/or go from there...

getting work and being able to / stuff is a pivotal step...

landley,
@landley@mstdn.jp avatar

@kkarhan @SweetAIBelle Trimming down modern kernels is it's own black art.

The https://en.wikipedia.org/wiki/TinyLinux did a lot of work back in the day.

My kernels configs are not particularly trimmed down, they're "minimal number of symbols". There's a horrible CONFIG_EXPERT menu that lets you switch extra stuff off...

kkarhan,
@kkarhan@mstdn.social avatar

@landley @SweetAIBelle Personally, I prefer to just start with a minimal config and only add what I need...

In fact the current for said prerelease of OS/1337 is basically following the manual:
https://github.com/OS-1337/OS1337/blob/acce92c70f1bd79c61c6b9866bb2b6bada6ef6cc/docu/external/floppinux/floppinux-manual.pdf (page 3 & 4)

That sadly means I've yet to add and for anything beyond - style I/O to it.

My previous kernel with networking was like ~ 900k but I can trim it down further...
https://mstdn.social/@kkarhan/111173523142833098

kkarhan,
@kkarhan@mstdn.social avatar

@landley I've refrained from using because I want to avoid fiddling with stuff I don't know much about and would first resort to maxing out [or rather minifying] before I'd resort to harsher tricks like more aggressive options to optimize size.

https://mstdn.jp/@landley/111524496326661702

landley,
@landley@mstdn.jp avatar

@kkarhan I resisted for a long time too, but I eventually added plumbing to automatically switch off some of the dumber ones.

https://github.com/landley/toybox/blob/master/mkroot/mkroot.sh#L282

It's been a while, I should re-examine the list...

kkarhan,
@kkarhan@mstdn.social avatar

@landley feel free to take this one as a starting point:
https://github.com/OS-1337/OS1337/blob/main/build/0.CORE/build/linux/linux-6.6.4-i486-minimal.config

It creates a 677kB bzImage [the one used in the bootable floppy
https://github.com/OS-1337/OS1337/blob/main/build/0.CORE/fdd/bzImage

OFC it's literally just that naked kernel, but then again it drew a 80x25 terminal on screen so it works...
https://mstdn.social/@kkarhan/111524679295355625

landley,
@landley@mstdn.jp avatar

@kkarhan You saw how mkroot makes kernel configs, right? It creates a microconfig (in two parts), then expands it to a miniconfig, then to a full config...

https://landley.net/aboriginal/FAQ.html#dev_miniconfig

Miniconfig is just "the list of symbols you'd have to switch on in menuconfig starting from allnoconfig".

The csv2cfg function takes NAME1,NAME2="blah",NAME3 and produces

CONFIG_NAME1=y
CONFIG_NAME2="blah"
CONFIG_NAME3=y

https://github.com/landley/toybox/blob/master/mkroot/mkroot.sh#L170

That's why it has configs for a dozen architectures in one file.

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

@landley Okay, I've not dabbled with the .config files...

Espechally since in terms of Hardware it makes more sense to [me to] optimize per-architecture [I've not seen VIA or AMD NICs on an amd64 or arm5r11 system]...

Granted the version is my primary target since it's the one most desperately in need of something like OS/1337 and I can't commit the time necessary to support more as I've got € 0 in funding so it's not as if I can quit my dayjob to commit fully to it.

kkarhan,
@kkarhan@mstdn.social avatar

@landley But I'd shure that's a matter of time...
After all, there is a demand for easy-to-license for use in systems, as and other derivates are quite lacking in terms of and supported hardware compared to Linux.

And I think that OS/1337 can be a more permissive alternative to and a useable solution to get started developing portable CLI & TUI tools that just run on everything...
Just as "" rescue system it would still be useful.

kkarhan,
@kkarhan@mstdn.social avatar

@landley And for a lot of my projects, a approach is the way to go, since putting Raspbian / Raspberry Pi OS on the would be as absurd as installing CP/M on my TI-30 XS MultiView calculator.

https://github.com/KBtechnologies/PocketCrypto

All it needs to do is PGP and scan/print/display QR-Codes and at most act as simplex AFSK modem.

kkarhan,
@kkarhan@mstdn.social avatar

@landley Also I was tempted at first to go with the oldest still maintained kernel (something in the 4.x line I guess) but I think that'll not be worth the sacrifices for OS/1337 ....

https://mstdn.social/@kkarhan/111520346047824445

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