This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
wiki:keros_custo:upgrade_major_version [2022/10/25 14:32] ehe [Default custom liveburner for version 5.5.4] |
wiki:keros_custo:upgrade_major_version [2025/05/28 10:24] (current) ehe |
||
|---|---|---|---|
| Line 6: | Line 6: | ||
| This page provides: | This page provides: | ||
| - | * A custom liveburner to upgrade the firmware from version 4.3.3 to version 5.5.4 preserving network, LoRa, and WMC configuration. | + | * A custom liveburner to upgrade the firmware from version 4.3.3 to version 5.X preserving network, LoRa, and WMC configuration. |
| * A tool to customize a liveburner to add some additional packages during the upgrade. | * A tool to customize a liveburner to add some additional packages during the upgrade. | ||
| Line 12: | Line 12: | ||
| - | ===== Default custom liveburner for version 5.5.4 ===== | + | ===== Default custom liveburner for version 5.X ===== |
| A custom liveburner has been generated to save usual configuration files: | A custom liveburner has been generated to save usual configuration files: | ||
| Line 21: | Line 21: | ||
| * Secrets and OpenVPN configuration (for Wanesy Management Center customers) | * Secrets and OpenVPN configuration (for Wanesy Management Center customers) | ||
| - | To upgrade your gateway from version 4.3.3 to version 5.5.4 with this configuration files preservation, use the custom liveburner file **custom-liveburner_5.5.4_klkgw-signed.ipk** available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. To upgrade your system, follow the software update process [[wiki:keros_custo:sw_updates|here]]. | + | To upgrade your gateway from version 4.3.3 to version 5.X with this configuration files preservation, use the custom liveburner file **custom-liveburner_5.11.0_klkgw-signed.ipk** available in the [[wiki:firmware:lastversion | 5.X last version]] page. To upgrade your system, follow the software update process [[wiki:keros_custo:sw_updates|here]]. |
| This custom liveburner can be used to upgrade a gateway without WMC connection. In this case, OpenVPN and BSCC configurations are ignored. Network and LoRa configuration will be saved. | This custom liveburner can be used to upgrade a gateway without WMC connection. In this case, OpenVPN and BSCC configurations are ignored. Network and LoRa configuration will be saved. | ||
| Line 28: | Line 28: | ||
| <note important>This custom liveburner can be used only to upgrade a gateway with firmware version 4.3.3. | <note important>This custom liveburner can be used only to upgrade a gateway with firmware version 4.3.3. | ||
| - | If your gateway has a firmware version < 4.3.3, it is mandatory to upgrade your firmware to version 4.3.3 before to upgrade it to firmware version 5.x.</note> | + | If your gateway has a firmware version < 4.3.3, it is mandatory to upgrade your firmware to version 4.3.3 before to upgrade it to firmware version 5.X.</note> |
| - | <note important>For gateways connected to the WMC (Wanesy Management Center): To reinstall the OpenVPN secrets after the 5.5.4 upgrade, the custom liveburner needs an internet connection to request the OpenVPN certificates to the Kerlink server.</note> | + | <note important>For gateways connected to the WMC (Wanesy Management Center): To reinstall the OpenVPN secrets after the 5.X upgrade, the custom liveburner needs an internet connection to request the OpenVPN certificates to the Kerlink server.</note> |
| - | ===== Build your own 5.5.4 custom liveburner (experienced user) ===== | + | ===== Build your own 5.X custom liveburner (experienced user) ===== |
| ++++click here| | ++++click here| | ||
| Line 53: | Line 53: | ||
| * A desktop Linux machine (native or virtual). //=> It will be used to build the ''liveburner'' package.// | * A desktop Linux machine (native or virtual). //=> It will be used to build the ''liveburner'' package.// | ||
| - | * The KerOS liveburner 5.5.4 package available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. | + | * The KerOS liveburner 5.11 package available in the [[wiki:firmware:lastversion | 5.X last version]] page. |
| - | * The ''update_liveburner_package-v5.5.4.tar.gz'' tool available in the [[wiki:firmware:release_5.5.4 | 5.5.4 release]] page. | + | * The ''update_liveburner_package-v5.5.4.tar.gz'' tool available in the [[wiki:firmware:lastversion | 5.X last version]] page. |
| * The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils tree</code> | * The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils tree</code> | ||
| Line 61: | Line 61: | ||
| Some limits are present in this upgrade mechanism: | Some limits are present in this upgrade mechanism: | ||
| * Safezone space: 2MiB. | * Safezone space: 2MiB. | ||
| - | * Additional packages max size cumulated: 20MiB | ||
| * The custom liveburner is intended to be used on gateways with a firmware 4.3.3 installed. | * The custom liveburner is intended to be used on gateways with a firmware 4.3.3 installed. | ||
| + | <note important>If you need to install additional packages > 2MiB, please contact support team. | ||
| + | </note> | ||
| ==== Generate a custom liveburner ==== | ==== Generate a custom liveburner ==== | ||
| Line 159: | Line 160: | ||
| Then you can launch a generation of ''custom liveburner'' using the following command: | Then you can launch a generation of ''custom liveburner'' using the following command: | ||
| <code bash> | <code bash> | ||
| - | #./update_liveburner.sh liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot | + | #./update_liveburner.sh liveburner_5.11.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
| - | Liveburner custom-liveburner_5.5.4_klkgw-signed.ipk created | + | Liveburner custom-liveburner_5.11.0_klkgw-signed.ipk created |
| </code> | </code> | ||
| Line 166: | Line 167: | ||
| <note tip>It is possible to add some information in the description of the package by adding ''-m my_information''. This information will be added in the CONTROL file of the package that you can read using the ''show_ipk_infos.sh'' tool. | <note tip>It is possible to add some information in the description of the package by adding ''-m my_information''. This information will be added in the CONTROL file of the package that you can read using the ''show_ipk_infos.sh'' tool. | ||
| <code bash> | <code bash> | ||
| - | ./update_liveburner.sh -m my_information liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot | + | ./update_liveburner.sh -m my_information liveburner_5.11.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
| </code></note> | </code></note> | ||
| Line 175: | Line 176: | ||
| * Additional packages (ex: my_package.ipk) can be installed simply by adding them as arguments when generating the custom liveburner: | * Additional packages (ex: my_package.ipk) can be installed simply by adding them as arguments when generating the custom liveburner: | ||
| <code bash> | <code bash> | ||
| - | ./update_liveburner.sh liveburner_5.5.4_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot my_package.ipk | + | ./update_liveburner.sh liveburner_5.11.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot my_package.ipk |
| </code> | </code> | ||