You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4000 lines
145 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

Huawei LiteOS Release Notes
===========================
This file contains all the release notes of Huawei LiteOS for every release.
The text is just as was written at the time of release(with perhaps some
corrected typos).
The release note include three parts, New Features, Bug Fixes and Known Issues.
Each part contains several modules, with issue description in detail.
Kernel development documentation is available in /doc under main folder.
Huawei LiteOS 207.0.0.B026 2022/11/16
Huawei LiteOS 5.4.0
----------
New Features
The following are some new features with this release.
* kernel
- Supported read/write semaphore
- Supported event API LOS_EventCondRead and LOS_EventCondWrite
- Supported dynamic memory double free check mechanism
- Supported lockdep of mutex, semaphore, spinlock and pthread-mutex
- Supported interrupt bottom-half.
- Supported CPUP dynamic start-stop and sample period configurable
- Supported dynamic shared memory based on IOMMU and PMP
* drivers
- Supported driver uart pl011 based on LiteOS Driver Base
* build
- Supported Cmake superbuild ExternalProject_Add
* arch
- Supported arm64 mmu API ArchMmuMap and ArchMmuUnmap
* targets
- Added board tsch/imu/ffts+mcu/vdec from ascend atlas
* opensource
- Supported CMSIS from 5.7.0 to 5.8.0
Bug Fixs
The following are some bug fixs with this release.
* kernel
- Fixed CPUP inaccuracy when riscv interrupt preemption is enabled
- Fixed API LOS_HwiCreate return success if NULL is passed in when LOSCFG_HWI_WITH_ARG is disabled
- Fixed that main core needs wait for other cores' stop when LOS_PerfStop is called
- Fixed that interrupt config macro LOSCFG_HWI_WITH_ARG is disabled by default
* opensource
- Fixed the bug that integer truncation in cmsis interface osKernelGetTick2ms
* arch
- Fixed the problem that when the riscv architecture enables interrupt preemption, the probability of repeated interrupt response is low
Huawei LiteOS 206.2.0.B035 2022/04/29
Huawei LiteOS 5.3.0
----------
New Features
The following are some new features with this release.
* kernel
- Supported cmake for trustzone.
- Added feature that adapt Perf for xea2.
- Supported for user defined pre/post deep sleep configuration.
- Supported trustzone for ARMv8-M.
* fs
- Supported that yaffs code normalization.
- Supported vfs without compat linux.
* drivers
- Supported cmake for trustzone.
- Supported that mmc code normalization.
* build
- Supported trustzone for ARMv8-M.
* tools
- Supported dynload for arm64.
* arch
- Added feature that adapt lowpower for M55.
Bug Fixs
The following are some bug fixs with this release.
* lib
- Fixed bug that remove redundant header files for lib.
- Fixed bug that error map inconsistent with the original for pthread.
* shell
- Fixed the bug of resource disclosure.
* build
- Fixed the bug that delete useless codes
* arch
- Fixed bug that audiodsp open perf as default
Huawei LiteOS 206.1.0.B033 2021/10/27
Huawei LiteOS 5.2.0
----------
New Features
The following are some new features with this release.
* compat
- Support cmsis support static mem
- Supported Cmake and Makefile consistency
* kernel
- Added feature that CMake High-Level Construction for kernel extended
- Added board isp
- Supported audio-dsp kririn baltimore
- Supported Clang compilation on the RISCV platform.
- Support restructure the lms, decoupling from memory algorithms.
- Support lms read and write check config.
- Support lms strict check and simple check.
- Support lms libc check.
- Support lms memlock.
* fs
- Supported dentry cache for jffs2.
- Supported dentry cache for FatFs.
- Supported trim (direct and uni-trim) for FatFs.
- Supported bcache proc.
* lib
- Supported Cmake and Makefile consistency
- Added LOSCFG_LIB_FORMAT to decouple stdio and format
* drivers
- Supported Cmake and Makefile consistency
- Supported binary consistency of driverbase.
- Supported direct trim
- Support uvc zero copy data transmission.
- Support uvc to restrict sending data stream in bulk mode.
- Support USB Device UAC2.0 Protocol For Microphone
- Support USB Device UAC2.0 Protocol For Speaker
- Support USB Device UAC2.0 Protocol For IN Audio Streaming
- Support USB Device UAC2.0 Protocol For Out Audio Streaming
- Support USB IN/OUT endpoints can be configured.
* shell
- Support config LOSCFG_TEST not by APPINIT.
- Added board isp
- Supported audio-dsp kririn baltimore
* build
- Supported Cmake and Makefile consistency
* tools
- Supported the initial menu cmake configuration.
* net
- Change install.sh script of net
- Added CMakeLists.txt of telnet,paho.mqtt.c,los_iperf
* arch
- Supported xea2/xea3/arm64 Cmake
- Support config FPU Mode Hard
- Added the arm926 architecture.
- Supported Clang compilation on the RISCV platform.
- Supported LinxCore M-Profile Architecture and CLIC interrupt preemption.
* targets
- Supported Cmake and Makefile consistency
Bug Fixs
The following are some bug fixs with this release.
* kernel
- Fixed config issue, that some APIs cannot be used when the bestfit_little alg is selected
* lib
- Fixed the bugs 1.random driver does not properly adapt to the hardware platform. 2. getentropy do not use TRNG
- Changed huawei_libc to liteos_libc
* drivers
- Fixed the bugs 1.random driver does not properly adapt to the hardware platform. 2. getentropy do not use TRNG
* shell
- Fixed bug that uart compile failed when shell is closed
* build
- Fixed riscv and arm-none-eabi ld warning
* net
- Supported Cmake and Makefile consistency
Huawei LiteOS 206.1.0.B003 2021/07/31
Huawei LiteOS 5.2.0 rc1
----------
New Features
The following are some new features with this release.
* fs
- Supported jffs2 dcache
* lib
- Added dlopen/dlclose/dlsystem interface to lib/huaweilibc
- Updated libsec to B011.
* drivers
- Added PHY layer for USB
* tools
- Added the feature that modify sd3404_dsp config.
* net
- Add paho.mqtt.c-1.3.8 version.
Bug Fixs
The following are some bug fixs with this release.
* lib
- Fixed the bug PTHREAD_COND_INITIALIZER confilct with struct pthread_cond_t
- Fixed bug that memset set more 32 bytes when addr is unaligned and size less than 32
Huawei LiteOS V200R005C20B053 2021/05/14
Huawei LiteOS 5.1.0
----------
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fixed bug that workqueue initialization is incomplete.
* kernel
- Add cancelpreconfig hook for lowpower.
Huawei LiteOS V200R005C20B050 2021/04/23
Huawei LiteOS 5.1.0 rc4
----------
New Features
The following are some new features with this release.
* fs
- Add support shellcmd 'dd' for file read/write speed test.
Bug Fixs
The following are some bug fixs with this release.
* kernel
- Optimize method description in los_hwi.h.
- Fixed bug that miss HWI_UNLOCK when disable interrupt failed.
- Fixed bug that LOS_ASSERT macro cannot be used in arm64
* fs
- Fixed bug that for a file is opened in virtual partition can be formated.
* drivers
- Fixed bug that SDIO interrupt was cleared in himci_req_done for definition of ALL_SD_INT_MASK error.
- Added card recovery and hw reset mechanism when cmd response error.
- Fixed mutex leak bug in host_u protocal.
- Fixed bug that unaligned_flag of dma buffer is not cleared.
- Fixed bug that the usb mass storage not display the drive letter.
- Fixed bug that host uvc cannot work when unplug the USB camera while switching the working mode.
* shell
- Fixed bug that mutex is not deleted when shell is deinited.
Huawei LiteOS V200R005C20B040 2021/03/30
Huawei LiteOS 5.1.0 rc3
----------
New Features
The following are some new features with this release.
* kernel
- Add intermit feature demo.
* fs
- Add support for vfs on hi3892
* lib
- Add support for self-dev function memcpy/memset on armv8.
* drivers
- Add support for usb on hi3892
- Add support for emmc on hi3892
- Add support for usb on hi3931
- Add support for dual serial on hi3931
- Add support for NV12/NV21 format of UVC.
- Add device code generator demo:
1. change binding serach principles
2. add validator for generator
3. add config header file generator(including workaround for dma)
* tools
- Add support for cluster tools of intermit feature.
* net
- Add WPA supports liteos SMP feature.
- Add mbedtls into normalized paho.mqtt.c-1.3.4
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fixed msleep/usleep/nanosleep insufficient delay bug, make sure that the delay is not less than the set value
* kernel
- Optimize interrupt error codes, from OS_ERRNO_xxx to LOS_ERRNO_xxx.
- Fixed lms access illegal address bug.
- Optimize lowpower mechanism:
1. mask systick when in deep sleep and resume after wakeup.
2. simplify the deep sleep process.
- Add LOSCFG_STARTUP_STACK_SIZE/LOSCFG_IRQ_STACK_SIZE/LOSCFG_NMI_STACK_SIZE/LOSCFG_EXC_STACK_SIZE in menuconfig.
- Fixed resource leak bug when LOS_HwiCreate return fail due to an illegal interrupt priority.
- Fixed backtrace failure bug when a task created via LOS_TaskCreateStatic
- Optimize backtrace configuration, use LOSCFG_BACKTRACE and delete LOSCFG_COMPILER_OPTIONS_FP/LOSCFG_BACKTRACE_WITH_FP.
- Fixed LOS_Msleep insufficient delay bug, make sure that the delay is not less than the set value
- Change LOSCFG_ARCH_FPU_DISABLE to LOSCFG_ARCH_FPU_ENABLE for easy read.
* fs
- Fixed lseek error in littlefs when para whence is invalid
- Fixed resouce leak bug in function vfs_lfs_unbind
* lib
- Fixed bug that freopen cannot reopen std stream
- Fixed bug that pthread_mutex_unlock not schedule in PTHREAD_PRIO_PROTECT mode when lower the current task priority
- Fixed printf error when consolebuff is full.
* drivers
- Fixed proc info error when the card is inserted.
- Fixed bug that the timer with ID 0 is removed mistakenly when plug in the USB device.
- Fixed the problem that sd card distinguish cost too long time.
- Fixed the problem that the device rndis fails to read 165K data.
- Fixed the problem that cache operation in himci dma when addr or size is not cache line aligned.
* net
- Fixed bugs that system will dump when argc of CmdIperf params is NULL.
- Fixed getting wrong length of iperf params.
- Fixed bug that iperf can't print anything when -t & -n exsit at same time.
- Fixed bug that iperf can't print immediately when iperf run at tcp server mode.
- Fixed double lock bug in wpa reconnet interface.
* arch
- Add support lazy stack for cortex-m.
- Add support -mpush-pop compile option for risc-v
- Add common reset_vector.S for risc-v.
- Fixed bug that LOS_Panic cannot trigger exception immediately for riscv
- Add support nmi for risc-v.
* targets
- Add lowpower framework registration for hi3892 platform.
Huawei LiteOS V200R005C20B020 2021/01/25
Huawei LiteOS 5.1.0 rc2
----------
New Features
The following are some new features with this release.
* drivers
- Add support for hardware resource config of arm_sp804_timer to reduce size
- Add dual serial on usb
* fs
- Add little fs
* net
- Add self-developed iperf
* security
- Add mbedtls
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fixed infinite loop bug of interface wait_event_interruptible_timeout.
* drivers
- Fixed the problem that system run out of memory when the sending bandwidth of usb ethernet is too large.
- Fixed the problem that wifi device failed to transmit mass data.
- Fixed emmc direct read failure for the first time.
* kernel
- Fixed bug that memused command output is incorrect.
* lib
- Fixed bug that fread will be blocked when read from stdin.
* fs
- Fixed for performance degradation, change default age from 8 to 96 and provides configurable settings.
- Fixed the problem that deadlock of opendir and sd detach.
- Fixed the problem of incorrect extension filename for fatfs.
* tools
- Fixed bug that dynload module compilation failed when use Python3.
Huawei LiteOS V200R005C20B011 2020/12/30
Huawei LiteOS 5.1.0 rc1
----------
New Features
The following are some new features with this release.
* drivers
- Move drivers of targets to Huawei_LiteOS/drivers
* arch
- Supported mmu for arm64
* targets
- Supported Hi3892_app Platform
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fixed the bug that cannot regist drivers after regist a unsupported driver
* kernel
- Decouple the event module with task module.
- Fixed bug that hwi devid display error in shell
- Changed timed pmu config period to >= 100us
* fs
- Fixed file lost bug when card is removed before umount
- Fixed memory leak bug when close file failed for the sd card is removed.
- Fixed bug that mistakenly deleting an existing directory after the mount fails.
- Fixed resource leak bug in func vfat_check_path
- Fixed bug that fs read and write crashes when the card is repeatedly inserted and removed.
- Fixed bug that failed to mount nfs when restart frequently.
* lib
- Fixed the problem that the fread performance is worse than read.
* doc
- Added lwip developer guide.
* drivers
- Fixed bug that print abnromal voltage info after insert sd card
- Disable the card detection interrupt and add the polling detection function.
- Fixed the problem that the emmc can not recognize
- Fixed resource leak bug in func video_close
- Fixed bug that cannot register again after failed to register a device
- Fixed bug that can not recog hi3861L sdio.
- Fixed the problem that format a host u disk with option 8 cause system abnormality.
- Fixed the problem that the sd card can not detect when power up and power donw frequently during reading and writing.
- Rename config AMBA_PL011 to ARM_PL011
* shell
- Rename full shell to shell
* tools
- Supported deleting lib patch files in mklibversion.sh
- Supported config recursive function depth for stackusage tool
* arch
- Fixed backtrace error in risc-v
- Fixed bug that instr patch with pco == 0, and literal patch is not work on riscv platform
* targets
- Remove duplicate compilation options.
- Add 4bits wide and 8bits wides upport.
- Delete unused files in targets/pm
Huawei LiteOS V200R005C10B043 2020/11/17
Huawei LiteOS 5.0.0
----------
New Features
The following are some new features with this release.
* kernel
- Support task resource recycle after exit
- Support LMS feature
- Support lowpower feature
- Support user static stack
* fs
- Update Nuttx from 7.14 to 8.2
- Update Freebsd from 11.3 to 11.4
* lib
- Add optimized assembly implementation of memcmp memset for arm-v7 platform
- Add fseeko64 support for musl
- Add self-dev setjmp/longjmp for risc-v platform
- Add self-dev memcpy strcmp memset for riscv platform
- Add self-dev strnstr
* drivers
- Update Freebsd from 11.3 to 11.4
- Enable the USB protocol layer supports the OHCI protocol.
- Add usb host_hid driver
* shell
- Support shell without vfs, including:
1. add CONSOLE menuconfig, shell can choose INPUT from console or uart.
(uart can be chosen whether vfs is on/off)
2. support CONSOLE and vfs turned off. necessary dependancy added.
* build
- Building system optimization:
1. add envsetup.sh (environment setup) for module building
2. sort CC/CXX compile flags, it's now easier to add new compilers
3. support top-level building script
- Support new compilers : riscv32-unknown-elf, arm-none-eabi
- Add module building scripits for musl libc
- Add new compiler optimize options : -freg-struct-return -funsigned-char -pipe
- Add new compiler warning options : -Wformat=2 -Wtrampolines
- Support rom building template
* tools
- Add stackusage tool which calculats the worst-case stack usage of the tasks by static anaysis.
- Add lib size analyzer script which can calculate each module's text/data/bss usage
- Add ipc debug/shell kconfig dependancy
- Add python kconfig lib support to parse kconfig files
- Python compatibility with python3 & python2
* arch
- Support Nx for cortex-m
- Support Nx for cortex-a 32bit
- Supports interrupt preemption.
- Support pmu for armv8 platform
- Support cortex-m
- Support fpb driver
* targets
- Change platform/bsp to targets
- Support new board hi3931
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fix header file include error
- Added file system isolation for __wake_up_x functions
- Use memcpy for copy_to/from_user func.
* kernel
- Fix mux debug config bug
- Fix buildmc warnings
- Fix dynload config bug
- Fix schedule lock error for cortex-m
- Remove duplicate code in OsQueueMailFree
- Fix print type unmatch error in LOS_SlabSizeCfg
- Add LOSCFG_BASE_CORE_TSK_DEFAULT_PRIO LOSCFG_BASE_CORE_TICK_PER_SECOND LOSCFG_BASE_CORE_TSK_MONITOR to menuconfig
- Fix memcpy size error in func realloc
- Add validity check in LOS_TaskCpuAffiSet(),prevent set affinity for system task
- Fix get taskid error in LOS_MemTaskIdGet for 64-bit platform
- Delete los_builddef.h
- Fix fuzz error for LOS_TaskDelete
- Add exc info for risc-v platform
- Delete notice of Export Control Law info
- Remove redundant nonstandard atomic APIs xchgByte xchg16bits
- Fix mutex error with invalid owner when operate a not created mutex
- Delete unused macro LOS_ERRNO_TSK_DELAY_IN_SWTMR_TSK
- Add index check for g_tidMask before use
- Add macro for get and set g_sysClock in los_tick.h
- Fix LOS_MemRealloc error when origin buf with align
- Fix LOS_SwtmrTimeGet error when use single-list
- Add callback func check before use in hwi
* fs
- Add the condition to judge whether the truncation length is negative
- Fixed the bcache block sync disorderly.
- Bugfix for mmc read operation out of range
- Bugfix for fatfs_fallocate failed when spcace is enough
- Set the correct capacity when first call statfs function.
- Bugfix for 1) readdir NFS3ERR_BAD_COOKIE 2) umount Invalid argument
- Bugfix for system dump cause by nfs invalid fd
* lib
- Fix memset access error with device attribute memory for arm-v7 platform
- Add LOSCFG_SUPPORT_LONG_DOUBLE isolation for libc
- Add _IOC_TYPE, max_align_, __s32 defination for musl
- Add memory check in memset.c
- Fix memory leak error in DoMqueueCreate
- Suppport %P format for strftime
- Revert the musl bugfix for linux readv syscall, this bugfix will influence the sd card performance.
* doc
- Add LMS to the document.
- Add trace in chapter 4.11 and 7.3.5.5.
- Remove lwip files and add nStack files.
* drivers
- Fix the problem of loading mass storage printing error.
- Fixed the problem that system enter exception when plugged sd card after unplugged.
- Fixed the problem that the UVC streams cannot be restored when unlock interrupt.
- Fixed the problem that system crashed when unplug umass device on hub device.
- Move usbd_set_device_info interface to file composite_open.c.
- Remove sys_config.h
- Fixed the problem that cmd timeout of mmc.
- Fixed the 4G device deadlock when ifconfig command execute.
- Change file los_magickey.h to magic.h
- Fixed the problem that the uvc data is not sent in time;
- Fixed the problem that the umass driver use mtx_lock before lock init.
- Disable the card detection interrupt and add the polling detection function.
* shell
- rename full shell to shell
* build
* tools
- Move LOSCFG_KERNEL_SCHED_STATISTICS to debug options
- Add exclude_path files for static check
* arch
- Change backtrace maxdepth from 15 to 100 for riscv
- Add param physAddr check for ArchRemapCached and ArchRemapNoCached
- Support fpb
- Fix dynload fail in arm64 platform
- Change fpu push stack using x2/x3 general reg
* targets
- Compatible with 3861l for the CIS is not standard.
- Fix all uart output will add extra "\r" before terminator "\n"
Huawei LiteOS V200R005C10B010 2020/07/25
Huawei LiteOS 5.0.0 rc1
----------
New Features
The following are some new features with this release.
* compat
- Replace bionic to musl.
* kernel
- Event module onetrack
- Semaphore module onetrack
- Task and Sched module onetrack
- Queue & Mutex & Mp module onetrack
- Swtmr module onetrack
- Ipc module onetrack
- Tick module onetrack
- Exc module onetrack
- Mem module onetrack, including:
1. mem stat optimize for each mem pool
2. decouple multipool for each mem algorithm
3. bestfit optimize code size in no-debug mode
- Modify LOSCFG_BASE_IPC_SEM_LIMIT to LOSCFG_BASE_IPC_QUEUE_LIMIT
* fs
- Update RAMFS from Nuttx 7.14 to Nuttx 8.2
- Add tfo_offset in tmpfs_file_s to record file offset
- Add check block status function in stat
- Support fsck fast check
* lib
- Replace bionic to musl.
* doc
- Add LWIP_NETIF_EXT_STATUS_CALLBACK feature.
- Use new huawei logo
* drivers
- Add me909 to usb_quirks and modify its driver_info to original edition
- Add interfaces to configure VID, PID, device release number and string descriptor information.
* tools
- Optimize build system
- Add v900_ivp project
- Added the menuconfig.h include in all files.
- Set the uart output enabled or disabled by menuconfig; when disable the usrt output, the
uart output from start can be cancelled.
* arch
- Manage platform/cpu folder, including:
1. rename platform/cpu into arch
2. separated arm64 folder for armv8a Aarch64
3. rename arm/arm into arm/cortex_a_r
4. rename arm/cortex-m into arm/cortex_m
- Add exception.c for every cpu, remove los_exc.c to kernel patch.
- Change tick module for onetrack
Bugfix
The following are some bug fixs with this release.
* kernel
- Fix realloc bug(just use realPtr to calculate the node addr, but not return it to user)
- Cancel limit in system task with block apis
- Fix params unmatch format error in func writeExcInfoToBuf
- Fix or reduce the risks scanned by the Veri-Hammer
- Delete redundant code and adjust print format under shell
- Remove "readreg" cmd
* fs
- Decouple libbcache.a from the macro CONFIG_FS_FAT_SECTOR_PER_BLOCK
- Fix realpath /dev/spinorblk0 failed error, return true if not managed by disk
- Decouple ramfs/jffs2 from the macro LOSCFG_KERNEL_SMP
- Relax the Fatfs limit
- Check the value of OsSdSync, do error handling logic if OsSdSync failed.
* lib
- Delete redundant header directory.
- Modify LITEOS__ to __LITEOS__.
- Support %P format for strftime.
* doc
- Modify chapter 5.5.2 device identify desc of Developer Guide;
- Modify chapter 3.9.3 Precautions;
- Modify API description of LOS_MemRealloc in los_memory.h;
- Add precautions of FAT and ROMFS file system. modify Dynamic Loading example code.
- Delete interface readreg.
* drivers
- Change DPRINTF to DPRINTFN
- Change the order of header file
- Fix the output of crc to be 2-bit
- Add bool is_nonremovable_card_plugged for sdio or emmc slots and use hardware detection judge for sd cards.
- Add error counter when there are bits MMC_CMD_ERRORS been set in cmd->resp or clear the counter when the card is removed.
- Delete the check of SBE_INT_STATUS error in interface himci_cmd_irq.
- Fix the issue of dropped frames in UVC.
- Fix the incorrct error message in bulk transfer mode.
- Fix the problem of virtual network port bridge failure.
- Change the length of packets received by the rndis to CONFIG_RNDIS_BULKOUT_REQLEN.
- The implementation principle of the drive controller is different, there is no need to call the EP_CANCEL interface.
- Fix load protocal error after unload protocla during data transmission
- Add event to block rndis_tx when udp transfer too fast
- Delete UQ_MSC_NO_TEST_UNIT_READY.
- Adjust the sequence of H264 and MJPEG format.
- Modify the bmaControls field of uvc.
- Fix the returned value of the USB protocol is inconsistent with the standard problem.
- The reason of the problem is that the unplugg interrupt bit is cleared by sdhci_do_reset, so check the card status before do sdhci_do_reset,
if the card is unplugged, not call sdhci_do_reset.
- Fix incorrect drive letter identify problem of multi-partition SD card.
- Add the sector start location of the partition.
- Adjust the loading sequence of U disk and SD card
* platform
- Do not free excinfo buffer.
- Added the interface sched_clock in compat/linux.
- Use variable instead of reading from cp15 reg, as cp15 reg not setting properly
- Modify console output by every single line
* shell
- Add a local var to store the val of strlen out of while.
- Codingstyle check and modification.
- Change var name **ID to **Id
* build
- Modify the compiler flag of c++.
* tools
- Close trace testcases temp
* net
- Enable TCP/UDP Port Randomization
- After init pcb, memset the pcb
* arch
- Add exception.c for every cpu, remove los_exc.c to kernel patch.
- Change tick module for onetrack
- Modify the PRINTK to PrintExcInfo, for the PRINTK called the lockdep check and lead dead lock.
- Fix “cplusplus” comments error.
- Push x18 reg when one irq occurs and pop x18 when one irq exits
Huawei LiteOS V200R003C00SPC400B801 2020/02/12
Huawei LiteOS 3.10.16
----------
Bug Fixs
The following are some bug fixs with this release.
* kernel
- recheck the muxStat before the print.
- Delete redundant comments.
* fs
- Fixed to support no valid partition sd.
* drivers
- [CSEC_Standard_Security] Rewrite code according to secure coding specifications.
- Modify the format string output and last 2 bits of cid.
- Modify win10 usb3.0 does not recognize UVC devices.
- In the cdcacm_serial_disconnect function, make the received_char flag zero.
* platform
- codestyle modification
- restore irq when create no shared irq
- Move the platform dependent mmu code to dir of directory bsp.
- support irq use standalone stack
* net
- rework the core locking around timers, lwip bug#52719
- fix ip6addr_aton function for check wrong format that a single address segment has more than four digits
- add LWIP_NETIF_EXT_STATUS_CALLBACK feature, so users may register extended netif status callback (NSC) funtions, which will inform the upper layer when netif being set up/down, IP addr/mask/gw being changed, etc.
netif_add_ext_callback / netif_remove_ext_callback functions for users to add / remove NSC listener;
netifapi_netif_add_ext_callback / netifapi_netif_remove_ext_callback interface;
rt netif_invoke_ext_callback function into netif status handler routines with event types declared as netif_nsc_reason_t.
* tools
- disable exc interation by default
Huawei LiteOS V200R003C00SPC400B006 2020/01/04
Huawei LiteOS 3.10.15
----------
Bug Fixs
The following are some bug fixs with this release.
* compat
- functions OsRemapCached prototype is error.
- Fix the problem that setting the format "Mar-5th-Sun 02:00:00" for DST(Daylight Saving Time).
* drivers
- update freeBSD to 11.3
- 1.Contant return 0 when detect sdio is present or not
2.Not set send_auto_stop bit when the device is sdio, for sdio not need the internally-generated auto stop command.
- invalidate cache of the buffer after dma has finished the transfter in case there's dirty data on the cache.
* platform
- avoid Loop call in the OsVprintf.
* net
- fix compile warning
- When udp_connect is called with the pcb locally bound to IP_ANY, bind the pcb to the interface which routes to the connected remote address.
Huawei LiteOS V200R003C00SPC400B005 2019/12/27
Huawei LiteOS 3.10.14
----------
Bug Fixs
The following are some bug fixs with this release.
* kernel
- Bug fixed: an exception occurrs in mutex module when a task priority restored.
* fs
- Support more partitions for mobile hard disk.
- Bug fixed when writing virtual partition and root partition at the same time.
- Fix resource leaks in the exception branch.
* lib
- del #define ANDROID and #undef ANDROID in securecutil.c, add wctomb.c in libc.
- add FUNLOCKFILE(fp) in fgets_unlocked().
* drivers
- [CSEC_Standard_Security] Rewrite the code accroding to company coding standard.
- Support brightness or sharpness attribute adjustment.
* platform
- add ioctl CONSOLE_CONTROL_CAPTURE_LINE and CONSOLE_CONTROL_CAPTURE_CHAR to the
console to get one char or one line when console was captured.
* net
- deinit sys_new_free sem->sem and is_dup_detect_initialized/is_ip_conflict_signal
- 1,delete some etharp functions;
2,delete some igmp functions;
3,delete lwip_sntp_stop function
4,add void to omit the return value of atomic_set;
5,add formal comments for some netifapi_netif_xxx functions;
6,replace LOSCFG_ARCH_ARM_AARCH64 with __LP64__ for 64bit arch;
- fix compile warning
* tools
- Update the compiler from arm-himix100-linux to arm-himix400-linux.
Huawei LiteOS V200R003C00SPC400B003 2019/12/16
Huawei LiteOS 3.10.13
----------
New Features
The following are some new features with this release.
* compat
- sync mainline base compat/cmsis csec modify code
* fs
- modify to clear codedex.
- update FatFs version to R0.13c
* drivers
- modify the macro of aarch64.
- usb csec rewrite.
* platform
- delete "armv7a" info
* shell
- fix shell codestyle
* tools
- sync mainline scripts
Bug Fixs
The following are some bug fixs with this release.
* compat
- use spinlock to ensure atomicity of the hrtimer interface.
* fs
- change spin_lock to spin_lock_irqsave for fs_poll.c to avoid double_lock.
* drivers
- write event once when needed in the end of mmc interrupt.
* platform
- modify macro redundant parentheses
- fix codestyle warnings
- Add precompiled check with MMZ_MEM_BASE and Optimize MMZ secondary page tables size
* shell
- drivers code sync.
* net
- 1,add DHCP6_STATUS_UNSPECFAIL handle in dhcp6 reply message;
- 1,refortor TCP TLP, include following changes:
a)use 100ms as initial SRTT value to trigger TLP if no valid RTT sample.
b)stop RTO timer if PTO timer has already been scheduled.
c)delete tlp_prob_state and tlp_pto_trigger_interval, use tlp_time_stamp as the PTO
in-progressing indication. If tlp_time_stamp is not 0, it means PTO already scheduled.
d)still schedule PTO if TCP congestion in Open or Disorder state. This violates the
statement in "draft-dukkipati-tcpm-tcp-loss-probe-01.txt", which says PTO can only be
scheduled in Open state.
e)RTO is rearmed if FR happened or PTO has already fired TCP_TLP_MAX_PROBE_CNT times.
f)During ACK processing, re-schedule PTO after calculating new SRTT, not before.
2, RTT and RTO changes:
a)change RTT granularity from 200ms to 10ms(system tick)
b)implement RFC6298 section 2.2, how to calculate RTO value for 1st RTT sample.
c)init pcb->sa to -1 to indicate there is no valid RTT sample now.
d)change TCP_MAXRTX from 12 to 15, which equals tcp_retries2 in Linux;
e)change TCP_FW1MAXRTX from 15 to 8, which equals tcp_orphan_retries in Linux
- 1, descrese the default TCP_MSS from 1460 to 1400;
2, add support for TCP_MAXSEG option;
3, delete TCP_KEEPALIVE option;
- free internal resource bofore the function raw_sendto retur
Huawei LiteOS V200R003C00SPC400B001 2019/11/30
Huawei LiteOS 3.10.12
----------
New Features
The following are some new features with this release.
* kernel
- codestyle modifications
* fs
- cleancode
* drivers
- Add to supports hanging on the virtual fat file system on the memory medium.
- Add HID protocol features.
- Add to support host uvc.
* compat
- codestyle and pclint-plus bugfix.
* platform
- sync code from mainline
- support 32bit and 64bit atomic apis on both arm and arm64.
* shell
- fix shell codestyle
* tools
- Remove ununsed files: LiteOS_trace32, trace32, win etc.
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fix typedef error for spinlock_t when SMP is disabled.
* drivers
- Delete the action of statically setting the baud rate,
and get the latest configuration from the host in real time.
* platform
- Add consoleCB to console-filep-f_priv when is freopen.
* shell
- optimization compiler options and clear compiler warning
Huawei LiteOS V200R003C00B091 2019/11/08
Huawei LiteOS 3.10.11
----------
New Features
The following are some new features with this release.
* compat
- sync mainline base compat/cmsis csec modify code
* fs
- fix pclint
* platform
- sync the code from Mainline accroding to company coding standard.
* tools
- enable kernel supported debug options
- Fix the code style.
- Modify to do not delete usb files.
Bug Fixs
The following are some bug fixs with this release.
* kernel
- return error code when param check failed
- Add a lookup for each core's swtmrSortLink when adding delay tasks.
- Bugfix in 'task' command: system crashes when getting waterline of a just deleted task.
* fs
- add sem_init() for spinor flash branch when mounting romfs
* doc
- Add error code to return in event api
* drivers
- Add a buffer to store messages.
- remove the clock configration when there is no card in the slot
* platform
- fix arm generic timer underflow in HalClockGetTickTimerCycles
- using lockdep to release spinlocks in exceptions
- Solve the behavior of the SerialClose interface to release the file operation function.
* shell
- code line width, comment.
* tools
- support irq stack
- add hcc 64 compiler support
- bugfixed, enable node head back debug
Huawei LiteOS V200R003C00SPC300B001 2019/10/18
Huawei LiteOS 3.10.10
----------
Bug Fixs
The following are some bug fixs with this release.
* compat
- fix mqueue concurrent issues
- bugfix for pthread_cond_destroy,sem_destroy,timer_settime
* kernel
- Delete the ostickinit function.
- Fix the problem of pthread_cond.
* fs
- The emmc partition does not need to add the partition start sector, because it will be added in the los_part_read/write function.
* drivers
- Replace the spinlock with the atomic operation of USB serial.
* platform
- printf and PRINTK called in the same time is out of order.
- 1. enable NULL pointer protection
2. fix NULL pointer access
- Modify to add register base.
- add arch_config.h as assembly header file
* net
- Bugfix in DNS and rDNS:
1. Add output parameter 'count' in reverse_dns_found_callback to indicate errno.
2. Fix bugs in Round Robin Scheduling to find next available backup servers.
3. Behavior changed: if no answer extracted from a reply, continue to query next
DNS server and this server will be ignored in this transaction.
* tools
- fix compile failure when shell is disabled
Huawei LiteOS V200R003C00B081 2019/10/12
Huawei LiteOS 3.10.9
----------
New Features
The following are some new features with this release.
* compat
- Modify CSEC problem.
* fs
- bind the gc thread and the write thread to the same core
* platform
- adapt getentropy interface and use FreeBSD pseudo-random algorithm
- clean warnings with compiler option -Wall
- move scheduler macro to private header file and sort system init sequence
- related files in kernel, platform.
* drivers
- Support virtual serial function of SMP.
- Dfu protocol based on nuttx framework compliance rectification.
- Rndis protocol based on nuttx framework compliance rectification.
Bug Fixs
The following are some bug fixs with this release.
* fs
- modify the fourth parameter of memcpy_s to avoid memory out of bounds
- rename Memory overwriting occurs
- The source path of 'cp' command supports the wildcard characters '?' and '*'.
- delete the temporary device node such as '/dev/tmpxxx'
- When BlockRead() fails, the cache block should be deleted from the original LinkedList, and then inserted into the new LinkedList.
* platform
- print in the exc is out of order
- modify calculation of exc and svc stack pointer
- modify file name and marco
- fix leaf func fp to get the right backtrace
- modify platform/bsp/Makefile
* net
- Optimize lwIP-2.0 for SMP: use spinlock to protect lwIP instead of mutex(semphore).
- there are three cases make the isRouter flag to
1) new router entry added when Router Advertisement received;
2) update neighbor cache entry when Neighbor Advertisement received and the router flag in NA is 1;
3) update neigbor cache entry when Redirect message received and the target address not equals the destination address (which means the target address was one
Router) The last two cases was removed, so the only case to set the isRouter flag of neigbore cache to 1 is add new router entry when processing the RA message.
Huawei LiteOS V200R003C00B075 2019/09/23
Huawei LiteOS 3.10.8
----------
New Features
The following are some new features with this release.
* kernel
- sync kernel from mainline
- 1. support gc for collecting unfinished task deletion
2. also add sync task deletion options
- reacquire the cycle when handling other core's running task
to prevent flip
* lib
- Modify code accroding to bionic coding standard
- add pthread np affinity api support
* platform
- Change file mode from 755 to 644.
- move los_sched_clock implementation to hw/hisoc/timer
- add excstack check
- Add init for hrtime.
- add LOS_SpinTrylock support for arm/arm64
- add smp supprot for tickless
* shell
- Fix the code style.
- memset to memset_
* net
- Change the lwip checksum implementation from linux to freebsd.
* tools
- Add the python script fil
- add los_trace.c and los_trace_pri.h, los_trace.h file
- CPU interface will signaling a higher priority interrupts
to a target PE before an active interrupt completes
Bug Fixs
The following are some bug fixs with this release.
* compat
- Modify implementation of timer for competitive state
- Add the function to recycle resource for completion
- Fix the problem of sem_trywait, maybe cause wait forever
- time support smp
* fs
- NFS adds separate macros to control precompilation
- Fix fs_poll for SMP: use the wait_queue.spinlock_t to protect socket->wq instead of taskLock and intLock.
- Add a judgment on the return value of sem_init() in ramfs
- Modify the index of readdir() in ramfs, to fix the bug that use 'rm -r /ramfs' command to remove all files and directories in /ramfs, some files or directories cannot be removed.
* doc
- Add new precautions for RAMFS, scatter loading and run-stop in developer guide
* platform
- change lock in the sem command and cant support output by the telnet in the sched lock
- add imu project
- Fix the fault status mask.
* shell
- Fix the parameters check of the watchg command.
* net
- Fix setsockopt for IP_TTL/IPV6_MULTICAST_HOPS/IPV6_UNICAST_HOPS:
optval is checked as int not u8_t: [-1, 255] is valid, -1 means using kernel default value.
Huawei LiteOS V200R003C00B067 2019/08/26
Huawei LiteOS 3.10.7
----------
New Features
The following are some new features with this release.
* lib
- Update libsec to version V100R001C01SPC009B003. Notice: macro ANDRIOD is defined and undefined src/securecutil.c in order to include wctomb() and undef SECUREC_ENABLE_WCHAR_FUNC in src/secureinput_w.c and src/secureprintoutput_w.c first in order to fix redefined problem from #include <wchar.h>.
* drivers
- Modifying the location of global variable definitions in mtd_list.h.
* shell
- gic-v2 codestyle modification
* tools
- Add compilation options -fstack-protector-strong.
- add error type and debug info to lockdep
- cortex-a53 run on EL3
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fix the problem of sem_trywait.
* kernel
- malloc a block of memory (33KB) to keep task info accurately.
- After the 1 core wakes up, add the interrupt initialization function and OsTickStart function
- init task's cpup in LOS_TaskCreateOnly
* drivers
- Interface local variables are not const processed.
* platform
- do the suprious irq check at the start of OsInterrupt
- Delete redundant code.
- sync network drivers from Camera.
* net
- use clock_gettime with CLOCK_MONOTONIC_RAW clock to calculate RTT.
- use clock_gettime with CLOCK_MONOTONIC_RAW clock to calculate RTT.
- 1,mark the ARP cache added by "arp" shell cmd was static, which state
was ETHARP_STATE_STATIC;
2,add one "Type" field when show arp cache by "arp" shell cmd to indicate
whether the ARP cache was "static" or "dynamic"
3,The etharp_delete_arp_entry API could delete all ARP cache, not only dynamic.
4,fix one compile error if LWIP_DHCPS disabled while LWIP_DHCP enabled.
- Decouple TCP send buffer and window scale to allow the send buffer could be set
to greater than 64K even TCP window scale disabled
- Bugfix in lwIP2.0:
1. Fix NETCONN_TYPE for AF_PACKET sockets.
2. Fix IPv6 source selection for reserved global scope dest addresses.
3. Fix ip4_route to exclude netif whose netmask is ANY.
Huawei LiteOS V200R003C00B063 2019/08/09
Huawei LiteOS 3.10.6
----------
New Features
The following are some new features with this release.
* kernel
- Added the testcase of memory debug.
- Add runstop feature.
* fs
- sync mainline code to smp
* lib
- libm update to bionic9 in __LP64__.
Bug Fixs
The following are some bug fixs with this release.
* compat
- Modify the implementation of pthread_mutex_unlock.
* fs
- fix the compilation failure when CONFIG_JFFS2_FS_DEBUG is set to 1
- increase the buffer size of a single copy when using 'cp' command, changing from 512 bytes to 4096 bytes
- Support to use 'partition' command to view the nor flash partition info which romfs mounted
- NFS mount path restrictions are consistent with the VFS layer, returning ENAMETOOLONG error codes if the path is too long.
* lib
- fix basename compile error.
- fix decoupling problem.
- libc update to bionic9.
* doc
- Add spinlock section in developer guide and api reference. Also add apis for multi kernel in task, interrupt, event, mutex and semphore in developer guide.
- Modify shell command of ifconfig to config IPv6 address.
- Delete pppoe in developer guide.
* drivers
- Modify init flag of host rndis mutex lock.
- Modify to add lock protection and hook release lock.
- add the mode change API when we unload the dfu.
- Camera protocol supports ISOC mode to support pause playback.
* platform
- Delete the PRINT_INFO function.
- pop fpu regs after OsSchedPreempt
- filter invalid interrupts including spurious one
- Update version info: suffix '-SMP' added.
* shell
- modify the compile files from absolute to relative path
- Fix the reentry problem that exists in the date command.
* net
- Bugfix in telnet:
1. Use a unique mutex to protect telnet device and fds.
2. Protect telnet device in filep when open and close telnet device.
- remove lwIP-1.4 from SMP.
* tools
- Fix to update default config.
- move iperf and pcap(tcpdump) to 3rdParty.
Huawei LiteOS V200R003C00B120 2019/06/26
Huawei LiteOS 3.10.5
----------
New Features
The following are some new features with this release.
* kernel
- Add SMP support for dynload
* drivers
- Add emmc support for the 56v200 platform
Bug Fixs
The following are some bug fixs with this release.
* kernel
- fix swtmr search on the wrong sortlink
* fs
- Fixed the compilation problem caused by multiple definition of 'stat'
- cancel the limitation of file name and directory name length in ramfs
- Fix the bug that under the innermost folder with a path length of 260, use the 'cd ..' command to return to the superior directory will print error message 'File name too long'.
- Add mutex lock for multi partition
* lib
- fix compile warnings.
* net
- fix to clear codedex.
* platform
- change the register address to make it right.
- use PRINT_RELEASE instead of PRINTK when system booting
* drivers
- Fix to clear compile warning of usb driver.
* tools
- modify Makefile, objdump use -d
- romove obsolete boards and configs
Huawei LiteOS V200R003C00B105 2019/06/15
Huawei LiteOS 3.10.4
----------
New Features
The following are some new features with this release.
* kernel
- Support linux-like spinlocks.
* platform
- Added SMP support for mmu, cache enabled.
- Sync memory init procedure with mainline.
* lib
- libc/libm update to bionic9.
* fs
- Sync the mainline CSEC code to smp branch.
- Add SMP support for vfs.
- Add SMP support for proc/ramfs.
- Add SMP support for romfs/jffs2/yaffs2.
- Add SMP support for fat.
- Add SMP support for nfs.
* drivers
- Add SMP support for USB, including:
1. device serial
2. device rndis
3. device mass
4. camera protocal
- Add sd driver support
Bug Fixs
The following are some bug fixs with this release.
* compat
- sync mainline bugfix
* kernel
- set timeslice only when old slice's been used up
- add checks that task->usCpuAffiMask and current cpu id for smp in osPriqueueSize.
* platform
- Modify the stacksize of idle task.
- 1. set current cpu flag before osStartToRun, to prevent first task self deletion failed
2. fix arm dispatch LR is rewriten bug
Huawei LiteOS V200R003C00B104 2019/05/28
Huawei LiteOS 3.10.3
----------
New Features
The following are some new features with this release.
* compat
- Add SMP support for compat/linux
* kernel
- Add SMP support for cpup
- Add err print when task schedule in spinlock
* drivers
- Synchronize the mainline to the smp branch, add smp support.
- Add usb to ethernet support
* net
- Add SMP support for lwip2.0
* shell
- Add SMP support for shell and telnet.
Bug Fixs
The following are some bug fixs with this release.
* compat
- remove redundant task unlock in phread_create
Huawei LiteOS V200R003C00B103 2019/05/15
Huawei LiteOS 3.1.2
----------
New Features
The following are some new features with this release.
* compat
- Add SMP support for compat/posix
* kernel
- Add SMP support for C++ and scatter
Bug Fixs
The following are some bug fixs with this release.
* kernel
- Fix system crash when suspend and resume same task in interrupt.
- Use signal to process deletion of running task in irq.
- Adjust location of spinlock in LOS_TaskResume for SMP safe.
- Adjust location of OS_INT_ACTIVE in LOS_SemPend.
- Return failed when yield when task locked.
- Fix setting another core's task's affinity won't trigger schedule.
- Clear event id in LOS_EventDestroy.
* platform
- Save fpscr and fpexc when task schedule
Huawei LiteOS V200R003C00B100 2019/03/30
Huawei LiteOS 3.10.1
----------
New Features
The following are some new features with this release.
* kernel
- Add Symmetric multiprocessing(SMP) support, along with related mechanisms such as spinlock,
inter-processor schedule, task cpu affinity set and etc..
- Add 'sched' module to support different algorithms.
* platform
- Add ipi and irq affinity support to gic version 2.
- Add mutiproccessing low-level context switch support.
- Use arm generic timer driver as system tick.
Huawei LiteOS V200R002C00SPC030B011 2019/01/30
Huawei LiteOS 3.1.5
----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* fs
- add set_max_dir_entry() to configure the maximum number of entries scanned by scandir()
- when the first sector is DBR instead of MBR, it is considered that sd card has only one partition
- delete unnecessary print information
* lib
- Fix the problem of Mutex deadlock check after sealing.
* doc
- Modify 7.4 memory debugging. Add 7.5 deadlock debugging.
* drivers
- Fix the problem that the USB cable is plugged in during the playback of the UAC module or the resolution is switched,
causing the serial port to be stuck and the device cannot be recognized.
* shell
- Fix the command history function.
- Fix the problem of console id coupling.
* net
- sync lwip community bugfix #bug54506 to lwip-1.4
- sync lwip community bugfix #bug50498 to lwip-1.4
- add netif comparision when update or searching ARP cache. The netif of the pending ARP cache (etharp_entry->netif) must be the one recved ARP packet.
* tools
- Fix the config of hi3556a after sealing.
- make lib for lwip2.0.
- close romfs testsuit
- delete the platform of hi3911 and him5v100.
- Add Magickey switch notification log and change the switch key for ctrl+r
Huawei LiteOS V200R001C10SPC900B020 2019/01/18
Huawei LiteOS 3.1.4
----------
New Features
The following are some new features with this release.
* kernel
- Add more help info for used queue.
* platform
- Add to print FAR and FSR info in the exception
- Added the time cost of hwi.
- Add the telnet poll function.
* net
- add serval functions,add macro definition in lwipopts.h
- 1. Fixed Invalid sequence validation
2. Added validation for sntp_pcb, if not valid, dns gethostname timeout might not proceed with sntp functionality
3. Fixed codedex dead code
4. Updated DEBUG FLAGs
5. NETIF->IPV6_ADDR_EVENT_CB in Netif_ Add when set to NULL, if the driver needs to get Dad message, through an API to register their own event CB (added after the new interface),
* tools
- Fix the mklibversion.sh to support yaffs2 lib.
- Support deadlock detection mechanism.
- Fixed the mklibversion.sh to rm the source files in platform/cpu/arm/arm-a/common
- add magic key feature
- update test code and script
Bug Fixs
The following are some bug fixs with this release.
* compat
- Fix the problem of undef LOS_AtomicCmpXchg32bi when calling __kernel_cmpxchg in hi3516ev200.
* kernel
- check the validity of the pointer before operate it.
* fs
- After the network disconnects, NFS has a data exception and some interface return values do not match the VFS layer.
- add judgment of null pointer
* lib
- add the verification of fd.
* doc
- Modify atomic sample.
- Add lwip-2.0 developer guide in zh. Update support core in developer guide and faq.
* drivers
- Solve the compatibility problem when the usb device protocol is connected to win7/win10.
* platform
- modify the arg of security function
- delete unused perf function in the IrqHdl for avoiding the complier warning.
* shell
- add judgment of null pointer
- the shell_cb alloced from the mempool is initialed to zero.
- every command written by the shellEntry in the list and read everyone in the shellTask.
* tools
- 64-bit A53 needs to enable floating point function by default, delete compile option LOSCFG_AARCH64_FPU
- delete chinese words in the comment.
Huawei LiteOS V200R002C00SPC020B030 2019/01/05
Huawei LiteOS 3.1.3
----------
New Features
The following are some new features with this release.
* fs
- modify unsafe functions
* net
- 1.rename lwipopts_original.h to lwipopts_linux.h
* tools
- Added the configuration item LOSCFG_MEM_DEBUG to manage the debug items of mem.
Bug Fixs
The following are some bug fixs with this release.
* lib
- Duplicate header files in lib.
* drivers
- Fix memory leaks and other issues.
* shell
- fix log level command without num happend panic bug
* net
- delete the NULL address access
* tools
- revert configurable source in libxx.a
Huawei LiteOS V200R002C00SPC020B020 2018/12/29
Huawei LiteOS 3.1.2
----------
New Features
The following are some new features with this release.
* compat
- Added configuration macro to workqueue support priority. Default not support.
* kernel
- Add used mutexs resource checking.
- Add unique ID for a period of time in mutex\sem\queue
* drivers
- Fix to clear usb codedex.
* shell
- Secure functions rectification.
* tools
- Adjust the order of the output and added excptrion output log.
- 1.fix pcap for lwip-2.0
Bug Fixs
The following are some bug fixs with this release.
* drivers
- trigger host side to refresh the device listafter the USB device is uninstalled.
- fixed failure of virtual network on 16ev200
- Fix the problem that UVC3.0 docking win7 can't open video.
- Fix to the bug that usb2net can not link network automatically when plugging in network cable.
* platform
- modify the driver so that it can fit codeDEX protocols.
- Modify the priority of task serialentrytask and TelnetEntryTask from 30 to 9.
- fixed virtual U disk recognition failure of USB3.0
- Process optimization of USB virtual serial port unloading
- Added the NULL pointer protect.The system will enter exception when access the address 0 ~ 1M(32bit platform) or 0~2M(64bit platform).
* shell
- free "pstCmdtmp" in shellKeyDeInit;
- make the console ID of cat task inherit parent task.
* net
- Added support RFC 6582 (New Reno),
RFC 5681 - Added support for Partial Ack - Retransmission timer reset only for first Partial ACK
- In FAST recovery phase, window updation uses calculation specified by RFC 6582, doesnt bother about RFC 5681
- While exiting Fast Recovery phase, window updation uses --> min (ssthresh, max(FlightSize, SMSS) + SMSS)
- Implements impatient version, MAX duration of FAST RECOVERY phase is limited to RTO duration, if it exceeds RTO will take over.
- For a window, FAST RECOVERY phase is only once
- Fixed: Update window deflation and inflation calculation in case of Partial ACK. Fixes non compliant window updation from RFC 5681
- In case of RTO, ssthresh updation is still non compliant, ssthresh is limited to 8 * SMSS
- Initial window configuration removed - During congestion avoidance phase, Actual bytes ACKED are used instead of complete MSS value(earlier which was done irrespective of bytes ACKED)
- When DUPACKs are received, new packets are send out with calculation of min(cwnd+2, sndwnd)
- After RTO, cwnd reduces to Intial Window(i.e. 3 * SMSS) instead of Recovery Window( 2 * SMSS).
Scenario fixed: Lower of recv MSS and send MSS is used In slow start phase, irrespective of DATA acked, window is updated by MAX of 2* SMSS,
and 1 * SMSS if packets were retransmitted after RTO If IDLE connection resumes, stack might send burst packet data transfer,
doesnt implement MAXBURST calculation Fixed initial fast_recover value. Corrected Timer backoff
- fix a scenario when rttest depends on nrtx, now it uses snd_nxt to identify if packet is being retransmitted
- Check if the sem is valid before sem->sem to avoid NULL address access. By the way, 1. add a blank space for vpp version macro, 2. do not allow kill the same priority tcp connection because we only have one priority for all, which means we do not support priority.
* tools
- update drivers and platform to bvt version.
Huawei LiteOS V200R002C00SPC020B010 2018/12/19
Huawei LiteOS 3.1.1
----------
New Features
The following are some new features with this release.
* drivers
- Add bch module in vfs and modify the mmc driver.
- Update the FreeBSD version to 11.2
* platform
- pclint mask div warning
* shell
- replace security function in shell
* net
- Realize RFC-5827 ER-->Fast retransmission does not work if congestion window is smaller than DUPACK Threshold. RFC 5825/Section 3.2. Segment-Based Early Retransmit/Implemented for both cases: without-SACK and with-SACK support option.
* tools
- Add compiling option for debug version.
Bug Fixs
The following are some bug fixs with this release.
* compat
- Modify the return value of unsupported functions.
* fs
- fixed review comments of proc
- consume much time when unlink a directory
* doc
- Add new doc of FAQ, and fix bugs of lwip developer guide.
- Update lwip api reference.
* net
- pass through hostname checking when parsing DNS Answers
- Do not set errno or socket->err to 0 when no error occurs.
- 1,free TCP PCB resource when closing CLOSE_WAIT TCP socket while received data is still pending
2,set return value before invoke sys_sem_signal to wake up the sntp task.
- destory the condition 6. If there was no SACK block reserved when the last unsent segment created. no SACK block would be added
when replenish the unsent segment. so the tcp_write Phase-2 was NOT running.
- elimate the NULL address access
- 1. Bug in DHCP Option parsing - If there are multiple IPs in a single option, while processing DNS_SERVER option in DHCP packet, there is a parsing issue, and stores garbage data in second IP onwards.
2. If DHCP packet has unwanted option -i.e.Requested IP Address ( #define DHCP_OPTION_REQUESTED_IP 50 /* RFC 2132 9.1, requested IP_add */)-though this packet shouldn't be present in any packet along with DNS sever option. If present similar issue may happen where second IP may be ignored.
Huawei LiteOS V200R001C10SPC900B011 2018/12/08
Huawei LiteOS 3.1.0
----------
New Features
The following are some new features with this release.
* fs
- Fix to clear pclint.
* drivers
- Add the Nuttx FB.
- support host rndis
* platform
- modify the sd driver which is sdhci and the platform info.
* net
- add netifapi for set/get VCI information:
1. add netifapi:
err_t netifapi_set_vci(char *vci, u8_t vci_len);
err_t netifapi_get_vci(char *vci, u8_t *vci_len);
2. dhcp message will carry VCI information if length of VCI is greater than 0.
3. maxlen of VCI which to be setted is 32.
- Fixes
1. Change the lower RTO bound to 200ms.
2. RTO timer use the exponentially backoff.
3. RTO minimum value is limited to 2, hence, minimum RTO duration will vary from 200-400ms.
4. For RTT estimate, 100ms timer is used, hence better precision but not best. (This does not fix RTO calculation issues with VJ Algorithm)
5. Dup Ack and seg information are reset after RTO. So, SACK after RTO will lead to FR.
6. Retransmission count nrtx not incremented for Fast retransmitted packets.
- implement a ip filter function register function in netifapi.c, and add call for filter function in ip_input.
* tools
- Support Hi3516EV200 platform.
- Add bch module in vfs and modify the mmc driver.
Bug Fixs
The following are some bug fixs with this release.
* compat
- Modify mq_receive and mq_timedreceive to support parameter "msg_prio" non empty input.
- Fix the macro(DECLARE_WAIT_QUEUE_HEAD) that do not initialize the linked list.
* kernel
- DFX,add TaskEntryAddr row in task show list
* fs
- modify position of DISK_UNLOCK() to avoid deadlock
- deleted inode_remove() in unlink() when the node is a device node
- add debug log in vfs where needed
- modify the same comment as rt-thread in fat
* lib
- Delete stddef.h, Use that file in compilers.
* drivers
- Fix to clear the pclint of usb driver.
- fixed review of usb
- Fix to the bug that uac device is connected to the PC, plugged in during audio test, unable to recover sound.
* platform
- Set MMU Xn to avoid the speculative execution.
- Stored the Running task stack point when system exceptions
- Added memory barrier in interfaces read and write memory.
- Modify the defination of isb and dmb.
- HW_LITEOS_VER replace for VER
- Fix the pclint problem, optimize the division in the mmu config, and code review
* shell
- Clear the memory for recording exception information.
* net
- Check null pointer in setsockopt and getsockopt. If tcp pcb pointer is null, return ECONNRESET.
- (1)In function netconn_gethostname, in order to avoid the variable err was overwritten, add variable ret to get the return value of tcpip_callback, and judge the value of err and ret at returning.(2)In function lwip_ioctl, judge the value of callback_err and data.err at returning.
- 1 Add command to display debug info.
(1-1) Add "netdebug memp {-i | -d <type> | -udp | -tcp | -raw |-conn}" command to display memp info.
(1-2) Add "netdebug sock {-i | -d <idx>}" command to display socket info.
2 netsstat show recvQ of listen socket, which counts the case where the socket completes the three-way handshake but does not accept.
3 Print lwIP version at tcpip_init. The format is VPP version plus compilation data and time.
- 1. add null check for lwip_send_internal,netifapi_autoip_stop.
2. delete the duplicate null check for netif_set_link_callback.
- change to the err set and sys_sem_signal to correct sntp_msg in sntp_init.
- add function fature state in sockets.h
- Add pending_rst flag to keep track of RST status. Read operation should fetch data based on this flag if fatal error happens. At the end it should be reset again if no more data is left.
- 1. Modify send/sendto functions to support MSG_NOSIGNAL flags. 2. Declare supported flags used in send/recv functions.
- Fix lwIP API description, including typo, parameter/function description, etc.
- fix what listed above
1. when call netifapi_dhcp_cleanup(), it will tell if there is need to call dhcp_stop() before free dhcp.
2. clear address, netmask and gateway of netif when calling dhcp_start().
3. when create Release message, fill the IP address of netif into Client IP address of Release message.
4. other modification :
when calling dhcp_stop(), it will try to call dhcp_release().
Release message only be sent when DHCP supplied netif->ip_addr (states BOUND or RENEWING or REBINDING) and will carry OPTION_SERVER_ID.
when calling dhcp_release(), it will stop the timer for T1 and T2.
there is no need to retransmit Release message.
- comments optimization:
1. some comments align.
2. misspellings of comments for parameter servname of function lwip_freeaddrinfo.
3. make API netif_set_status_callback and netif_set_remove_callback are not open to development manual.
4. other comments optimization for netifapi.h
- fix codedex problems: check if NULL reference.
- remove NULL address access
- remove the default DNS server setting, make domain address resolve failed if user not configure DNS server by themselves
- fix above issue by elimating the NULL address access
* tools
- 1.set the exception vector at low addr 0x0 and set the mem 0~1M readonly when the LOSCFG_ZERO_PROTECT was not set.
2.set the exception vector at high addr 0xffff0000 and set the mem 0~1M no access when the LOSCFG_ZERO_PROTECT was set.
- Fix to use command(usb_debug) to control print level
- fixed usb config of 56a
Huawei LiteOS V200R002C10SPC900B010 2018/11/27
Huawei LiteOS 3.0.9
-----------
Bug Fixs
The following are some bug fixs with this release.
* tools:
- Update the ReleaseNotes.
Huawei LiteOS V200R002C00B070 2018/09/29
Huawei LiteOS 3.0.8
-----------
Bug Fixs
The following are some bug fixs with this release.
* tools:
- Close the DEBUG of Hi3556a default config.
Huawei LiteOS V200R002C00B063 2018/08/08
Huawei LiteOS 3.0.7
-----------
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the PC-Lint.
- Fix to clear pclint about m7.
* lib:
- fix the bug that there is no output after relocated stdout/stderr from file to uart.
- fixed codex of lib
- fixed review comment of lib
* doc:
- Modify dynamic memory of docs.
* drivers:
- fix Codex warning, check return value.
* compat/posix:
- Fix pclint: change long integer to long long to avoid produce overflow.
* platform:
- fix the bug that scanf/fscanf would not wait for input after relocated stdin from file to uart.
- Add the va_end for matching the va_start
- Update the version number to LiteOS V200R002C00B063.
- Fix the dead code in the func of LOS_HwiCreate and avoid the printed string length too long in the print.c and fix pclint.
- change the bus clock from 24MHz to 50MHz
* net:
- Fix a memory leak problem in socket_init(): free sockets in FAILURE.
Huawei LiteOS V200R002C00B062 2018/07/30
Huawei LiteOS 3.0.6
-----------
Bug Fixs
The following are some bug fixs with this release.
* fs:
- Delete the no used variable.
- Modify the f_unlink, f_rename, f_mkdir functions.
- Move virpart code to fat.
- when the dir2 is not empty, call the jffs2_iput once and break the loop.
- when the file not exist, the input param resolved_path which not NULL pointer to contains the pathname.
- fix disk.c pclint
- SD memory leaks.
- Fix to add mutex protection for disk layer interface.
* lib:
- Modify vfscanf function.
- Fix the bugfix of _toupper and _tolower.
- fixed pclint warning of lib
- change the license of memmove.S
- fixed review comments of lib
* drivers:
- Fix to support usb driver for hi3556a platform.
- Modify file usb_ethernet.c,add api netifapi_dhcp_cleanup(&sc->ac_if),and modify file composite.c ,add api device_is_uvc(void).
* platform:
- fixed pclint of platform
- Fix the version.
- Modify MMU config
* shell:
- Remove useless code.
- fixed pclint of shell
- Free shell memory while the ShellTask go to the end.
- Add a mutex to protect a global variabl m_stCmdInfo.
* net:
- remove the dest macaddr comparision in ethernet_input, what makes unicast ethernet frame dropped incorrectly.
- Clear PCLINT warning
- If a DNS request is denied by a DNS server, try to request another avaliable DNS server.
- add protections to some shared variables, fix error return process problems.
1)add constraints to lwip_close;
2)fix a sys_sem_wait issue in netconn_gethostbyname;
3)add mutex protections to conn->state in do_close_internal;
4)fix error return process bugs in lwip_ifconfig;
5)add mutex protection to lwip_sendto_internal for conn->pcb;
- ERR_CONN was Defined to nonfatal. The nonfatal error was setted to ERR_CONN, and the fatal error was setted to ERR_CLSD.
- MEMP_NUM_NETDB was defined to 8. And if called memp_alloc return null, try to use mem_alloc.
At calling getaddrinfo, hostname is localhost or dotted decimal format, it will be parsed eventhough DNS server is invalid.
* tools:
- Fix to add make_version.sh
Huawei LiteOS V200R002C00B061 2018/07/19
Huawei LiteOS 3.0.5
-----------
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the pclint.
* kernel:
- Kernel code review for icsl.
* fs:
- change int to uint and size_t.
- add condition FAT_IsEOFCluster() to handle 0x0ffffff correctly.
- don't call strlen every loop.
- Modify statfs printf error and los_disk_init abnormal handle.
- Fixed the problem of icsl review of vfs.
- add LOSCFG_FS_ROMFS=y and LOSCFG_FS_FAT_FSCK=y in config file.
* lib:
- Modify the "realloc" to "malloc" and "memcpy" in file "asprintf.c" and "vasprintf.c";
- add one specific errno which could be get or set only in ISR, isolate the ISR errno from task errno.
* doc:
- Add three apis in developer guide of linux section. Add a new section named Bitwise Operation. Add two error codes in event section.
* drivers:
- fixed pclint of usb.
- fixed kora of usb.
* platform:
- Modify console_read function, add a buffer area when user.
- Added interface mmu_section_protect, set no access permission to the mem area you want to protect.
- Fixed the pclint of platform.
- Modify the version number to LiteOS V200R002C00B061 and update the ReleaseNotes.
- Fixed the problem of icsl review of platform bsp.
- Modify the MMU_4G from 0xffffffff to 0x100000000.
* shell:
- Modify the exit mode of the shell task, send the event to the shell when the console is unregistered, and let the shell task complete the execution and then exit.
- Completely separate the serial port and telnet shell, separate all shared global buffers, and manage them separately in their respective structures.
- The wrong device name is logged out in the deinit function, and the modification can be correct.
- fixed pclint warning.
- Security functions.
- Completely separate the serial port and telnet shell, separate all shared global buffers, and manage them separately in their respective structures.
* net:
- 1. Modify the remainder operation based on the circular buffer queue to an incremental judgment mode; 2. Modify time.c and replace the remainder operation with multiplication and subtraction when the division and remainder operation are calculated at the same time.
- change ERR_MEM to ERR_ABRT,and add return to break dead loop when post fail with ERR_MEM.
- 1. modify inet. h interface description; 2. delete sensitive information in comments; 3. correct the problems checked by cppCheck, including redundant assignment and lack of parentheses.
- add client identify option when renew ,rebind or reboot.
Huawei LiteOS V200R002C00B060 2018/7/6
Huawei LiteOS 3.0.4
-----------
Bug Fixs
The following are some bug fixs with this release.
* fs:
- Provide an interface for setting the memory allocation unit. You can set the unit size of the allocated memory at one time before writing a large file to avoid multiple allocations.
* lib:
- Delete the source file setjmp.c
* platform:
- enlarge the size of first page table.Added the checkout mechanism of mem size of mmu page mapping to avoid the mmu mapping overstep the boundary.
- Modify the "los_setjmp" and "los_longjmp" to "setjmp" and "longjmp" in dma.S of all boards
- 64-bit division on 32-bit systems, when the denominator is a variable, the division is too consuming and needs to be optimized.
- Modify the version number to LiteOS V200R002C00B060 and update the ReleaseNotes.
* shell:
- Used 64-bit type parameters to creat shell entry task.
* net:
- use mutex to protect step4. If step4 running before step3, user would get the socket event when accessing the members in sock/netconn. Else, poll task would
- 1. when carrying out IP routing, skip network interface whose IP or netmask is 0.0.0.0 or is not link_up. 2. when initializing loopback address, set it to link up status.
- free the pbuf in the above four cases
- add tcp data to pcb->refuse_data and will notify app when recvbox is ready again.
Huawei LiteOS V200R002C00B053 2018/06/26
Huawei LiteOS 3.0.3
-----------
New Features
The following are some new features with this release.
* fs:
- support romfs
* platform:
- Register the g_pfnUsrTskSwitchHook function.
* shell:
- Make serial and telnet can be coexistence.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the return-value of 'pthread_once' when invoking twice
* kernel:
- when the task selfdeleted or be deleted by the other task, clear the mem used of it. when the mem used is not zero,give warning information.
* fs:
- return HI_ERR_FSTOOL_FSTYPE_UNSUPPORT when exfat format
- fix pclint warning
- change g_ulTickCount to LOS_TickCountGet
- add lsfd
* lib:
- Modify source file s_lround.c
- Modify source file _rand48.c vasprintf.c lround.c lroundf.c
- Modify the definition of 'isinf'
- Add the functions of rand48, asprintf, vasprintf,
- Fix to increase the NULL pointer judgment.
* drivers:
- Fix to solve U disk compatibility on Hi3559a platform.
* platform:
- change timer0 to timer1
* net:
- fix the issue by set LOS_EventRead timeout to 4 system tick to avoid packet loss.
- remove ROUTER and DNS options in OFFER, ACK and INFORM messages when DHCP server send these messages to DHCP client, as LiteOS does not support IP router and DNS functions so far.
- fix a race condition issue.
- Fix to record the arp source Mac and Ip address in the arp reply.
- Delete RST sending process.
* tools:
- Add gcc-lib and cxx-lib to the script that is to extract the path of libs
Huawei LiteOS V200R002C00B050 2018/06/01
Huawei LiteOS 3.0.2
-----------
New Features
The following are some new features with this release.
* shell:
- Support command watch
* fs:
- support fat32 fsck tool
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the part of linux moudle.
- Fix to clear pclint.
* kernel:
- Modify the assignment of ".strtab" section
- change readreg print func is right align
* fs:
- fix fsck e534 pclint
- fix fsck pclint
- fix proc pclint
- only realloc one time for write
- clean fossid in ramfs.c
- fix pclint
- clean fossid in ylib.c
* lib:
- delete the script of coping lib.
- Fix the bug about the interface(pthread_cond_wait) having gap that cause system bug.
- Fixed the fossid of lib.
- Modify the memcpy function.
* drivers:
- Fix to clear fossid of mmc.
- fixed fossid of usb, file : Linux_gadget.c
- fixed fossid of usb, main file linux_gadget.c
- fixed fossid of usb, unused note message delete
- Fix to clear pclint.
- fixed fossid of usb
- Fix to clear fossid of usb.
- Fix to clear fossid of mmc.
* platform:
- update release note
- Fix to clear the FOSSID of cpu directory.
* net:
- Add "(void)" where tcp_send_empty_ack is called.
- Check tpcb state in netstat_internal. If pcb state is SYN_RCVD recvQLen and sendQlen should be set to zero.
- 1. Current implementation counts 1 byte each for SYN and FIN, due to which it checks for snd_buf while queuing FI, which should not happen.
- add mutex proctection in lwip_poll
- introduce Minshall's modification to fix above issue.
Huawei LiteOS V200R002C00B041 2018/05/17
Huawei LiteOS 3.0.1
-----------
New Features
The following are some new features with this release.
* fs:
- Set FD_SETSIZE to 512 instead of depending on lwip socket num and file socket num.
* lib:
- Support getopt().
- Update zlib from 1.2.3 to 1.2.11
* drivers:
- Add to make co-exist of uvc and uac protocol.
* net:
- Modify memp module in lwip to support configuring socket num with api.
* tools:
- Add a shell script for making hi3559/hi3556 ICSL version, a script deleting unnecessary files.
Bug Fixs
The following are some bug fixs with this release.
* fs:
- fix fs_truncate64 and fs_allocate64
* lib:
- Modify the cxx patch
* drivers:
- modify the function of composite_fmass_set_alt
- Fix the bug of umass about read and write test.
- Modify virtual network card identification problem.
* tools:
- Modify the compiler of 3731_3911_him5v100.
- add Source code of event
Huawei LiteOS V200R002C00B040 2018/05/08
Huawei LiteOS 3.0.0
-----------
New Features
The following are some new features with this release.
* fs:
- support 4k sector
* drivers:
- Add to support sd hot plug about umass class.
* platform:
- Add poll function in console.c and virtual_serial.c.
Bug Fixs
The following are some bug fixs with this release.
* fs:
- fix file released when close failed
Huawei LiteOS V200R001C10B046 2018/04/25
Huawei LiteOS 2.2.10
-----------
New Features
The following are some new features with this release.
* fs:
- move disk out from vfs
* drivers:
- Multi library(host and device of usb) integration optimization.
- Multi device driven libraries become one
* platform:
- add adjtime support
* shell:
- Wildcard support
* net:
- enhanced the bind interface:
- fix set/getsockopt failed issue caused by socket filter merge
* lib:
- add wcsrtombs interface.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the function of pthread_get_data
- Modify the function adjtime
* kernel:
- Modify the function call of LD_MoveBitsArea64
* fs:
- memset fno to 0
- dstFilename = argv[1] after make sure argc >=2
- fix memory leak
- change to use func ptr in vfs
* lib:
- fix some spell error & reduplicated declaration
- 1, Change #if __LP64__ to #ifdef __LP64__ in libc header files. 2, Modify srandm function, replace mutex_lock, which is blocking, with LOS_IntLock.
* drivers:
- Modify the response of SET_INTERFACE
- Fix to solve the redefine of usb skbuff when open the device network.
- Fix to add the header file when lwip is closed that leads to compile error.
- Fix the bug that fmass driver can only choose the partition 0 when the medium is emmc.
- Fix the bug of 4G class that can not identify the ECM network.
* platform:
- Modify virtual_serial_deinit function to solve memory
- Set TEXT_OFFSET to 0 for the mmu page tables were store in bss.
- mask all interrupt except uart interrupt when enter exception.
* shell:
- Fix use illegal memory in osStrSeparate
* net:
- Fixed bzero to memset
- fix call send in nonblock may sleep issue.
- fix the lwip_send return -1 issue in tcp_write_checks().
- change dhcp client can be enabled on every netif at the same time..
- 1.clear the black duck problems;2.solve the the compiled error.
- add SO_DONTROUTE and SO_BINDTODEVICE support
* tools:
- Modify source files of menuconfig.Delete abandoned code.
- Modify conf_get_cofnigname and conf_write function.
Huawei LiteOS V200R001C10B041 2018/02/07
Huawei LiteOS 2.2.9
-----------
New Features
The following are some new features with this release.
* fs:
- Add fallocate64 and ftruncate64 interface
* platform:
- add 59aes 59a 56a, update higmac drivers, etc
* shell:
- exception interaction:Keep the necessary tasks when enter exception.
Bug Fixs
The following are some bug fixs with this release.
* fs:
- for readonly file system
- Modify SD card driver unregister flow.
* doc:
- Add new precautions of JFFS2, FAT and YAFFS2 in docs. Add if_indextoname and if_nametoindex api reference of net in libc.
* drivers:
- Fix the parameter type about size_t to unsigned long long.
* platform:
- Fix mmu 64K page cache clean bug
- fix pclint & codedex after merge BVT's b017 code
* net:
- no real action done for TCP Listen socket when do setsockopt or getsockopt
- change ether type of WIFI and USB adaptor identical with stardard
Huawei LiteOS V200R001C10B022 2018/01/17
Huawei LiteOS 2.2.8
-----------
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Optimal division function
* kernel:
- Modify unsuitable print in osCpupIrqEnd
- Fix LOS_CpupReset clear status & ID bug
* drivers:
- Fix usb hub bug
* platform:
- VFS uninitialized, open the excInfo function, the exception information is not printed
Huawei LiteOS V200R001C10B021 2018/01/08
Huawei LiteOS 2.2.7
-----------
New Features
The following are some new features with this release.
* fs:
- Add code for Virtual Partition Feature Supporting.
* drivers:
- USB Hub supports generating device topology.
- Support the GPT partition type in order to support the disk that the capacity is bigger than 2T.
- Modify the memory of host controller from cache to nocache.
Bug Fixs
The following are some bug fixs with this release.
* platform:
- Add interface for hwi create and delete.
* tools:
- increase priority of the pcap task
* compat:
- Add the division implimentation.
* fs:
- Fixed a virtual partition mounting bug.
* drivers:
- solve the problem of PClint
- Add the keyword of "volatile"
- Fix semaphores used in the lock.
* platform:
- version number
- Add errno return for invalid hwi number or dev
* net:
- Fix the bug that enabling the bridge leads to system abnormal before initialization.
- 1.remove the element "struct checksum_hw_info" added in "struct pbuf"; 2.change macro LWIP_CHECKSUM_OFFLOAD to LWIP_TX_CSUM_OFFLOAD as lwip only support TX checksum offload. 3.add "lo" netif to support checksum offload as no checksum needed as loopback packets always reside in memory.
- change lwIP timers to use the absolute time to trigger timeout.
* tools:
- renamed the folder
- add config about atomic
Huawei LiteOS V200R001C10B020 2017/12/25
Huawei LiteOS 2.2.6
-----------
New Features
The following are some new features with this release.
* compat:
- Remove the uselessful gethostbyname
* kernel:
- Add the exception information to the buffer
- Combine irq time for cpup sumup(fix)
* fs:
- Add code for Virtual Partition Feature Supporting
- Add getlabel function for supporting getlabel interface
* lib:
- supprt compiler compile code on liteos and linux
- Clear pclint errors when header files fixing.
- clear pclint result from the header file standardization
- Fixed header files according to bionic
* drivers:
- Add platform suspend and resume interface.
- Add the dfu driver.
- for usb audio class driver
- Add CD-ROM command in USB Mass Storage driver.
* platform:
- Add interface for hwi create and delete.
- Add the UVC_USE_CTRL_EP about using the ctrl endpoint.
- Provide exception information to store without losing medium
- Add interface for hwi create and delete.
- store the exception information to the buffer
* shell:
- Add the command of reading the exception information
* net:
- Add the bridge and arp proxy.
- codex fix caused by previous committion
- add raw_pkt_input invoke in func netif_poll to make tcpdump caupture loopback packets
- clear pclint result from the header file standardization
- add PACKET_OUTGOING for PF_PACKET socket.
* tools:
- Add code for Virtual Partition Feature Supporting
- supprt compiler compile code on liteos and linux
- added libpcap
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- Fix pclint bug for cpup
- Fixed the failture of free spec node alloced by LOS_MemMallocAlign.
* fs:
- change the lwip1_poll to internal api.
* lib:
- Fixed not found the function stpcpy.
- Fixed add comments of apis about network.
- Fixed header files according to bionic.
* platform:
- Keep the necessary tasks when enter exception.
- move booting file to bsp
- fix the pclint.
- bugfix the not align address access
- Fix cpup irq bug for a7 & a17 due to no #include "sys_config.h"
- Fix cpup irq bug for a7 & a17 & a53
* build:
- Fix compiler dynload test
* net:
- Fixed add comments about macros that ioctl support.
- Appended '\n' to notes of function lwip_get_conn_info()
- Fixed add comments of apis about network.
- Add loopback flag in puf struct. No checksum is done if transform is via loopback.
- fix the net compile problem.
- Make parameter ifreq->ifr_newname not be changed in function lwip_ioctl_internal_SIOCSIFNAME
- Fixed bugs of lwip_config_xxx series functions
- Fixed a bug of function do_getconninfo
- Fixed a bug of function netif_set_mtu()
- make the input parameters check in select,align the document with the function select/shutdown/getpeername/getsockname/getsockopt/setsockopt for lwip.
- fix the compile warning
- delect everything related with secondary netif
- fix the os_get_random output strong random number.
- delete the inconrrect params judgement in function lwip_ioctl_internal_SIOCGIFCONF
* tools:
- The testsuit configs no longer support the flash types division
- Added the LwIP testsuit config to CI
- support lo sniffer
- optimize pcap
- Added the auto testsuit config for CI
Huawei LiteOS V200R001C10B015 2017/11/21
Huawei LiteOS 2.2.5
-----------
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Add lock for settime gettime thread safety.
* kernel:
- Fixed the failture of free spec node alloced by LOS_MemMallocAlign.
* lib:
- Fix getchar cannot get '\r' bug.
- Modify mktime mktime64 for thread safety.
* doc:
- Modify ERROR CODE in sockets.h.
- Modify netifapi_dhcps_start parameters in, and sync to lwip api reference.
* platform:
- Modidy the max number of interruption and the bug of uart about the register assignment.
- Fix 64bit mmu 1G overflow bug & modify macro name.
- Modify the macro for the aarch32-OS of 3559a.
* shell:
- Fix Tab completion not support maximum length of cmd bug.
* net:
- fix Confusing to use htons in ip_addr checking.
- lwip stack do not check the name of each RR part in DNS response.
- 1. RFC2525 section 2.17 compliation; 2. TCP_MSS increase to 1460; 3. TCP PUSH flag not used as recv done indication; 4. enable TCP_LISTEN_BACKLOG and MAX backlog was 16; 5. fix recvQ error shown in netstat.
- add NULL check in tcp_get_info.
- fix the do_write state from NETCONN_NONE to NETCONN_CONNECTED and fix the connected conn bind twice.
- add some "\n" for document.
- Align recvfrom/recv/read/write/send/sendto/write function errno to posix and update recvfrom/recv/read/write/send/sendto/write api manual,add connected state to netconn_state.
- fix ',' missing tcp_state_str.
* tools:
- Add a switcher of flash types for libc testsuits.
- delete the backup in tlsf config.
Huawei LiteOS V200R001C10B013 2017/11/10
Huawei LiteOS 2.2.4
-----------
New Features
The following are some new features with this release.
* net
- add start ip address of dhcp lease and ip pool size in netifapi_dhcps_start().
- add hostname option in dhcp discover and request msg.
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- Fixed the display of LOS_MemIntegrityCheck compatible with 64 bit.
- added the judgment of inputparam of LOS_SpecMemCfgInit:uwBlkSzMin and uwBlkSzMax.
- Fixed the statistic uncertainty of mem uesd in task.
- Fixed the bug of return of LOS_MemTaskIdGet is error.
- Fixed the LITEOS_TABLES_LDFLAGS not include LITEOS_TABLES_SCATTER_LDFLAGS and LITEOS_TABLES_WOW_LDFLAGS.
- added the tools of mem record.
* lib:
- Fix strftime bug for date cmd
- Fix localtime_r diff from localtime
- fix the bug of getting and setting netif's name by ioctl function
* doc:
- Modify ERROR Number of sockets in LwIP.
- Modify formate of ERROR CODE.
* drivers:
- Fix uvc driver code review.
- Fix uvc3.0 pclint
- Fix the memory leaks.
* platform:
- add parameter check for LOS_SecPageEnable
- when create the hwi,record the string pointer replace record the string.
- Fix dmesg bug when use PRINTK whith field width
- Fixed update version number and releasentoes.
* shell:
- Fix para check for dmesg
- Fix date cmd can not set time exceed 2038 bug
- Fix dmesg maximal tail pointer value bug
- Fix dmesg para check for LOS_DmesgToFile bug
- Leap second should not be used when setting time
- Add dmesg para check for LOS_DmesgLvSet
- Add para check for date set
- Fix thread safety bug
- Fix dmesg para check for LOS_DmesgToFile
- Fix LOS_DmesgMemSet fail when dmesg buffer is empty
- Fix para check for LOS_DmesgRead
* net:
- sync the change in enum tcp_state to tcp_state_str, and fix tcp state error in tcp_receive().
- Align connect/socket/bind function errno to posix and update socket/listen/bind/accept/connect api manual.
- fix the bug of getting and setting netif's name by ioctl function
Huawei LiteOS V200R001C10B012 2017/10/28
Huawei LiteOS 2.2.3
-----------
New Features
The following are some new features with this release.
* compat:
- support settimeofday.
* fs:
- pclint by select.h
* lib:
- time support 2038.
- Deleted the unrelated header file included
- Fix strptime for cmd date
- modify header files according to bionic
* drivers:
- Add the configuration of A53-aarch32 mode
- platform driver adapt for usb
- Add uvc3.0 iso driver
* platform:
- Add the configuration of A53-aarch32 mode
- Add shell cmd dmesg
* shell:
- Add API instruction for dmesg
- Fix codeDEX of date
- Modified the shell split mechanism
- Add shell cmd date
- Modify shell history cmd strcmp
* net:
- add TCP_INFO support on getsockopt
- fix codex warning in tcp info
* tools:
- Add the configuration of A53-aarch32 mode
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the function of uname
* kernel:
- Fixed the code standard.
* fs:
- Fixed the spelling error.
- support settimeofday.
* doc:
- Modify notes of lwip_send and lwip_ioctl in sockets.h.
- Solve some mistakes of LwIP apis. Modify LwIP Developer Guide and API Reference.
* platform:
- fix memory leak bug
- Modify the function of LOS_MMUParamSet
* net:
- fix typo
- fixed the spelling error.
- Modify code in telnet module for security enhance.
- update to the latest API formatation
- the printf in PPPOE change to PPPDEBUG.
- change memset to memset_s,snprintf
- change some flags from int to uint32
- move udp/raw socket size limit check code to after tcp send in lwip_sento.
- Replace common functions with securtiy functions.
- Fixed add '\0' at end of strings in ppp.
- add parentheses on the suspect macros to make sure no error caused by unexpected operation priority
- change the above issues and update API statement to conform to the latest implementation
- Fixed bug about hardcoding and unsafe function.
* tools:
- added the size os stack for GDB
Huawei LiteOS V200R001C10B011 2017/10/20
Huawei LiteOS 2.2.2
-----------
New Features
The following are some new features with this release.
* compat:
- standardizing compat .h head file
* lib:
- modify header files according to bionic
- standardizing libc .h head file
- fix pclint for new libc header
* shell:
- Fix codeDex bug for shell tab
* net:
- Fixed ifconfig alignment to linux.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- standardizing compat .h head file
- Modify code for pclint
* kernel:
- Fixed the bug that statistical mistake of mem used size and free size.
- Compatible with 32/64bit in C code.
* fs:
- improved the jffs2 mount time.
- add the code for lock the semaphore
- reset the variables of entry_pos in function rewinddir() which set in readdir
* lib:
- standardizing libc .h head file
* doc:
- Modify header files of lwip. Solve mistakes in description of lwip apis and make those more accurate. Devide those apis into group with User Interfaces, System Interfaces and Configuration Interfaces.
* platform:
- mmu optimize & pclint
* net:
- pclint clear
- Remain macro "TCP_CHECKSUM_ON_COPY" enabled for the netif not support checksum offload, but check the checksum offload capability of the out netif when coping user data. If the out netif support checksum offload, only do data coping, else do both data coping and checksuming.
- need check netconn valid
- DHCP and static ip cannot coexist.
- Fixed ntpdate failed when net delayed.
- Modify ping function, move two sentences about pfd into while circle.
- Usb eth and eth0 congfig have complict.
* tools:
- added the -g for GDB and Coredump
- Add config for test.
Huawei LiteOS V200R001C10B010 2017/09/26
Huawei LiteOS 2.2.1
-----------
New Features
The following are some new features with this release.
* compat:
- added the div64_u64 and div64_s64 interface.
* kernel:
- Add to support the fpu for cortex-a53.
- added the mem record to avoid memory fragmentation.
- added the spec memory allocation algorithm.
* lib:
- Add to optimize the memcpy,memset,memmove functions, etc
* drivers:
- create struct of higmac drvier and device.
- Deal some negative array index bugs
- Fix codex bug for mmc
- 1.create struct of i2c drvier and device.2.create i2c bus
* platform:
- platform adapt for cortex-m7 uart driver
* net:
- Add checksum TX offload function for lwip, adapt checksum
- add ETHTOOL_GLINK support on ethtool.
- fixed codex for nfs-hanewin supported.
- support hanewin for nfs
- fixed codex for nfs-hanewin supported.
- support hanewin for nfs
- add support for AI_PASSIVE in getaddrinfo, replace memp_alloc with mem_alloc, fix netdb.h in libc compile error.
- Modify shell cmds that may show netif name in lwip.
- fix Codex issue.
Bug Fixs
The following are some bug fixs with this release.
Huawei LiteOS V200R001C00B065 2017/09/12
Huawei LiteOS 2.1.16
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* net:
- Add limit on each ip reass pbuf length to avoid attack by very small ip fragment.
- Fixed ntpdate failed when net delayed.
* tools:
- Update the version num and ReleaseNotes.
Huawei LiteOS V200R001C00B064 2017/09/08
Huawei LiteOS 2.1.15
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- Fix the bug that when the alloc size too large,the require free node size showed in err log is 0.
- Fixed the bug that the pstPrev of first node not backup.
* lib:
- Fixed the bug of CVE-2016-9840, CVE-2016-9841, CVE-2016-9843.
- Add SOCK_MAX and SOCK_TYPE_MASK macro in sys/socket.h
* platform:
- Fix mmu secpage set bug
* net:
- Remove socket type double check in lwip_socket
- Need check mac src valid
- Chain pbuf not spport in 3911 add code make to one pbuf.
- Fixed icmp don't reply the error package.
- Fixed fragment missing between the current and the previous fragment.
- Fixed reply icmp package when ttl=0.
- Add the MAC filter management.
- Change some socket API errno to follow POSIX standard, inlcude following APIs:
1: lwip_socket: add domain, type, flag and protocol check, return corresponding errno for error cases
2: lwip_accept: for not TCP socket, set errno to EOPNOTSUPP
3: lwip_bind: for error input arguments, set errno to EINVAL
4: lwip_connect: for error input arguments, set errno to EINVAL
5: lwip_listen: 1)for not TCP socket, set errno to EOPNOTSUPP; 2)for no binding sockets, set errno to EDESTADDRREQ(diff from Linux)
6: lwip_recvfrom: 1)for unsupported recv flags, set errno to EOPNOTSUPP; 2)set errno to 0 for normal closed TCP connection
7: lwip_send/lwip_sendto: 1)for UDP or raw sockets, if send length bigger than 65000, set errno to EMSGSIZE 2)for unsupported send flags, set errno to EOPNOTSUPP
8: lwip_getsockopt/lwip_setsockopt: for unsupported option, set errno to ENOPROTOOPT
9: add more check for TCP option TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT
10: lwip_ioctl: 1)for error input arguments, set errno to EINVAL; 2)for supported cmd, set errno to EINVAL(diff from Linux)
11: lwip_fcntl: for unsupported cmd, set errno to EINVAL
12: lwip_bind: for PF_PACKET socket, if binding netif was down, set errno to ENETDOWN
* tools:
- Update the version num and ReleaseNotes.
Huawei LiteOS V200R001C00B063 2017/08/29
Huawei LiteOS 2.1.14
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Modify the functon do_csum.
- Add the module of drivers's comments.
* kernel:
- fix sortlink bug on hi3559a m7
- Fix event destory bug
- Modify function in tlsf
- Get the reloc-swAddend from reloc-position instead of from reloc-operations.
- Change code to realize LOS_MemTaskIdGet
- Fix memslab overflow bug
- Head_backup after modify the Node header information in LOS_MemAllocAlign.
- Fix if input a large uwSize and uwBoundar will make uwUseSize out
* fs:
- Fix code of codedex.
- Fix the codedex in jffs2 on branch TR5.
* lib:
- Fixed the double free in tzload.
- Fix cortex m7 libc blackduck bugs.
* doc:
- Modify content in develop guide 4.6.3 and add content in 7.1.3
- Modify header content in mmu_config.h to fix bugs.
* drivers:
- USB virtual serial port input data exception.
- Fix some bug for mmc
* platform:
- USB virtual serial port input data exception.
- Fix m7 pclint bugs introduced by bsp syncs
- Fix hi3559a m7 review bugs and sync bsp configs
- Modify blackduck bug
- Fix m7 exc registered hook not usable
- Update the version number.
* net:
- Increase TCP slow time intervel from 200ms to 500ms
- Fixed telnet lose message when exception occurred in system.
- Fixed exception occurred when init telnet before lwip initial.
- Change recvbox can auto expand if it is full.
- Add API to get the default netif
- Set random seed with CPU cycle on LwIP stack initialization
- Ioctl SIOCGIFCONF
- Modify functions in lwip_sack, fix some code review issues.
- Code review.
- Modify function
- Pclint fix right because it not used right type
- Fixed errors and warnings by pclint.
- Fixed remove some codex in ppp_oe.c
- Modify functions in lwip_sack, fix some codedex issue.
- Fixed last errors and warnings by pclint.
- Modify functions in wpa, fix some codedex issue.
- Fixed some other errors and warnings by pclint.
- Fix codex bug
* tools:
- Fix code of scatter & wow script.
- Update the ReleaseNotes.
Huawei LiteOS V200R001C00B062 2017/08/16
Huawei LiteOS 2.1.13
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Set timezone, accurate to minutes, and support timezone from West 12 district to East 14 district.
* kernel:
- added free lock
- Fix the bug of kernel code after code review.
- Fix the mem leak count error where ptr is null
- Fix the bug that inputpatam size of LOS_MemInit should be align with ALIGN_SIZE.
- Modify the request size in LOS_MemAllocAlign interface.
- Fix slab compile bug for disorder by macro LOSCFG_MEM_MUL_POOL
- Fixed the bug when free wild pointer.
- delete a invalid file.
- Enable SNTP_DNS_SERVER in lwip.
* fs:
- Modify fallocate and ftruncate function, compatible with the standard interface.
- Fix pclint of fatfs
- Fix code review of codex
- Modify fallocate and ftruncate function, compatible with the standard interface.
- Add some condition to limit the Command 'Cat'
- Add branch detection for select API. While input readfds/writefds/exceptfds are NULL
- Modify open and delete_mtd_partition function, delete no use code.
- Fixed the wrong errno and ret value in Fs_check()
- add macro to seperate shell cmds which needs fs support
* lib:
- Fix errno can not find cresponding error string by perror.
- Fix memcheck macro bug
* doc:
- modify api
- modify developer guide 5.6.3 and 7.2.5.3.2
* drivers:
- Fix base code check leak
- Modify hi_mci_setup_data function.
- Fix the bug of USB controller initialization about hi3559a.
- Pclint warning, because changed netif interface, such as netif_set_up.
- Fix the error in the usb code view.
- USB virtual ethernet modify net status fail by ifconfig command.
- Repair system exception after hiudc driver reset.
* platform:
- Fix the bug of USB controller initialization about hi3559a.
- deleted useless codes and bit operation in unsigned
- hi3559a m7 rm ununsed variables
- Delete hiusb_reset_hcd function content, use hiusb_stop_hcd and hiusb_start_hcd function instead.
- Modify functions with useless codes
- use TIME0 as hi3559a m7 tick source becasue osTickStart
- Start a new line, you can write data length gave me the wrong.
- Fixed some base-level TIMER problem in M7 Platform
- update cortex m7 cmsis core files and modify opensource
- Add the API of LOS_AtomicSub.
- hi3559a m7 rm useless code and add comments
- Fixed flush_icache function description
- rm hi3559a m7 osTickStart useless code
- use TIME0 as hi3559a m7 tick source becasue osTickStart
- declare usagefault as thumb function to prevent
- clean the irq para while the LOS_HwiDelete is called
- Fix the bug that hwi name might be altered while hwi is
- Fixed some base-level TIMER problem in M7 Platform
* net:
- Fixed redundancy coding
- Modify osPingFunc function, add timeout detection event
- handle udp packet tend to port 53 normally
- IP RX stats in function ip_input
- Check whether the network interface input parameters is empty.
- check specified netif in function etharp_delete_arp_entry()
- Delete comments include employee ID and other sensitive information.
- Modify netif_find function, fix ifconfig cmd failed to find device with lo.
- Fixed decouple wpa and pppoe.
- Change default sockum num from 32 to 128.
- Modify shell ping function, set default data size from 0 to 48, add -l support.
* tools:
- change the fs settings of m7 config file
- Modify LiteOS_prj'pwd too long result in menuconfig abnormal
Huawei LiteOS V200R001C00B061 2017/08/01
Huawei LiteOS 2.1.12
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- move the checksum serial functions from lib to compat.
- added the div64_u64 and div64_s64 interface.
* fs:
- Match the mount point completely.
- Modify dup set errno
* lib:
- Fix the bug of fether that enumerate the equipment when initialize the usb driver.
- Modify warning
- move the checksum serial functions from lib to compat.
- delete the wrong attention about localtime_r.
- Added ffmpeg and it's testcases
* kernel:
- Modify the API annotation.
- Add matters need attention when use scatter and runstop
* doc:
- modify develop guide
- modify develop guide
- Modify C++ Support
* platform:
- va_end and va_start must couple used.
- Modify function printf
- Modify deinit shell fd
- Fixed update releasenotes and version number.
* tools:
- modify menuconfig platform to Platform
- Modify iperf new buf behavior, add exception detection.
- Fixed update releasenotes and version number.
* net:
- Fixed add api to get netif config.
- check "lo" "MAC",show specify netif's arp
- after init pcb, memset the pcb
- Open IP_SOF_BROADCAST Macro, delete IP_SOF_BROADCAST_RECV Macro and relate code.
- modify the include path of checksum.h.
- fix get ipaddr;netmask;gateway interface error
- Fixed add api to get netif config.
- Modify icmp_input function in imcp.c.
- Modify Makefile
- Changed to time<1ms while ttl is less than 1ms.
- Add NULL detection for NETCONN_UDP and NETCONN_RAW.
* drivers:
- Fix the bug of umass that writing and reading using unaligned memory and leads system exception.
- After insert USB cable and Open the virtual serial port window,set mask,switch device
Huawei LiteOS V200R001C00B053 2017/07/12
Huawei LiteOS 2.1.11
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Clear the warning of compat/linux.
- Fix pclint and codeDex bugs
* kernel:
- Clear the warning of kernel.
- Replace the magic number to maxload in tick
- move drivers to scatter load stage and nand/spi lock resume
- Add an attention in <<LiteOS V200R001C00 Developer Guide>> when coded in c++.
* fs:
- Clear the warning of fs/vfs.
- Fix pclint and codeDex bugs
- Modify function utime()
* shell:
- bugfix about shell command of log,it haven't adjudge the two parameters.
* lib:
- Modify the Makefile for newest.
- Clear the warning of lib.
* drivers:
- Clear the warning of drivers/mmc.
- platform driver adapt for flash driver
* platform:
- Clear the warning of platform/bsp.
- Modify dprintf lk_dprintf function, which you can print
- rm useless code & func modifty
- Fix pclint and codeDex bugs
- deleted file
- Fix the bug of os_adapt.
- Added CallStack info print when repeat call CallStack.
- Modify the Makefile for newest.
* tools:
- Modify function, Config.in
- move got extab section to scatter section
- Clear the warning of tools.
- Fix the bug of iperf which is adapt for a53 high address.
- modified menuconfig
* lwip:
- add netstat cmd to support raw socket
* net:
- Changed to time<1ms while ttl is less than 1ms.
- Fixed ip conflict detect failed.
- Clear the warning of net.
- Add get ipaddr netmask gateway interface
Huawei LiteOS V200R001C00B052 2017/06/30
Huawei LiteOS 2.1.10
-----------
New Features
The following are some new features with this release.
* kernel:
- Added cortex-a53 aarch64 feature.
* shell:
- Added the feature that telnet and shell is decouple, telnet and uart is decouple.
- Added lk for base version.
* drivers:
- Added feature to support cpufreq,devfreq and regulator.
- Added Hieth-sf and mtd Platform.
- Added 64_Bit device3.0 and adapted ether and multi gadget on device3.0.
* net:
- Added lwip socket number for configure support.
Bug Fixs
The following are some bug fixs with this release.
* net:
- Fixed add two shell commands of pppoe.
- Modify function shell_telnet_write, if you printf information in interrupt by telnet, return 0.
* fs:
- Modify a misjudgement in f_truncate().
Huawei LiteOS V200R001C00B051 2017/06/14
Huawei LiteOS 2.1.9
-----------
New Features
The following are some new features with this release.
* kernel:
- Added configurable including task,semaphore, mutex, queue and software timer in library feature.
- Added cortex-a53 aarch64 feature.
* shell:
- Added the feature that telnet and shell is decouple, telnet and uart is decouple.
- Added lk for base version.
* platform:
- Added to do align for hi3518ev200.
* fs:
- Added fscheck function.
- Added API for hide created file time.
* drivers:
- Added driver platform.
- Added feature to support cpufreq,devfreq and regulator.
- Added USB device 3.0 driver.
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- Added warning log and backtrace in blocking API. It's risky to call blocking API in software timer callback.
Huawei LiteOS V200R001C00B041 2017/05/19
Huawei LiteOS 2.1.7
-----------
New Features
The following are some new features with this release.
* kernel:
- Added the tickless feature.
* platform:
- Added the interrupt name info in hwi command.
* fs:
- Release the unused allocated clusters when close the file.
* net:
- Added support of pppoe.
Bug Fixs
The following are some bug fixs with this release.
Huawei LiteOS V200R001C00B033 2017/05/12
Huawei LiteOS 2.1.6
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
* kernel:
- Added a task status to indicate the task is on the timerlist.
- Change the errno of kernel queue.
* fs:
- Added Fixed fix yaffs full write
* net:
- Fixed bug, iperf can not create parallel threads more than a number which Lwip and LiteOS support.
- decrease TCP fast timer from 250ms to 100ms in order to make TCP delay ACK sending out within 100ms. The original fast timer value 250ms is larger than
mini RTO value 200ms which would cause TCP retransmission. The TCP slow timer remains 500ms.
- Fixed ifconfig bug when input 6 arguments.
* drivers:
- Fixed to the bug that external hub disconnects again and again when open the host/device automatically switching mode.
* platform:
- Added mmu pagetable protect.
Huawei LiteOS V200R001C00B032 2017/05/04
Huawei LiteOS 2.1.5
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- modify the queue function.
* lib:
- The API strftime support weekday display
* platform:
- delete the file board.ld in bsp amd delete the isp.
- Updated releasnotes and version number.
- Fixed bug, Liteos will go exception when nfs mount and umount many times.
- added license of los_dispatch.s and los_hw_exc.s.
* net:
- Fixed bug, telnet can not switch to uart when you close cmd windows after call telnet off.
- Fixed the deadcode in wpa.
* tools:
- Added iperf shell cmd to LiteOS.
- delete the useless files in munuconfig.
Huawei LiteOS V200R001C00B031 2017/04/21
Huawei LiteOS 2.1.4
-----------
New Features
The following are some new features with this release.
* kernel:
- Add the comparable version
* drivers:
- Add USB Video Class support, for transimitting video streams (YUV, H264) with resolution of 1920x1080, 30fps I/P frames interleaved.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- added the pri judgement in second half of interruption,Execute interrupt entities at priority level.
* kernel:
- add SLAB memory management mechanism
* fs:
- Fixed fs_dupfd errno bug.
* tools:
- add SLAB memory management mechanism
Huawei LiteOS V200R001C00B024 2017/04/12
Huawei LiteOS 2.1.3
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- add wake_up_interruptible_poll function defination
* kernel:
- Fixed the redefinition problems in dynload load.
1.Bug description: A symbol may duplicate defined in multi-modules, when other module call this symbol,
dynload-linker do not know which one to relocated, it will lead to some error.
2.Fix description: Failed to relocate a symbol if this symbol had been loaded in muti-modules,
except has a explicit rely relationship.
* fs:
- Forbid the fallocate function for exfat
- Fixed multi-partition umount bug, when there is a opening directory on mount partition.
- Added a errno when writing sd card to full.
- Fixed fs umount bug that the crefs of mountpoint node is modified to zero while umount.
- make select and poll system call support normal file and socket currently.
* lib:
- Fixed codeDEX as bit operation on short int
- add key in poll table struct to make low level get the specified events user provided
* net:
- Fixed codeDEX as break missing in switch-case
- add socket poll API
* tools:
- Fixed config volumes in menu
Huawei LiteOS V200R001C00B023 2017/03/28
Huawei LiteOS 2.1.2
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* fs:
- Fixed format problem on shell to choose format option
* drivers:
- Added Fixed enable all multicast frame receive for axe usb ethernet
* platform:
- optimize the hwi response time.
* net:
- Fixed change DHCP Discover timeout value to make DHCP complete more quickly
- Fixed DHCP failed since some DHCP Server doesn't reply offer meassage for discover message without client ID option
Huawei LiteOS V200R001C00B021 2017/03/13
Huawei LiteOS 2.1.1
-----------
New Features
The following are some new features with this release.
* compat:
- Added the cycle mode of hrtimer.
* kernel:
- Added the mode which is not self-delete when swtmr is time out of swtmr.
- Added tlsf mem, it can change tlsf or bestfit by menuconfig.
* fs:
- Added support for exfat.
* drivers:
- Added the USB serial gadget
- Added usb3.0 controller XHCI.
- Added the usb device network using Microsoft RNDIS protocol.
* platform:
- Added the USB serial gadget
- Added usb3.0 controller XHCI for hi3519v101-a7.
- Added the Coredump and the switch.
- Fixed remodel platform.
- Added driver platform.
* lib:
- Added CPP Exceptions Support and related macro for g++.
* net:
- Added update wpa2.2 to wpa2.5
* shell:
- Added the USB serial gadget
* tools:
- Added the tools of GDB and it's switch.
Bug Fixs
The following are some bug fixs with this release.
* kernel:
- Optimized memory consumption of symbol management mechanism in dynamic load.
- Fixed the problems in dynload load.
1.Bug description: when call LOS_ModuleUnload times exceed than the times LOS_SoLoad,
and this *.so is needed by other *.so, will real-unload this so, and led to the error result.
2.Fix description: when the times of call LOS_ModuleUnload exceed than the times LOS_SoLoad, should return error.
- Fixed the problems in.
1.Bug description: call LOS_SysCpuUsage after wakeup from wifi image may return an abnormal number.
2.Fix description: add a LOS_CpupReset interface to reset cpup data, call this function in runstop callback.
* drivers:
- Fixed pclint error and warning
* platform:
- Added uart_init in main function.
- Fixed dangerous function transposition safety function.
* shell:
- Fixed the bug in register command that limited the command length without zero.
* net:
- Fixed the position of LITEOS_MACRO.
- Fixed bug which lead to lwip throughput rate decrease.
Huawei LiteOS V100R002C10B061 2017/02/09
Huawei LiteOS 1.2.7
-----------
New Features
The following are some new features with this release.
* kernel:
- Added memory module statistics
* drivers:
- Added the changes to support USB module cutting.
* fs:
- Fixed license issue
Bug Fixs
The following are some bug fixs with this release.
* drivers:
- Added performance optimization for usbwifi. Added
aggregation feature in usb linux compat.
* fs:
- Fixed the bug of 64bit about vfs.
- Fixed read wrong buffer when using tcp-based NFS, caused by receiving incompletely.
Huawei LiteOS V100R002C10B043 2016/12/28
Huawei LiteOS 1.2.6
-----------
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Fixed the bug of comment about time function
* kernel:
- Fixed kernel bug when tick interrupt comes before osSchedule.
- Fixed the problems in los queue.
1.Bug description:
1)if the queue size is less then 4Bytes may cause a memory wrong operation when call LOS_QueueWrite and LOS_QueueWriteHead.
2)if the buffsize is less then 4Bytes will lead to a wrong memory operation when call LOS_QueueRead.
3)osQueueMailAlloc/osQueueMailFree in a un-created queue may cause error.
2.Fix description: 1)the queue size can not less than 4Bytes if we use LOS_QueueWrite and LOS_QueueWriteHead.
2)the buffer size can not less than 4Bytes if we use LOS_QueueRead.
3)all operations should in a queue which had been created.
* platform:
- Fixed the bug of udelay that Global variable leak caused locking system.
* tools:
- Fixed version number, releasenotes and mklibversion.sh.
- Fixed the problems in.
1.Bug description: using LITEOS_PLATFORM parameter to distinguish temporary files of each platform is nonsense and may introduce bugs
2.Fix description: remove LITEOS_PLATFORM parameter for liblist.sh and scatter.sh
Huawei LiteOS V100R002C10B042 2016/12/12
Huawei LiteOS 1.2.5
-----------
New Features The following are some new features with this release.
* fs:
- Added the feature to provide 64bit about vfs
* net:
- Added new API of use tftp Transfer files to memory.
Bug Fixs The following are some bug fixs with this release.
* kernel:
- Fixed the problems in.
1.Bug description:
1) the elf_symbol.so put users into inconvenience when dynload loadding.
2) it'll result in failure when call the LOS_LdInit function more than once.
3) when load the .o files, some section is not 4Bytes aligned, and it result in loadding failed.
2.Fix description:
1) make the elf_symbol.so transparent, users no need to cooperate this globl symbol file any more.
2) delete the LOS_LdInit function.
3) when load the .o files, allows not-4Bytes aligned sections.
- Fix kernel bug when tick interrupt comes before osSchedule.
* fs:
- Added: support recognizing disk without mbr
- Removed fs_sendfile.c which unused.
* drivers:
- Add USB/Host ethernet driver for AX8872B device.
* platform:
- make libversion based on cpu.
* net:
- Added lwip macro configuration document "Readme" for users.
- Fixed bug, update lwip code to VPP2.0 V100R001C20 from VPP team.
* tools:
- Fixed bug, iperf tcp tx task can excute nomally in telnet.
Huawei LiteOS V100R002C10B033 2016/11/24
Huawei LiteOS 1.2.4
-----------
New Features
The following are some new features with this release.
Bug Fixs
The following are some bug fixs with this release.
* compat:
- Added the judge of parametric for alignment.The alignment was zero returned EINVAL
- Fixed the interface (wait_event_interruptible_timeout) that leads to low efficiency of mass gadget, because of while(1).
* kernel:
- Added filter for MEMUSE add up, so just system pool can be count
- Added the judge of parametric for uwBundary.
* doc:
- Fixed bug, updated LWIP docs.
* net:
- Fixed bug, update lwip form vpp.
1. Performance optimization changes with the dma allocation change for zero copy
2. PF_PACKET family support for SOCK_RAW type sockets.
* tools:
- Fixed the problems in tools/scripit.
1.Bug description: It's rely on the awk tool when create the elf_symbol.so in Huawei LiteOS dynload tools,
if awk is not point to "GNU Awk" or the version is older than "3.1.8", will result in some error while making elf_symbol.so,
and this error is difficult to find out.
2.Fix description: First step is check the version of awk before make the elf_symbol.so.
Huawei LiteOS V100R002C10B023 2016/10/25
Huawei LiteOS 1.2.3
-----------
New Features
The following are some new features with this release.
* kernel:
- Added a callback for runstop, callback called in idle
* compat:
- Added the interface nanosleep()
* fs:
- Added the function about change oppsite path to full path
- Added tcp based nfs support
- Added disk mutli-partitions feature
* drivers:
- Support USB multi-device
Bug Fixes
The following are some bug fixs with this release.
* kernel:
- Fixed the prompt information of task and uname
- Fixed the problems in dynamic lod when use the *.so is zip-format
1)Bug description: when load the *.so in zip format, user must supply a function which is used to calculate the load size, it's too complicated
2)Fix description: First calculate the load size by self
- Fixed the comment of los_QueueWrite and LOS_QueueWriteCopy
1)the param of buffer is in-param
- Fixed nfs mount failde when port reused
* fs:
- Modified blib to bcache
- Fixed the bug in yaffs
1)Bug description: If open a directory, then seek or read the opened fd, will cause a system dump when close this fd
2)Fix description: The open function return -1 if the opened-path is a directory, and errno is set to "EISDIR"
* lib:
- Added the API comment of nanosleep
- Fixed the comment in time.h
* platform:
- Modify the max support tasks on hi3559 cortex-a17 form 64 to 256
- Fixed modify for hi3559_a17 mmu, add a func second_small_page_init
* net:
- Fixed complie error while turning off LWIP
- Fixed wifi station mode can not be used
- Fixed Qualcomm wifi disconnected after 5 mins while run as AP
Huawei LiteOS V100R002C10B101 2016/9/14
Huawei LiteOS 1.2.1
-----------
New Features
The following are some new features with this release.
* kernel:
- Add the memory pool maximum memory usage statistics
Bug Fixes
The following are some bug fixes with this release.
* compat:
- Fixed the comments in mqueue.h and pthread_cond.h
- Fixed premises of functions about mqueue and pthread.
* kernel:
- Fixed move memcheck errorID to "los_memory.h" from "los_memory.ph"
- modify comment style, fix typos
- modify interface api comment
- Fixed ICSL check.
- Added (1) add dynamic memory usage optimized (2) add implicit dynamic load (3) add dynamic load for zipped shared object
* lib:
- Fix the comments in time.h. 1. change the Chinese comments to English comments.
* platform:
- Fixed the bug of setjmp's return value. 1. if the 2-th param of longjmp is zero, the return value of setjmp should be 1.
- platform internal api modify
- modify api usage instruction
* net:
- Fixed the prompt of telnet.
- Fixed ping self bug, which is only half of requests is received when ping self several times.
* tools:
- Added (1) add script to identify those symbols which cannot be relocated
Huawei LiteOS V100R002C00B307 2016/9/2
Huawei LiteOS 1.1.7
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
Huawei LiteOS V100R002C00B306 2016/8/30
Huawei LiteOS 1.1.6
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
* kernel:
- Added declaration for LOS_ShowBox in los_membox.h
* fs:
- Added explanatory for proc_fs_init
- Fixed ioctl() return value bug.
* lib:
- Fixed the bug of deadlock of nfs for the used of arc4random. 1.used the driver interface instead of vfs interface in arc4random to get random.
* doc:
- Fixed bug, updated lwip version VPP2.0 V100R001C10SPC001B010.
* net:
- Fixed bug, updated lwip version VPP2.0 V100R001C10SPC001B010.
- Fixed When the file transfer does not exist and is named and local to the same will overwrite the local file.
Huawei LiteOS V100R002C00B305 2016/8/22
Huawei LiteOS 1.1.5T1
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
* kernel:
- Fixed the problem that the abnormal call order of task due to the bug of mutex.
* fs:
- Fixed the bug of open file need to check flags
* lib:
- 1.Update strtod function.
* shell:
- Fixed shell commands don't show warning message for error parameter
* net:
- Fixed the warning of pclint in telnet module.
Huawei LiteOS V100R002C00B303 2016/8/11
Huawei LiteOS 1.1.5T0
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
* kernel:
- Added (1) add interface to flush instruction and data cache (2) flush icache when dynload done
* fs:
- Fixed the bug of arrangement of fs's header file
* lib:
- Fixed:replace rand with arc4random, for the rand is not safety.
* net:
- Fixed the arp commands.Added the judgement of netif if it is NULL.
Huawei LiteOS V100R002C00B302 2016/8/1
Huawei LiteOS 1.1.4T6
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug fixes with this release.
* compat:
- Fixed to perfect the API annotations.
* kernel:
- Added (1) modify interfaces of priqueue from external to internal
- fixed rename interface LOS_EventDestroy
- Add one attention illustration in the annotation of LOS_Msleep.
- fix macro FALSE/TRUE compile failed,when using in #if; modify macro FALSE/TRUE define, ((BOOL)0) -> (0U), ((BOOL)1) -> (1U)
- Added global variable "g_sys_clock" for storage sys clock
* fs:
- Added (1) fix a vfs and other fs dirent adapt problem
* shell:
- Fixed the bug of history command. 1.Separated from the history command of shell in telnet.
* net:
- Fixed the bug of telnet.Modified the deal with errno,by syncing the lwip modified errno num when return errno
- Added . 1) added secure SSP registration with safe function. 2) provided API for configuring the pbuf ram size. 3) provided API for getting the TCP/IP UDP/IP connect information. 4) BSD like socket interface(support multi-thread).
- Fixed the bug of history command.
* platform:
- Fixed bug,uart can change by change a macro in uart.h.
Huawei LiteOS V100R002C00B301 2016/7/21
Huawei LiteOS 1.1.4T5
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug Fixes with this release.
* compat:
- Fixed the interface of irq_bottom_half(). added an input param which will be used in the func of work.
- Fixed the bug of pthread priority value in pthread_create.
1.when pthread create task select inheritance patterns, and the parent thread created by kernel interface,resulting in property inheritance pthread_attr_t error.
- Fixed the bug of message queue.
1. when we call the mq_receive and mq_timedreceive, will pass out the data's memory address,but the other task can write over new data into this address after then, so the user may get the wrong data using the address getted before. 2. when we call the mq_receive and mq_timedreceive, the return value is the real-size store in the queue,but the LOS_QueueReadCopy function does not support return the read size,so this size is calculated after call the LOS_QueueReadCopy function, as the same reason, the size stored in the queue is also not save.
* kernel:
- Added func "LOS_MemPoolSizeGet(void *)" for get pool's size
- Added func "LOS_MemInfoGet(void *, LOS_MEM_POOL_STATUS *)" for get pool's status
- delete "LOS_MemGetUsed(void)","LOS_MemGetTotal(void)"
- Add parameter description for public API.
- fix the scatter and runstop Redefined Symbol for SAI
- change the API of LOS_ScatterLoad,the second parameter type FLASH_READ_FUNC -> SCATTER_FLASH_READ_FUNC
* platform:
- Fixed move los_hw_tick_minor.c to bsp/common from cpu/arm
- Fixed the return value of LOS_AtomicAdd
Huawei LiteOS V100R002C00B215 2016/7/12:
Huawei LiteOS 1.1.4T4
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug Fixes with this release.
* compat:
- Fixed the bug of message queue. 1. when we call the mq_receive and mq_timedreceive, will pass out the data's memory address,but the other task can write over new data into this address after then, so the user may get the wrong data using the address getted before. 2. when we call the mq_receive and mq_timedreceive, the return value is the real-size store in the queue,but the LOS_QueueReadCopy function does not support return the read size,so this size is calculated after call the LOS_QueueReadCopy function, as the same reason, the size stored in the queue is also not save.
- Fixed the bug of pthread_join which the multi-thread joining with one-thread will be block(pended) not release the resources in addition to the first joining thread. 1 In multi-thread joining one-thread case,only the first joining thread return to the correct value 0,other joining thread return to EVAIL. 2 Added corresponding test cases apply
* kernel:
- Fixed Fixed the bug of message queue. 1. when we call the LOS_QueueReadCopy, will pass out the data's memory address, but the other task can write over new data into this address after then, so the user may get the wrong data using the address getted before. 2. the LOS_QueueReadCopy function does not support return the read size, but we need the real-size, so change the paramer of the function.
* fs:
- Fixed the bug of proc file open with O_DIRECTORY oflags and the error number of unlink a directory
- Fixed the bug of procfs nonsupport multithread operate
* lib:
- Fixed the bug of vfscanf.The macro of FLOATING_POINT which detetes by pclint modified causeing the floatting point with sscanf scanf is not normal.
- Fixed Fixed the bug of pclint in stdio stdlib
* platform:
- Added func "los_sys_mem_set","los_usb_mem_set" which can be called by app to adjust 3731 mem distribution
- Fixed use same format of MMU for 16a & 18e & 3731 change func "LOS_MMUParamSet" instead "LOS_MMUAPSet"
- Fixed cancel limit of print width.
* net:
- Fixed the bug of ping and dns net commands
- Fixed bug of lwip. 1)Bidirectional data transfer support for single socket in multi-thread environment; 2)Congestion control performance improvement; 3)New config file lwipopts.h for liteos has been added at path /include/conf/liteos/lwipopts.h; 4)New interface implemented for modifying MTU, modifying IP and dual IP support; -netifapi_netif_add -netifapi_netif_set_mtu -netifapi_netif_second_if_add -netifapi_netif_set_addr
Huawei LiteOS V100R002C00B213 2016/6/27
Huawei LiteOS 1.1.4T3
-----------
New Features
The following are some new features with this release.
Bug Fixes
The following are some bug Fixes with this release.
* kernel:
- Added (1) add an interface for loading shared object, support for "implicit dynamic load".
* drivers
- Fixed usage information of ifconfig.
- Fixed usage log of ntpdate.
* platform
- change __dprintf to static.
Huawei LiteOS V100R002C00B211 2016/6/12
Huawei LiteOS 1.1.4T2
-----------
New Features
The following are some new features with this release.
* platform:
- Added the atomic
* fs:
-Added the feature of fat filesystem support readonly and hidden
-Added a new function that blib block size can be configuration.
- decouple vfs and certain fs such as yaffs and fat etc., using FSMAP_ENTRY macro to register a certain fs.
* shell
- remove osCmdReg interface, using SHELLCMD_ENTRY macro to regist a shell command instead.
* IDE:
- Added: new compiler supported: arm-hisiv500-linux-uclibcgnueabi
Bug Fixes
The following are some bug Fixes with this release.
* shell:
- Modified the part of commands argument format(hex or decimal) that Depend on the user input
* tools:
- Added:add compiler arm-liteos-linux-uclibcgnueabi
Huawei LiteOS_KernelV100R002C00B116 2016/5/13
Huawei LiteOS 1.1.4T1
-----------
New Features
The following are some new features with this release.
* kernel:
- OS supported thumb instruction in base kernel and extern kernel(cppsupport,dynload,scatter).
* drivers:
- Added support mtd char device operation;
Bug Fixes
The following are some bug Fixes with this release.
* compat:
- Fixed timezone,automatically set 0 zone
* kernel:
- Added (1) clean .h .ph up (2) rename functions, macros, structs names in .h and .ph respectively
- Added (1) default path management of dynload
- Added (1) add scatter load code to 18e app_init (2) modify LITEOS_MINISYS from y to n in board.mk of 18e
- modify mem code style include: 1)delete los_dlinkmem 2)modify func interface name
* fs:
- Fixed the bug of the partition command.
* platform:
- rename the LOS_GetCpuTick() to LOS_GetCpuCycle() and raname the osGetCpuTick() to osGetCpuCycle().Because the function of the interfaces is to get the cycle of cpu.
* shell:
- Fixed the display of cpup.Now the sum of cpup is closer to 100.
- Fixed the bug of readreg command and statfs,added prompt in writereg command.
HuaweiLite_OS_KernelV100R002C00B111 2016/3/26
HuaweiLite_OS 1.1.3
-----------
New Features
The following are some new features with this release.
* shell:
- Added "cp" command to copy files.
Bug Fixes
The following are some bug Fixes with this release.
* kernel:
- Added (1) move some functions, macros and data structure from .h to .ph and .inc
- Added (1) restructure kernel directory, ready for interface clean up. (2) add interface to enable unicode, when interface is not called, a big memory can be saved. (3) add some scripts
- added some comments for documents
- Decoupling the CPUP
- Fixed the bug of the memused atistics in task. Memory use in interrupt is not calculated.
- Fixed the bug that swtmr may be deleted mistakenly by swtmrid. 1.when the one_off swtmr was self deleting,the swtmrCB id will be changed.when delete swtmr by the original swtmrid,it returns error.
* fs:
- support jffs2 filesystem on TV chip hi3731
- Fixed:multi_partition coupling adjustment involves with yaffs, jffs, drivers.
* lib:
- Fixed the bug of the printf memory used.Modified the malloc memory which reduce 32K to 8K
* drivers:
- Fixed 1,fix write large data timeout problerm for spi nor;
* platform:
- Fixed "-help" commands to "help".
- Fixed the problem that the hwi Response mechanisms of hi3516a and hi3518e are different.On the platform hi3516a,the next node pointer was got before the the interrupt handler was executed.On the platform hi3518e,the next node pointer was got after the the interrupt handler was executed Modify the hwi Response mechanism of hi3518e consistent with hi3516a's.
* tools:
- Fixed remove -v for CXXFLAGS CFLAGS;
- Fixed:multi_partition coupling adjustment involves with yaffs, jffs, drivers.
HuaweiLite_OS_KernelV100R002C00B110 2016/3/11
HuaweiLite_OS 1.1.2
-----------
New Features
The following are some new features with this release.
* tools:
- Upgrade complier from hisv300 to hisv500.
Bug Fixes
The following are some bug Fixes with this release.
* kernel:
- Fixed wrong cpu usage returned in LOS_xxxCpuUsage api. An error number was returned.
* fs:
- Fixed seekdir() and rewinddir() failed in jffs.
- Fixed the bug that mount dir of filesystem jffs2 can be deleted.
HuaweiLite_OS_KernelV100R002C00B013 2016/2/20
HuaweiLite_OS 1.1.1
-----------
New Features
The following are some new features with this release.
* fs:
- Added /proc/mounts node to recognition fat filesystem
- Added ramfs support vfs_ramfs_statfs function
- Added /proc/mounts node to look over mountpoints info
* drivers:
- Added add netif->drv_set_hwaddr interface;
- Added the usb compat layer for wifi
* platform:
- Add drivers support hi3516a hi3519 hi3518ev200;
- Added add usb shell command;
Bug Fixes
The following are some bug Fixes with this release.
* compat:
- Fixed a bug in macro wait_event_interruptible_timeout, mutex should be unlocked before return.
- Fixed (1)fixed complete bug that wait_for_completion and wait_for_completion_timeout can not be use if used complete.(2)modify the realization of completion,like semaphore but not use os resource.(3)modify the API of completion.(4)added test case of completion
- Fixed remove __KERNEL__ __LITEOS__ macro
- Removed the warning of posix module
- Modified the version.Added the public version in unmae->version strings
- Added the comment of pthread_cancel.
- Fixed the commnet of the pthread_key.Delete the pthread key which is not support.
- Fixed the comment of pthread_init_attr.Modify the brief of pthread_attr_init in attention list.
- Fixed the bug of pthread_condition.delete the mutex which Affects video play.
- Fixed 1,fix gettimeofday time back off bug;
- Fixed the bug of los_confg.h .Deleted the useless macro of OS_SYS_MEM_NUM.
- Fixed the bug of shell. 1, Fixed the proberm which input the command before shell initialization caused system exceptions 2, Added the Magic flag to forbid register command before shell initialized.
* kernel:
- Fixed bug of CodeCC scan in kernel;
- Removed the warning of kernel module
- Fixed the case that some swtmr interfaces cannot be used in interrupt
- Deleted useless interface declaration in los_sem.h
- Fixed los_queue api comments, add LOS_MailAlloc and LOS_MailFree descriptions
- Fixed the comment of los_event API.added the retval of macros OS_ERRNO_EVENT_SETBIT_INVALID and OS_ERRNO_EVENT_FLAGS_INVALID in los_EventRead brief.
- 1), Fixed memory-check leading crash while system(task module) is not fully initialed. 2), Enable memory check in dynamic memory module while OS_SYS_MEM_CHECK is turning on.
* fs:
- Replace yaffs with authorized license version.
- Fixed teh errno of fat
- Fixed 1).close ylib cache due to flash service life. 2).add erase block function in ylib's yio_bwrite method,it will erase the block before write according to nand flash write feature.
- Fixed the bug of unified the proc module configuration switch
- Fixed writev bug in upd, a vector wrote by writev causes multi packages in network.
- Fixed a readv bug in c++ environment, about 5s delay after select, readv can get data.
- Fixed bug in yaffs that could make a directory or a file named "."
- Replace yaffs with authorized license version.
- Fixed the bug of unified the proc module configuration switch
* lib:
- Added memset.S, memcpy.S and new memset.c. Optimized the memset() and memcpy().
- Removed the warning of libc libm module
- Fixed the bug of printf.added the judgment of value type,when print integer value.if not do this,the value of 0x80000000 prints error.
- Added cpp header files, compile cpp source file using header files of liteos, no more header files of compiler.
* drivers:
- Fixed 1,remove useless c and head file; 2,use liteos timer instead of lwip timer; 3,add mac addr set interface;
* platform:
- Removed the warning of platform in uart_shell.c
- Added codes of cortex-a17 and supported hi3519 based on cortex-a17.memset() used different codes based on LITEOS_CPU_TYPE (1).hi3519 based on cortex-a17 used uart2,added config of uart in console.c (2).replace NUM_HAL_INTERRUPT_UART0 by NUM_HAL_INTERRUPT_UART defined in bsp (3).added codes of cortex-a17 and codes of hi3519 based on cortex-a17 (4).modify config.mk and Config.in to support hi3519 based on cortex-a7 and cortex-a17 (5)memset() used different codes based on LITEOS_CPU_TYPE,nowcpu cortex-a7 used .s files and others used c files.
- Deleted the readl macros in clock.h
- Sync the comments of readreg and writereg in hi3518e and him5v100.
- Fixed the telnet command.Modified the telnet command function.
- Added: add net.h for hi3911 and him5v100
- Added: add ticks_read interface for hi3911 and him5v100
- Fixed the commads.Modify readreg and writereg command which is only support 16hex.
- Fixed a bug when memset bss is called in reset_vector, reason is function stack(__svc_stack_top) used by reset_vector located in bss, when memset function called to clear bss raise the bug.
- Added:support hi3519 on cortex-a7. 1)modify the Makefile and config.mk to support hi3519. 2)modify board.mk to select DIR of driver(mmc spinor nand). 3)add dsb in interface of irq_trigger()
* shell:
- Fixed the bug of telnet. 1,fixed the input problem in telnet by sercureCRT tool. 2,deleted the redundant printf information and added the juedment of repeat operation with telnet on ,off.
- Removed the warning of shell module
- Fixed the telnet command.Modified the telnet command as: 1,telnet on: Init telnet server. 2,telnet off: Deinit telnet server.
- Added a new command name of 'close' to delete the telnet task.
- Fixed the bug of pwd. no exist directory shows error.
* tools:
- Added the releaseNotes
- Fixed a dynamic load script parameter, make script more easy to use.
Known Issues
The following are some known issues with this release.
* kernel:
- cpu usage: The mechanism of cpu usage is different from Linux.
* fs:
- yaffs: ylib, a cache between nand driver and yaffs, is turned off by default in this release.
This is a tradeoff between access speed and nand flash lifetime. Turning on ylib may decrease nand
flash lifetime because ylib will erase more frequently due to cache update. Add macro
CONFIG_FS_YAFFS_CACHE to turn on ylib.