2022-12-21 02:16:35 +08:00
|
|
|
#
|
|
|
|
# This file is autogenerated: PLEASE DO NOT EDIT IT.
|
|
|
|
#
|
|
|
|
# You can use "make menuconfig" to make any modifications to the installed .config file.
|
|
|
|
# You can then do "make savedefconfig" to generate a new defconfig file that includes your
|
|
|
|
# modifications.
|
|
|
|
#
|
|
|
|
# CONFIG_AUDIO_FORMAT_MP3 is not set
|
|
|
|
# CONFIG_DISABLE_OS_API is not set
|
|
|
|
# CONFIG_NSH_ARGCAT is not set
|
|
|
|
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
|
|
|
|
# CONFIG_SAMA5_UART0 is not set
|
|
|
|
CONFIG_ARCH="arm"
|
|
|
|
CONFIG_ARCH_BOARD="jupiter-nano"
|
|
|
|
CONFIG_ARCH_BOARD_JUPITER_NANO=y
|
|
|
|
CONFIG_ARCH_CHIP="sama5"
|
|
|
|
CONFIG_ARCH_CHIP_ATSAMA5D27=y
|
|
|
|
CONFIG_ARCH_CHIP_SAMA5=y
|
|
|
|
CONFIG_ARCH_CHIP_SAMA5D2=y
|
|
|
|
CONFIG_ARCH_INTERRUPTSTACK=2048
|
|
|
|
CONFIG_ARCH_LOWVECTORS=y
|
|
|
|
CONFIG_ARCH_STACKDUMP=y
|
2023-07-30 21:51:34 +08:00
|
|
|
CONFIG_ARCH_TRUSTZONE_SECURE=y
|
2022-12-21 02:16:35 +08:00
|
|
|
CONFIG_AUDIO=y
|
|
|
|
CONFIG_AUDIO_NUM_BUFFERS=8
|
|
|
|
CONFIG_BOARD_LOOPSPERMSEC=65775
|
|
|
|
CONFIG_BOOT_RUNFROMSDRAM=y
|
|
|
|
CONFIG_BUILTIN=y
|
|
|
|
CONFIG_CONSOLE_SYSLOG=y
|
|
|
|
CONFIG_DEBUG_FULLOPT=y
|
|
|
|
CONFIG_DEBUG_SYMBOLS=y
|
|
|
|
CONFIG_DEV_LOOP=y
|
|
|
|
CONFIG_DEV_ZERO=y
|
sched: move etc romfs mount from nsh to sched/init
Usually the startup script is placed under /etc. The contents of the etc directory
are compiled and linked with Nuttx binary in the form of romfs. After startup,
it will be mounted by Nsh.
etc is generated by the different boards, that use genromfs and xxd tools to generate
and compile it into the Nuttx, for example: boards/arm/at32/at32f437-mini/tool/mkromfs.sh
The more common method is etc image generated from the content in the corresponding
board/arch/board/board/src/etc directory, and added by Makefile for example:
boards/sim/sim/sim/src/etc.
But in kernel/protected mode, Nuttx kernel and apps are run in different privileged/
non-privileged mode or the isolated binarys, so as that nsh should use syscall to
access Nuttx kernel by exported API. In this scenario, nsh can not mount the etc image
content, because that is generated in board and as a part of Nuttx kernel.
changes:
- move etc romfs mount from nsh to Nuttx, but keep the script to parse and execute.
- move and rename the related CONFIG, move customized nsh_romfsimg.h to etc_romfs.c
in boards, and no need declaration for romfs_img/romfs_img_len.
This commit changes and updates all configurations in Nuttx arch/board as much as possible,
but if any missing, please refer to the following simple guide:
- rename CONFIG_NSH_ROMFSETC to CONFIG_ETC_ROMFS, and delete CONFIG_NSH_ARCHROMFS in defconfig
- rename the etc romfs mount configs, for example CONFIG_NSH_FATDEVNO to CONFIG_ETC_FATDEVNO
- move customized nsh_romfsimg.h to etc_romfs.c in board/arch/board/board/src and no need
declaration for romfs_img/romfs_img_len.
- delete default nsh_romfsimg.h, if ROMFSETC is enabled, should generate and compile etc_romfs.c
in board/arch/board/board/src.
Signed-off-by: fangxinyong <fangxinyong@xiaomi.com>
2023-11-26 11:51:46 +08:00
|
|
|
CONFIG_ETC_ROMFS=y
|
2022-12-21 02:16:35 +08:00
|
|
|
CONFIG_EXAMPLES_HELLO=y
|
|
|
|
CONFIG_EXAMPLES_TCPBLASTER=y
|
|
|
|
CONFIG_EXAMPLES_TCPECHO=y
|
|
|
|
CONFIG_EXAMPLES_WGET=y
|
|
|
|
CONFIG_EXAMPLES_WGET_URL="http://10.0.0.1/"
|
|
|
|
CONFIG_FAT_LCNAMES=y
|
|
|
|
CONFIG_FAT_LFN=y
|
|
|
|
CONFIG_FS_AUTOMOUNTER=y
|
|
|
|
CONFIG_FS_FAT=y
|
|
|
|
CONFIG_FS_PROCFS=y
|
|
|
|
CONFIG_FS_PROCFS_EXCLUDE_VERSION=y
|
|
|
|
CONFIG_FS_ROMFS=y
|
|
|
|
CONFIG_HAVE_CXX=y
|
|
|
|
CONFIG_HAVE_CXXINITIALIZE=y
|
|
|
|
CONFIG_HIDKBD_POLLUSEC=80000
|
|
|
|
CONFIG_I2S=y
|
|
|
|
CONFIG_INIT_ENTRYPOINT="nsh_main"
|
|
|
|
CONFIG_INTELHEX_BINARY=y
|
|
|
|
CONFIG_IOB_NBUFFERS=72
|
|
|
|
CONFIG_IOB_THROTTLE=16
|
|
|
|
CONFIG_NETDB_BUFSIZE=128
|
|
|
|
CONFIG_NETDB_DNSCLIENT=y
|
|
|
|
CONFIG_NETDB_RESOLVCONF=y
|
|
|
|
CONFIG_NETINIT_NETLOCAL=y
|
|
|
|
CONFIG_NETINIT_NOMAC=y
|
|
|
|
CONFIG_NETUTILS_TELNETC=y
|
|
|
|
CONFIG_NETUTILS_TELNETD=y
|
|
|
|
CONFIG_NETUTILS_WEBCLIENT=y
|
|
|
|
CONFIG_NET_ARP_IPIN=y
|
|
|
|
CONFIG_NET_BROADCAST=y
|
|
|
|
CONFIG_NET_CDCECM=y
|
|
|
|
CONFIG_NET_ETH_PKTSIZE=1514
|
|
|
|
CONFIG_NET_ICMP_SOCKET=y
|
|
|
|
CONFIG_NET_ROUTE=y
|
|
|
|
CONFIG_NET_STATISTICS=y
|
|
|
|
CONFIG_NET_TCP=y
|
|
|
|
CONFIG_NET_TCPBACKLOG=y
|
|
|
|
CONFIG_NET_TCP_NOTIFIER=y
|
|
|
|
CONFIG_NET_TCP_WRITE_BUFFERS=y
|
|
|
|
CONFIG_NET_UDP=y
|
|
|
|
CONFIG_NSH_ARCHINIT=y
|
|
|
|
CONFIG_NSH_BUILTIN_APPS=y
|
|
|
|
CONFIG_NSH_FILEIOSIZE=512
|
|
|
|
CONFIG_NSH_PROMPT_STRING="nsh> "
|
|
|
|
CONFIG_NSH_QUOTE=y
|
|
|
|
CONFIG_NSH_READLINE=y
|
|
|
|
CONFIG_PREALLOC_TIMERS=4
|
|
|
|
CONFIG_RAM_SIZE=268435456
|
|
|
|
CONFIG_RAM_START=0x20000000
|
|
|
|
CONFIG_RAM_VSTART=0x20000000
|
|
|
|
CONFIG_READLINE_CMD_HISTORY=y
|
|
|
|
CONFIG_READLINE_CMD_HISTORY_LEN=100
|
|
|
|
CONFIG_READLINE_CMD_HISTORY_LINELEN=120
|
|
|
|
CONFIG_READLINE_TABCOMPLETION=y
|
|
|
|
CONFIG_RR_INTERVAL=200
|
|
|
|
CONFIG_SAMA5D27_SDMMC0_MOUNT_BLKDEV="/dev/mmcsd0"
|
|
|
|
CONFIG_SAMA5D27_SDMMC0_MOUNT_MOUNTPOINT="/mnt/mmcsd0"
|
|
|
|
CONFIG_SAMA5D27_SDMMC1_MOUNT=y
|
|
|
|
CONFIG_SAMA5D27_SDMMC1_MOUNT_BLKDEV="/dev/mmcsd1"
|
|
|
|
CONFIG_SAMA5D27_SDMMC1_MOUNT_MOUNTPOINT="/mnt/mmcsd1"
|
|
|
|
CONFIG_SAMA5_BOOT_SDRAM=y
|
|
|
|
CONFIG_SAMA5_DDRCS_HEAP_END=0x2fa00000
|
|
|
|
CONFIG_SAMA5_DDRCS_RESERVE=y
|
|
|
|
CONFIG_SAMA5_EHCI=y
|
|
|
|
CONFIG_SAMA5_HSMC=y
|
|
|
|
CONFIG_SAMA5_OHCI=y
|
|
|
|
CONFIG_SAMA5_PIOA_IRQ=y
|
|
|
|
CONFIG_SAMA5_PIOB_IRQ=y
|
|
|
|
CONFIG_SAMA5_PIOC_IRQ=y
|
|
|
|
CONFIG_SAMA5_PIO_IRQ=y
|
|
|
|
CONFIG_SAMA5_RTC=y
|
|
|
|
CONFIG_SAMA5_SDMMC0=y
|
|
|
|
CONFIG_SAMA5_SDMMC0_SIZE=1073741824
|
|
|
|
CONFIG_SAMA5_SDMMC=y
|
|
|
|
CONFIG_SAMA5_TRNG=y
|
|
|
|
CONFIG_SAMA5_UART1=y
|
|
|
|
CONFIG_SAMA5_UDPHS=y
|
|
|
|
CONFIG_SAMA5_UHPHS=y
|
|
|
|
CONFIG_SCHED_HPWORKPRIORITY=192
|
|
|
|
CONFIG_SCHED_LPNTHREADS=2
|
|
|
|
CONFIG_SCHED_WAITPID=y
|
|
|
|
CONFIG_SERIAL_TERMIOS=y
|
|
|
|
CONFIG_SIG_DEFAULT=y
|
|
|
|
CONFIG_SIG_EVTHREAD=y
|
|
|
|
CONFIG_START_DAY=31
|
|
|
|
CONFIG_START_MONTH=7
|
|
|
|
CONFIG_START_YEAR=2014
|
|
|
|
CONFIG_SYMTAB_ORDEREDBYNAME=y
|
|
|
|
CONFIG_SYSLOG_TIMESTAMP=y
|
|
|
|
CONFIG_SYSTEM_NSH=y
|
|
|
|
CONFIG_SYSTEM_PING=y
|
|
|
|
CONFIG_SYSTEM_VI=y
|
|
|
|
CONFIG_TTY_SIGINT=y
|
|
|
|
CONFIG_TTY_SIGTSTP=y
|
|
|
|
CONFIG_UART1_SERIAL_CONSOLE=y
|
|
|
|
CONFIG_UBOOT_UIMAGE=y
|
|
|
|
CONFIG_UIMAGE_ENTRY_POINT=0x200082E0
|
|
|
|
CONFIG_UIMAGE_LOAD_ADDRESS=0x20008000
|
|
|
|
CONFIG_USBDEV=y
|
|
|
|
CONFIG_USBDEV_DMA=y
|
|
|
|
CONFIG_USBDEV_DUALSPEED=y
|
|
|
|
CONFIG_USBDEV_TRACE=y
|
|
|
|
CONFIG_USBDEV_TRACE_NRECORDS=512
|
|
|
|
CONFIG_USBHOST_HIDKBD=y
|
|
|
|
CONFIG_USBHOST_MSC=y
|