This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:upgrade_keros3_to_4 [2018/12/27 15:12] hch |
wiki:upgrade_keros3_to_4 [2019/01/25 14:16] hch [Generate a custom liveburner (from a Linux machine)] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Upgrade from KerOS version 3.x to 4.x with custom liveburner ====== | ====== Upgrade from KerOS version 3.x to 4.x with custom liveburner ====== | ||
- | KerOS v4.x introduces some important modifications (new Kernel, rootfsRW, hotfixing) requiring an upgrade with a liveburner. This page will provide a way to do this upgrade with conservation of some elements like the configuration and reinstall some additional packages. | + | KerOS v4.x introduces some important modifications (new kernel, rootfsRW, hotfixing) requiring an upgrade with a liveburner. This page will provide a way to do this upgrade with conservation of some elements like the configuration and reinstall some additional packages. |
===== Introduction ===== | ===== Introduction ===== | ||
- | A liveburner package will by default flash the eMMC content and install only the KerOS package. So any package, data and configurations will be lost using such upgrade package. \\ | + | A liveburner package will by default flash the eMMC content and install only the KerOS package. So any packages, data, and configurations will be lost using such upgrade package. \\ |
- | This upgrade will be problematic for products already on the field that needs to keep a Device Management link UP and RUNNING before and after the upgrade. | + | This upgrade will be problematic for products already on the field that need to keep a Device Management link up and running before and after the upgrade. |
To solve this, this procedure will provide: | To solve this, this procedure will provide: | ||
Line 27: | Line 27: | ||
===== Requirements ===== | ===== Requirements ===== | ||
- | * A desktop Linux machine (native or virtual). | + | * A desktop Linux machine (native or virtual). //=> It will be used to build the ''liveburner'' package.// |
- | * An original KerOS liveburner 4.x package available in the [[wiki:resources|resources page]]. | + | * An original KerOS liveburner 4.x package available in the resources page: [[resources_ibts:resources|Wirnet iBTS resources]] or [[resources_ifemto:resources|Wirnet iFemtoCell resources]]. |
- | * The ''update_liveburner_package-4.0-g8c53719.tar.gz'' tool available [[wiki:resources#other_tools|here]]. | + | * The ''update_liveburner_package-4.0-g8c53719.tar.gz'' tool available [[wiki:common_resources#tools|here]]. |
* The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils</code> | * The following packages: <code bash>sudo apt-get install device-tree-compiler cpio binutils</code> | ||
Line 67: | Line 67: | ||
Additional packages can be installed simply by adding them as arguments. | Additional packages can be installed simply by adding them as arguments. | ||
<code bash> | <code bash> | ||
- | ./update_liveburner.sh liveburner_4.0.2_klk-lpbs-signed.ipk preinst preapps my_packet.ipk | + | ./update_liveburner.sh liveburner_4.0.2_klk-lpbs-signed.ipk preinst preapps my_package.ipk |
</code> | </code> | ||
</note> | </note> | ||
Line 90: | Line 90: | ||
++++ | ++++ | ||
- | File to download - Preinst.sh | | + | File to download - preinst.sh | |
<code bash preinst.sh> | <code bash preinst.sh> | ||
#!/bin/sh | #!/bin/sh | ||
Line 174: | Line 174: | ||
++++ | ++++ | ||
- | File to download - Preapps.sh | | + | File to download - preapps.sh | |
<code bash preapps.sh> | <code bash preapps.sh> | ||
#!/bin/sh | #!/bin/sh |