# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [1.25.0] - 2025-03-26
### Added
* Add moxa-f81604-driver 1.21+1.0.0 into V1.2 drivers list

### Changed
* RKPC110: update moxa-f81604-driver to 1.21+1.0.0 for resovling compiling issue on RHEL 9

## [1.24.0] - 2025-03-17
### Added
* Add moxa-f81604-driver scripts and add into V1.2 config

### Changed
* Update MCM to 1.6.16 in V1.2 mcm list
* RKP-C220:
  * Update moxa-x86-control-tools to 2.13.1
  * Add probing i2c-dev driver when boot for fetching IO board id
* V3400:
  * Update moxa-x86-control-tools to 2.13.1 for swap 5G module slot index
  * Update MCM to 1.6.16

## [1.23.1] - 2025-03-03
### Fixed
* Fixup the typo of disk hotswap udev rule file name on V3400 series
* Purge MCM package when uninstall stage on V3400 series

## [1.23.0] - 2025-02-26
### Added
* Add postrm script for removing MCM when uninstall stage on V3400 series
* Add udev rules for enabling hot plug for scsi controller for V3400 series
* Add iTCO-blacklist to avoid kernel error message when it87-wdt driver install stage
* Add moxa-x86-control-tools 2.12.3 and moxa-mcu-manager 1.0.0 into V1.2 tools list

### Changed
* Update MCM to 1.6.14 in V1.2 mcm list
* Update V3400 configs
  * Update tools list
    * Update moxa-x86-control-tools to 2.13.0
    * Update moxa-mcu-manager to 1.0.0
    * Remove moxa-lpc-mcu-upgrade-tool, the upgrade MCU ROM function has been replaced by moxa-mcu-manager 1.0.0
  * Update MCM to 1.6.14

## [1.22.0] - 2025-01-09
### Added
* Add RTC battery detect service (default disable) on V3400 series
* Add moxa-x86-control-tools 2.12.2 into V1.2 tools list
* Add kernel cmdline module blacklist from grub on it87-wdt driver install script for Debian related distro

### Changed
* Update moxa-x86-control-tools to 2.12.2 for V3400 series
* Update MCM version to 1.6.10 on config V1.2
* Update MCM version to 1.6.10 for V3400 series

## [1.21.1] - 2025-01-08
### Fixed
* Force probe i915 by hard-coding pci id on MPC-3000
* Rename serial device name by usb bus on DA-680

## [1.21.0] - 2024-12-18
### Added
* Add moxa-mcu-manager 0.4.1 into V1.2 tools list
* Add moxa-mxuport-driver 5.2.9_build_24120517, moxa-mxser-driver 5.2.1_build_24121214
  and 6.1_build_240924 into V1.2 drivers list
* Add moxa-mxser-driver install/uninstall scripts
* Add moxa-mxser-driver for RKPC220 series
* Add LTE mPCIe slot sim card as slot 1 udev rules, due to HW default set as slot 2 on V3400 series for workaround
* Add super IO serial naming rules on V3400 series

### Changed
* Update MCM version to 1.6.8 on config V1.2
* Update MCM version to 1.6.8, moxa-x86-control-tools to 2.12.0 and moxa-mcu-manager to 0.4.1 for V3400 series
* Update moxa-it87-wdt-driver to 5.2+1.6.1 and moxa-mxuport-driver to 5.2.9_build_24120517 for RKPC220 series
* Change the install udev rule files method by copy into rootfs on V3400 series

### Fixed
* Remove unused MCM dev and dbgsym deb files when packaging stage
* Fixup the shellcheck format warning on the script of DA series
* Fixup the firmware atheros installation only on Debian OS for V3400 series

## [1.20.0] - 2024-11-27
### Added
* Install mcim wrapper tool on BXPA101 and BXPA101S

### Fixed
* Load it87 module at boot time on BXPA101 and BXPA101S

