AnsweredAssumed Answered

How to load xeno_16550A.ko module

Question asked by bflino on Feb 22, 2012
Latest reply on Mar 6, 2012 by bflino

Hello everybody,

 

I have compiled the kernel for BF518 so that the serial port support is provided by kernel modules.

 

I first tried successfully to use the bfin_5xx.ko module with:

 

insmod /lib/modules/2.6.34.7-ADI-2010R1/kernel/drivers/serial/serial_core.ko

insmod /lib/modules/2.6.34.7-ADI-2010R1/kernel/drivers/serial/bfin_5xx.ko

 

within /etc/rc.

Serial port communication is working right at this point.

With bfin_5xx.ko loaded, dmesg command outputs:

 

bfin-uart: Blackfin serial driver

bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 29) is a BFIN-UART

 

Now, before trying to load the xenomai serial port real time driver xeno_16550A, I have discarded bfin_5xx with:

 

rmmod bfin_5xx

 

and finally tried to load it:

 

cd /lib/modules/2.6.34.7-ADI-2010R1/kernel/drivers/xenomai/serial

modprobe xeno_16550A mem=0xffc00400 irq=29

 

but here the device hangs and reboots.

 

Any hint?

Thank you very much in advance

Outcomes