How to burn the busybox file system on the development board in linux
This article mainly explains "how to burn the busybox file system on the development board in linux". Interested friends may wish to have a look. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to burn the busybox file system on the development board in linux.
First, copy the busybox image to the dhcp directory. The busybox image can be found on the Terminator ULL CD material\ i.MX6ULL Terminator CD material\ 08 _ development board system image\ 03 _ file system image\ 01_Busybox file system, as shown in figure 89.4.1:
Then execute the command: decompress it
Copy the compiled dhclient executable file from the client directory to the / bin directory of the target board system, and enter the command:
Cp/ home/topeet/dhcp/dhcp-4.4.1/client/dhclient. / bin/
As shown in figure 89.4.3
Check to see if there is dhclient in the. / bin/ directory
Copy the dhclient.conf.5 and client/scripts/linux from the client directory to the / sbin directory on the target board, and enter the command:
Cp/ home/topeet/dhcp/dhcp-4.4.1/client/dhclient.conf.5. / sbin/
Cp/ home/topeet/dhcp/dhcp-4.4.1/client/scripts/linux. / sbin/
As shown in figure 89.4.5:
Rename dhclient.conf.5 to dhclient.conf, rename linux script to dhclient-script, and enter the command: mv. / sbin/dhclient.conf.5. / sbin/dhclient.conf
Mv. / sbin/linux. / sbin/dhclient-script
As shown in figure 89.4.6:
And enter the command chmod + x. / sbin/dhclient-script to add executable attributes to dhclient-script.
Modify the dhclient-script file and change the first line to #! / bin/sh as shown in figure 89.4.8 and figure 89.4.9:
Figure 89.4.8
Then we use the command tar-vcjf. / rootfs.tar.bz2. Package the file system
Tar-vcjf. / rootfs.tar.bz2.
Enter the command: chmod 777-R rootfs.tar.bz2 grants permissions.
At this point, I believe you have a deeper understanding of "how to burn and write the busybox file system on the development board in linux". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!