EmLinux
Embedded Linux tools for i.MX platform
Install / Use
/learn @molejar/EmLinuxREADME
Enablement for Embedded Linux Development
This repository contains a set of automatization scripts for:
- generating virtual machine with Linux OS (debian or ubuntu)
- compiling
toolchain,u-bootandkernel - building
rootfsfor different Linux distributions likedebian,ubuntu, ... - creating or extracting bootable
SD Cardimage
Motivation
Building a bootable SD-Card image with Debian based embedded Linux OS for i.MX platform is too complex task. This project is trying to decrease its complexity and make the process much easier and user friendly.
Installation
In Debian based Linux distributions just install the package emlinux-tools_x.x.x_all.deb from release section.
$ wget --quiet https://github.com/molejar/emLinux/releases/download/x.x.x/emlinux-tools_x.x.x_all.deb
$ sudo dpkg -i emlinux-tools_x.x.x_all.deb
Replace
x.x.xwith the version number of last release !
In Windows OS you will need to use the Virtual Machine. I have created a Vagrant script which will do all the work for you. Just download the emlinux-vm_x.x.x.zip and extract it into your disk. Then continue reading here: Virtual Machine Builder
Usage
The following picture describes general usage of this automatization scripts. As you can see from picture, every script covers a specific role in image build process and is accessible as standard shell command.
<p align="center"> <img src="doc/images/emlinux_tools_bd.png" alt="Embedded Linux Tools"/> </p>All Implemented commands:
- build_toolchain - Prepare toolchain for bootloader and kernel building
- build_barebox - Build BareBox Bootloader (replacement of U-Boot)
- build_uboot - Build U-Boot Bootloader from sources in git repo
- build_kernel - Build Linux Kernel from sources in git repo
- build_rootfs - Build minimal RootFS based on Debian packages
- build_image - Create SD Card image from uboot, kernel and rootfs
With argument -h or -? you can print the command usage. Read Wiki page for
more details.
For embedded Linux development under Windows OS read Step-By_step tutorial.
GPU and VPU support
Description for GPU and VPU is here
Development
Clone this repository into your local disk (running Linux OS).
$ git clone https://github.com/molejar/emLinux.git
$ cd emLinux
In Debian based Linux distributions install all dependencies and execute install.sh script.
$ sudo apt-get install build-essential, u-boot-tools, device-tree-compiler, qemu-user-static
$ sudo apt-get install binfmt-support, debootstrap, binutils, parted, realpath, git, lzop, gzip, zip
$ sudo ./install.sh
In other Linux distributions use Virtual Machine Builder.
$ vagrant up
$ ...
TODO
Usefull Links
Related Skills
node-connect
349.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
