killodw.blogg.se

Busybox for android 8.1
Busybox for android 8.1













| cpio ‐H newc ‐‐quiet ‐o | gzip ‐9 > /usr/src/initrd.gz #Pack initrdħ echo "Detect and export hardware infomation."ġ0 echo "Mount real rootfs to /mnt/sysroot."ġ1 mount ‐t ext4 ‐o ro /dev/sda2 /mnt/sysrootĤ. See the following information for detailsĩ chmod +x init # Set up the runnable programġ0 find. This file is useless and uncomfortableĨ touch init # Create init bootstrap. #Copy all busybox filesĤ mkdir proc sys mnt/sysroot dev tmp etc ‐pv #Create necessary directoriesĥ mknod dev/console c 5 1 # Create console deviceĦ mknod dev/null c 1 3 # Create null deviceħ rm linuxrc # Delete the soft connection. Create initrd.gz file according to busyboxġ make /usr/src/initrd # Create initialization directoryĢ cd /usr/src/initrd # Enter working directoryģ cp /usr/src/busybox‐1.31.1/_install/* ‐a.

Busybox for android 8.1 install#

Because it is a demonstration, it is OK by defaultĤ make ‐j4 #Perform multi cpu compilationĦ make modules_install INSTALL_MOD_PATH=/usr/src/modules #Install modules hereĬopy the file to / usr/src/busybox-1.31.1.tar.bz2ġ yum install glibc‐static # Static library packages compiled as neededĢ cd /usr/src/busybox‐1.31.1 # Switch to busybox source directoryģ make menuconfig # Configure Settings - > build options - > build static binaryģ. Copy files to / usr/src/linux-5.5.2.tar.xzġ yum install ncusres‐devel # Some packages compiled as neededĢ cd /usr/src/linux‐5.5.2 # Switch to linux source directoryģ make menuconfig #Configure the kernel compilation content and some information.

busybox for android 8.1

Operating system (compiled): CentOS 7.4 kernel version: 5.5.2 Grub - > bzimage > initrd > init > chroot SBIN / init > / etc / inittab > fstab > etc / init.d/rcs Experimental environment: linux kernel is the open source kernel of linuxģ.busybox is a collection of linux tools Start sequence: Grub is the bootloader of the boot programĢ.

busybox for android 8.1 busybox for android 8.1

Understanding the linux startup process Main contents:













Busybox for android 8.1