setserial not working on linux running on Beagleboard (ARM development board)
Hi,
I'm trying to develop an application to work with serial infra-red module, but I'm having difficulties to even get my module started. My HW is Beagleboard, which has 1 UART serial port, normally used for console, which I have disabled (I re-created the boot.scr, without the console arguments), and I have modified the getty config, not to try to attach to ttyO2.
On 3.x omap kernels, the serial port is now called ttyOx instead of ttySx, though I guess that doesn't really matter ? I guess the port and irq are the most important things..
During boot, I can see following information regarding the configuration:
When system tries to load the lirc module (for infra-red) I get this
complain about IRQ being busy:
Now, I'm not sure now why that is still happening, as I think nobody should be connected to ttyO2 anymore. But anyway, around internet people say I should release the UART manually, and I try it with setserial, with strange reply:
If I try without sudo, I get "Permission denied"
Also strangely, when I try to look at the port status:
Shoudn't there be something in those port addresses ?
Does it matter that "MMIO" is used ? Normally IO port seems to be indeed 0x**** format, now the address for serial port is much higher (0x********)
Any ideas how I should proceed ?
Last edited by julumme; 10-30-2011 at 11:16 AM..
Reason: -
Hello everyone. I am running Debian on an ARM7 Device (aka my android phone). Everything is great. Works well.
I would love to use it for Development.
Mainly my interests are in Web Development, and Java development.
So far the only useful IDE for debian arm is Netbeans. Which is pretty... (0 Replies)
Hi I am trying to port xenomai on exynos 4210 arm board.
With some research I have found a way to port the board on the exynos board but the problem is that on the exynos-4210 website they have provided a patched version of linux-3.0.15 kernel for implementing on the board.
On this kernel I am... (1 Reply)
I created and Compiled a C program to run in QEMU for ARM.
When I run the program using the command
#qemu-arm -L /home/arm-2010.09/arm-none-linux-gnueabi/libc ./test
it gives me the following error:
If 'qemu-arm' is not a typo you can use command-not-found to lookup the package that contains... (0 Replies)
Raspberry Pi
An ARM GNU/Linux box for $25. Take a byte!
FAQs
What's a Raspberry Pi?
The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. It's a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets,... (5 Replies)
Hi guys,
i'm running a program on samsumg 6410 arm cpu board. it caused an "free(): invalid next size (normal)" fail.
i try to use gdb for remote debugging:
1, start gdb server on board:
gdbserver 192.168.1.20:1234 ./HostAP
Process ./HostAP created; pid = 499
Listening on port... (8 Replies)
Running a multi-threaded program in my arm board one day or more ,The process down .
In order to get a coredump to analysis of the stack , . I use commands ulimited -c unlimited .
but when the process down . no coredump
But I write a test
#include <stdio.h>
int main(void){
... (14 Replies)
Hello sir,
I am Vijay Manohar. I am a writing a device driver for LCD frame buffer device. In this , LCD has been mapped at physical address 0x3000000. Now I want to implement mmap entry point. I have two questions regarding this
Can I use this physical address as one of the parameters to... (0 Replies)
hey there
we cant seem to get jsp to load pages properly on linux running tomcat 4 server. everytime we run .jsp files, the source code comes up instead of the actual file contents. any suggestions??
cheers
mile1982 (1 Reply)
Here is my bench result. I also have a suspect file-copy result (giving me an index of 0.0) which would significantly drop the overall average.
Anyway, if someone comes up with a reason as to why this may be, please let me know.
Notes
... (0 Replies)