Dreamcast Linux: Looking Back At Linux On A SuperH-based Gaming Console

The Dreamcast is probably best known as the swansong of Sega’s ambitions as a gaming console manufacturer, but perhaps lesser known is the fact that you can run Linux on it. In a deep-dive by [Cameron Kaiser] over at the Old VCR blog, it is demonstrated what it takes to make this feat even work in 2023, and what one can expect from a system with a 200 MHz HItachi SuperH SH-4 CPU, 16 MB of RAM and the luxuries of VGA and network interfaces.

What’s interesting about Dreamcast Linux is that it was among the first times that Linux got put on a gaming console, even if it wasn’t entirely official or remotely supported by Sega. In fact, the fact that it works at all has its roots firmly in an exploit that was discovered shortly after the Dreamcast’s release. While Dreamcast discs are generally in a format called GD-ROM (Gigabyte Disc), early on it also supported the MIL-CD standard, which was Sega’s ill-fated attempt at creating multimedia CDs with MIL-CDs.

Not only did MIL-CDs flop in the market, the support form in Dreamcast units also provided a juicy exploit via the firmware that handles detecting and switching between GD-ROM and the much more constrained, audio-only MIL-CD mode. Later Dreamcast models dropped MIL-CD support and will thus also not boot Dreamcast Linux, which is an important gotcha to keep in mind when dragging out a Dreamcast for some Linux action.

As for running Linux on a Dreamcast, it’s pretty much what you’d expect from running it on such a constrained, RAM-disk only device. While [Cameron] was able to use workarounds such as swap-over-NFS to increase functionality, a lot more work remains to be done. Linux SuperH support seems to have petered out around the 2.6.x era, which would seem to have cemented the fate of Dreamcast Linux and similar SuperH platforms.

We’re curious, would double the RAM make a difference to this Linux platform?

Another Room-Temperature Superconductivity Claim And Questions Of Scientific Integrity

In early March of 2023, a paper was published in Nature, with the researchers claiming that they had observed superconductivity at room temperature in a conductive alloy, at near-ambient pressure. While normally this would be cause for excitement, what mars this occasion is that this is not the first time that such claims have been made by these same researchers. Last year their previous paper in Nature on the topic was retracted after numerous issues were raised by other researchers regarding their data and the interpretation of this that led them to conclude that they had observed superconductivity.

According to an interview with one of the lead authors at the University of Rochester – Ranga Dias – the retracted paper has since been revised to incorporate the received feedback, with the research team purportedly having invited colleagues to vet their data and experimental setup. Of note, the newly released paper reports improvements over the previous results by requiring even lower pressures.

Depending on one’s perspective, this may either seem incredibly suspicious, or merely a sign that the scientific peer review system is working as it should. For the lay person this does however make it rather hard to answer the simple question of whether room-temperature superconductors are right around the corner. What does this effectively mean?

Continue reading “Another Room-Temperature Superconductivity Claim And Questions Of Scientific Integrity”

Haptick: The Strain Gauge Based 6DoF Controller

Six degrees of freedom (6DoF) controllers are used for manipulating an object in a CAD or 3d modeling program and are often called spacemice. You can twist it, push it, and even bop it. Most work with optical encoders, shining an LED through a slit to some form of photodetector on the other side. [Matthew Schubert] wanted to make his own spacemouse, but had some new ideas of how to go about it. His two-part project, dubbed haptic, focuses on measuring the forces, not the displacement.

He decided to try thick-film resistors as strain gauges and revisit load cells and proper strain gauges later. The actual structure quickly converged on the Stewart Platform, formed from three custom PCBs. A base to sit on, a knob for the top, and a middle board designed to take the strain with SMD resistors. A Teensy 3.2 talks to the ADS131M06 ADC and streams 4k samples per second to the host computer via serial. For prototyping, the calculations were done on the PC. Continue reading “Haptick: The Strain Gauge Based 6DoF Controller”

The Rise And (Eventual) Fall Of The SIM Card

There are few devices that better exemplify the breakneck pace of modern technical advancement than the mobile phone. In the span of just a decade, we went from flip phones and polyphonic ringtones to full-fledged mobile computers with quad-core processors and gigabytes of memory.

While rapid advancements in computational power are of course nothing new, the evolution of mobile devices is something altogether different. The Razr V3 of 2003 and the Nexus 5 of 2013 are so vastly different that it’s hard to reconcile the fact they were (at least ostensibly) designed to serve the same purpose — with everything from their basic physical layout to the way the user interacts with them having undergone dramatic changes in the intervening years. Even the network technology they use to facilitate voice and data communication are different.

Two phones, a decade apart.

Yet, there’s at least one component they share: the lowly SIM card. In fact, if you don’t mind trimming a bit of unnecessary plastic away, you could pull the SIM out of the Razr and slap it into the Nexus 5 without a problem. It doesn’t matter that the latter phone wasn’t even a twinkling in Google’s eye when the card was made, the nature of the SIM card means compatibility is a given.

