Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Building U-Boot, Linux kernel, and Rootfs from scratch for the embedded system (raspberry-pi)

License

NotificationsYou must be signed in to change notification settings

hhdang6637/embedded_linux_skeleton

Repository files navigation

Purpose

This repository is a "simple" guide on how to build U-Boot, Linux kernel, and Rootfs from scratch for the linux embedded system.

Dependencies

You'll need the following programs installed on your machine

  • GNU Make for running the Makefile
  • python and python-dev
  • swig: Generate scripting interfaces to C/C++ code
  • ccache: caches the output of C/C++ compilation so that the next time
  • dh-autoreconf: debhelper add-on to call autoreconf and clean up after the build
  • net-tools: NET-3 networking toolkit, required for building OpenVPN
  • cmake: for building some opensoucre apps

In ubuntu, run the following command to install all of them:

sudo apt-get install -y build-essential python python-dev swig ccache net-tools dh-autoreconf cmake

Get the source code

git clone https://github.com/hhdang6637/embedded_linux_skeleton.git

Build

To compile and run the example project, run the following commands:

export MODEL=arm_vexpress_a9cd embedded_linux_skeletonmake

After that, we have theuboot,kernel, androotfs image files atbuild/bin/

Test with QEMU

  • Install QEMU:
sudo apt install qemu-system-arm
  • Run QEMU with Kernel and Rootfs:

First, run the following command:

./qemu_scripts/qemu_kernel_roofs_start.sh

Login withroot and no password.

Access Web Gui:http://127.0.0.1:2080

To be continued...

About

Building U-Boot, Linux kernel, and Rootfs from scratch for the embedded system (raspberry-pi)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors7


[8]ページ先頭

©2009-2025 Movatter.jp