🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #1469

Re: Platform sought

#1469
From: Don Y
Date: Tue, 24 Nov 2026 12:00
76 lines
5668 bytes
On 11/24/2026 4:04 AM, Theo wrote:
> Don Y <blockedofcourse@foo.invalid> wrote:
>> On 11/23/2026 11:16 AM, Theo wrote:
>>> Don Y <blockedofcourse@foo.invalid> wrote:
>>>> On 11/23/2026 4:33 AM, Theo wrote:
>>>
>>> How are you planning to talk to the display and buttons?  There is typically
>>> a microcontroller involved you'd need to reverse engineer and reprogram: as
>>> far as the NAS is concerned this UI is not exposed to the host OS.
>> The displays that I have seen were accessed via a (5VDC) serial port.
>> I imagine there are some that talk USB (?).
>>
>> It's a low bandwidth channel so I could bit bang it on a GPIO/printer port
>> if push comes to shove.
>>
>> If I have to hack something together, that would be the route I would
>> take (and talk to it like a tty instead of having to build a special driver)
> 
> I think you have a conceptual error here.  Such boxes are typically not just
> a bunch of GPIOs hung off the CPU, they have additional microcontroller(s)
> Doing Stuff.  For example, monitoring temperatures, controlling fan speeds,
> checking on disc status, etc etc.  The display is hung off the
> microcontroller, not the CPU, and the OS talks to the microcontroller
> probably via USB.  The microcontroller's firmware is targeted at the NAS
> application - ie it decides to say 'bay 4 is 47degC' or whatever, and the
> buttons route to it with the menu/etc on the display being generated by the
> microcontroller.  Unless you replace this firmware you don't get to control
> how it behaves.

The units I've examined are accessed via a (5VDC) serial port.  I can make them
say whatever I want.  (I've already done this)
> On low cost devices with low end ARM SoCs, they are more likely to be GPIOs
> off the main SoC.  But x86s don't tend to have user-accessible GPIOs so
> everything is behind PCIe or USB.  Additionally having a separate $1
> management microcontroller is useful - even if the OS crashes you still have
> temperature management.
> 
> So EITHER that turns it into a reverse engineering and firmware replacement
> project.  OR it turns it into a hardware project where you bypass the
> microcontroller and tap into the display and buttons with your own hardware.
> OR you build your own thing with your own display and fit it into the case.
> 
> Neither are the turnkey product you expect.
 From the items I've examined, it's just a general purpose OS with a thin
application riding atop.  The "bigger" processors have real PC BIOSes;
I can boot other OSs in lieu of the DoM-resident OS... and then switch back
to the original OS without having to reflash anything.

I.e., they are just PCs with the display (VGA or HDMI) and keyboard (USB) ports
not directly advertised as such.  Any "controls" are dangling off the main CPU
using existing "device drivers".

The notable difference between them and a "regular PC" is the lack of PCI slots
and/or lack of in-built drivers for I/Os cards that aren't pertinent to their
product offerings.  E.g., even if there are spare slots, I can't just install
a SAS HBA and hope *it* will be able to use it (though a "guest" OS is free
to do so, if the driver is included in that image)

[I use small thumb drives plugged into a rear panel USB slot to root to a
guest OS; change the boot order back to its original configuration and
the DoM is used, instead.  I.e., it is safe to dick with the hardware
without risking losing the original firmware.]

The smaller units tend to install the OS on the disk drives (a copy on
*each*, often, so the system can still boot if a drive is removed).
Most users wouldn't notice the loss of capacity; but, pull the drive
and go poking around its partition table and you don't just see one
"data" partition but a set of partitions that also host the OS.
This lets them cheapen the base hardware by only needing a loader in
FLASH (or, a payload that the loader can *unpack* onto the drives)

I use a similar approach for my file servers -- put the OS on a ~16G
thumb drive plugged into an *internal* USB slot (as if it was a DoM) so I
can avoid "tarnishing" any of the drives with stuff that isn't "just data".
As such, I can pull ALL of the drives and still have a viable system
(though with no swap).
Technical Details
Message-ID: <11e3u93$2pfni$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11e02a4$1eu1l$1@dont-email.me> <4uC*FKqWA@news.chiark.greenend.org.uk> <11e1o4l$213h8$1@dont-email.me> <7uC*7csWA@news.chiark.greenend.org.uk> <11e2r6p$2e8at$1@dont-email.me> <7uC*rVvWA@news.chiark.greenend.org.uk>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Don Y <blockedofcourse@foo.invalid>
Newsgroups: sci.electronics.design
Subject: Re: Platform sought
Date: Tue, 24 Nov 2026 05:00:30 -0700
Organization: A noiseless patient Spider
Lines: 76
Message-ID: <11e3u93$2pfni$1@dont-email.me>
References: <11e02a4$1eu1l$1@dont-email.me>
 <4uC*FKqWA@news.chiark.greenend.org.uk> <11e1o4l$213h8$1@dont-email.me>
 <7uC*7csWA@news.chiark.greenend.org.uk> <11e2r6p$2e8at$1@dont-email.me>
 <7uC*rVvWA@news.chiark.greenend.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 24 Nov 2026 12:00:37 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2932466"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+auC9UcfY1jGKCKg1xlpON"; posting-host="bf92644c762e95bf32414181ef96b6e0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:pKmJnZy9r2dr/44/GtQrB632eSs= sha256:yCbZ9j3AqTEG2EeVEUA10aZg2kuwTLQLjTwSiKtAncw=
	sha1:Smiaced9yvC0csF1wnB2q1ni8Ro= sha256:fAuhJHAJZAfroef22UqClwAvgC16WkiXMuD8EBIaKIE=
Content-Language: en-US
In-Reply-To: <7uC*rVvWA@news.chiark.greenend.org.uk>