... | ... | @@ -352,7 +352,33 @@ about the code layout of the WR Switch in the [Building and flashing |
|
|
manual for v4.0
|
|
|
release](https://www.ohwr.org/project/white-rabbit/uploads/d9f33d5629092f4453ddd4b310297b9a/wr-switch-sw-v4.0_build.pdf)
|
|
|
|
|
|
??Author: Grzegorz Daniluk, [CERN](http://cern.ch??)
|
|
|
??Author: Grzegorz Daniluk,
|
|
|
[CERN](http://cern.ch??)
|
|
|
|
|
|
### 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:
|
|
|
|
|
|
/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.
|
|
|
|
|
|
Even there is a message printed:
|
|
|
|
|
|
Creating SDB filesystem in /dev/mtd5
|
|
|
|
|
|
There are no changes done to the hwinfo partition (/dev/mtd5).
|
|
|
|
|
|
??Author: Adam Wujek, [CERN](http://cern.ch??)
|
|
|
|
|
|
-----
|
|
|
|
... | ... | |