help reqd for mpc8260 linux

5 messages, 5 authors, 2005-12-31 · open the first message on its own page

help reqd for mpc8260 linux

From: <hidden>
Date: 2005-12-16 05:29:29

Hi All,
I working on custom board(mpc8260) . Now the bootlader is working and when 
i dowload the kernel image through u-boot it gives messages as
"Transferring Conrol to Linux" and then nothing comes. I am using 
Linux-2.4.25 and eldk toolkit ,both from denx.
My boards memory map is SDRAM starts from  0 and flash starts from 
0x30000000. and baudrate is 57600 and IMMR is 0xF000000 .
When i was debugging in
start_here(arch/ppc/kernel/head.S)
It is passing the machine_init and  MMU_init functions (This i have seen 
by putting printk and seeing it in log_buf) and then in this code 


lis     r4,2f@h
        ori     r4,r4,2f@l
        tophys(r4,r4)
        li      r3,MSR_KERNEL & ~(MSR_IR|MSR_DR)
        FIX_SRR1(r3,r5)
        mtspr   SRR0,r4
        mtspr   SRR1,r3
        SYNC
        bl      MMU_init_prabha //(This is just a printk function).Till 
here its working.

        RFI
If i put the printk after this funtion i am not getting anything in the 
log_buf. I simply commented the RFI instruction then also i didn't see any 
messages.
Can anybody tell me what may be the problem.
Waiting for reply.
Thanks in advance.
Best Regards


Prabha J.
Tata Consultancy Services Limited
Mailto: prabha.j@tcs.com
Website: http://www.tcs.com

Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information.   If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited.   If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments.  Thank you

Howto submit drivers/patches ?

From: David H. Lynch Jr. <hidden>
Date: 2005-12-19 05:56:17

	I am just polishing off bringup a Xilinx Virtex IV/ppc405 system with
minimal hardware under 2.6.14.4.
	I have a collection of patches that I can submit for the specific,
board, for the Virtex IV, for board specific hardware, ...
	Additionally I have 2 complete boot loader through full serial driver
implementations of a pseudo serial console driver for this board when it
is in a HOST development system - it is a compact flash card normally
plugged into a PC during development and using the PC as the console,
and a complete serial driver chain for the Xilinx UartLite as a console
when not in a Host, or as a general serial driver. The Xilinx Driver is
based heavily on other 2.6 driver/serial drivers and not the 2.4
implementation from Xilinx.

	Is this list the right place to submit this ?
	Is there a HOWTO addressing the rules/procedures to do so.

	I have not looked at the kernel style guides, but the style of this
code is pretty much identical to other Kernel code. The UartLite driver
is virtually indistinguishable from other driver/serial drivers except
the few places where hardware differences require changes, and that
there is a full tree of end-end support similar to what exists for the
8250's.

David H. Lynch Jr.
DLA Systems
354 Rudy Dam Rd.
Lititz, PA 17543
717.627.3770

Re: Howto submit drivers/patches ?

From: Vitaly Bordug <hidden>
Date: 2005-12-19 10:09:49

David H. Lynch Jr. wrote:
	I am just polishing off bringup a Xilinx Virtex IV/ppc405 system with
minimal hardware under 2.6.14.4.
	I have a collection of patches that I can submit for the specific,
board, for the Virtex IV, for board specific hardware, ...
	Additionally I have 2 complete boot loader through full serial driver
implementations of a pseudo serial console driver for this board when it
is in a HOST development system - it is a compact flash card normally
plugged into a PC during development and using the PC as the console,
and a complete serial driver chain for the Xilinx UartLite as a console
when not in a Host, or as a general serial driver. The Xilinx Driver is
based heavily on other 2.6 driver/serial drivers and not the 2.4
implementation from Xilinx.

	Is this list the right place to submit this ?
Yes, this is the right place.
	Is there a HOWTO addressing the rules/procedures to do so.
Dunno actually, but that is not that tricky. Just send patches here, splitted if possible to understand better what each one does, don't forget detailed description of a change and the Signed-off-by: line.
	I have not looked at the kernel style guides, but the style of this
code is pretty much identical to other Kernel code. The UartLite driver
is virtually indistinguishable from other driver/serial drivers except
the few places where hardware differences require changes, and that
there is a full tree of end-end support similar to what exists for the
8250's.

David H. Lynch Jr.
DLA Systems
354 Rudy Dam Rd.
Lititz, PA 17543
717.627.3770








_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

-- 
Sincerely, Vitaly

Re: Howto submit drivers/patches ?

From: John Carlson <hidden>
Date: 2005-12-19 13:17:26

--- "David H. Lynch Jr." <dhlii@comcast.net> wrote:
	I am just polishing off bringup a Xilinx Virtex
IV/ppc405 system with
minimal hardware under 2.6.14.4.
	I have a collection of patches that I can submit
for the specific,
board, for the Virtex IV, for board specific
hardware, ...
	Additionally I have 2 complete boot loader through
full serial driver
implementations of a pseudo serial console driver
for this board when it
is in a HOST development system - it is a compact
flash card normally
plugged into a PC during development and using the
PC as the console,
and a complete serial driver chain for the Xilinx
UartLite as a console
when not in a Host, or as a general serial driver.
The Xilinx Driver is
based heavily on other 2.6 driver/serial drivers and
not the 2.4
implementation from Xilinx.

	Is this list the right place to submit this ?
	Is there a HOWTO addressing the rules/procedures to
do so.
Look in the Documentation directory, specificly the
two files
SubmittingDrivers and SubmittingPatches where the
correct
procedure is explained.
	I have not looked at the kernel style guides, but
the style of this
code is pretty much identical to other Kernel code.
The UartLite driver
is virtually indistinguishable from other
driver/serial drivers except
the few places where hardware differences require
changes, and that
there is a full tree of end-end support similar to
what exists for the
8250's.

David H. Lynch Jr.
DLA Systems
354 Rudy Dam Rd.
Lititz, PA 17543
717.627.3770








_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

John Carlson
[off-list ref]

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Howto submit drivers/patches ?

From: Grant Likely <hidden>
Date: 2005-12-31 04:09:25

David H. Lynch Jr. wrote:
	I am just polishing off bringup a Xilinx Virtex IV/ppc405 system with
minimal hardware under 2.6.14.4.
	I have a collection of patches that I can submit for the specific,
board, for the Virtex IV, for board specific hardware, ...
	Additionally I have 2 complete boot loader through full serial driver
implementations of a pseudo serial console driver for this board when it
is in a HOST development system - it is a compact flash card normally
plugged into a PC during development and using the PC as the console,
and a complete serial driver chain for the Xilinx UartLite as a console
when not in a Host, or as a general serial driver. The Xilinx Driver is
based heavily on other 2.6 driver/serial drivers and not the 2.4
implementation from Xilinx.

	Is this list the right place to submit this ?
	Is there a HOWTO addressing the rules/procedures to do so.
Do you want to send me your patches for the UartLite (and cc the list)?
 I'd be happy to take a look.  What other things did you change?

g.


-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
(403) 663-0761
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help