IPC@CHIP® RTOS-Linux – API Documentation

Header image

Main page


Release Notes – SC1x5 @CHIP-RTOS-LNX V01.11 [07.04.2017]

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


File system
Ticket: #533
Component: File system
Type: defect
Summary: Should remove the "hard_remove" CIOPFS FUSE option again
Description: In ticket #424 (RTOS-LNX V1.06) we set the "hard_remove" CIOPFS FUSE option to avoid leftover hidden files if a file is deleted. It has turned out that setting this option leads to problems when deleting a running executable. In some cases the running BEX file terminates with a "Bus error" signal. We need to find some other solution to get rid of the leftover hidden files that occupy space in the file system.
Solution: Take care about these hidden files in the reboot command and API call. Add FSCLEAN shell command for cases where the system was not orderly shutdown.




HW-API
Ticket: #542
Component: HW-API
Type: enhancement
Summary: Make interrupt polarity of PFI (PFAIL_IN signal) configurable
Description: Should make the polarity (rising or falling edge) of the Powerfail-Interrupt configurable. Currently, the rising edge mode is selected by default. Additionally, this new CLIB function should check the current PFI signal level and whether it matches the selected interrupt mode. The application can use this information to check if the system is supplied and has booted with the correct voltage level.
Solution: Implemented.




TCP/IP
Ticket: #544
Component: TCP/IP
Type: defect
Summary: PPP client cannot establish a connection if a static DNS server is setup that cannot be reached
Description: The PPP client cannot establish a connection if a static DNS server is setup that cannot be reached.
Solution: Fixed.




Shell
Ticket: #523
Component: Shell
Type: defect
Summary: CR/LF conversion in RTOS shell
Description: If an application program calls getch() and the user presses the "Enter" key, the application receives a LF (\n, 10) character, whereas the legacy systems received a CR (\r, 13) character. This seems to be the case due to some character conversion inside the RTOS shell.
Solution: Removed this conversion.



Ticket: #538
Component: Shell
Type: defect
Summary: Missing serial characters after fossil_init()
Description: If fossil_init() is called for a serial port that is setup as STDIN, e.g. UART1, the first characters send to this port can get lost. They are still received by the Shell as STDIN and not by the application.
Solution: Fixed.



Ticket: #541
Component: Shell
Type: defect
Summary: Priority of @HSS task is too high
Description: The priority of the @HSS task that handles the start/stop of the system tasks is too high. Other important things like RTX timers can be blocked.

The @HSS task should execute the start/stop request with the same priority as the calling task.
Solution: Fixed.



Ticket: #465
Component: Shell
Type: enhancement
Summary: Editor should tolerate Linux line endings
Description: If a file that has Linux line endings in opened with the "edit" command, the file is not displayed correctly and cannot be edited.
Solution: Implemented. The editor menu now offers the option to select the line ending format for saving the file. Also fixed some other editor issues, like the handling of key codes.



Ticket: #537
Component: Shell
Type: enhancement
Summary: PIO command should also accept the mode in a more human readable way
Description: Should extend the shell PIO command so that it also accepts if the PIO mode is given as a more human readable string, instead of the mode enumeration value.
Solution: PIO command now accepts the mode strings DIS, I, IPU, IPD, O1, O0, OC1 and OC0.




RTX-native
Ticket: #524
Component: RTX-native
Type: defect
Summary: RTX_Get_Task_State() may cause a division by zero exception
Description: If RTX_Get_Task_State() is called for a task, which has no stack size set, e.g. a DOSx task, the function causes a division by zero during its try to calculate the stack usage.
Solution: Fixed.




Web server
Ticket: #525
Component: Web server
Type: defect
Summary: Webserver terminates if CGI_Install_MIME_Table() installs a certain MIME extension
Description: The webserver cannot restart successfully if the CGI_Install_MIME_Table() functions is called to install a MIME extension that is already in the default table. The result is that the webserver is no longer running afterwards.

Should also increase some of the fixed string lengths in the MIME and custom headers table.
Solution: Fixed.



