如何为 Raspberry Pi 3B 构建带有 GUI 的基于 Linux 的自定义操作系统

发布于 2025-01-17 21:46:14 字数 219 浏览 3 评论 0原文

我是嵌入式Linux的新手,为了学习如何从头开始构建基于自定义Linux的操作系统,我决定使用BuildRoot。

我想从头开始构建类似于Raspbian OS的基于GUI的OS RaspberryPi 3b+(或3b)。我该怎么做?

通过谷歌搜索,我能够找到一些教导如何构建非GUI的最小操作系统的资源,并且找不到基于GUI的任何资源。

寻找有关我如何做到这一点的信息和/或资源。

I am new to embedded linux, in order to learn how to build custom linux based OS from scratch I have decided to use buildroot.

I want to build a GUI based OS RaspberryPi 3B+ (or 3B) similar to that of Raspbian OS, from scratch. How do I go about this?

By googling, I was able to find a few resources that teach how to build a non-GUI based minimal OS, and could not find any for GUI based.

Looking for information and/or resources on how I can do this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诗笺 2025-01-24 21:46:14

在使用默认 raspberryPi 配置运行的 buildroot menuconfig 中,

软件包选择 -->图形库和应用程序 -

启用以下内容,

  • X Windows System Server -->模块化 xorg(X.Org 项目提供了 X Window 的开源实现)
  • X.org X Window 系统,X11R7 --> X11R7应用 --> xinit(提供 startx 命令来启动 GUI)
  • X.org X Window 系统,X11R7 --> X11R7 服务器 --> xorg-server(X 服务器组件)
  • X.org X Window 系统,X11R7 --> X11R7 驱动程序 --> xf86-input-keyboard(非常常见的接口:-)
  • X.org X Window 系统,X11R7 --> X11R7 驱动程序 --> xf86-输入鼠标
    X.org X 窗口系统,X11R7 --> X11R7 驱动程序 --> xf86-video-cirrus(Cirrus VGA 在 QEMU 中模拟)
  • X.org X Window 系统,X11R7 --> X11R7 驱动程序 --> xf86-video-fbdev(或者您可以使用帧缓冲区)
  • X.org X Window 系统,X11R7 --> X11R7应用 -->您可以添加一些有用的应用程序
  • X.org X Window System、X11R7 --> MatchBow 窗口管理器(Matchbox 窗口管理器负责管理 X11 客户端窗口几何形状和堆叠顺序,以及提供装饰和控件)或您选择的任何其他窗口管理器。
  • X.org X 窗口系统,X11R7 --> rxtv(X 中的终端仿真程序

一旦构建完成,启动开发板并运行 startx。

In buildroot menuconfig running with default raspberryPi config,

Package Selection --> Graphic libraries and applications -

Enable the following,

  • X Windows System Server --> modular xorg ( The X.Org project provides an open source implementation of the X Window)
  • X.org X Window System, X11R7 --> X11R7 Applications --> xinit (gives startx command to begin GUI)
  • X.org X Window System, X11R7 --> X11R7 Servers --> xorg-server (X server component)
  • X.org X Window System, X11R7 --> X11R7 Drivers --> xf86-input-keyboard (very common interface :-)
  • X.org X Window System, X11R7 --> X11R7 Drivers --> xf86-input-mouse
    X.org X Window System, X11R7 --> X11R7 Drivers --> xf86-video-cirrus (Cirrus VGA is emulated in QEMU)
  • X.org X Window System, X11R7 --> X11R7 Drivers --> xf86-video-fbdev (or you can use framebuffer)
  • X.org X Window System, X11R7 --> X11R7 Application --> you can add some useful applications
  • X.org X Window System, X11R7 --> MatchBow Window Manager (The Matchbox window manager is responsible for managing X11 client window geometry and stacking order, as well as providing decorations and controls) or any other window manager of your choice.
  • X.org X Window System, X11R7 --> rxtv (Terminal emulation program in X

Once it is built, bootup the board and run startx.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文