In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article shows you iTOP-4418 development board and Qt and minimum linux system how to expand root partition, the content is concise and easy to understand, absolutely can make your eyes bright, through the detailed introduction of this article, I hope you can get something.
How to modify the user area size of iTOP-4418 development board. The partition data in the document is for
16G eMMC.
Uboot Settin
Enter the uboot of iTOP-4418, as shown in the following figure.
Enter the command:
Setenv fastboot
"flash=mmc,2:uboot:2nd:0x200,0x78000;flash=mmc,2:2ndboot:2nd:0x200,0x4000;flas
Hobbies MMC Magne2 veto bootloader VR bootRod 0x8000Phillips 0x70000There flashboards MmcMagne2Discovery bootWriter ext4Writer 0x00100000Phone0x040
00000 Flyover flashworthy MMC Magne2Rank systemWriter ext4Jet 0x04100000Jol 0x340000000; "
Note that the above commands should be entered together, with a space between setenv and fastboot, fastboot and double quotation marks
There should also be spaces, as shown in the following figure.
Then to save the configuration, use the command "saveenv", as shown in the following figure.
As shown in the following figure, use the command "reset" to restart the development board and enter uboot mode again.
Then type the fastboot command and prepare to write.
File system
The compilation script for the file system of Qt needs to be modified. As shown in the following figure, the compilation script for Qt is
"build_android.sh".
Open the compilation script, search for the keyword "make_ext4fs", find the compilation command line for the Qt file system, and click
Change "314572800" to "13958643712" as shown in the figure.
Save the compilation script, recompile, and generate a new system.img file.
Burn 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 changes to 13G size, as shown in the following figure.
Supplementary explanation
The smallest linux system, if you want to change the user partition size, the modification method is exactly the same as that of qt.
Other sizes of eMMC, if you need to change the partition size, you can copy the 16g to modify.
It is important to note that there are two data sizes to correspond.
The data 1 "13958643712" in the compilation script is in decimal, as shown in the following figure.
Data 2 "0x340000000" hexadecimal, as shown in the following figure.
The above data 1 and data 2 should be equal.
The main reason is that emmc expands the partition, and you have to specify the size when compiling system.img, in order to match the emmc partition.
Correspondingly, if the file system is compiled with a value smaller than the emmc partition, the result is specified by the compilation image.
It's too big.
The above is the iTOP-4418 development board and Qt and minimum linux system how to expand the root partition, have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.
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.