This document describes how to modify the iTOP-4418 Development Board user area size. The partition data in the document is for 16G
EMMC.
Uboot settings
Enter the uboot of the iTOP-4418 as shown in.
Enter the command:
Setenv FastBoot
"Flash=mmc,2:uboot:2nd:0x200,0x78000;flash=mmc,2:2ndboot:2nd:0x200,0x4000;flas
h=mmc,2:bootloader:boot:0x8000,0x70000;flash=mmc,2:boot:ext4:0x00100000,0x040
00000;flash=mmc,2:system:ext4:0x04100000,0x340000000; "
Note that the above command is entered together, with spaces between setenv and FastBoot, FastBoot and double quotes.
Space, as shown in.
Then to save the configuration, use the command "saveenv", such as.
As shown, use the command "reset" to restart the Development Board and enter Uboot mode again.
Then enter the FastBoot command to prepare for burning.
File system
The QT file system compilation script needs to be modified, as shown in the QT compilation script is
"Build_android.sh".
Open the compile script, search for the keyword "make_ext4fs", find the Qt file system compile command line, follow the
As shown in the figure, change "314572800" to "13958643712".
Save the compilation script, recompile, and generate a new system.img file.
Write the system.img to the Development Board, restart the Development Board, and enter file system mode.
Then using the "DF" command, you can see that after the modification, the root directory becomes 13G size, as shown in.
Additional Information
Minimum Linux system, if you want to modify the user partition size, modify the method and Qt exactly the same.
Other size EMMC, if you need to change the size of the partition, you can imitate 16g to modify.
It is important to note that there are two data sizes to correspond to.
The data in the compilation script is 1 "13958643712" decimal, as shown in.
Data 2 "0x340000000" hexadecimal, as shown in.
The above data 1 and data 2 are equal.
The main emmc is to enlarge the partition, but also to compile system.img when specifying the size, in order to and EMMC partition
If the file system compiles less than the EMMC partition, the result is a compilation of the image specified by the
Size up.
More information: http://topeetboard.com More about: https://arm-board.taobao.com
iTOP-4418 Development Board QT and Min Linux systems-extended root