pandaboard

How to detecting interrupt on a GPIO line in Embedded Linux?

微笑、不失礼 提交于 2019-12-31 22:41:29
问题 There is an interrupt being generated at every 10ms on GPIO_39 in the pandaboard OMAP4. I have registered a handler for this in Linux driver code, but the handler is not being called since the interrupt is not being detected. I made sure at the hardware level (by probing the gpio pin) that the interrupt is actually being generated. It's only that the software is not being able to detect it. I've the following in my driver code. #define GPIO_NO 39 iowrite16(0x3, gpio_39_address + 2); /*

UART4 with Pandaboard and Arch Linux

孤者浪人 提交于 2019-12-12 03:59:35
问题 I'm trying to use UART4 in my Pandaboard with Arch Linux. I'm using the latest kernel (4.2.0-2-ARCH) so I can't configure MUX in the old way using omap_mux , I have to do it using Device Tree Overlay. This is new to me so it's hard, I've never done this before. I have been reading some post about how to use them in Beaglebone boards in sites like this and this. So I downloaded the OMAP4 Technical Reference Manual (download here). Table 18-504 shows the UART4 control register. Based on that

Cross-compiling Qt for Pandaboard

烈酒焚心 提交于 2019-12-10 15:14:55
问题 I spend weeks trying to cross compile Qt for my Panda board and no way, I can't pass the ./configure. If someone could give me a help I'll appreciate. My host system is Ubuntu-13.04 ×86_64bit(running un Virtualbox) My target system is Pandaboard ES Ubuntu-12.04. All the steps in host box: sudo apt-get install arm-linux-gnueabihf sudo mkdir /opt/qt-485-armhf cd /usr/src sudo wget http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz sudo tar xf

Problems with OpenCV compilation with static linking on pandaboard

放肆的年华 提交于 2019-12-07 06:56:32
问题 I installed opencv with static linking on pandaboard using BUILD_SHARED_LIBS=0 option. I am using ubuntu 11.10. I also built 3rd party libraries png, jpeg, jasper and zlib. (cmake options BUILD_PNG=ON BUILD_JASPER=ON BUILD_JPEG=ON BUILD_ZLIB=ON WITH_JPEG=ON WITH_PNG=ON WITH_JASPER=ON). My opencv installation was successful. However when I compile a test program I get a number of undefined reference to errors. All of these errors seem to be related to jpeg, png and jasper libraries but i can't

Problems with OpenCV compilation with static linking on pandaboard

旧时模样 提交于 2019-12-05 10:09:29
I installed opencv with static linking on pandaboard using BUILD_SHARED_LIBS=0 option. I am using ubuntu 11.10. I also built 3rd party libraries png, jpeg, jasper and zlib. (cmake options BUILD_PNG=ON BUILD_JASPER=ON BUILD_JPEG=ON BUILD_ZLIB=ON WITH_JPEG=ON WITH_PNG=ON WITH_JASPER=ON). My opencv installation was successful. However when I compile a test program I get a number of undefined reference to errors. All of these errors seem to be related to jpeg, png and jasper libraries but i can't understand why libhighgui is not able to refer to 3rd party libraries when I explicitly link them.

How to detecting interrupt on a GPIO line in Embedded Linux?

僤鯓⒐⒋嵵緔 提交于 2019-12-03 03:35:51
There is an interrupt being generated at every 10ms on GPIO_39 in the pandaboard OMAP4 . I have registered a handler for this in Linux driver code, but the handler is not being called since the interrupt is not being detected. I made sure at the hardware level (by probing the gpio pin) that the interrupt is actually being generated. It's only that the software is not being able to detect it. I've the following in my driver code. #define GPIO_NO 39 iowrite16(0x3, gpio_39_address + 2); /* Configured the pin 22 to be used as gpio. */ ret = gpio_request(GPIO_NO, "Claiming GPIO"); if(ret < 0) {

Exporting Executable jar file that uses opencv

百般思念 提交于 2019-11-29 12:15:43
While exporting in eclipse I choose "Package required libraries into generated jar". The jar file works only in my machine. However, when I test it on other machine it gives this Exception: Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at com.googlecode.javacpp.Loader.loadLibrary(Loader.java:593) at com.googlecode.javacpp.Loader.load(Loader.java:489) at com.googlecode.javacpp.Loader

Exporting Executable jar file that uses opencv

杀马特。学长 韩版系。学妹 提交于 2019-11-28 05:37:34
问题 While exporting in eclipse I choose "Package required libraries into generated jar". The jar file works only in my machine. However, when I test it on other machine it gives this Exception: Exception in thread "main" java.lang.UnsatisfiedLinkError: no jniopencv_core in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1681) at java.lang.Runtime.loadLibrary0(Runtime.java:840) at java.lang.System.loadLibrary(System.java:1047) at com.googlecode.javacpp.Loader.loadLibrary