← 返回技术雷达
Hacker News tech

How to bring up the Linux Kernel on a new platform

Hacker News 热议:How to bring up the Linux Kernel on a new platform(53 赞 / 4 评论,来源 werwolv.net)

一句话概要

A guide to bringing up the Linux Kernel and a userspace application on a new hardware (or in this case, a self-made emulator)

原文开头节选

Many embedded systems these days run Linux as their operating system. Generally because it’s a great foundation to run anything you like on top of and because many great developers and manufacturers already took care of writing drivers for all kinds of hardware components.

Even though this makes building the finished project much easier, if you’re dealing with custom hardware, you will most likely still have to bring up the Linux kernel on your own initially. This post is about just that: Setting up the bare minimal to get Linux running on a new platform. In this case, the new platform is not a new PCB but a minimal, emulated RISC-V CPU.

Even though Linux is a very complex piece of software, it doesn’t actually have that many requirements to run. The only thing it really needs in terms of hardware is:

Memory Management Unit A piece of hardware on the SoC that handles translating virtual addresses to physical addresses, allowing for isolation between multiple different userspace processes and the Kernel Enough RAM to, at least, load the Kernel, a Device Tree and an initramfs.

(以上为原文节选,完整内容见下方”原文来源”)

这条动态今日登上 Hacker News 首页(53 赞 / 4 评论,来源 werwolv.net)。技术雷达每日自动聚合 AI 工程、后端架构、DevOps 方向的前沿动态;相关工程落地可浏览下方的相关服务与延伸阅读,或直接与我们团队交流。

原文来源: Hacker News

相关服务