Re: Trouble Transferring control to Linux (at address 00000000)

2009-07-01 Thread Detlev Zundel
Hi, As for my device tree, I reverted back to the original version with nothing filled in and just replaced 0xfa20 with 0xf000 as Gary suggested earlier. Would it be a problem to also dynamically fixup IMMR in the device tree from U-Boot? Cheers Detlev -- DENX Software Engineering

Re: Trouble Transferring control to Linux (at address 00000000)

2009-07-01 Thread Scott Wood
On Wed, Jul 01, 2009 at 02:13:29PM +0200, Detlev Zundel wrote: Hi, As for my device tree, I reverted back to the original version with nothing filled in and just replaced 0xfa20 with 0xf000 as Gary suggested earlier. Would it be a problem to also dynamically fixup IMMR in the

Re: Trouble Transferring control to Linux (at address 00000000)

2009-07-01 Thread Mikhail Zaturenskiy
As for my device tree, I reverted back to the original version with nothing filled in and just replaced 0xfa20 with 0xf000 as Gary suggested earlier. Would it be a problem to also dynamically fixup IMMR in the device tree from U-Boot? Cheers Detlev Hi Detlev, it would be nice but

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-30 Thread Mikhail Zaturenskiy
I'll still try to figure out how to get u-boot to fill all this in. Got it... thanks to http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html; I made sure that CONFIG_OF_LIBFDT and CONFIG_OF_BOARD_SETUP were both present in u-boot-2009.03/include/configs/EP88x.h. Then

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-30 Thread Mikhail Zaturenskiy
Check the clock-frequency of the CPM BRG node.  If u-boot isn't setting the memory, it's probably not setting this either. I set the CPM BRG clock-frequency = 153609 (value obtained from u-boot's 'brginfo' command), set my CPU clock-frequency = 1 (down from 13000) to match what

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
Hi guys, I've been working off your suggestions and here's my update on where I'm at now. For reference, attached are my current linux-2.6-denx/arch/powerpc/boot/dts/ep88xc.dts and u-boot-2009.03/include/configs/EP88x.h. I might be able to help out. Scott's right. According to U-Boots

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Gary Thomas
Mikhail Zaturenskiy wrote: Hi guys, I've been working off your suggestions and here's my update on where I'm at now. For reference, attached are my current linux-2.6-denx/arch/powerpc/boot/dts/ep88xc.dts and u-boot-2009.03/include/configs/EP88x.h. I might be able to help out. Scott's

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
Hi Gary Did you try 'root=ttyCPM0,9600'? Gave that a shot just now, doesn't seem to have changed anything other than that it now says VFS: Cannot open root device ttyCMP0,9600 or unknown-block(2,0). But thanks for the suggestion though. What exactly was this supposed to do? I thought that the

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Scott Wood
Mikhail Zaturenskiy wrote: Hi Gary Did you try 'root=ttyCPM0,9600'? Gave that a shot just now, doesn't seem to have changed anything other than that it now says VFS: Cannot open root device ttyCMP0,9600 or unknown-block(2,0). But thanks for the suggestion though. What exactly was this

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
Hi Scott, s/root=/console=/ I'm not quite sure what you mean by this. Alternatively, you can set /chosen/linux,stdout-path to poin to the serial node you want to use for the console. If you look at the bottom of ep88xc.dts that I attached with my previous post, I added the following: chosen {

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Scott Wood
Mikhail Zaturenskiy wrote: Hi Scott, s/root=/console=/ I'm not quite sure what you mean by this. Change root= to console=. -Scott ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Mikhail Zaturenskiy
Change root= to console=. Thank you for clarifying. I tried this but I get the following in my memory dump: 6Using Embedded Planet EP88xC ??achine description? 5Linux ver??ion 2.6.30-rc2-01402-gd4e2f68-d??rty (dev...@localhost.localdoma??n) (gcc version 4.2.2) #1 Mon J??n 29 11:35:28 CDT 2009?

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-29 Thread Scott Wood
Mikhail Zaturenskiy wrote: Seems like at that point it begins to redirect output to ttyCPM0 but still nothing showing on the console... Check the clock-frequency of the CPM BRG node. If u-boot isn't setting the memory, it's probably not setting this either. If you're not up to the task of

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-27 Thread Frank Svendsbøe
On Fri, Jun 26, 2009 at 7:12 PM, Mikhail Zaturenskiymzaturenskiy...@gmail.com wrote: Hi Scott, This isn't the denx list; I've noticed :) but I'm still learning about this whole process so I though I could get some general suggestions. what kernel version is that, and with what

Trouble Transferring control to Linux (at address 00000000)

2009-06-26 Thread Mikhail Zaturenskiy
Hello, I'm trying to load Linux from U-Boot. I am using ELDK 4.2 with U-Boot 2009.03 on an EP88xC rev1.1 board (MPC885 cpu, 64MB RAM, 32MB FLASH). The linux kernel sources were obtained from instructions at http://www.denx.de/wiki/view/DULG/LinuxConfiguration#Section_6.1.; and the FDT blob (dtb)

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-26 Thread Scott Wood
Mikhail Zaturenskiy wrote: Hello, I'm trying to load Linux from U-Boot. I am using ELDK 4.2 with U-Boot 2009.03 on an EP88xC rev1.1 board (MPC885 cpu, 64MB RAM, 32MB FLASH). The linux kernel sources were obtained from instructions at

Re: Trouble Transferring control to Linux (at address 00000000)

2009-06-26 Thread Mikhail Zaturenskiy
Hi Scott, This isn't the denx list; I've noticed :) but I'm still learning about this whole process so I though I could get some general suggestions. what kernel version is that, and with what modifications from mainline? Kernel is v2.6.30, I'm not yet familiar enough with it to know what's