mtd
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| mtd [2018/03/25 07:35] – 创建 admin | mtd [2025/10/14 06:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| | firmware | 0x000000050000-0x000001000000 | 15.68MB | 固件分区 | | | firmware | 0x000000050000-0x000001000000 | 15.68MB | 固件分区 | | ||
| | kernel | 0x000000050000-0x00000017edba | 1211KB | 固件分区内的Linux内核分区,大小会根据内核编译配置不同而有所变化 | | | kernel | 0x000000050000-0x00000017edba | 1211KB | 固件分区内的Linux内核分区,大小会根据内核编译配置不同而有所变化 | | ||
| - | | rootfs | 0x00000017edba-0x000001000000 | 14.5MB | 固件分区内的文件系统分区,包含rootfs_rom和rootfs_data | | + | | rootfs | 0x00000017edba-0x000001000000 | 14.5MB | 固件分区内的文件系统分区,包含rootfs_rom(只读)和rootfs_data(可写) |
| | rootfs_data | 0x000000640000-0x000001000000 | 9.74MB | 固件分区内的可写文件系统分区,常用做jffs2 | | | rootfs_data | 0x000000640000-0x000001000000 | 9.74MB | 固件分区内的可写文件系统分区,常用做jffs2 | | ||
| + | ====OpenWrt文件系统挂载==== | ||
| + | - 首先,引导程序启动内核完成后,会加载rootfs_rom只读分区部分来完成系统的初步启动。 | ||
| + | - rootfs_rom一般采用的是squashFS文件系统,这是一种压缩只读文件系统,加载完毕后将其挂载到/ | ||
| + | - 首次刷机系统会使用jffs2文件系统格式化rootfs_data分区,并挂在到/ | ||
| + | - 系统再将/ | ||
| + | - 最后将一部分内存挂在为/ | ||
| | | ||
mtd.1521963338.txt.gz · Last modified: (external edit)
