Re: [U-Boot] Trouble "booting using board info"

2009-06-30 Thread Jerry Van Baren
Mikhail Zaturenskiy wrote: >> Got it... thanks to >> "http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html";. >> I added the following to the very end of >> "u-boot-2009.03/board/ep88x/ep88x.c": >> >> #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) >> void ft

Re: [U-Boot] Trouble "booting using board info"

2009-06-30 Thread Mikhail Zaturenskiy
> Got it... thanks to > "http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg05111.html";. > I added the following to the very end of > "u-boot-2009.03/board/ep88x/ep88x.c": > > #if defined(CONFIG_OF_LIBFDT) && defined(CONFIG_OF_BOARD_SETUP) > void ft_board_setup(void *blob, bd_t *bd)

Re: [U-Boot] Trouble "booting using board info"

2009-06-30 Thread Mikhail Zaturenskiy
>> If you have CONFIG_OF_BOARD_SETUP defined (if you don't that probably is the >> answer to your missing #define question), you can run >>  fdt boardsetup >> and then >>  fdt print / >> to see what the fixed up tree looks like. > No I do not have this defined, when I include it I cannot compile >

Re: [U-Boot] Trouble "booting using board info"

2009-06-29 Thread Mikhail Zaturenskiy
> The board fixup is a board-specific thing.  Are you doing that in your board > configuration? Didn't realize it was board-specific. > If you have CONFIG_OF_BOARD_SETUP defined (if you don't that probably is the > answer to your missing #define question), you can run >  fdt boardsetup > and then

Re: [U-Boot] Trouble "booting using board info"

2009-06-29 Thread Jerry Van Baren
Mikhail Zaturenskiy wrote: > Is it possible to look at a post-fixup device tree in u-boot? It looks > like u-boot is not updating my dts with the values for my RAM, cpu > frequency, etc. before loading the kernel. > > Is there any obvious reason for this? Am I missing a #define of some sort? Hi M

Re: [U-Boot] Trouble "booting using board info"

2009-06-29 Thread Mikhail Zaturenskiy
Is it possible to look at a post-fixup device tree in u-boot? It looks like u-boot is not updating my dts with the values for my RAM, cpu frequency, etc. before loading the kernel. Is there any obvious reason for this? Am I missing a #define of some sort? __

Re: [U-Boot] Trouble "booting using board info"

2009-06-26 Thread Mikhail Zaturenskiy
Hi Detlev, > > Well U-Boot called the entry function of the Linux kernel, so we are > inside Linux territory. The fact that you do not see any output on your > terminal is not enough top infer that Linux does _nothing_. For all you > see, it may well boot into a fully functioning system without

Re: [U-Boot] Trouble "booting using board info"

2009-06-26 Thread Detlev Zundel
Hi Mikhail, >> If this all fails and as you are way past U-Boot, change the mailing >> list to linuxppc-dev :) > > Is this really "way past U-Boot"? I was under the impression that my > issue is at the hand-off point from U-Boot to the kernel and that the > kernel wasn't doing anything yet. Am I w

Re: [U-Boot] Trouble "booting using board info"

2009-06-25 Thread Mikhail Zaturenskiy
> If this all fails and as you are way past U-Boot, change the mailing > list to linuxppc-dev :) Is this really "way past U-Boot"? I was under the impression that my issue is at the hand-off point from U-Boot to the kernel and that the kernel wasn't doing anything yet. Am I wrong? ___

Re: [U-Boot] Trouble "booting using board info"

2009-06-25 Thread Detlev Zundel
Hi Mikhail, > You're right, I turned on CONFIG_OF_LIBFDT in include/configs/EP88x.h. Wow, you _are_ quick ;) > Here's where I'm at now: > > U-Boot 2009.03-svn8591 (Jun 25 2009 - 10:18:12) > > CPU: MPC885ZPnn at 100 MHz [40.0...133.0 MHz] >8 kB I-Cache 8 kB D-Cache FEC present > Board:

Re: [U-Boot] Trouble "booting using board info"

2009-06-25 Thread Mikhail Zaturenskiy
Hi Detlev, > Please disable unneccessary debug output the next time - this makes it > hard to see the salient things - thanks. Done, next bunch of code will be posted w/o debug output (see code below), I just thought it would help track down the issues. >> => setenv ethaddr 00-e0-86-0c-84-fd >>

Re: [U-Boot] Trouble "booting using board info"

2009-06-25 Thread Detlev Zundel
Hi Mikhail, > I'm trying to load Linux from U-Boot. I'm pretty new at this so there > may be some obvious things wrong with what I'm doing. > I am using ELDK 4.2 and U-Boot 2009.03 on an EP88xC rev1.1 board (MPC885 > cpu) and the linux kernel sources obtained from instructions at > "http://www.

[U-Boot] Trouble "booting using board info"

2009-06-24 Thread Mikhail Zaturenskiy
Hello, I'm trying to load Linux from U-Boot. I'm pretty new at this so there may be some obvious things wrong with what I'm doing. I am using ELDK 4.2 and U-Boot 2009.03 on an EP88xC rev1.1 board (MPC885 cpu) and the linux kernel sources obtained from instructions at "http://www.denx.de/wiki/vi