Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to uninstall the latest system Image by BeagleBone Black

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you how to uninstall the latest system image of BeagleBone Black, I hope you will gain something after reading this article, let's discuss it together!

BeagleBone Black installs the latest system image

Beaglebone Black is pre-installed with the Debian operating system, but sometimes you want a clean system or you want to use the latest system. Of course, I highly recommend that you update your system and software to the latest version. Therefore, the following will describe how to update the old system and install the new system, respectively.

Before we begin to install the latest image, you need to prepare the following tools:

Micor SD card with minimum 4GB

Micro SD card reader.

The latest version of Beaglebone Black has eMMC memory with a capacity of 4GB, which is enough to accommodate the Debian operating system, so Beaglebone Black can be started without a Micro SD card, while the previous Beaglebone does not.

Similar to connecting to Beaglebone Black using SSH, there are different ways to install the latest system image for Beaglebone Black under different operating systems. Before introducing how to install different systems, you first need to download the latest system image from http://beagleboard.org/latest-images. The official operating systems provided by Beaglebone are Debian and Angstrom, as shown in figure 1.24.

Figure 1.24 system Image download Page

At the time of writing, the official Debian system update date is May 14, 2014, while the Angstrom system update date is September 4, 2013. Depending on your network, the time it takes to download varies. The file name of the Debian system image is images_BBB-eMMC-flasher-debian-7.5-2014-05-14-2gb.img.xz. Below we introduce based on the updated Debian system, the installation of the Angstrom system is exactly the same as the Debian system, so I will not repeat it here.

1. Write the image to the Micro SD card under Windows

After the image download is complete, you may notice that the file extension is img.xz, which is the compression of the img file. Xz is a common file compression format in Linux, but it may not be common in Windows. Of course, most free compression tools can extract this form. If you are not sure if your compression tool supports this file format, you can download 7-Zip at http://www.7-zip.org/download.html. It has versions corresponding to various operating systems, and we choose the Windows version to download, as shown in figure 1.25.

Figure 1.25 7-Zip download page

Note: it should be downloaded corresponding to the 32-bit or 64-bit version of the system.

After installing 7-Zip, right-click the image file you downloaded earlier, and select 7murZip-> from the pop-up menu to extract to the current directory, as shown in figure 1.26.

Figure 1.26 extract the image file

The unzipped file will appear in the same directory as the xz file, with the suffix .img. This is the file we are going to write to the Micor SD card. Under Windows, you also need to use software to write .img files to the SD card. The commonly used software under Windows is Win32 Disk Imager. It can be downloaded from http://sourceforge.net/projects/win32diskimager/. Launch Win32 Disk Imager after installation, and its main interface is very simple, as shown in figure 1.27.

Figure 1.27 Win32 Disk Imager main interface

We need to select the img file for the system and the device to write to, open the file browser and select the image file for Debian by clicking the file button, as shown in figure 1.28.

Figure 1.28 Select the image file

If you have plugged the card reader into your computer, Win32 Disk Imager will automatically recognize the device, as shown in figure 1.29.

Figure 1.29 Select device figure 1.30 start writing

If you have more than one mobile storage device plugged into your computer, you need to make sure that the selected device is the one you want, otherwise it may result in data loss in the device. After the device is confirmed, you can click the Write button to start writing, as shown in figure 1.30.

After the writing is complete, you can write the system to eMMC with reference to the last title of this section.

two。 Write the system image to the Micro SD card under OS X and Linux systems

The process of making system SD cards under OS X and Linux is the same as that under Windows, except that the tools used are different. Under OS X you need to go to http://macpkg.sourceforge.net/ to download and install the XZ tool, which is used to extract XZ files. There is no need to install any software under Linux. Here are the installation steps:

(1) execute the df command in the terminal of OS X to determine the name of the MicroSD, usually / dev/disk1. Under Linux, "fdisk-l" is used, and the device name is usually / dev/sda1.

(2) you need to uninstall the MicroSD card in OS X using the following command, but not in Linux:

Sudo diskutil unmountDisk / dev/disk1

(3) execute the following command under OS X to extract the system files and write them to the MicroSD card:

Sudo xz-dkc .img.xz > / dev/disk1 # will be replaced with the downloaded file name

(4) execute the following command under Linux to extract the system files and write them to the MicroSD card:

Xz-dkc .img.xz > / dev/sda1 # will be replaced with the downloaded file name

The xz command will not output information during execution, but the cursor will flash, and you can judge whether it works or not according to this feature. After the command execution is complete, the image is written to the Micro SD card.

3. Write the system to the eMMC of Beaglebone Black

It is very easy to write a system in Micro SD to an onboard eMMC. Here are the steps to write:

(1) unplug the power supply from the Beaglebone Black, whether using USB power or power adapter

(2) insert Micro SD card into the slot of Beaglebone Black

(3) hold down the boot button (as shown in figure 1.31), and it will command the system to boot from the Micro SD card.

(4) plug in the power supply and the boot button cannot be released.

(5) continue to press and hold the boot button for about 15 seconds

(6) during the process of writing eMMC, the four USER LED next to the Internet interface will flash at the same time.

(7) the whole writing process lasts about 30 minutes. After the completion of the write, the 4 USER LED will always be on. At this time, unplug the power supply of the Beaglebone Black.

(8) remove Micro SD card

(9) reinsert the power supply and enter the new system.

Figure 1.31 boot button

After reading this article, I believe you have a certain understanding of "how to uninstall the latest system image by BeagleBone Black". If you want to know more about it, please follow the industry information channel. Thank you for reading!

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report