by sylware · 4y ago · 0 comments
And now, time to write some assembly (without abusing the assembler preprocessor...), coze compilers (aka backdoor injectors, or absurd and grotesque bloats) should become, finally, useless (well some hardware vendor drivers will be provided as gcc/linux C dialect...)
If it was easy, it would not need firmware in the first place. Firmware is there because people expect certain features and quality of life. See softmodems.
> write some assembly (without abusing the assembler preprocessor...)
You want https://terralang.org/ and not "just C"/"just Assembler" instead ?
if risc-v is a success we don't need anything except a risc-v assembler: then the main pitfall would be the abuse of the macro preprocessor.
Nvidia believes in shipping a garbage, throttled down and limited firmware to get you some initial rendering, but if you need anything that's not basic rendering, you load a proprietary signed blob, with proprietary "microcode" for it's proprietary GPU instruction set when you initialize the OS graphics driver.
For AMD GPUs the situation is more or less the same, except that without said "binary blob" the GPU isn't on-purpose throttled down near as much.
Or are you implying that we need RISC-V success as a GPU ISA too?
The now open sourced nvidia kernel modules should do something similar I guess: loading "bug fixed" firmware images.
The "near-zero" drivers means the default firmware does provide already the hardware programing interfaces at power on. On such complex hardware, expect bugs in this default firmware. Currently, we have a driver written in gcc kernel C dialect and for linux, not ideal.
I spotted a RISC-V GPU the other day. I guess I wish for CPU/GPU ISAs without toxic PI tied to them (like x86/arm) to succeed. I dunno if AMD GPU isa has any PI tied to them though a la arm though. Rumors: AMD may be interested in RISC-V ISAs for its GPUs and CPUs.
IME is a bad example here. That's an entire upgradeable MINIX OS embedded in your system - if it was really firmware, Intel would not be able to update it, or you be able to neuter it.