This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
wiki:keros_custo:upgrade_major_version [2025/05/28 10:24] ehe |
wiki:keros_custo:upgrade_major_version [2025/11/24 15:26] (current) vsz |
||
|---|---|---|---|
| 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.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]]. | + | 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.12.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 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.11 package available in the [[wiki:firmware:lastversion | 5.X last version]] page. | + | * The KerOS liveburner 5.12.0 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:lastversion | 5.X last version]] page. | + | * The ''update_liveburner_package-v5.12.0.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 60: | Line 60: | ||
| Some limits are present in this upgrade mechanism: | Some limits are present in this upgrade mechanism: | ||
| - | * Safezone space: 2MiB. | + | * Safezone space: 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 important>If you need to install additional packages > 20MiB, please contact support team. |
| </note> | </note> | ||
| - | |||
| ==== Generate a custom liveburner ==== | ==== Generate a custom liveburner ==== | ||
| Line 91: | Line 90: | ||
| Uncompress the ''update_liveburner'' package: | Uncompress the ''update_liveburner'' package: | ||
| <code bash> | <code bash> | ||
| - | $ tar -xzvf update_liveburner_package-v5.5.4.tar.gz | + | $ tar -xzvf update_liveburner_package-v5.12.0.tar.gz |
| update_liveburner.sh | update_liveburner.sh | ||
| extract_custom_elements.sh | extract_custom_elements.sh | ||
| Line 160: | Line 159: | ||
| 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.11.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot | + | #./update_liveburner.sh liveburner_5.12.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
| - | Liveburner custom-liveburner_5.11.0_klkgw-signed.ipk created | + | Liveburner custom-liveburner_5.12.0_klkgw-signed.ipk created |
| </code> | </code> | ||
| Line 167: | Line 166: | ||
| <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.11.0_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.12.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot |
| </code></note> | </code></note> | ||
| Line 176: | Line 175: | ||
| * 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.11.0_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.12.0_klkgw-signed.ipk sample_scripts/preapps sample_scripts/postapps sample_scripts/preinst sample_scripts/postinst sample_scripts/prereboot my_package.ipk |
| </code> | </code> | ||