Ticket: #526
Component: Web server
Type: defect
Summary: CGI "fResponseHeadersPtr" field is ignored
Description: Response header fields set by the CGI "fResponseHeadersPtr" are not sent to the browser.
Solution: Fixed.




System
Ticket: #527
Component: System
Type: enhancement
Summary: Support IPC@CHIP SC165
Description: Add support for changed RAM and flash memory sizes in IPC@CHIP SC165.
Solution: The new RTOS-LNX uses a new BIM file header format. The Chiptool 7.2.1.0 or newer is required to use this new BIM file.

New Bootloader version V1.12 added for SC165.




UDPCfg server
Ticket: #528
Component: UDPCfg server
Type: defect
Summary: RTOS update can be slow if ETH1 is enabled
Description: The RTOS update issued via the Chiptool can be slow when the second ethernet is also enabled. On Wireshark "Destination unreachable (Port unreachable)" messages can be seen in this case.

The problem lies in the sendto_iface() function. See ticket #532 for details.
Solution: Fixed.




Clib
Ticket: #532
Component: Clib
Type: defect
Summary: sendto_iface() should not temporarily bind to an interface
Description: Currently, the sendto_iface() implementation binds the socket temporarily during the internal sendto() call to an interface by using the SO_BINDTODEVICE socket option. This is a problem, because the socket is bound to a specific interface for a short moment. If an incoming packet arrived during this time, the TCP/IP stack can responds with a "Destination unreachable (Port unreachable)" message when the packet was received on a different port than the socket in currently bound to.

Should rework the sendto_iface() implementation and use the sendmsg() function here internally.
Solution: Fixed.



Ticket: #543
Component: Clib
Type: defect
Summary: recv() function behaves incompatible when the peer has closed the connection
Description: The recv() function does not behave compatibly to the legacy RTOS implementations, when the peer has closed the connection. On the old RTOS versions the function returns zero on the first call and -1 with error 258 (ESHUTDOWN) on subsequent calls. We should mimic this behavior also on the RTOS-LNX.
Solution: Fixed.



Ticket: #545
Component: Clib
Type: defect
Summary: SSL_CertDateVerify() ignores OpenSSL initialization
Description: The SSL_CertDateVerify() API function does not check whether the underlying OpenSSL library has been initialized, hence it will always return an error if it's called before any other SSL related function.
Solution: Fixed.



Ticket: #546
Component: Clib
Type: defect
Summary: SSL clib API causes segfault when the certificate's date is verified
Description: If the user has enabled the certificate's date verification via an SSL_CertDateVerify(1) call, then a segmentation fault occurs during the SSL Handshake.
Solution: Fixed.



Ticket: #549
Component: Clib
Type: defect
Summary: select() API should not update the timeout parameter
Description: The select() socket API function on the legacy RTOS systems did not update the timeout parameter. This parameter was declared as an input only parameter. On Linux the select() API updates the timeout argument to indicate how much time was left. This behavior can break user applications. We should correct this in our CLIB select() API wrapper.
Solution: Fixed.



Ticket: #534
Component: Clib
Type: enhancement
Summary: Renew DHCP configuration
Description: There should be a function to renew the DHCP configuration. If the renew fails, the interface should be unconfigured.
Solution: Implemented.



Ticket: #548
Component: Clib
Type: enhancement
Summary: Should implement opensocket_ext()/opensocketIPv4v6() API
Description: Should implement opensocket_ext() API, known from the legacy RTOS systems.
Solution: Implemented.




FTP server
Ticket: #536
Component: FTP server
Type: enhancement
Summary: Support XMKD, XRMD, XPWD and XCUP commands
Description: The Windows FTP client uses some of these commands. We should add these FTP commands.
Solution: Implemented.




Kernel
Ticket: #539
Component: Kernel
Type: enhancement
Summary: Update kernel to 4.9.20
Description: Should update to 4.9.20 kernel.
Solution: Done.




RootFS
Ticket: #535
Component: RootFS
Type: defect
Summary: udhcpc script fails to kill udhcpc process on leasefail
Description: When obtaining a lease fails, the udhcpc fails to kill the udhcpc process.
Solution: Fixed.








Top of page | Main page

Copyright © Beck IPC GmbH