2008-04-23 11:25:40     Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Document created by Aaronwu Employee on Aug 6, 2013
Version 1Show Document
  • View in full screen mode

2008-04-23 11:25:40     Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Miquel Soler i Mir (SPAIN)

Message: 54789     Hello.

 

I'm porting all my project from 2007-RC1.1 to 2008-RC8 and I found some problems:

 

1.- Telnet (I'm using this configuracion and it is working fine)

But is this really corrrect?

 

Device Drivers --->

Character devices --->

[*] Unix98 PTY support

[ ] Legacy (BSD) PTY support

(256) Maximum number of legacy PTY in use

 

Main Menu ->

Network Applications --->

[*] telnetd

[ ] telnetd does not use openpty()

[*] telnet

[*] inetd

 

 

2.- Can driver, I'm using the STD can driver (can4linux). I load the driver with modprobe can. The device is not present in dev folder!

how I can to correct this?

 

 

3.- The same problem with MMC driver

 

 

4.- With bluetechnix TFT driver. In the start up of the kernel it says:

hitachi-tx09: FrameBuffer initializing...

peripheral_request: Peripheral 3 function 1 is already reserved by bfin-uart !

 

 

Can somebody help me to solve this.

Thanks

Miquel Soler i Mir

TranslateQuoteReplyEditDelete

 

 

2008-04-23 12:07:04     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Mike Frysinger (UNITED STATES)

Message: 54792    why do you think (1) is not right ?

 

(2/3) you have to make sure the required board resources are declared in the board resources file in the kernel

 

(4) you'll have to check the driver/board resources ... the driver is obviously trying to use the same pins as the UART which wont work

QuoteReplyEditDelete

 

 

2008-04-24 11:43:54     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Miquel Soler i Mir (SPAIN)

Message: 54875    Thanks Mike,

 

For (4) I disabled the UART1 (which was not enabled in the 2007 version) and is working fine.

 

for (2/3): Can you give me a hint where have to modify this?

Where I can find this file?

 

Thanks

TranslateQuoteReplyEditDelete

 

 

2008-04-24 15:44:33     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Mike Frysinger (UNITED STATES)

Message: 54892    look in the board resources file in the kernel for the tiny board and compare it to the other boards (like the stamp) to see if it has resource examples for the drivers you're interested in

QuoteReplyEditDelete

 

 

2008-04-25 06:01:46     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Miquel Soler i Mir (SPAIN)

Message: 54946    Thanks Mike.

 

Which file I must compare?

Where I can find these files?

 

Miquel Soler i Mir

TranslateQuoteReplyEditDelete

 

 

2008-04-25 06:21:56     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Yi Li (CHINA)

Message: 54949    please refer to:  linux/arch/blackfin/mach-bf537/boards/

QuoteReplyEditDelete

 

 

2008-04-28 05:16:23     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Vincent Puig (SPAIN)

Message: 55107    Hola Miguel,

 

Para que la demás gente lo entienda seguiré en inglés:

 

As you already know, I am using the same target than you (CM-BF537E from bluetechnix) and maybe you can help me.

 

I upgraded the kernel to the 2008R1-RC8, but when I compile, I get this error:

 

include/linux/kernel.h:123: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:127: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:131: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:135: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:139: error: expected declaration specifiers or ‘...’ before ‘va_list’

include/linux/kernel.h:155: error: expected declaration specifiers or ‘...’ before ‘va_list’

make[2]: *** [arch/blackfin/kernel/asm-offsets.s] Error 1

make[1]: *** [prepare0] Error 2

make[1]: Leaving directory `/home/vincent/uClinux-dist-2008R1-RC8/linux-2.6.x'

make: *** [linux] Error 1

 

Was it the same for you?, could you ore anyone help me?

 

Saludos ;).

 

 

------------------------------------------------------------------

 

I have already solved it, it was a missing package problem.

QuoteReplyEditDelete

 

 

2008-04-29 06:33:15     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Miquel Soler i Mir (SPAIN)

Message: 55215    Hello.

 

I check the file stamp.c and cm-bf537.c but I can't fine any reference to the CAN bus or CAN driver.

 

Can somebody help me. My brain don't have more ideas to check.

 

Thanks

TranslateQuoteReplyEditDelete

 

 

2008-04-29 09:16:51     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Michael Hennerich (GERMANY)

Message: 55223    I would simply create the device nodes manually - using mknod.

 

root:/> mknod

BusyBox v1.4.1 (2008-04-29 15:08:04 CEST) multi-call binary

 

Usage: mknod [OPTIONS] NAME TYPE MAJOR MINOR

 

Create a special file (block, character, or pipe)

 

Options:

        -m      Create the special file using the specified mode (default a=rw)

 

TYPEs include:

        b:      Make a block (buffered) device

        c or u: Make a character (un-buffered) device

        p:      Make a named pipe. MAJOR and MINOR are ignored for named pipes

 

 

Get the major minor numbers form the device_table.txt file

 

-Michael

QuoteReplyEditDelete

 

 

2008-04-30 07:16:47     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Miquel Soler i Mir (SPAIN)

Message: 55286    Thanks, now is working

 

I add this lines in rc file

 

mknod -m 0666 /dev/can0 c 91 0

modprobe can

 

My question is:

 

Why in 2007 was automatic and not in 2008?

 

Thanks

 

Miquel Soler i Mir

TranslateQuoteReplyEditDelete

 

 

2008-04-30 16:20:30     Re: Some problems with 2008-RC8 and CM-BF537E from bluetechnix

Mike Frysinger (UNITED STATES)

Message: 55316    the can driver needs updating so that it works automatically

Attachments

    Outcomes