## [1.19.0] - 2024-11-19
### Added
* Support RKPC220 series
* Support BXPA101S series
* Add moxa-lpc-mcu-upgrade-tool 1.3.0 for V3400 series
* Add moxa-x86-control-tools 2.11.0 and 2.12.0 into V1.2 tools list
* Add moxa-mxuport-driver (6.1.1_build_24061315) into V1.2 drivers list
* Add moxa-it87-serial-driver 1.4.2 to drivers list
* Add install firmware-atheros functions for V3400 series
* Add Moxa x86 Linux Software User Manual v2.2 in docs folder
* Support SCM upload feature

### Fixed
* Remove unused post installation step on BXP-A101S

### Changed
* Remove pandoc convert markdown to docs function in build.sh scirpt
* Update README.md for the User Manual was replaced by confluence page (pdf and docx)
* Update driver moxa-it87-serial-driver to 1.4.2 on V3400, RKP-C220 and BXP-A101S

## [1.18.0] - 2024-10-24
### Added
* Add moxa-mcu-manager operate scripts
* Add moxa-mcu-manager (0.3.0) and moxa-x86-control-tools (2.10.1) into V1.2 tools list
* Add MCM with scm links file (mcm_list) into V1.2 config
* Support download MCM deb files from scm function in build.sh script
* Support V3400 series
* Support install MCM deb function for V3400 series

## [1.17.0] - 2024-09-12
### Added
* Support DA-820E series
* Add intel-gpu-i915-backports operate scripts
* Add intel-gpu-i915-backports I915_23.8.20_PSB_230810.22_moxa1 into V1.2 drivers list

## [1.16.1] - 2024-09-03
### Fixed
* DA-681C: append pca953x and ft260 drivers and tools on DA-681C for CentOS 7.9 and RHEL 9

## [1.16.0] - 2024-08-01
### Added
* DA-680: support DA-680 on Debian 12, Ubuntu 22.04 HWE, Ubuntu 22.04 LTS, RHEL 9, CentOS 7.9
* DA-681C: support DA-681C on Debian 12, Ubuntu 22.04 HWE, Ubuntu 22.04 LTS, RHEL 9, CentOS 7.9
* DA-682C: support DA-682C on Debian 12, Ubuntu 22.04 HWE, Ubuntu 22.04 LTS, RHEL 9, CentOS 7.9
* DA-820C: support DA-820C on Debian 12, Ubuntu 22.04 HWE, Ubuntu 22.04 LTS, RHEL 9, CentOS 7.9
* Add pre-uninstall and post-uninstall on uninstall process

## [1.15.0] - 2024-07-26
### Added
* BXP-A101: support BXP-A101 (BYD) CV on Debian 12

### Fixed
* mx-ver: show product name should use -m option, to align with MIL usage

## [1.14.0] - 2024-07-12
### Added
* BXPC100: support UMC CV (support 4 COM on mx-uart-ctl)
* RKPC110: support Array Tech CV (support libgpiod V1 on kernel 5.4)
* Add moxa-x86-control-tools 1.10.2 into V1.2 tools list
* Add moxa-x86-control-tools 1.10.3 into V1.2 tools list
* Add moxa-x86-control-tools 2.4.0 into V1.2 tools list
* Add moxa-x86-control-tools 2.5.0 into V1.2 tools list
* Add moxa-x86-control-tools 2.6.0 into V1.2 tools list
* Add moxa-x86-control-tools 2.7.0 into V1.2 tools list
* Add libgpiod 1.6.4+1.0.0 into V1.2 tools list

## [1.13.1] - 2024-07-11
### Fixed
* Force probe i915 driver on RedHat 9 on MPC-3000

## [1.13.0] - 2024-06-13
### Added
* Add moxa-x86-control-tools 2.4.1 into V1.2 tools list

### Changed
* V3000: update moxa-x86-control-tools to 2.4.1
* RKPC110: update moxa-x86-control-tools to 2.4.1

