Re: MPC885 - USB HCI drivers.

2007-12-20 Thread Vitaly Bordug
On Thu, 20 Dec 2007 08:53:07 +0200
Jonathan Journo wrote:

> Hello Pantelis ,
> 
> I saw you used usb host driver on mpc8xx. I am trying to make one on
> MPC885 because vxworks drivers are not compatible with it.
> 
> To begin I tried to make the loopback mode (test) working but it
> doesn't work. Is there anything that is not mentioned on the
> datasheet in" USB host controller initialization example" that I have
> to know to make it work.

iirc, Panto was working with 8271, not 8xx hci. I made some investigations, 
basing on driver from Arabella SW.
The whole thing needs microcode upload and is very flakey from what I recall. 
In fact I gave up b/c it was not
doing things described in datasheet, so the same case.

-- 
Sincerely, Vitaly
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Differences between git tree

2007-12-20 Thread Bizhan Gholikhamseh (bgholikh)
Hi,
Could someone let me know what is the each of these git tree are?

http://opensource.freescale.com/pub/scm/linux-2.6-jdl.git
AND
http://www.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc.git

Many thanks in advance,
Bizhan
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: tiny login

2007-12-20 Thread Clemens Koller
pjmaiya schrieb:
> hi,

- don't cross-post
- don't post HTML to the lists

> I am using tiny login provided by montavista. Binaries already obtained 
> from tool provided from montavista. We are able to add only 10 users. 
> But I need to add more than 10 users.

Tried to contact montavista for support? ;-)

> I have already downloaded free open source for tinylogin 
> (tinylogin-1.4). Can we modifiy this source code of this version and 
> support users more than 10??
> If yes, can somebody inform step to build tiny login and installation 
> method.

Well, you propably want to understand the advantage of open source
software first. You can (depending on the license) change the code
according to your needs...

Read: http://tldp.org/HOWTO/Software-Building-HOWTO.html

If you have questions, please tell exactly, where you have a problem.

$ wget http://tinylogin.busybox.net/downloads/tinylogin-1.4.tar.bz2
$ tar xvf tinylogin-1.4.tar.bz2
$ cd tinylogin-1.4
$ make

works like a charm.

A quick look into login.c says:
// login defines
#define TIMEOUT   60
#define FAIL_DELAY3
#define EMPTY_USERNAME_COUNT10

... which looks quite promising!
Ask the busybox guys for details since this is off-topic here.

Regards,

Clemens Koller
__
R&D Imaging Devices
Anagramm GmbH
Rupert-Mayer-Straße 45/1
Linhof Werksgelände
D-81379 München
Tel.089-741518-50
Fax 089-741518-19
http://www.anagramm-technology.com
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded


Re: some questions about XUP and the generation of ace file

2007-12-20 Thread greenlean

Hi, 

I'm responding myself and windstorm. First of all, I'm Spanish and I suppose
you too...

Xilinx has translate the compiler tools to spanish, and if you have a look
to the line 430 of the file /opt/Xilinx91i/EDK91i/data/xmd/genace.tcl you
can see

