IPC@CHIP® RTOS-Linux – API Documentation

Header image

Main page


Release Notes – SC1x5 @CHIP-RTOS-LNX V01.17 [20.10.2017]

The tickets are grouped by component and then sorted by type and ticket number.


System
Ticket: #646
Component: System
Type: defect
Summary: Should patch the wpa_supplication against key reinstallation attacks (KRACK)
Description: The wpa_supplication should be patched according to the 2017-01 security advisory. This advisory provides patches that fix the "WPA packet number reuse with replayed messages and key reinstallation" vulnerability.
Solution: Done.



Ticket: #363
Component: System
Type: enhancement
Summary: Provide a way to load additional shared libraries from drive A:
Description: Should provide a way to load additional shared libraries from drive A:.
Solution: Implemented new CHIP.INI entries [SHARED_LIBS] PATHx.



Ticket: #369
Component: System
Type: enhancement
Summary: Add support for the LCD interface
Description: Should add support for the SC1x5 LCD interface.
Solution: Implemented. To use the LCD interface a device tree overlay and kernel modules need to be loaded.



Ticket: #619
Component: System
Type: enhancement
Summary: Add support for UART7 and UART8
Description: Should add support for using UART7 and UART8 at the LCD pins.
Solution: Implemented.



Ticket: #636
Component: System
Type: enhancement
Summary: Network configuration can be done in background
Description: Some configuration steps after system start can be performed in the background to save boot-up time.
Solution: Implemented.



Ticket: #643
Component: System
Type: enhancement
Summary: Should fill the kernel entropy pool from the hardware random number generator
Description: Should fill the kernel entropy poll (/dev/random) from the hardware random number generator (/dev/hwrng). By default, the "/dev/random" device is very slow since it only collects entropy from device drivers and other (slow) sources.
Solution: Implemented.




Kernel
Ticket: #614
Component: Kernel
Type: defect
Summary: Kernel option for WLAN powersave makes RM0x driver unstable
Description: The kernel CONFIG_CFG80211_DEFAULT_PS option enables the powersave functionality for WLAN devices. The latest RM0x driver from Redpine Signals (V1.5.5) does not work properly with powersave enabled, namely it randomly stops reacting. As a first solution to this issue, the powersave should be disabled.
Solution: Fixed.



Ticket: #620
Component: Kernel
Type: defect
Summary: RS485 does not work correctly in DMA mode
Description: Sending/receiving in RS485 mode does not work correctly if the serial port was setup to use DMA.
Solution: Fixed.



Ticket: #626
Component: Kernel
Type: defect
Summary: RS485 mode and hardware handshake does not work on UART2
Description: Due to some error in the kernel device tree, the RS485 mode and RTS/CTS hardware handshake does not work on UART2.
Solution: Fixed.



Ticket: #615
Component: Kernel
Type: enhancement
Summary: Add support for loading device tree overlays at runtime
Description: We should add support for loading device tree overlays (*.dtbo files) at runtime. This is useful for hardware components, which are not defined by the IPC@CHIP itself, e.g. for the display at the LCD interface.

The display parameters are normally read from the kernel device tree. However, the static SC1x5 device tree cannot hold these settings, because the user chooses some display type.

Putting these LCD settings into a device tree overlay, that can be loaded at runtime from drive A:, would be a solution to this problem.
Solution: Add DTOV shell command to load device tree overlays.



Ticket: #634
Component: Kernel
Type: enhancement
Summary: Should make pin control strict
Description: Currently, the processor pin control driver inside the kernel is not of type 'strict'. Therefore, a pin that is used in a specific module, e.g. as a SDIO pin, can simultaneously be used as a GPIO. However, this prevents that e.g. the gpioEnable() function can report any error, when it is called for a GPIO that is used in some other way. We should therefore make the pin control driver 'strict', which does not allow such a double usage.
Solution: Implemented.




