Problem in testing GPIO

i'm trying to port openwrt in TCL HH41V router
the original firmware of this router is based on an old version of openwrt
with fail safe mode with uart i get:

root@(none):/tmp# ./gpio-test.sh
[GPIO1] Trying value 0
[GPIO1] Trying value 1
[GPIO2] Trying value 0
[GPIO2] Trying value 1
[GPIO4] Trying value 0
[GPIO4] Trying value 1
[GPIO5] Trying value 0
[GPIO5] Trying value 1
[GPIO6] Trying value 0
[GPIO6] Trying value 1
[GPIO7] Trying value 0
[GPIO7] Trying value 1
[GPIO8] Trying value 0
[GPIO8] Trying value 1
[GPIO9] Trying value 0
[GPIO9] Trying value 1
[GPIO10] Trying value 0
[GPIO10] Trying value 1
[GPIO15] Trying value 0
[GPIO15] Trying value 1
root@(none):/tmp#

and no led is lighted in all the test
and with ssh after the router booted normally i get:

root@flybox:/tmp# ./gpio-test.sh
ash: write error: Device or resource busy
ash: write error: Device or resource busy
[GPIO1] Trying value 0
[GPIO1] Trying value 1
[GPIO2] Trying value 0
[GPIO2] Trying value 1
ash: write error: Device or resource busy
[GPIO4] Trying value 0
[GPIO4] Trying value 1
[GPIO5] Trying value 0
[GPIO5] Trying value 1
[GPIO6] Trying value 0
[GPIO6] Trying value 1
[GPIO7] Trying value 0
[GPIO7] Trying value 1
[GPIO8] Trying value 0
[GPIO8] Trying value 1
[GPIO9] Trying value 0
[GPIO9] Trying value 1
[GPIO10] Trying value 0
[GPIO10] Trying value 1
ash: write error: Device or resource busy
ash: write error: Device or resource busy
ash: write error: Device or resource busy
ash: write error: Device or resource busy
[GPIO15] Trying value 0
[GPIO15] Trying value 1
ash: write error: Device or resource busy
ash: write error: Device or resource busy

that means that the gpio used are: 0 3 11 12 13 14 16

so, how can i test them?