[Reprint] WebEx for the 4412 Development Board minimum Linux system storage space modification

Source: Internet
Author: User

This article goes from Schindler to Forum:http://www.topeetboard.com

Minimum linux system storage changes to modify to 1G storage space as an example to modify, if you need to change to a different size of storage space, refer to this method to modify.

First connect the debug serial port of the iTOP-4412 Development Board to the pc , on the pc of windows Open the serial port under the system

Debugging tools. Development Board power on, in the Serial debugging tool Press any PC Keyboard any key to make the development Board into the uboot command line mode, as shown in:

Then in the uboot input partition command: "fdisk-c 0", as shown in:

The command in the picture above is to put the eMMC partition, where the 1024x768 is the storage space of Linux , the unit is MB, also

is 1G. If you want to allocate more space, modify this value.

Execute the above command as shown in:

Then , enter the following command on the uboot command line to format the partition:

Fatformat MMC 0:1

Ext3format MMC 0:2

Ext3format MMC 0:3

Ext3format MMC 0:4

Now that the EMMC partition is ready, let's start making the Linux file system, copying the disc

"linux/root_xxxxxxxx.tar.gz" (xxxxxxxx is the version date) to the Ubuntu virtual machine, for example I this

To the "/home/topeet/linux" directory, as shown in:

Then use the "tar-xvf root_20140912.tar.gz" command to unzip the Linux file system as shown in:

When the decompression is complete, enter the "ls" command, and you can see that the "root" folder was generated as shown in:

Next enter the "make_ext4fs-s-L 996147200-a root-l linux system.img root" command to

into "system.img" as shown in:

Note: Before using the "make_ext4fs" command, verify that you have installed the required packages for compiling the Linux file system

, the installation method can be referred to the "6.3.5 generation system.img" subsection of the manual.

Here's a look at the command "make_ext4fs-s-L 996147200-a root-l Linux system.img

Root, the "996147200" in this command specifies the size of the Linux storage space, namely:

996X1024X1024=996MB(in the previous partition we allocated 1G Space, here we need to reserve a few

Megabytes of space, so set to 996MB)

The generated "system.img" is then burned to the iTOP-4412 Development Board, and the Development Board starts to enter the linux system

System, enter the "DF" command, you can see the Linux storage space becomes 996MB , as shown in:

We have already made it clear how we can expand our storage space, for example by changing the memory space to 2G, so we only

Need to modify the next two places:

1)fdisk-c 0 2048

2) make_ext4fs-s-l 2092957696-a root-l Linux system.img root

One of the 2092957696 is 1996x1024x1024=1996mb.

[Reprint] WebEx for the 4412 Development Board minimum Linux system storage space modification

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.