Shell
Ticket: #616
Component: Shell
Type: defect
Summary: Batchmode 1 and execution of shell commands
Description: If some shell commands are executed within a batch file and these commands start internal Linux executables, like the "kmod" command does and the batchmode is set to 1, these commands will wait erroneously for a batch continue call, that is never made. The batch file processing will be delayed for the 15 seconds or if the EXECTIMEOUT is disabled in the CHIP.INI, the batch execution will hang forever.
Solution: Fixed.



Ticket: #630
Component: Shell
Type: defect
Summary: FOCUS handling does not work under all conditions
Description: The shell FOCUS switching does not work under all conditions. E.g. if a program outputs messages to stdout and does not sleep long enough.
Solution: Fixed.



Ticket: #617
Component: Shell
Type: enhancement
Summary: Extend the kmod shell command
Description: The kmod shell command should also be able to load kernel modules that are located inside the rootfs with all dependencies.
Solution: Implemented.



Ticket: #627
Component: Shell
Type: enhancement
Summary: TASKS command should print task list sorted by task priority
Description: The TASKS command should print the task list sorted by task priority, like the legacy RTOS systems did. Should add additional commandline options to sort for other criteria.
Solution: Implemented.



Ticket: #631
Component: Shell
Type: enhancement
Summary: Should make priority of @OUT task configurable
Description: Should make the priority of the @OUT task configurable. The @OUT task is responsible for handling the STDIO channel and the FOCUS.
Solution: Implemented.



Ticket: #641
Component: Shell
Type: enhancement
Summary: TASKS command should print load of all RTX tasks
Description: The TASKS command should print the sum of all RTX tasks load values, for easier comparison to the overall system load, which includes hidden tasks of the Linux system.
Solution: Implemented.




Clib
Ticket: #637
Component: Clib
Type: defect
Summary: PKI_CertificateAdd()/PKI_OwnKeyPairAdd() do not translate LNX paths to Linux paths
Description: The fileNamePtr of the PKI_CertificateAdd()/PKI_OwnKeyPairAdd() functions is not translated from LNX to Linux. Consequently, if a file is given via an absolute paths, the functions fail.
Solution: Fixed.



Ticket: #623
Component: Clib
Type: enhancement
Summary: Add generic Dev_Get_DHCP_Status() function
Description: Add a function that can get the DHCP status for any interface given the interface handle.
Solution: Implemented.



Ticket: #638
Component: Clib
Type: enhancement
Summary: Should add RTX_Sleep_TimeMs() for convenience
Description: If the wakeup capability is not needed, the RTX_Sleep_TimeUs() API creates far less overhead. For convenience we should add a RTX_Sleep_TimeMs() API, where the sleep period can be specified in milliseconds again.
Solution: Implemented.




HW-API
Ticket: #629
Component: HW-API
Type: defect
Summary: PWM API requires some additional error checking
Description: The PWM API needs some additional error checking. E.g. if pwmSetPeriod() was not called before pwmSetWidth() an error should be returned.
Solution: Fixed.



Ticket: #633
Component: HW-API
Type: defect
Summary: Analog input channel AIN5 cannot be enabled
Description: The analog input channel AIN5 cannot be enabled.
Solution: Fixed.




RTX-native
Ticket: #640
Component: RTX-native
Type: enhancement
Summary: Semaphore API performance improvements
Description: The RTOS semaphore API does more internal locking than required. Should remove these locks to make the API more efficient.

Additionally, we should add new resource semaphore types that can be used only be the local process. If process sharing is not needed, the semaphore API functions become more efficient.
Solution: Implemented.




File system
Ticket: #647
Component: File system
Type: enhancement
Summary: DOS file system emulation per thread
Description: Currently, it only possible to enable/disable the DOS file system emulation for the complete process. It should also be possible to enable/disable the emulation for only the current thread.
Solution: Implemented.




Web server
Ticket: #618
Component: Web server
Type: enhancement
Summary: MIME type for html pages should be lowercase
Description: Currently we're sending the MIME type "text/HTML" when a *.htm or *.html page is send to the web browser. The spec tells that the MIME type and subtype are case-insensitive. So this should be okay. However, some browsers have a problem with this.
Solution: Changed MIME type to "text/html".








Top of page | Main page

Copyright © Beck IPC GmbH