The $8 Linux Computer (2022)
269 points
• 5 days ago
• Article
Link
Ox64 是一款经济实惠的 8 美元 RISC-V 单板计算机,提供了出人意料的强大能力,包括三个不同的核心以及对 Linux 的支持。它看起来像普通微控制器,但实际运行方式更接近标准的 UNIX 机器。不过初次体验并非即插即用:在测试时,以太网、 Wi-Fi 和 SD 卡支持等关键组件尚未能正常工作,而且整个配置过程对用户提出了不少技术挑战。
让这块开发板顺利跑起来的主要障碍在于,它无法像许多常见开发板那样通过 USB 编程。用户只能依赖 UART 引脚。此外,随附的烧录工具 Dev Cube 在运行 Wayland 的 Ubuntu 系统上很容易崩溃,用户需要切换到 Xorg 会话,或调整环境变量来维持稳定性。硬件通信同样不顺,常见的 USB 转串口适配器在握手过程中经常失败。
为了绕开这些连接问题,一个有效的变通办法是改用 RP2040 设备(例如 Adafruit KB2040)来充当计算机与 Ox64 之间的串口桥。通过给 RP2040 刷入 picoprobe 固件,并细致地接好 GPIO 引脚,即可建立稳定连接。即便接上这座桥,原本的标准烧录工具依然存在问题,因此需要改用 bflb-mcu-tool 等替代软件。
最后,要把替代工具用起来,还得手动修改其 Python 代码,移除会冲突的 DTR 和 RTS 信号。完成这些配置调整后,就能成功烧录初始固件,例如 M0 核心对应的底层加载文件。虽然这只是实现完整 Linux 启动的第一步,但 Ox64 与 PC 之间成功建立通信,令人备受鼓舞:说明硬件工作正常、响应灵敏,并已准备好进入更深入的开发阶段。
The Ox64 is a budget-friendly, eight-dollar RISC-V single-board computer that offers a surprising level of capability, including three distinct cores and support for Linux. While it resembles a simple microcontroller, it functions much like a standard UNIX machine. However, the initial experience is not plug-and-play, as essential components like ethernet, Wi-Fi, and SD-card support were not yet functional at the time of testing, and the setup process presents several technical challenges for the user.
A primary hurdle in getting the board running is that it cannot be programmed through USB like many common development boards. Instead, users must rely on UART pins. Furthermore, the provided flashing tool, Dev Cube, is prone to crashing on Ubuntu systems running Wayland, requiring users to switch to an Xorg session or modify environment variables to maintain stability. Hardware communication also proved difficult, as standard USB-to-serial dongles frequently failed during the handshake process.
To bypass these connection issues, a successful workaround involves repurposing an RP2040 device, such as an Adafruit KB2040, to act as a serial bridge between the computer and the Ox64. By flashing the RP2040 with picoprobe firmware and carefully wiring the GPIO pins, a stable connection can be established. Even with this bridge in place, the standard flashing tool remains problematic, necessitating the use of alternative software like the bflb-mcu-tool.
Finally, integrating this alternative tool requires manual modifications to its Python code to strip away conflicting DTR and RTS signals. Once these configuration adjustments are made, it is possible to successfully flash the initial firmware, such as the low-level load files for the M0 core. While this represents only the first step toward achieving a full Linux boot, the successful communication between the Ox64 and the PC serves as a promising confirmation that the hardware is responsive and ready for further development.
105 comments • Comments Link
• 硬件破解依然是一项令人着迷的爱好。长期以来,爱好者会把廉价的消费级设备(比如路由器和媒体盒)重新改造,让它们运行自定义的 Linux 发行版。
• 由 Rockchip CPUs 驱动的 Android TV boxes 是传统单板计算机(SBCs)的一个稳健、低成本替代方案。它们配备 HDMI 、 USB 和 Wi‑Fi 等必要外设,尽管没有 GPIO pins,但整体性价比通常更高。
• 微控制器(例如 RP2040)以及 RISC‑V 板卡(例如 Milk‑V Duo)为运行 Linux 或各类专业 OS builds 提供了入门路径。价格通常不到 10 美元,非常适合那些能适应极致硬件限制的用户。
• 业余爱好者社区经常尝试各种小众的 RISC‑V 硬件,并指出:这些板卡的软件支持往往不够成熟、存在分散与碎片化问题,但正是这种挑战让它们更有吸引力——需要大家在资源受限的前提下去做优化。
• Raspberry Pi 的定价与供货情况随时间发生了巨大变化:它从早期那种 5 美元左右的亏本吸引型策略,逐渐转向更高端的定价区间。这也促使用户重新评估该平台与 x86 mini‑PC 以及其他开发板相比时的价值定位。
• 关于"Raspberry Pi 失去初心"的观点,源于它从教育普及走向了更偏专业的硬件路线。支持者则认为,组件成本持续上升以及维持业务运转的现实需求,使得这些价格上涨在所难免。
• 像 ESP32 这样的现代微控制器,正在有效填补低成本硬件项目的空白:在不需要完整 Linux kernel 的情况下,就能以远低于 SBC 的成本提供强大的性能。
• 把现代的 RISC‑V cores 与 Pentium 3 这类经典架构放在一起对比会发现:虽然原始性能指标看起来接近,但现代设计效率更高、晶体管数量也不同,最终带来的是完全不同的工程取舍。
• 除了新硬件之外,二手办公设备市场(例如退役的 ThinkPads 或旧款 iMacs)依然是获取功能强大、且能完整兼容 Linux 系统的最高性价比选择。
• 像 Raspberry Pi Zero 2W 这类热门板卡长期存在的库存问题,促使爱好者们进一步丰富工具箱。他们常常选择到本地门店直接取货,或者干脆改用供应更充足的非 Pi 替代方案。
负担得起、又能兼容 Linux 的硬件领域已经演变:从早期那种触手可及、主要服务业余爱好的 Raspberry Pi 时代,发展成一个更复杂的市场——由供应链限制、专业级 SBCs 以及 RISC‑V 实验的复兴共同塑造。虽然有人怀念 10 美元以下的价格点,也有人认为:即便如今的 boards 成本更高,它们依然提供了过去任何价格都难以想象的能力。总体来说,越来越多人认同:对大多数非嵌入式项目来说,small‑form‑factor 的 x86 PCs 以及微控制器带来的价值与可用性,往往优于那些定位更高端的教育用 boards 。归根结底,社区仍在寻找创造性的方法,在硬件限制与软件的独创性之间做平衡——要么为极其受限的芯片优化代码,要么从电子垃圾里把旧硬件重新救回来。 • Hardware hacking remains a compelling hobby, with enthusiasts historically repurposing inexpensive consumer devices like routers and media boxes to run custom Linux distributions.
• Android TV boxes powered by Rockchip CPUs serve as a robust, low-cost alternative to traditional single-board computers (SBCs), offering essential peripherals like HDMI, USB, and Wi-Fi, often at a better value despite the lack of GPIO pins.
• Microcontrollers such as the RP2040 and RISC-V boards like the Milk-V Duo provide an entry point for running Linux or specialized OS builds for less than $10, catering to users comfortable with extreme hardware constraints.
• The hobbyist community frequently experiments with niche RISC-V hardware, noting that while software support for these boards is often immature or fragmented, the challenge of optimizing software for limited memory is part of the appeal.
• Raspberry Pi pricing and availability have shifted significantly over time, moving from a $5 loss-leader model to a premium-priced lineup, which has prompted users to re-evaluate the platform's value proposition against x86 mini-PCs and alternative dev boards.
• The perception that the Raspberry Pi "lost the plot" stems from a shift from educational accessibility to professional-grade hardware, though proponents argue that rising component costs and the necessity of sustaining a business make these price hikes inevitable.
• Modern microcontrollers like the ESP32 have effectively filled the gap for low-cost hardware projects where a full Linux kernel is not strictly required, offering powerful capabilities for a fraction of the cost of an SBC.
• Comparisons between modern RISC-V cores and classic architectures like the Pentium 3 highlight that while raw performance metrics may seem similar, modern design efficiency and transistor counts offer vastly different engineering trade-offs.
• Beyond new hardware, the secondary market for used office equipment, such as retired ThinkPads or older iMacs, remains the most cost-effective path to obtaining powerful, fully functional Linux-capable systems.
• Persistent inventory issues with popular boards like the Raspberry Pi Zero 2W have driven hobbyists to diversify their toolkits, frequently opting for localized store pickups or shifting entirely to more available, non-Pi alternatives.
The landscape for affordable Linux-capable hardware has evolved from a era of accessible, hobbyist-focused devices like the early Raspberry Pi to a more complex market defined by supply chain constraints, professional-grade SBCs, and a resurgence of RISC-V experimentation. While some users express nostalgia for the sub-$10 price point, others argue that modern boards—even at higher costs—offer capabilities that were once unheard of at any price. There is a broad consensus that for most non-embedded projects, small-form-factor x86 PCs and microcontrollers currently provide better value and availability than the flagship educational boards. Ultimately, the community continues to find creative ways to balance hardware limitations with software ingenuity, whether by optimizing code for extremely resource-constrained chips or rescuing older hardware from the e-waste stream.