@Lazar-Demin
I am another one very interested in low power consumption, including all sorts of sleep states, wakeup signals, wakeup times, etc, .Any information available?
Bjorn Pehrson
@Bjorn Pehrson
Best posts made by Bjorn Pehrson
-
RE: Power Consumption
Latest posts made by Bjorn Pehrson
-
RE: From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example
Here is the full response:
bjorn@bpX260:~/c-cross-compile-example$ sh xCompile.sh -buildroot ~/source/ -lib ugpioCompiling C program
/home/bjorn/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/bin/mipsel-openwrt-linux-gcc -Os -pipe -mno-branch-likely -mips32r2 -mtune=24kc -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -msoft-float -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I /home/bjorn/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/usr/include -I /home/bjorn/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/include -I /home/bjorn/source//staging_dir/target-mipsel_24kc_musl/usr/include -I /home/bjorn/source//staging_dir/target-mipsel_24kc_musl/include gpioRead.c -o gpioRead -L/home/bjorn/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/usr/lib -L/home/bjorn/source//staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/lib -L/home/bjorn/source//staging_dir/target-mipsel_24kc_musl/usr/lib -L/home/bjorn/source//staging_dir/target-mipsel_24kc_musl/lib -lugpio
/home/bjorn/source/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl/lib/gcc/mipsel-openwrt-linux-musl/5.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: cannot find -lugpio
collect2: error: ld returned 1 exit status
makefile:9: recipe for target 'gpioRead' failed
make: *** [gpioRead] Error 1 -
RE: From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example
@Jackdaw
I just tried that and xame a bit further but no completion. I now got
cannot find -lugpio
collect2: error: ld returned 1 exit status
makefile:9: recipe for target 'gpioRead' failed
make: *** [gpioRead] Error 1 -
RE: From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example
I tried to copy all files in https://github.com/mhei/libugpio/tree/master/src to staging_dir/target-mipsel_24kc_musl/usr/include/ugpio but got "fatal error: ugpio-version.h: No such file or directory"
There is a file ugpio-version.h.in but no ugpio-version.h -
lmbench
Anyone managed to cross-compile the lmbench performance measurement tools (http://www.bitmover.com/lmbench/) and run on Omega2? I have problems with several header files.
-
RE: From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example
@Jackdaw said in From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example:
@Stephen-Wright said in From "Cross-Compiling for the Omega" I cannot successfully build the gpioRead example:
ugpio
I think you need libugpio headers https://github.com/mhei/libugpio. Copy those to
staging_dir/target-mipsel_24kc_musl/usr/include/
and then compile.What do you mean "copy"? fork the whole https://github.com/mhei/libugpio into "staging_dir/target-mipsel_24kc_musl/usr/include/" ?
-
RE: Power Consumption
@Lazar-Demin
I am another one very interested in low power consumption, including all sorts of sleep states, wakeup signals, wakeup times, etc, .Any information available?