• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1config PLATFORM_ROOTFS
2    bool "Enable ROOTFS"
3    default y
4    depends on FS_JFFS || FS_FAT || DRIVERS_MTD_NAND
5    help
6      Answer Y to enable LiteOS support rootfs.
7
8choice
9    prompt "Storage device type"
10    default STORAGE_SPINOR
11    depends on PLATFORM_ROOTFS
12    help
13      SPI_NOR or SPI_NAND or EMMC.
14
15config STORAGE_SPINOR
16    depends on PLATFORM_ROOTFS && DRIVERS_MTD_SPI_NOR
17    bool "SPI_NOR Flash"
18
19config STORAGE_SPINAND
20    depends on PLATFORM_ROOTFS && DRIVERS_MTD_NAND
21    bool "SPI_NAND Flash"
22
23config STORAGE_EMMC
24    depends on PLATFORM_ROOTFS && DRIVERS_EMMC
25    bool "EMMC"
26
27endchoice
28
29config BOOTENV_ADDR
30    int "Address of boot command line (KB)"
31    depends on PLATFORM_ROOTFS && (STORAGE_SPINOR || STORAGE_SPINAND || STORAGE_EMMC)
32    default 512
33    help
34      Boot command line addr.
35
36config BOOTENV_RAM
37    bool "Read bootenv from RAM"
38    default n
39    depends on PLATFORM_ROOTFS
40    help
41      Answer Y to read bootenv from ram. Need boot copy to RAM.
42
43config BOOTENV_RAMSIZE
44    int "Size of boot environment in RAM (Byte)"
45    depends on PLATFORM_ROOTFS && BOOTENV_RAM
46    range 128 1024
47    default 512
48    help
49      Boot environment in Ram space size, range from 128 to 1024 byte.
50