2008-06-13 10:10:22     A couple of questions

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

2008-06-13 10:10:22     A couple of questions

Justin Wetherell (UNITED STATES)

Message: 57238   

 

Hello All,

 

I have a couple of questions and can and can't seem to find an "consistent" information in the documents. I am hoping to you all can point me in the right direction.

 

I currently have uClinux-dist-2008R1-RC8 compiled and running on my Eval-Blackfin v3.1 board. I also have an EXT-Video board attached to the 561 which contains the ADV7183A chip and the ADV7171 chip.

 

I am wondeing what I need to change in my .config to get the 7183 and 7171 recongnized and how I can get the SD card slot recognized.

 

One last thing, currently my u-boot is set-up at 115200 but my kernel console is set-up as 57600, I changed my config.arch CONSOLE_BAUD_RATE variable to 115200 but that doesn't seem to help. Maybe I am missing something obvious.

 

Any help would be appreciated. Thanks!

QuoteReplyEditDelete

 

 

2008-06-13 15:10:24     Re: A couple of questions

Mike Frysinger (UNITED STATES)

Message: 57259   

 

what is an "Eval-Blackfin v3.1 board" ?  i havent heard of this

 

there arent any drivers currently for those ADV parts

 

the SD card slot is probably usable with this: http://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:spi_mmc

 

to change the baud rate in the kernel, use the console= kernel command line argument like normal

QuoteReplyEditDelete

 

 

2008-06-13 15:30:24     Re: A couple of questions

Justin Wetherell (UNITED STATES)

Message: 57263   

 

The board is a Bluetechnix Blackfin v3.1 ADSP-BF561

 

I did get the console into 115200 but it doesn't stay after a reset. I did the following.

 

In u-boot: "setenv bootargs root=/dev/mtdblock0 rw console=ttyBF0,115200" and then "bootm 20020000". Everything booted fine but if I reboot it doesn't stay. I tried to do a saveenv but that made the board un-bootable.

QuoteReplyEditDelete

 

 

2008-06-13 16:08:58     Re: A couple of questions

Mike Frysinger (UNITED STATES)

Message: 57264   

 

anything changes you make to the environment will be lost as soon as you leave u-boot (reset/boot something/etc...).  you need to save the environment.

 

if doing "saveenv" kills the board, it means your u-boot has broken environment definitions.  where did you get your u-boot from ?  ive tested the BF561 module on the small eval board and i seem to remember it operating correctly ...

QuoteReplyEditDelete

 

 

2008-06-13 16:23:26     Re: A couple of questions

Justin Wetherell (UNITED STATES)

Message: 57267   

 

What is the proper sequence of commands to get a new image on the device? I don't seem to have any real info. Here is what I usually do.

 

erase 1:1-30

 

loadb

** Send uImage file through Kermit **

cp.b 0x1000000 0x20020000 <file size in HEX>

bootm 0x20020000

 

I think the envronment gets saved in the 1st sector. So, I erase the 1st sector before tranferring the new image in.

QuoteReplyEditDelete

 

 

2008-06-13 16:50:33     Re: A couple of questions

Mike Frysinger (UNITED STATES)

Message: 57270   

 

the documentation explains how to load files over the serial port in u-boot: http://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:serial_port_loading_files

 

as for environment, i think the cm-bf561 uses the 3rd sector for the environment.  the 1st sector must be u-boot (since that is where the bootrom is going to boot things).

QuoteReplyEditDelete

 

 

2008-06-17 14:58:23     Re: A couple of questions

Justin Wetherell (UNITED STATES)

Message: 57422   

 

Thanks for your help. I am slowly getting there. I have found the 'correct' sequnce of commands to save my environment and get the console to output in 115200. This is what I do now, in case someone else runs into the problem.

 

Here is my environment:

 

bootcmd=bootm 20040000

bootargs=root=/dev/mtdblock0 rw console=ttyBF0,115200

 

This is how I load on the kernel:

 

erase 1:2-31

loadb

** Send uImage file through Kermit **

cp.b 1000000 20040000 <file size in HEX>

bootm

 

 

 

Another question... I'd like to take in video/images from the input chip on the EXT-Video card (chips ADV7171 and ADV7183A), process them, and pipe them to the output chip on the EXT-Video. Is there a way to do this with the current state of the kernel?

QuoteReplyEditDelete

 

 

2008-06-17 17:33:12     Re: A couple of questions

Mike Frysinger (UNITED STATES)

Message: 57429   

 

please read: http://docs.blackfin.uclinux.org/doku.php?id=hw:boards:bf561-ezkit#video_peripherals

QuoteReplyEditDelete

 

 

2008-06-18 14:47:09     Re: A couple of questions

Justin Wetherell (UNITED STATES)

Message: 57534   

 

Yea, I saw that before.

 

I was hoping that some 3rd party would point me in the right direction to get a workaround. Seems like there are a lot of people on the forum with 7171 and 7183 drivers but I can't seem to find the code and kernel config.

Attachments

    Outcomes