In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "what is the method of automatically burning and writing image on ubuntu TF card". The content of the explanation in this article is simple and clear, and it is easy to learn and understand. let's follow the editor's train of thought to study and learn "what is the method of automatically burning and writing image on ubuntu TF card".
Hardware environment: iTOP-imx6 development board
1. Copy the corresponding compression package to the ubuntu system. And decompress it.
two。 Format the TF card to fat32 format. Then insert the tf card under the ubuntu system, and use the command "df-l" to view the device node of the tf card and the directory it is hanging in, as shown in the following figure.
3. The node of the tf card here is / dev/sdb1, which is mounted in the "/ media/C03F-4578" directory (it may also be sdc,sdd or the like, and the directory is different depending on the actual situation). Then we use the umount command to unmount "umount / media/C03F-4578".
4. Using "ls / sbin/mkfs*", the author's machine is shown in the following figure.
As shown in the figure above, if the user does not have a "/ sbin/mkfs.fat" file on his machine, use the command "ln-s / sbin/mkfs.vfat / sbin/mkfs.fat" and, if so, skip this step.
5. Use the cd command to enter the tf_flash folder generated by the previous decompression
Then run ". / mksdcard-android.sh-f / dev/sdb" in the current directory (note that sdb is not followed by a number), as shown in the following figure.
The run is completed as shown in the following figure.
Then unplug the tf card, reinsert it into the ubuntu system, enter the command "df-l", and you can see the partition information of the tf card and the mounted directory, as shown in the following figure.
In the figure above, "/ dev/sdb5" is the partition of the file system (it is possible that the user's drive letter will be sdc5, etc., please remember that the drive letter with the number 5 is saved to the file system). We see that the mount directory is "/ media/1ab9a7cd-9cfb- 4880-9523-231ccebac536". We use the extract command to extract the files in the tf_flash directory to
"/ media/1ab9a7cd-9cfb-4880-9523-231ccebac536", after the decompression is completed, the startup card written by the tf card is completed.
6. Below, copy the android/qt/ubuntu that needs to be written and mirror it to the tf card. First use the "df-l" command to view the partition of the tf card and the mount directory, as shown in the following figure.
"/ dev/sdb4" (it is possible that the user's drive letter will be sdc4, etc., please remember that the drive letter with the number 4 is to save the text system) the directory is to save the image partition, and the mounted directory is "/ media/017C-7A71". We use the cp copy command to copy the image that needs to be written, and then we can look up the tf card on the iTOP-iMX6 development board to burn it.
The development board starts from the tf card, dial code 1 and 7, dial ON, and the rest to OFF, then insert the tf card, power on the development board, the serial port will start printing, first run uboot, then start the kernel, mount the file system, and finally automatically enter the burning mode for burning, after burning is complete, the development board buzzer will sound as a prompt, burning to complete the serial print as shown in the following figure.
Finally, the dialing switch is dialed to emmc to start, and the burning of the image is completed.
Thank you for your reading, the above is the content of "what is the method of automatically burning and writing images on ubuntu TF cards". After the study of this article, I believe you have a deeper understanding of what is the method of automatically burning and writing images on ubuntu TF cards, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.