... | ... | @@ -357,26 +357,29 @@ release](https://www.ohwr.org/project/white-rabbit/uploads/d9f33d5629092f4453ddd |
|
|
|
|
|
### Q: When upgrading the 4.x switch to v5.0 I see an error "/wr/bin/sdb-read: can't load library 'libm.so.1'"
|
|
|
|
|
|
A: During the upgrade from pre-v5.0 version of firmware to v5.0 there is
|
|
|
a following message printed:
|
|
|
A: During the upgrade from pre-v5.0 version of firmware to v5.0 you can
|
|
|
observe on a console a following message being printed:
|
|
|
|
|
|
/wr/bin/sdb-read: can't load library 'libm.so.1'
|
|
|
Creating SDB filesystem in /dev/mtd5
|
|
|
cp: can't stat '/wr/etc/sdb-for-dataflash': No such file or directory
|
|
|
done
|
|
|
|
|
|
The problem comes from the fact that during the upgrade the old firmware
|
|
|
is trying to execute the binaries (sdb-read and sdb-for-dataflash) from
|
|
|
the new firmware. Since both firmwares are using different versions of
|
|
|
libraries these programs failed to execute. Upgrade of libraries'
|
|
|
versions comes from the buildroot upgrade done between v4.2 and v5.0 of
|
|
|
wrs firmware.
|
|
|
Please ignore this printout. No real error occurs.
|
|
|
|
|
|
Even there is a message printed:
|
|
|
The printout comes from the fact that during the upgrade, the old
|
|
|
firmware is trying to execute the binaries (sdb-read and
|
|
|
sdb-for-dataflash) from the new firmware. Since both firmwares are using
|
|
|
different versions of libraries these programs fail to execute. Upgrade
|
|
|
of libraries' versions comes from the buildroot upgrade done between
|
|
|
v4.2 and v5.0 of wrs firmware. If there is a need to create hwinfo
|
|
|
partition, it will be created at the first boot of firmware v5.0.
|
|
|
|
|
|
Despite there is a message printed:
|
|
|
|
|
|
Creating SDB filesystem in /dev/mtd5
|
|
|
|
|
|
There are no changes done to the hwinfo partition (/dev/mtd5).
|
|
|
there is no change done to the hwinfo partition (/dev/mtd5).
|
|
|
|
|
|
??Author: Adam Wujek, [CERN](http://cern.ch??)
|
|
|
|
... | ... | |