Indeed there’s every reason to believe that very same card, now 20 years old, could be installed in any number of phones on the market today. Although, once again, some minor surgery would be required to pare it down to size.

Such is the beauty of the SIM, or Subscriber Identity Module. It allows you to easily transfer your cellular service from one phone to another, with little regard to the age or manufacturer of the device, and generally without even having to inform your carrier of the swap. It’s a simple concept that has served us well for almost as long as cellular telephones have existed, and separates the phone from the phone contract.

So naturally, there’s mounting pressure in the industry to screw it up.

Continue reading “The Rise And (Eventual) Fall Of The SIM Card”

Remote Water Quality Monitoring

While it can be straightforward to distill water to high purity, this is rarely the best method for producing water for useful purposes. Even drinking water typically needs certain minerals in it, plants may need a certain pH, and wastewater systems have a whole host of other qualities that need to be measured. Measuring water quality is a surprisingly complex endeavor as a result and often involves a wide array of sensors, much like this water quality meter from [RowlesGroupResearch].

The water quality meters that they are putting to use are typically set up in remote locations, without power, and are targeting natural bodies of water and also wastewater treatment plants. Temperature and pH are simple enough to measure and grasp, but this device also includes sensors for total dissolved solids (TDS) and turbidity which are both methods for measuring various amounts and types of particles suspended in the water. The build is based around an Arduino so that it is easy for others to replicate, and is housed in a waterproof box with a large battery, and includes data logging to an SD card in order to make it easy to deploy in remote, outdoor settings and to gather the data at a later time.

The build log for this device also goes into detail about all of the steps needed to set this up from scratch, as well as a comprehensive bill of materials. This could be useful in plenty of professional settings such as community wastewater treatment facilities but also in situations where it’s believed that industrial activity may be impacting a natural body of water. For a water quality meter more focused on drinking water, though, we’d recommend this build that is trained on its own neural network.

A Feature-Rich Amplifier Module For 3-Way Speaker Builds

There’s something rewarding about building your own DIY audio hardware. Knowing you put it together yourself gives you faith in the construction, and psychosomatically makes the music sound all that much sweeter. If you’re into that kind of thing, you might like to give [Eric Sorensen’s] Denmark amplifier module a look.

The amplifier is intended to be used in a 3-way system, running a subwoofer, woofer, and tweeter. It uses a 1000 W ICEpower module to run the subwoofer, with a pair of 500W ICEpower modules to run the woofer and tweeter respectively. Meanwhile, a MiniDSP 2x4HD is used to accept optical audio input. It also offers digital signal processing and serves as a crossover to split the signal across the three speakers. An STM32F401 is used to run the show, controlling all the various modules and the necessary status LEDs. It’s a feature-rich build, too, with overtemperature monitoring, fan control, and clipping warnings built in.

The whole setup is built on to a sturdy aluminium backplate. The CNC-machined panel has simple tactile buttons for control. There’s also a nifty use of clear PETG 3D printer filament as a light pipe for LEDs. It’s effective, and it looks great. The whole module is designed to slide into the bottom of a 3-way speaker housing like a drawer.

Overall, if you’re building a big set of 3-way speakers, you might find the Denmark amplifier module is perfect for your needs. Alternatively, you could experiment with a different kind of speaker entirely. Video after the break.

Continue reading “A Feature-Rich Amplifier Module For 3-Way Speaker Builds”

A Pi Pico soldered onto a custom breakout PCB, with an SD card connected to it using prototyping wires

RP2040 Runs Linux Through RISC-V Emulation

We’re used to running Linux on CPUs where it belongs, and the consensus is that RP2040 just isn’t up for the task – no memory controller, and nowhere near enough RAM, to boot. At least, that’s what you might believe until you see [tvlad1234]’s Linux-on-RP2040 project, reminding us there’s more than one way to boot Linux on a CPU like this! Just like with the “Linux on AVR” project in 2012 that emulated an ARM processor, the pico-rv32ima project emulates a RISC-V core – keeping up with the times.

Initially, the aforementioned “Linux on AVR through ARM” project was picked as a base – then, a newer development, [cnlohr]’s RISC-V emulator, presented itself and was too good to pass up on. Lack of RAM was fully negated by adding an SD card into the equation – coupled with a small caching layer, this is a crucial part for the project’s not-so-secret sauce. A fair amount of debugging and optimization later, [tvlad1234] got Linux to run, achieving boot times in 10-15 minutes’ ballpark – considering the emulation layer’s presence, this is no mean feat.

At this point, the boot process stalls as you enter a login shell. If Linux on RP2040 is within your area of interest, feel free to pick up the effort from here, as the project is fully open-source – you only need a Pi Pico board and a throwaway SD card! Now, if pairing a RP2040 with some classic software is your definition of an evening well-spent, you can’t go wrong with DOOM! However, if you’d rather play with something else *nix-like, we’ve seen someone port Fuzix onto the RP2040 before.