mirror of
https://github.com/apache/nuttx.git
synced 2026-10-04 12:48:09 +00:00
TXTABLE - Text based Partition Table https://github.com/apache/nuttx/pull/9936 https://nuttx.apache.org/docs/latest/components/filesystem/partition.html#text-based-partition-table Configuration + CONFIG_TXTABLE_PARTITION=y The backup text partition table + CONFIG_TXTABLE_DEFAULT_PARTITION=1 nsh> cat /etc/txtable.txt TXTABLE0 data 0x100000 0 Update txtable at runtime dd if=/dev/zero of=/dev/txtable cat /etc/txtable.txt > /dev/txtable Runtime - Partition devices "data" and "txtable" were registered # /dev/data - The partition descirbed by txtable # /dev/txtable - Mapping to the last eraseblock of MTD nsh> ls -l /dev/ /dev: dr--r--r-- 0 adb0/ crw-rw-rw- 0 console frw-rw-rw- 1044480 data frw-rw-rw- 1048576 esp32s3flash c-w--w--w- 0 log crw-rw-rw- 0 null crw-rw-rw- 0 ptmx dr--r--r-- 0 pts/ brw-rw-rw- 1024 ram0 crw-rw-rw- 0 ttyS0 frw-rw-rw- 4096 txtable crw-rw-rw- 0 zero Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| avr | ||
| dummy | ||
| hc/m9s12 | ||
| mips | ||
| misoc/lm32/misoc | ||
| or1k/mor1kx/or1k | ||
| renesas | ||
| risc-v | ||
| sim/sim/sim | ||
| sparc | ||
| tricore/tc3xx/tc397 | ||
| x86/qemu/qemu-i486 | ||
| x86_64/intel64/qemu-intel64 | ||
| xtensa | ||
| z16/z16f/z16f2800100zcog | ||
| z80 | ||
| .gitignore | ||
| Board.mk | ||
| boardctl.c | ||
| CMakeLists.txt | ||
| dummy.c | ||
| Kconfig | ||
| Makefile | ||