strange errors on mpc85xx-p1010-tplink_tl-wdr4900-v1

Bastian Bittorf bb at npl.de
Tue Feb 7 09:36:30 PST 2023


On Sun, Feb 05, 2023 at 03:47:46PM +0000, Bastian Bittorf wrote:
> I build r21997 for the wdr4900, flashed with
> 'sysupgrade -n /tmp/factory.bin' and recognized strange
> errors with custom scripts. It can be reduced to:
> 
> $ test A -gt 5 && echo OK
> ash: A: out of range
> OK

i compiled kernel-6.1 + busybox 1.36.0 for powerpc/mpc85xx [1]
using toolchain from http://musl.cc/powerpc-linux-muslsf-cross.tgz
and it is just the same broken behavior.

it does not happen an other architectures,
so it can be a compiler or toolchain issue.

i will investigate further.
bye, bastian

[1] http://intercity-vpn.de/mpc85xx/
qemu-system-ppc -M mpc8544ds -kernel zImage -initrd initramfs.cpio.gz -nographic



More information about the openwrt-devel mailing list