Hello everyone,
I am having trouble generating an executable for fw_printenv. The build creates an executable, fw_printenv, and it's file properties are: "ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped. I copied this file into the /sbin on our AM3517 board. When I type "fw_printenv" it spits back "fw_printenv: not found". I verified that the file is located in the /sbin file.
I built the executable within u-boot-2011.09-psp04.06.00.08 folder using
build seems to be succesful; the output is: make clean env HOSTCC=arm-arago-linux-gnueabi-gcc
make -C tools/env all MTD_VERSION=
make[1]: Entering directory `/home/adriaan/ti-sdk-am3517-evm-05.07.00.00/board-support/u-boot-2011.09-psp04.06.00.08/tools/env'
arm-arago-linux-gnueabi-gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -idirafter /home/adriaan/ti-sdk-am3517-evm-05.07.00.00/board-support/u-boot-2011.09-psp04.06.00.08/include -idirafter /home/adriaan/ti-sdk-am3517-evm-05.07.00.00/board-support/u-boot-2011.09-psp04.06.00.08/include2 -idirafter /home/adriaan/ti-sdk-am3517-evm-05.07.00.00/board-support/u-boot-2011.09-psp04.06.00.08/include -DUSE_HOSTCC -o fw_printenv crc32.c fw_env.c fw_env_main.c
make[1]: Leaving directory `/home/adriaan/ti-sdk-am3517-evm-05.07.00.00/board-support/u-boot-2011.09-psp04.06.00.08/tools/env'
Thanks again!
Adriaan Delport