if { [catch {set saddr [exec powerpc-eabi-objdump -x $elffile | grep -w
"start address"]} err] } {

this line pruduces the error. If we do an obj-dump of this file, one using
the ELDK compiler and other one using the EDK cross compiler tool, we see:

$ppc_4xx-objdump -x zImage.elf | less --> Compilador ELDK 4.1

architecture: powerpc:common, flags 0x0112:
EXEC_P, HAS_SYMS, D_PAGED
start address0x0040

Program Header:


$powerpc-eabi-objdump -x zImage.elf  --> Xilinx PowerPC compiler

arquitectura: powerpc:common, opciones 0x0112:
EXEC_P, HAS_SYMS, D_PAGED
dirección de inicio 0x0040

Encabezado del Programa:


That's the error, you must translate the start address tag in the opt file
to your language In my case this is

if { [catch {set saddr [exec powerpc-eabi-objdump -x $elffile | grep -w
"dirección de inicio"]} err] } {

By...

PD: I still have a problem with the zImage.elf file  generated by the
compiler, xmd told me that the file is corrupted that this is not an valid
elf file, I posted it some time ago, and I've  no response if someone knows
why it's happening please contact me.



greenlean wrote:
> 
> Hi windstorm,
> 
> Have you correct the error, you get when generating the ace file?? I'm
> trying to build the linux system for the XUPV2P board, and I have the same
> error:
> 
> Using GenACE option file : xupGenace.opt
> Error: Executable zImage.elf does not contain start address..
> 
> As you and Xilinx said in the answer
> (http://www.xilinx.com/support/answers/23192.htm) my genace.tcl file is
> patched, and it uses de powerPC objdump.
> 
> I have tryed to use the ppc_4xx-objdump cross tool of ELDK instead of the
> powerpc-eabi-objdump that is used in the genace.tcl file, and the result
> was an error:
> 
> ***
> Executing xmd script : /opt/Xilinx91i/EDK91i/data/xmd/genace.tcl
> 
> ###
> XMD GenACE utility. Generate SystemACE File from bit/elf/data Files
> ###
> Using GenACE option file : xupGenace.opt
> GenACE Options:
> Board  : user
> Jtag Devs  : xc2vp30
> FPGA pos   : 1
> JPROG  : true
> HW File: implementation/download.bit
> ACE File   : system.ace
> nCPUs  : 1
> 
> Processor ppc_hw_1 Information
> Debug opt : -debugdevice devicenr 1 cpunr 1
> ELF files : zImage.elf
> Start PC Address : 0x0040
> 
> 
> Converting Bitstream 'implementation/download.bit' to SVF file
> 'implementation/download.svf'
> Executing 'impact -batch bit2svf.scr'
> 
> Copying implementation/download.svf File to  system.svf File
> 
> 
> 
> Converting ELF file 'zImage.elf' to SVF file 'zImage.svf'
> Error: E02 Failed to download ELF file
> 
> ERROR(1053): UNABLE to Read Elf File. The Elf File Maybe Corrupted
> : zImage.elf
> 
> 
> *
> 
> 
> 
> but the Error:executable zImage.elf does not contain start address..
> didn't appear. And the compiler assign the address  0x0040...
> 
> This error is the same, that xmd told me if I try to download directly the
> linux kernel to the board, maybe there is any relation...
> 
> I don't know what is happening...
> 
> Any info or help???
> 
> 
> 
> windstorm wrote:
>> 
>> 1 it's strange. the ns16550.c do exist in the arch/ppc/boot/
>> directory, not arch/ppc/boot/common. I just download the source
>> yesterday.
>> 
>> 2 Can you show me some reference about the "small bootloader"? Or any
>> web material about it?
>> 
>> 2007/8/10, Grant Likely <[EMAIL PROTECTED]>:
>>> On 8/10/07, windstorm <[EMAIL PROTECTED]> wrote:
>>> > Hello all:
>>> >
>>> > I am trying to transfer the Linux onto XUP board. The kernel source I
>>> > used is from the git trees from andrei konovalov or grant likely. But
>>> > I encounter two questions now.
>>> >
>>> > 1 Generally, I should correct the kernel source file
>>> > arch/ppc/boot/common/ns16550.c, In that file, changing SERIAL_BAUD
>>> > from 9600 to 38400  makes the bootloader talk at 38400. I always do it
>>> > when I use standard kernel source. But this time I found out that the
>>> > ns16550.c's path is arch/ppc/boot/, not arch/ppc/boot/common/, and
>>> > there was no "SERIAL_BAUD" string any more. So, how can I control the
>>> 

Re: MPC885 - USB HCI drivers.

2007-12-20 Thread Jonathan Journo
Hello Pantelis ,

I saw you used usb host driver on mpc8xx. I am trying to make one on MPC885 
because vxworks drivers are not compatible with it.

To begin I tried to make the loopback mode (test) working but it doesn't work.
Is there anything that is not mentioned on the datasheet in" USB host 
controller initialization example" that I have to know to make it work.

Thanks for any help.
Jonathan
Journo.
___
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded