OPENWRT Tutorial Chapter X OpenWRT flash partition, the file system

In linux-based flash memory system is the use of the MTD (memory technology device) class device drivers implemented, MTD is linux-based device for accessing a flash memory (ROM, FLASH) drive subsystems. Its main purpose is to make the device easier to type Flash memory is accessed, for which it provides an abstract interface makes operation as hard as we can operate this type of equipment in hardware and operating systems in the upper. Carefully observed linux boot information friends see the following paragraph.

[    3.291376] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    3.295094] 25 ofpart partitions found on MTD device qcom_nand.0
[    3.302578] Creating 25 MTD partitions on "qcom_nand.0":
[    3.308758] 0x000000000000-0x000000100000 : "0:SBL1"
[    3.315642] 0x000000100000-0x000000200000 : "0:MIBIB"
[    3.320495] 0x000000200000-0x000000280000 : "0:BOOTCONFIG"
[    3.325100] 0x000000280000-0x000000300000 : "0:BOOTCONFIG1"
[    3.330483] 0x000000300000-0x000000600000 : "0:QSEE_1"
[    3.337874] 0x000000600000-0x000000900000 : "0:QSEE"
[    3.343099] 0x000000900000-0x000000980000 : "0:DEVCFG_1"
[    3.346308] 0x000000980000-0x000000a00000 : "0:DEVCFG"
[    3.351498] 0x000000a00000-0x000000a80000 : "0:APDP"
[    3.356496] 0x000000a80000-0x000000b00000 : "0:APDP_1"
[    3.361601] 0x000000b00000-0x000000b80000 : "0:RPM_1"
[    3.366584] 0x000000b80000-0x000000c00000 : "0:RPM"
[    3.371717] 0x000000c00000-0x000000c80000 : "0:CDT_1"
[    3.376428] 0x000000c80000-0x000000d00000 : "0:CDT"
[    3.381630] 0x000000d00000-0x000000d80000 : "0:APPSBLENV"
[    3.386347] 0x000000d80000-0x000000e80000 : "0:APPSBL_1"
[    3.392203] 0x000000e80000-0x000000f80000 : "0:APPSBL"
[    3.397583] 0x000000f80000-0x000001000000 : "0:ART"
[    3.402148] 0x000001000000-0x000006600000 : "rootfs_1"
[    3.470810] 0x000006600000-0x000006f00000 : "0:WIFIFW_1"
[    3.478369] 0x000006f00000-0x00000c500000 : "rootfs"
[    3.543701] mtd: device 20 (rootfs) set to be root fi3.543963] mtdspli"0:WIFIFW"
[    3.560628] 0x00000ce00000-0x00000ce80000 : "0:ETHPHYFW"
[    3.561844] 0x00000ce80000-0x00000cf80000 : "0:board_data"
[    3.566604] 0x00000cf80000-0x00001e000000 : "0:arc_data"
[    3.775504] spmi spmi-0: PMIC Arb Version-2 (0x20010000)
Creating 25 MTD partitions on "qcom_nand.0":

This means that if the system is created in the partition 25 qcom_nand apparatus, illustrate several partitions are shown in Table

Partition id number Partition location Partition size Partition role
0:SBL1 0x000000000000-0x000000100000 192KB Bootstrap
0: MIBIB 0x000000030000-0x000000040000 64KB Boot Configuration
0:BOOTCONFIG 0x000000040000-0x000000050000 64KB MT7628 initial parameters
0:BOOTCONFIG1 0x000000050000-0x000001000000 15.68MB  
0:QSEE_1 0x0000001853f2-0x000001000000 14827KB

Firmware partition

A subset of the file system

0:QSEE 0x0000
00670000-0x000001000000
9792KB

Firmware partition

A subset of the file system

Writeable partition subset

0:DEVCFG_1      
0:DEVCFG      
0: PDPA      
0: APDP_1      
0:RPM_1      
0:RPM      
0:CDT_1      
0:CDT      
0:APPSBLENV      
0: APPSBL_1      

0: APPSBL

     
0: APPSBL      
0:ART      
rootfs_1      
0:WIFIFW_1      
rootfs      
0: ETHPHYFW      
0:board_data      
0:arc_data      
       

 

 

 

 

 

Because embedded Flash capacity is small, there is no need to adjust, so the partitions are fixed, and thus do not need to "partition table" in this computer

 

Guess you like

Origin www.cnblogs.com/vx-cg248805770/p/11577590.html