1、允许用户自己指定预留物理内存的起始地址和长度。 2、在适配层中增加对预留物理内存的映射。 3、在bbox的Kcondfig中增加有关预留物理内存的编译选项。 4、在bbox的Makefile增加有关内存函数头文件的引用。 Close #I41YIZ Signed-off-by: pcwlno1 <qidechun@huawei.com>
35 lines
872 B
Plaintext
35 lines
872 B
Plaintext
config BLACKBOX
|
|
bool "Enable BlackBox"
|
|
default n
|
|
help
|
|
Answer Y to enable LiteOS support blackbox
|
|
|
|
config BLACKBOX_LOG_PART_MOUNT_POINT
|
|
string "unknown"
|
|
default "/storage"
|
|
depends on BLACKBOX
|
|
help
|
|
Define the default log part representative of blackbox
|
|
|
|
config BLACKBOX_LOG_ROOT_PATH
|
|
string "unknown"
|
|
default "/storage/data/log"
|
|
depends on BLACKBOX
|
|
help
|
|
Define the default log path of blackbox
|
|
|
|
config BLACKBOX_RESERVE_MEM_ADDR
|
|
int "The address of the reserve mem for blackbox in hex"
|
|
default 0
|
|
depends on BLACKBOX
|
|
help
|
|
Define the address of the reserve mem for blackbox in hex.
|
|
|
|
config BLACKBOX_LOG_SIZE
|
|
int "The size of log saved by blackbox in hex"
|
|
range 1024 1048576
|
|
default 65536
|
|
depends on BLACKBOX
|
|
help
|
|
Define the size of log saved by blackbox in decimal.
|