IPC@CHIP® RTOS-Linux – API Documentation

Header image

Main page


Release Notes – SC1x5 @CHIP-RTOS-LNX V01.19 [26.01.2018]

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


Clib
Ticket: #666
Component: Clib
Type: defect
Summary: RTX_Publish() expects a void* but the return type of the SYSTEM_PUBLIC_OBJ() macro is uint
Description: The RTX_Publish() legacy function expects a size returned by the SYSTEM_PUBLIC_OBJ() macro as it's first argument. The argument returns an unsigned int while the function expects a pointer to void. This results in a warning for C modules and in an error for C++ modules when compiling with gcc.
Solution: Fixed.



Ticket: #667
Component: Clib
Type: defect
Summary: SetDefaultGateway() can fail if called for the PPP interface
Description: The SetDefaultGateway() API function checks whether the given gateway matches to the subnet of the interface. This check works well for normal interfaces, but for PPP interfaces where the netmask is set to 255.255.255.255 is will fail if the remote IP address differs from the local IP address.

This problem was introduced with ticket #509 in version V1.10.
Solution: Fixed.



Ticket: #674
Component: Clib
Type: defect
Summary: SSL session can only be used with one socket descriptor
Description: The setsockopt() function returns with error 222 if a second socket is connected to a single SSL session.
Solution: Fixed.



Ticket: #676
Component: Clib
Type: defect
Summary: Race about internal SSL mutex
Description: There's a race about an internal SSL mutex that can lead to malfunctions if a process uses more than one TCP socket connection. In case some thread wants to get the mutex inside function A (e.g. recv(), send(), closesocket() etc.) and some another thread currently owns the mutex in function B, the function A will fail.
Solution: Fixed.



Ticket: #678
Component: Clib
Type: defect
Summary: Internal SSL mutex is held during blocking send() and recv() calls
Description: The internal SSL mutex used to manage SSL connection handling is held for too long. The mutex must be released during blocking send() and recv() calls.

Should also avoid recursive locking of this mutex, which is not necessary.
Solution: Fixed.



Ticket: #683
Component: Clib
Type: defect
Summary: Setting the MTU for an interface that is not present fails on second invocation
Description: Setting the MTU for an interface that is not present, e.g. the PPP interface, fails on second invocation.
Solution: Fixed.



Ticket: #659
Component: Clib
Type: enhancement
Summary: Should add MODEMTRACE functionality
Description: The legacy RTOS versions did support a modem trace functionality for the PPP client via the MODEMTRACE CHIP.INI entry. We should add this feature again on the RTOS-LNX.
Solution: Implemented.




System
Ticket: #495
Component: System
Type: enhancement
Summary: Add option to use password hashes instead of plain text passwords in CHIP.INI
Description: It should optionally be possible to store passwords for TELNET, FTP, SSH and the WEB server as hashes in the CHIP.INI, instead of plain text.
Solution: Added CHIP.INI entries PASSHASHx and SEC_PASSHASHx respectively. Added the "passhash" shell command for conversion of plain text passwords.



Ticket: #675
Component: System
Type: enhancement
Summary: Should extend the device product data area with manufacturer, family and line information
Description: The device product data area within the internal flash memory should be extended with information about manufacturer, family and line. This is needed for the Beck com.tom products.

New API functions to read this information need to be implemented.
Solution: Implemented.




Shell
Ticket: #660
Component: Shell
Type: defect
Summary: Drive A: format fails
Description: The format of drive A: fails when the GDB server is running, because the GDB server has its working directory here and so the drive is always busy.

Additionally, the format of drive A: can fail when the drive has an unexpected UBI volume number. This happens if the "format_sc1x5.bim" was used with the serial bootloader.
Solution: Fixed.



Ticket: #671
Component: Shell
Type: defect
Summary: Some shell commands make no output if shell focus is set to Shell
Description: Some shell commands, like ping, sniff etc. make no outputs when the shell focus is set to Shell.
Solution: Fixed.



Ticket: #672
Component: Shell
Type: defect
Summary: Output of some shell commands can be delayed
Description: The output of some shell commands, e.g. ping, can be delayed.
Solution: Fixed.




File system
Ticket: #662
Component: File system
Type: defect
Summary: Filesystem Emulation drive relative paths do not work as expected
Description: If drive relative paths are given, e.g. b:test, the path is not converted to a Linux path correctly. Instead of a relative path to the given drive, the relative path to the current drive is used.
Solution: Fixed.



Ticket: #664
Component: File system
Type: defect
Summary: Filesystem Emulation does not handle the chmod() and chown() functions
Description: The file system emulation code misses the chmod() and chown() function. Therefore these functions do not handle the LNX path to Linux path conversion correctly.
Solution: Fixed.




RootFS
Ticket: #665
Component: RootFS
Type: enhancement
Summary: Make it possible that something on drive A:, B:, etc. can be added to the Linux PATH variable
Description: When using the Linux Flavor, it should be possible to add e.g. "B:/bin" to the Linux PATH variable. Currently, this is not possible, because the path "/ipcatchip/drives/B:" contains a colon. Paths will colons inside cannot be added to the PATH variable, because the colon is used as a path separator.
Solution: Add aliases/links without a colon, e.g "/ipcatchip/drives-alias/B" that can be added to the PATH.




HW-API
Ticket: #673
Component: HW-API
Type: defect
Summary: SPI read/writes fail if the data size exceeds 4096 bytes
Description: The kernel SPI driver can only work with up to 4096 bytes (page size) of data. The CLIB must pass the data in such chunks to the kernel.
Solution: Fixed.



Ticket: #668
Component: HW-API
Type: enhancement
Summary: Should add support for additional external memory to store retentive data
Description: If the user wants to use more retentive data than what fits into the internal 8KB FRAM, it should be possible to extend this internal FRAM storage with some external memory, e.g. another FRAM connected to some SPI bus.
Solution: Implemented.




Kernel
Ticket: #680
Component: Kernel
Type: defect
Summary: Default transmit queue length of CAN device driver can be insufficient
Description: The CAN device driver's transmit queue length is set to a default value of 10. This length is insufficient on high CAN bus load, which can cause bus errors due to queue overflow.
Solution: Fixed.



Ticket: #677
Component: Kernel
Type: enhancement
Summary: NVRAM write speed is slower than at previous RTOS-LNX versions
Description: The time needed to write the NVRAM (FRAM) has increased. Previous measurements with RTOS-LNX V1.05 Beta and the Freescale/NXP kernel show that the speed was faster. The speed has changed since we moved from the Freescale/NXP kernel to the mainline kernel.
Solution: Backport some changes from the 4.14 mainline kernel, that addresses SPI performance issues. Disable DMA mode for SPI4, since PIO mode is faster.




TCP/IP
Ticket: #679
Component: TCP/IP
Type: defect
Summary: Don't delete default gateway on DHCP deconfiguration step
Description: When entering the deconfiguration step of the the DHCP process, the default gateway is deleted. This should not happen. The deconfiguration step is the first step that is executed when the DHCP procedure starts. The deletion of the gateway should be moved to the lease fail step and should only take place if the current gateway is from the same network interface.
Solution: Fixed.




Web server
Ticket: #687
Component: Web server
Type: enhancement
Summary: Should use 2048 bit Diffie Hellman group instead of 1024 bit
Description: We should use the 2048 bit Diffie Hellman group instead of 1024 bit for more security.
Solution: Done.








Top of page | Main page

Copyright © Beck IPC GmbH