From f3413df508de4a76a19b08b0ff1617edd577a993 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Thu, 6 Sep 2018 15:08:12 -0600 Subject: [PATCH] Update ChangeLog in preparation for 7.26 release. --- Application.mk | 10 +- ChangeLog.txt | 356 +++++++++++++++++++++++++++++++++++++++++++- system/ping/Kconfig | 1 + 3 files changed, 361 insertions(+), 6 deletions(-) diff --git a/Application.mk b/Application.mk index 93854933a..00b38090c 100644 --- a/Application.mk +++ b/Application.mk @@ -140,32 +140,32 @@ endef $(AOBJS): %$(OBJEXT): %.S $(if $(AELFFLAGS), \ $(call ELFASSEMBLE, $<, $@), \ - $(call ASSEMBLE, $<, $@), \ + $(call ASSEMBLE, $<, $@) \ ) $(COBJS): %$(OBJEXT): %.c $(if $(CELFFLAGS), \ $(call ELFCOMPILE, $<, $@), \ - $(call COMPILE, $<, $@), \ + $(call COMPILE, $<, $@) \ ) $(CXXOBJS): %$(OBJEXT): %$(CXXEXT) $(if $(CXXELFFLAGS), \ $(call ELFCOMPILEXX, $<, $@), \ - $(call COMPILEXX, $<, $@), \ + $(call COMPILEXX, $<, $@) \ ) ifeq ($(suffix $(MAINSRC)),$(CXXEXT)) $(MAINOBJ): %$(OBJEXT): %$(CXXEXT) $(if $(CXXELFFLAGS), \ $(call ELFCOMPILEXX, $<, $@), \ - $(call COMPILEXX, $<, $@), \ + $(call COMPILEXX, $<, $@) \ ) else $(MAINOBJ): %$(OBJEXT): %.c $(if $(CELFFLAGS), \ $(call ELFCOMPILE, $<, $@), \ - $(call COMPILE, $<, $@), \ + $(call COMPILE, $<, $@) \ ) endif diff --git a/ChangeLog.txt b/ChangeLog.txt index 69084f438..1cffe44d7 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -2713,4 +2713,358 @@ * apps/Makefile and platform/Makefile: At clean_context targets that are now invoked from the main nuttx/Makefile. From Gregory Nutt (2018-05-31). -7.26 2018-xx-xx Gregory Nutt +7.26 2018-09-08 Gregory Nutt + + * apps/netutils/ftpc: Fix handling of url-encoded strings From + Dmitriy Linikov (2018-06-04). + * apps/examples/i2sloop: Add i2sloop application. This application + can be used to test I2S loopback like: nsh> i2sloop & + From Masayuki Ishikawa (2018-06-06). + * nsh_parse.c: fix 'while' and 'until' loop condition + The loop condition logic was inverted: while true; do echo "test"; + done + would exit immediately, while using 'until' would stay in the loop. + This is the opposite of how it is supposed to work. + The reason is that 'state' was set wrong because 'whilematch' is a + bool. From Beat Küng (2018-06-06). + * examples: Adds example to test framebuffer overlay From Marco Krahl + (2018-06-06). + * apps/examples/ostest: Signal handling tests should use the same + configurable stack size as used in other tests, not + PTHREAD_STACK_DEFAULT. From Gregory Nutt (2018-06-07). + * apps/system/taskset: Add taskset command for SMP systems. This + command can be used to retrieve or set a process's CPU affinity. + For example, + + nsh> taskset -p 4 + pid 4's current affinity mask: 2 + + nsh> taskset -p 3 4 + pid 4's current affinity mask: 3 + + nsh> taskset -p 1 busyloop & + + From Masayuki Ishikawa (2018-06-08). + * apps/gpsutils/minmea: Include wchar.h in minmea.c file to fix wint_t + error From Alan Carvalho de Assis (2018-06-09). + * apps/examples/gps: Add GPS example using MINMEA lib From Alan + Carvalho de Assis (2018-06-09). + * apps/Make.defs: Fix an error introduced with recent chagne. + MKKCONFIG may not be defined resulting in failure to create + apps/Kconfig. From Gregory Nutt (2018-06-11). + * examples/powerled: add arch initialization; examples/smps: fixes in + some printf and in Kconfig + testing: add Unity - unit testing library from ThrowTheSwitch.org + From Mateusz Szafoni (2018-06-15). + * apps/wireless/wapi: Remove dependency on CONFIG_EXPERIMENTAL from + Kconfig From Gregory Nutt (2018-06-17). + * Remove apps/interpreters/micropthon. There are several reasons for + this. (1) the current version 1.3.8 is very old and no one is + supporting it. (2) the port only includes the core micropython logic + and none of the Python libraries. As such it is useless in any real + application. (3) There have recently been compile failures + reported. It looks like this is due to changes in newlib based + toolchains that now bring in incompatible newlib header files. See + issue 104 at + https://bitbucket.org/nuttx/nuttx/issues/104/build-micropython-138-error. + With no one dedicated to the support of micropython, it can no longer + be carried in the NuttX apps/ repository. From Gregory Nutt + (2018-06-18). + * apps/nshlib/README.txt: Clarify arguments to the mkrd command. From + Gregory Nutt (2018-06-22). + * testing/unity: add configuration options for exclude setjmp and + output color From Mateusz Szafoni (2018-06-23). + * apps/netutils/dhcpc: Activates BINDTODEVICE if available, and break + up some long lines From Gregory Nutt (2018-06-25). + * apps/examples/tcpblaster: Add TCP performance measurement test. + From Gregory Nutt (2018-07-05). + * apps/examples/dsptest: Add unit test for Nuttx DSP library From + Mateusz Szafoni (2018-07-07). + * apps/examples/helloxx: Add main() for CONFIG_BUILD_KERNEL From + Masayuki Ishikawa (2018-07-13). + * apps/examples/nsh: Add logic to automatically register an + application symbol table as part of NSH initialization. From + Masayuki Ishikawa (2018-07-13). + * There many occurrences of the global variable g_exports and the + opportunity for collisions. Make the global variable names unique. + From Gregory Nutt (2018-07-14). + * apps/examples/nsh: The symbol table name and size variable names can + now be configured. From Gregory Nutt (2018-07-14). + * import/: Add Makefile.symtab which can be used to compile the + dynamically created symbol table C file. Add tools/mksymtab.sh. + From Gregory Nutt (2018-07-15). + * apps/tools: Add +x to mksymtab.sh. + apps/examples/nsh: Fix compile errors with + CONFIG_EXAMPLES_NSH_SYMTAB=y From Masayuki Ishikawa (2018-07-17). + * apps Makesystem: Fix an error when building apps/ without nuttx/, + using only the NuttX export package and assuming that the nuttx/ + directory in not even present. In this case, the problem fixed where + the apps/Make.defs file was selecting tools from the /tools directory + which does not exist because TOPDIR=apps/import. Instead, for this + build case, I have not thought of any option but to duplicate scripts + as necessary in the apps/tools directory. Also added a top-level + target to compile the symbol table. Misc fixes: quoting in scripts, + some errors in script syntax. From Gregory Nutt (2018-07-17). + * apps/tools: Fix an error in mksymtab.sh From Masayuki Ishikawa + (2018-07-19). + * examples/lvgldemo/ and graphics/littlevgl/: Update LVGL to version + 5.1.1 From Alan Carvalho de Assis (2018-07-19). + * fs/fat: Clean up some name BS_ and MBR_ refer to the same record and + should use the same naming (MBR_). From Gregory Nutt (2018-07-22). + * Add definitions for the FAT boot record (FBR). From Gregory Nutt + (2018-07-22). + * nxplayer: Refactor nxplayer.c. Apply netlib_parsehttpurl() and + remove unnecessary usleep(). From Masayuki Ishikawa (2018-07-31). + * apps/system/i2c: Adapt to rename I2C_M_RESTART->i2C_M_START. + I2C_M_NOSTOP should be in flags of first message in every write-read + and write-write mesage sequence. From Gregory Nutt (2018-08-03). + * include/netutils/netlib.h: Eliminate a warning about AF_UNSPEC and + AF_INET not defined. From Gregory Nutt (2018-08-03). + * Introduce a build system for loadable apps for nsh. + apps/Make.defs: Override COMPILE and COMPILEXX macros to compile + loadable apps. To make loadable apps, -DLOADABLE_APP is added to the + flags. Also, introduce ELFLD to link a lodable app. + apps/Application.mk: Add .build target in case of 'LOADABLE=y' which + is used to link a final loadable application and install the app to + apps/bin. + apps/Makefile: Add SYMTABSRC and SYMTABOBJ variables for loadable + apps which will be generated under the apps directory. Add + make_symbols target which will be called when all applications are + installed to generate symtab_app.c which is used for nsh to inform + symbol information to the NuttX kernel. If the application is + specified to 'm', the variable 'LOADABLE' must be defined here. Also + note that other variables (PRIORITY and STACKSIZE) can only be used + for built-in apps. + apps/nshlib/Kconfig: Add 'option modules' to NSH_FILE_APPS so that a + user can change an application configuration to tristate (y/n/m) + apps/examples/hello and helloxx: Apply changes to support a loadable + app. Makefile: Change the condition to build. By default, the + application is not selected (i.e. 'n'), so if other states (i.e. y/m) + are selected, the application will be compiled. Please note that + the variable 'LOADABLE' must be defined in each application Makefile + if you want to make a loadable app. Change the application state + from bool to tristate in the Kconfig file. Add LOADABLE_APP + condition to main(). From Gregory Nutt (2018-08-03). + * apps/examples/elf: CROMFS and ROMFS configuration currently only + usable in FLAT build. Add configuration to use ELF objects on + external media like SD card or USB drive instead. From Gregory Nutt + (2018-08-04). + * apps/examples/elf: If the test ELF files are on media in removable + meda such as SD or USB FLASH, the wait until the media has been + installed and initialized before starting the test. From Gregory + Nutt (2018-08-04). + * apps/examples/module: Add support for CROMFS and for stripping + symbols from ELF module binaries. From Gregory Nutt (2018-08-05). + * examples/module: Add support for automounting removable media. This + involves a wait for the block driver to become available before + performing the mount. From Gregory Nutt (2018-08-05). + * apps/system/cle: Usage improvements including command line history + (taken from readline) and support for addition control characters. + From mst (2018-08-05). + * apps/nshlib: Add parsing support for back-slash quoted characters. + Currently only implemented properly if CONFIG_NSH_ARGCAT is also + selected. This commit is in response to Bitbucket Issue 11 opened by + Maciej Wójcik From Gregory Nutt (2018-08-06). + * apps/examples/module: When built in the PROTECTED or KERNEL modes, + the symbol table is not built by the application. That is because + the build will fail since the kernel module depends on internal OS + symbols thar are not available to the application build. With this + change the examples does not attempt to build the kernel symbol table + in these modes. Instead it just copies the kernel module symbol + table into the nuttx/pass1 directory where it can be build directly + into the OS during pass2 of the build. From Gregory Nutt (2018-08-07). + * nsh: add inverted logic support in the form of 'if ! ' From + Beat Küng (2018-08-11). + * apps/nshlib: I was able to cause an assertion with some typos in + testing the 'fi' command. Not an important thing, but this will + protect against the assertion. From Gregory Nutt (2018-08-11). + * examples/calib_udelay: Add tool for calibrating + CONFIG_BOARD_LOOPSPERMSEC From Juha Niskanen (2018-08-14). + * apps/builtin/Makefile. This commit changes apps/builtin to search + the registry recursively. By supporting directories, external + projects can install the hooks into the registry and easily clean + them up and reinstall if something needs to be updated. Based on an + idea from Anthony Merlino. From Gregory Nutt (2018-08-15). + * apps/system/popen: Add an implementation of the standard popen() and + pclose() OS interfaces. These are implemented as applications vs. + part of the OS because they depend on NSH. Untested on initial + commit. From Gregory Nutt (2018-08-17). + * apps/examples/popen: Add a test of popen/pclose. + apps/system/popen: Fix some errors found using the new popen/pclose + test. From Gregory Nutt (2018-08-17). + * apps/Application.mk: If a loadable module is generated the we need + to add logic to remove the loadable module in the 'make clean' + logic. From Gregory Nutt (2018-08-17). + * apps/system/system and popen: Adapt so that these can be used in the + KERNEL build mode. In this case, simply replace task_spawn() with + posix_spawn(). This depends on the existence of some environment + where /bin/sh exists and can be used to execute one NSH command. For + the case of system(), this change was more complete because it + previously used task_create(). Now it uses either task_spawn() or + posix_spawn(), depending upon the configuration. From Gregory Nutt + (2018-08-18). + * apps/system/nsh: Move apps/examples/nsh to apps/system/nsh. It has + become so entrenched that it is hardly an example these days. May as + well formalized it as a system task. From Gregory Nutt (2018-08-18). + * i8sak: i8sak daemon now gets shutdown if not in use. Previously, once + the i8sak daemon was started, by running any command, it would stay + running. This means that if you want to use i8sak to setup your + network, but then want exclusive access to the char device, or + network device, you have to manually shutdown the i8sak daemon. Now + the daemon stays active as long as required to finish any commands, + or stays open if a new command keeps it on, but when all work is + finished, it shuts down. From Anthony Merlino (2018-08-19). + * Remove illegal calls into OS to initialize BINFMT support. This must + be moved to the board initialization logic within the OS. From + anchao (2018-08-22). + * Move a copy of define.bat and sh from nuttx/tools to apps/tools so + that they will be available for the import build. From Gregory Nutt + (2018-08-22). + * apps/nshlib: Expand reboot and poweroff commands to include a + second, optional mode argument From ligd (2018-08-22). + * apps/system/zmodem: + fix error "sz_main.o: No such file or directory" + support -p for rz to change the folder for the received file + switch debug output from printf to syslog + send the next packet for ZME_ACK in ZMS_SENDING to avoid rz on the + host side stuck + make send work reliable even without hardware flow control From + Xiang Xiao (2018-08-23). + * apps/system/system/system.c: Add 'const' to make function signature + compatible with OpenGroup.org From Xiang Xiao (2018-08-23). + * apps/system/ping and ping6: Send ID and seqno in network byte + order. From Xiang Xiao (2018-08-23). + * apps/system/ping and ping6: Change dependency in ping and ping6 + Kconfig. These may be implemented in users sockets and, hence, may + need to be avaiable even if ICMP and ICMPv6 sockets are not support. + From Xiang Xiao (2018-08-23). + * apps/system/cu/cu_main.c: (1) Protect from possible re-definition of + signal values, (2) Fix CU ctrl-C hand when remote core hang. From + ligd (2018-08-23). + * apps/fsutils/mksmartfs: Add a check to see if the SmartFS is already + formatted. apps/nshlib: Add a force flag (-f) to mksmartfs. SmartFS + will be formatted only if (1) the FLASH does not already hold + a SmartFS, or (2) the force flag is set From Xiang Xiao (2018-08-23). + * apps/nshlib: (1) NSH prompt string is now configurable. nsh> is still + the default. (2) Increase the default configuration for the maximum + number of command line arguments to 7 (CONFIG_NSH_MAXARGUMENTS). + This is needed for 'mount' with the -o option. From Xiang Xiao + (2018-08-23). + * apps/examples/module/Makefile: Correct module example build. Change + to LDLIBs were causing a failure due to a non-existent (any + unnecessary) library in this case. From Gregory Nutt (2018-08-23). + * apps/, most main() function: Correct CONFIG_BUILD_LOADABLE usage + Loadable apps/: Correct loadable symbol table generate + apps/system/ubloxmodem: Fix build break + apps/examples/ostest: start restart/waitpid/user test from main loop + apps/nshlib: Expand reboot and poweroff commands to include a + second, optional mode argument + An attempt to fix build issues. Does not work. + apps/examples/ostest: Fix some inappropriate renaming of static + functions introduced with recent patches. + apps/builtin/exec_builtin.c: Fix a error introduced by recent + comments. Found in build testing. + apps/builtin/exec_builtin.c: Try posix_spawn if builtin apps do not + have have an entry point. + apps/Application.mk: introduce MODULE config to simplify tristate(m) + apps/nsh: Change the nuttx shell module type to tristate + apps: Add loadable application support + script/mksymtab: Generate symbol table name by default + apps/builtin: Allow loadable applications can register with + apps/builtin. From anchao (2018-08-23). + * Replace all ASSERT calls to DEBUGASSERT From Xiang Xiao (2018-08-24). + * apps/examples/sotest and modules: With recent changes, LDLIBS is + initialized to bad value, at least in certain contexts. From Gregory + Nutt (2018-08-24). + * apps/nshlib: Add control-C support for terminating built-in and + exec'ed file tasks. From ligd (2018-08-26). + * apps/nshlib/Kconfig: Move 'option modules' from NSH_FILE_APPS to + BUILD_LOADABLE From anchao (2018-08-27). + * apps/system/nxplayer: Release buffer before session and release + semaphore in nxplayer_setvolume + system/nxplayer/nxplayer.c: Remove & for apb->samp reference. It is + already a pointer. From Xiang Xiao (2018-08-27). + * system/nxplayer/nxplayer.c: Add playraw command From ZhongAn + (2018-08-27). + * apps/system/nxrecorder: Add nxrecorder application From ZhongAn + (2018-08-27). + * nettest: fix typo: NET_LOOPBACK -> CONFIG_NET_LOOPBACK + nettest: fix compilation error. Should enable NET_SETSOCKOPT for + preventing compilation error. From EunBong Song (2018-08-28). + * apps/system/cu: SIGKILL is more appropriate that SIGINT in this + circustance. From Gregory Nutt (2018-08-28). + * apps/: Call BOARDIOC_FINALINIT after start-up script (or immediately + after BOARIOC_INIT is there is no start-up script). From ligd + (2018-08-28). + * apps/system/cu: Fix undefined SIGKILL if CONFIG_SIG_DEFUALT is not + defined. From Gregory Nutt (2018-08-29). + * apps/nshlib/nsh_console.c: Do not dereference NULL 'pstate' From + Juha Niskanen (2018-08-29). + * apps/system/i2c: Allow registers besides 0x00 in the dev command. + From akob Haufe (2018-08-30). + * system/i2c/i2c_main.c: Fix a backward comparison. Noted by Jakob + Haufe. From Gregory Nutt (2018-08-30). + * apps/ostest/suspend.c: Add a small test for SIGSTOP, SIGCONT, and + SIGKILL actions. From Gregory Nutt (2018-08-30). + * examples/ostest/signest.c: Attempt to make the nested signal test + compatible with the suspend/resume test. Some signals cannot be + caught when the suspend/resume configuration is in place. From + Gregory Nutt (2018-08-30). + * apps/ examples/dhtxx: Example for the DHTxx sensor. From Ouss4 + (2018-09-01). + * apps/nshlib: When using waitpid() to wait for a built-in application + or a file application to exit. Add the WUNTRACED options to so the + the waitpid() call will also be awakened if the waited-for task is + stopped as well. From Gregory Nutt (2018-09-02). + * apps/: Modification to build system: Unified application compilation + rules From anchao (2018-09-03). + * apps/: Resolve some make dependency failures. From anchao + (2018-09-03). + * apps/platform/Makefile: Fix missing dependency path in Makefile. + From Gregory Nutt (2018-09-03). + * apps/: Fix build break in case sama5d4-ek/elf configuration. Also + fix a patch problem in mkromfsimg.h. From anchao (2018-09-04). + * Application.mk: Even on Cygwin, GNU make insists that targets use + Unix style paths. System/progmem: Rename the install application to + progmem. This generates a target install: which collides with the + install:: target in Application.mk. From Gregory Nutt (2018-09-04). + * Makefile: platform/Makefile must have BIN_DIR defined on command + line even though it is not used. This is because in the Cygwin + build, the value of 'BIN_DIR' is passed to 'cygpath'. 'cygpath will + fail if BIN_DIR is not defined. From Gregory Nutt (2018-09-04). + * Makefile: Fix more places where attempts to use Unix-style paths + with native Windows toolchain. tools/mksymtab.sh: Add a check just + to prevent 'cat' of an empty file list from failing. Right not the + root problem is that the are not executables being built or installed + in the exe/ directory. That needs to be done by 'make import' but is + not happening. From Gregory Nutt (2018-09-04). + * Makefile: In the make import target for kernel build, we must make + all objects and populate libapps.a. Application.mk: the PROGIST + must be executed unconditionally to support the kernel build. From + Gregory Nutt (2018-09-04). + * Application.mk: Fix some issues when building directories such as + fsutils/mkfatfs that have no mainobj. In this case, the MAINSRC is + undefined and it would generate a bad linker command line. From + Gregory Nutt (2018-09-04). + * Application.mk: Add module install logic. Possibly only needed in + KERNEL build mode? Makefile: Simplify import target for KERNEL + build. A symbol table is not needed because the KERNEL-mode programs + are completely linked. Also fix missing deletion in clean and + distclean targets. tools/mksymtab.sh: Fix a typo introduced in + previous commit. From Gregory Nutt (2018-09-04). + * Makefile: 'make distclean' should remove the exe subdirectory That + target must return the directory back to the state is was in when + freshly cloned. Application.mk: Add logic to strip unnecessary + symbols after installing a module. But then I commented it out. + Wouldn't we want to keep the symbols if we planned to debug the + module? In apps/examples/elf, there is configuration option to + determine if the symbols should be stripped or not. Perhaps that is + needed here too? From Gregory Nutt (2018-09-04). + * Application.mk: Generate temporary name for linker object From + anchao (2018-09-05). + * netutils/ping: remove unsupported ping. netutils/ping is not + supported anymore. It's better to remove this folder for preventing + confusing. + ping is supported by system/ping. From EunBong Song (2018-09-05). + +7.27 2018-xx-xx Gregory Nutt diff --git a/system/ping/Kconfig b/system/ping/Kconfig index cfaec74ff..3283bdc1e 100644 --- a/system/ping/Kconfig +++ b/system/ping/Kconfig @@ -11,6 +11,7 @@ config SYSTEM_PING Enable support for the ICMP 'ping' command. if SYSTEM_PING + config SYSTEM_PING_PROGNAME string "Ping program name" default "ping"