## [1.12.0] - 2024-05-17
### Added
* Create Standard V1.2 config
* Add moxa-mxuport-driver 6.1_build_23091818 to source list
* Add moxa-it87-driver to drivers_list and create hook scripts
#### Meet SRS FR-SDK-INST-REQ #1
* Show UEFI secure boot status
#### Meet SRS FR-SDK-INST-REQ #7
* Install hardware sensor monitoring lm-sensors packages and configuration file
#### Meet SRS FR-SDK-INST-REQ #8
* Store installation information and install version tool mx-ver
#### Meet SRS FR-SDK-INST-REQ #9
* Notify user if driver vermagic is not compatible with the kernel version

### Fixed
* Force probe i915 driver when graphics driver is not exist even if text mode
* Stuck in systemctl start watchdog command

### Changed
* Update moxa-x86-control-tools to 2.2.1 and install MCIM wrapper script
* Update moxa-it87-wdt-driver to 1.6.0
#### Meet SRS FR-SDK-INST-REQ #1 #2 #3 #4 #5 #6
* Install by Linux kernel version instead of Linux distro

## [1.11.0] - 2024-05-08
### Added
* Generate build date and config comparison log file function in build stage
* Add Standard V1.2 config files

### Changed
* Rename the LOG_NAME and SRC_LIST_NAME to align naming style in build stage

## [1.10.0] - 2024-04-16
### Added
* Add moxa-gpio-pca953x-driver into V1.1 drivers list
* Add lan-bypass and app-wdt utility into V1.1 tools list
* Add moxa-x86-control-tools 1.10.5 into V1.1 drivers list
* Add moxa-lan-bypass-utility, moxa-app-wdt-utility and moxa-gpio-pca953x-driver operate scripts
* Add V3000 product config

### Fixed
* Install gcc-12 package if kernel built with gcc-12

## [1.9.1] - 2024-03-27
### Added
* Add moxa-x86-control-tools 1.10.4 into Standard V1.1 tools_list

### Fixed
* Install libgpiod on MPC3000 to resolve libgpiod not found in uart and dio.
* Update moxa-x86-control-tools to 1.10.4 on MPC3000 to let mx-uart-ctl use libgpiod.

## [1.9.0] - 2024-02-20
### Added
* Because the watchdog daemon source had been imported, new watchdog install scripts had been created.

### Changed
* Since there was a fix for the watchdog daemon on CentOS 7.9, it should be installed from the source compilation instead of the YUM package manager.

## [1.8.1] - 2024-1-02
### Fixed
* Check kdump service status is enable or not

## [1.8.0] - 2023-12-05
### Added
* Add check UEFI secure boot status when check os stage

### Fixed
* Fixup watchdog reset platform when uninstalling it87 watchdog procedure

## [1.7.0] - 2023-11-30
### Added
* Add moxa-sdhci-pci-driver operate scripts

### Fixed
* Can not detect SD card on BXPA100 and MPC3000 with Debian 11

## [1.6.0] - 2023-11-20
### Added
* RKP-C110 support CentOS 7.9
* RKP-A110 support CentOS 7.9
* BXP-C100 support CentOS 7.9
* BXP-A100 support CentOS 7.9
* DRP-A100 support CentOS 7.9
* DRP-C100 support CentOS 7.9
* Add moxa-mxuport-driver 3.0.1_build_23061313 into Standard V1.1 drivers_list
* Add libgpiod into tools list
* Add moxa-e1000e-driver operate scripts
* Show more information in dry-run result

### Changed
* Move the install setserial package to mxuport from moxa-it87-serial-driver
* Move the install package procedure to libgpiod from moxa-it87-gpio-driver

### Fixed
* Use += operator
* Avoid exit on error when watchdog is not installed

## [1.5.0] - 2023-11-15
### Added
* Access source code by tag name
* Add config V1.1
* Support MPC-3000 series
* Add moxa-lpc-mcu-upgrade-tool operation script
* Add moxa-scaler-utils operation script

