software package. During the download process, the connection may be interrupted abnormally. In this case, re-execute the preceding command to continue the download, which may be repeated multiple times.
(2) Configure buildroot
We only need to configure the toolchain. In the top-level directory of buildroot, run
Make menuconfig
Command, configure the following based on the default configuration
Target Architecture: i386
Target Architecture Variant: i686
Package Selection for the target: cancel
A summary of Linux customization methods since I learned that Linux can be customized in college, I have always wanted to make a version of my own Linux system. Recently, I was idle and finally had a hard time learning. Currently, there are two main methods for customizing Linux: 1. using busyb Linux to customize Linux since I learned about Linux in college, I always wanted to make a version of my own Linux system. Recently, I was idle and finally had a hard time learning. Currently, there are t
Login to the MINI2440 Development Board using Telnetby Hyh | January 18, 2018 3:40I. Description1.mini2440 Linux comes with the BusyBox contains telnetd this program, it can be used for Telnet login, easy to debug.2. If your own Linux does not have BusyBox or busybox does not contain telnetd this program. You can download any version of
bootstrapper for the target host[Email protected] ~]# grub-install–root-directory=/mnt//dev/sdbProviding configuration files for grub boot[Email protected] ~]# vim/mnt/boot/grub/grub.conftimeout=5default=0title C-shang ' s Mini Linux (3.13.6) root (hd0, 0) kernel/bzimage ro root=/dev/sda2 init=/sbin/initInstalling BusyBox as the target host provider, command[Email protected] src]# Tar XF busybox-1.22.1.tar
Requirement: The compiler version is 4.4.6To view the current cross compiler version:arm-linux-gcc-vIf it is not a 4.4.6 compiler, you need to modify two files:Vim/home/tarena/.bashrcDelete the last line:Export PATH =/opt/arm-2009q3 ...sudo vim/etc/environment add support for 4.4.6Minimum root file system!!!1. make your own minimal root file system1.0Remove the contents of the previous extract completelyRM busybox-1.19.4-fr1.1 Decompression
Tem.object? Details about ' object ', use ' object? ' for extra details. In [1]:
Installing Docker
If Docker is not installed, first install Docker
$ sudo apt-get install Docker.io
And then put Docker.io up in a separate name Docker.
$ alias docker= ' Docker.io ' $ docker versionclient Version:0.9.1go version (client): Go1.2.1git commit (client): 3600720Ser Ver version:0.9.1git commit (server): 3600720Go version (server): Go1.2.1last stable version:0.11.1, please update Docke R
Docker sh
I. Creating a root file system directory and files1. Create a directory*mkdir/home/arm11/kernel/rootfs*cd/home/arm11/kernel/rootfs*mkdir bin Dev etc lib proc sbin sys usr MNT tmp var*mkdir usr/bin usr/lib usr/sbin lib/modules 2. Create a Device file* CD Rootfs/dev* Mknod-m 666 console C 5 1*mknod-m 666 null C 1 33. Join the configuration file*tar xvzf etc.tar.gz*MV etc/*/etc (note here is the ETC directory under the Rootfs directory, not the ETC directory in the root directory)4. Adding kernel m
For mini2440, although the root_qtopia of this filesystem is based on Qtopia, the initialization process is mostly done by BusyBox, and Qtopia (QPE) is only opened at the last stage of the boot.Because INIT=/LINUXRC is available on the default kernel command line, the first program that runs after the file system is mounted is the LINUXRC under the root directory. This is a link to/bin/busybox, which means
First, Environment constructionVmware+fedora;Three compressed packages: Link: https://pan.baidu.com/s/1YR7jXKLhRmEhDVQiOMkKyg Password: 0ah0Ii. Establishment of documents1. Create a file in the root directory cjjmkdir CJJ2. Put three compressed packets into the/CJJ directory3, in the CJJ directory to establish the ROOTFS directory (must be ROOTFS)mkdir RootfsThird, the operation of the ncurses-5.9.tar.gz1, decompression ncurses-5.9.tar.gztar zxvf ncurses-5.9. Tar2. Enter ncurses-5.9 file[[Email
Http://hi.baidu.com/396954504/blog/item/8c391513eb8d202fdc54010a.html
For the Startup Process of the latest root_qtopia File System of mini2440, I have made some simple analysis here and shared some experiences with you. Please also point out the shortcomings in time.In fact, although the root _ qtopia File System GUI is based on qtopia, the initialization and startup process is mostly completed by busybox, and qtopia (qpe) is only enabled at the fi
1. Create the root file system structure # mkdir rootfs (which I created directly in the root directory) # cd rootfs # mkdir bin Dev etc lib proc sbin tmp usr var # chmod 1777 TMP # mkdir usr/bin usr/lib usr/sbin # mkdir var/lib var/lock var/log var/run var/tmp # chmod 1777 var/tmp 2 prepare the Link Library # cd $ {obj_lib}/lib ($ {obj_lib} is the directory of the Cross-compilation environment) # For file in libc libcrypt libdl libm \> libpthread libresolv libutil> do> CP $ file -*. so/home/For
Before we begin to introduce k8s persistent storage, it is important to understand the mechanisms and uses of k8s Emptydir and Hostpath, Configmap, and secret.1, EmptydirEmptydir is an empty directory, and his life cycle is exactly the same as the pod he belongs to, and Emptydir's main role is to share the files produced during the work process between different containers within the same pod. If the pod is configured with the Emptydir type volume, the pod is assigned to node and a emptydir is c
The simplest embedded linux root file system-general Linux technology-Linux programming and kernel information. For more information, see the following. Author: Liu suqi
Location: robot center, Guilin University of Electronic Science and Technology
1. Preparations
Download busybox tool Description: used to create an executable command tool set
2. Development Environment
1) Host: RedHat 9
2) path of the Cross-compilation tool:/usr/local/arm/3.3.2/(
1. Compile the Souce code of the entire android system. After compilation, three image files ramdisk. IMG, system. IMG, and userdata. IMG will be generated.
2. Unzip ramdisk. IMG:
MV ramdisk. IMG ramdisk.gz
Mkdir out
CD out cpio-I-f ../ramdisk.gz
3. Cross-compile busybox. You only need to compile tar. Can it be from http://blog.chinaunix.net/u/20947/showart.php? Id = 1913228 download.
4. Install
.
Command: (the file system is stored in the root folder)
# Mkcramfs root cramfs. img5. create other root file systems
Create a yaffs File System: mkyaffsimage myroots. img
Create squashfs: mksquashfs $ (fs_dir) $ (fs_name)-noappend-be-lzma-no-fragments-Noi6. Compile and port busybox (create and transplant the command in the root file system) to create the empty root directory folder of the target board and the folder in the root directory:
[Root @ 19
/rootfs/rootfs ip= 192.168.1.88:192.168.1.141:192.168.1.1:255.255.255.0::eth0:off INIT=/LINUXRC console=ttySAC2,115200
Note: (1) NFS starts the same as the kernel on the Development Board remote mount to the host Rootfs
(2) NFS mode start without making rootfs mirrors
(3) NFS mode is not suitable for real products, generally as a product development phase debugging use
Ii.transplantation of BusyBox
1. Download B
reprinted from: https://blog.csdn.net/bxzhu/article/details/73253032
1. Environmental Preparedness
Linux version: Centos7
Docker version: 17.05.0-ce
2. Deploying registry
Get the image of registry using the Docker pull command
[Plain] View plain copy # sudo docker pull registry:2.1.1
Use Docker run to launch a container using the downloaded registry image
[Plain] View plain copy # sudo docker run-d-P 5000:5000-v/opt/registry:/var/lib/registry--restart=always--name reg Istry registry:2.1.1
To
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.