You are viewing a single thread.
View all comments
55 points
*

My thinly-veiled lack of understanding of Linux is in shambles. CPU optional?

permalink
report
reply
12 points
*

You can install it on tplink router. So it is optional as you can see. Ir maybe this

permalink
report
parent
reply
2 points

It literally says “32 bit RISC-V homemade CPU out of discrete components”.

I dont know how you would stretch the definition of cpu in form of discrete components but yea current processors also stray from the definition of a alu and a control unit and registers since people call the different cores cpus. But even a Mikrocontroller has a all that.

You need a cpu to run linux. If you just want to rin a “program” you can do that with logic gates and no alu or control unit but that would limit the form of your program to exactly that circuit.

permalink
report
parent
reply
1 point

Ok, we will have to wait for compute in RAM to run Linux

permalink
report
parent
reply
2 points

You still need a CPU

permalink
report
parent
reply
41 points
*

It’s a joke… Probably.

I don’t have a confirmed case of Linux running without a traditional CPU, but I wouldn’t bet $20.00 against it existing

There’s plenty of devices out there that do some kind of computation and don’t have anything we would recognize at a traditional CPU. Such devices are becoming rare, because CPUs are so dang cheap, now.

Most of those run binary compiled from custom C code or even directly from Assembly.

But, if someone was going to run an alternative program on one of those devices, there’s a very good chance they would install Linux (heavily customized) on it first.

Source: I’ve completed parts of Linux from Scratch. It was eye opening to realize the places that a true Linux expert could get it to run. Every single part of Linux is truly optional, to someone who knows that they’re doing.

permalink
report
parent
reply
10 points

but I wouldn’t bet $20.00 against it existing

Good. Because if Linux can run on RV32I, then it can run on this.

Every single part of Linux is truly optional, to someone who knows that they’re doing.

Today for shits and giggles I ran Xonotic as init process. It had trouble with hardware acceleration, so I ran simple bash script that mounted /proc and /sys and then launched xonotic instead.

permalink
report
parent
reply
12 points

Those are still CPUs. Microcontrollers have CPUs, and those are the smallest units that can actually run code in a meaningful way.

However, Linux needs an MMU as far as I know, so you won’t see Ubuntu boot on an esp32, even though it does have a CPU.

permalink
report
parent
reply
5 points

MMU (optional)

permalink
report
parent
reply
16 points
*

Those are still CPUs. Microcontrollers have CPUs, and those are the smallest units that can actually run code in a meaningful way.

If the whole board is the CPU, we typically don’t call it a CPU. (The C is for Central.) There’s very few left, but there’s still hardware out there, running code, that could be called CPU-less.

I do take your point that it’s down to pendantic wording, at that point. Something very like a CPU, that most of us are going to just call a CPU, is going to be present.

However, Linux needs an MMU as far as I know, so you won’t see Ubuntu boot on an esp32, even though it does have a CPU.

Yeah. There’s certainly an argument to be made that whatever is left is not really the Linux Kernel anymore, after modifying it enough to run CPU-free. But I suppose it’s still more fair to call it Linux, than not to, at that point.

permalink
report
parent
reply
100 points

The joke is that the system requirements for Linux can be effectively nothing, but of course, some sort of processor is required. It’s hyperbole.

permalink
report
parent
reply
31 points

I think it’s also relevant with Windows 10 nearing the end of support, meaning a lot of devices that “can’t run windows 11” are “heading to the landfills” (according to some news articles)

permalink
report
parent
reply
40 points
*

Fact: If it can run Win10, it can run Win11.

Those limitations imposed by MS can be circumvented with Rufus.

I’ve successfully installed Win11 on a Core2Quad with 2GB of RAM… on a spinning drive.

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

Hint: :q!


Sister communities:

Community rules (click to expand)

1. Follow the site-wide rules
2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of “peasantry” to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
4. No recent reposts
  • Everybody uses Arch btw, can’t quit Vim, and wants to interject for a moment. You can stop now.

Please report posts and comments that break these rules!

Community stats

  • 6.6K

    Monthly active users

  • 1.3K

    Posts

  • 71K

    Comments