### Fixed
* Only show available source version in self-test result

## [1.4.0] - 2023-10-04
### Added
* Support build from config file
* Add Standard V1.0 project config file

## [1.4.0] - 2023-09-27
### Added
* Show number of DI/DO in selftest result

### Fixed
* Uninstall watchdog daemon completely on Debian and Ubuntu

## [1.3.1] - 2023-09-13
### Fixed
* Add -y option to setserial install process
* Prevent watchdog driver wdat_wdt from loading automatically
* Handle install-dev-tool.sh error

## [1.3.0] - 2023-09-13
### Added
* Show source information in dryrun and selftest output
* Show and save source version information during installation
* Default is to install newer version

### Changed
* Optimize install flow
* Update gitignore
* Revise README.md

## [1.2.0] - 2023-08-31
### Added
* Support RKP-C110 series model
* Add generating x86 Linux SDK Wizard README.md as docx format via pandoc
* Add generating the version of source code log when source packaing stage
* Add mei_wdt into blacklist when installing it87-wdt driver

### Changed
* Change compress format as Linux tarball tgz file

## [1.1.0] - 2023-08-09
### Changed
* Update mxuport to 5.x/5.1.1_build_23080316/develop

## [1.0.0] - 2023-07-28
### Added
* MOXA license file
* Force probe VGA Intel Corporation Device on Elkhart Lake

### Changed
* Update README.md to version 1.0
* Remove foss directory and foss description

## Fixed
* Correct license statement

## [0.9.0] - 2023-07-26
### Added
* Ensure only one instance of install is running
* Add banner to help page

### Changed
* Copy README.md and foss docs to output directory
* Change log::info to normal color
* Refine operation flow
* Present dryrun and selftest result in more readable table

## Fixed
* Change uninstall flow order
* Watchdog install failed

## Docs
* Update README.md to fit the change
* Add FOSS components list and licenses files

## [0.8.0] - 2023-07-10
### Added
* Add user manual for Moxa x86 SDK Wizard

## [0.7.0] - 2023-07-06
### Added
* Prompt for asking in any installation
* Ask for reboot after installation successful
* Support BXPA100, DRPA100 model
* Uninstall option

### Changed
* Update mxuport to 5.x/5.1.1_build_23070318/develop

## Fixed
* Redirect unexpect error message to /dev/null

## [0.6.0] - 2023-06-20
### Added
* Dry run option
* Self test option
* install.sh help page
* Colors library
* self-test hook script and test script
* Setup watchdog service

### Changed
* Make log info more readable
* Rename and modulize common.sh
* Modulize logger.sh
* Seprate installation into script file by repo name

## [0.5.0] - 2023-05-23
### Added
* Auto yes prompt
* Build and install hook script
* mxuport driver repo
* BXPC100 pre and post install script
* DRPC100 pre and post install script
* RKPA110 pre and post install script

### Changed
* Change log file location
* BXPC100 drivers and tools file format
* DRPC100 drivers and tools file format
* RKPA110 drivers and tools file format

## Fixed
* Auto yes option to yum install

## [0.4.0] - 2023-05-04
### Changed
* Change source code from Moxa internal gitlab repo
* Remove unused repos from list

## [0.3.0] - 2023-03-30
### Added
* Add scripts/lib/logger.sh to generate build log
* Add git clone tag in clone_src_from_list stage

## [0.2.0] - 2023-03-21
### Added
* First add shfmt editconfig
* First add shellcheck config
* First add installation scripts: check os environment and install develop packages

### Changed
* Formatting build.sh
* Add copy scripts function
* Overwrite SHFMT_INDENT to 8 in .gitlab-ci.yml

## [0.1.0] - 2023-03-16
### Added
* First create for CI build stage
* Add draft config for BXP-C100, DRP-C100 and RKP-A110 series
