Boardconfig. mk Configuration

Source: Internet
Author: User

How to set parameters in the temporary inspiration record

In boardconfig. mk

 
# Board_bootimage_partition_size: = 10485760# Board_recoveryimage_partition_size: = 10485760# Board_systemimage_partition_size: = 314572800# Board_userdataimage_partition_size: = 1073741824

Similar configuration, but how do you know how the data comes from? How do you match the data on your mobile phone,

In fact, the default configuration file is described.Fdisk-L/dev/block/mmcblk0You can view the specific partition information, similar

 
# Dev: Size: erasersize: Name: # mtd0 00a00000 00100000 22 boot™ # mtd1 00500000 00100000 22 kpanic? # mtd2 12c00000 00100000 22 system? # mtd3 00400000 00100000 22 Plash? # mtd4 09600000 22 cache? # mtd5 00100000 40000000? userdata™ # mtd6 00a00000 00100000? Recovery™ # mtd7 00100000 00100000? MISC? # mtd8 00100000 00100000? TCC?

The following task is to open the calculator and convert the value of size to the corresponding 10-digit system, and rewrite the corresponding size.

_________________________________________________________________________________________________________________

Another problem is hanging on the SD card.

 
# Board_ums_lunfile: = "/sys/devices/platform/usb_mass_storage/lun0/file"

This field declares the files to be used when the SD card is mounted. How can I modify the file based on my mobile phone? ADB shell enters the interactive mode to find the Lun file (CD/sys/; find. -Name "Lun *"

Then replace the obtained field with the preceding one.

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.