Re: [U-Boot] UEC phy not working on first try

2011-04-20 Thread DUNDA Matthias
Hi Detlef, > >> > I am using u-boot.2010.09 on a MPC8568-based board. > Ah! I didn't realize that you are in the excellent position to have > one > good and one bad commit. Simply use git bisect to find the problematic > commit and show that to us. so far I traced it down to the adjust_link ca

Re: [U-Boot] UEC phy not working on first try

2011-04-19 Thread DUNDA Matthias
> > I am using u-boot.2010.09 on a MPC8568-based board. > > > > When trying to boot over one of the UEC network interfaces, it is not > > working instantly. The cable is connected from the beginning, but I > > have to issue a manual 'boot' command, sometimes even multiple times > > before the link

[U-Boot] UEC phy not working on first try

2011-04-19 Thread DUNDA Matthias
Hi all- I am using u-boot.2010.09 on a MPC8568-based board. When trying to boot over one of the UEC network interfaces, it is not working instantly. The cable is connected from the beginning, but I have to issue a manual 'boot' command, sometimes even multiple times before the link is correct.

[U-Boot] Power-on Self Test - is it working?

2011-01-05 Thread DUNDA Matthias
Hi all- I've got some issues with getting POST to work with my board (mpc85xx architecture): In my config I set #define CONFIG_POST (CONFIG_SYS_POST_MEMORY | ..._CPU | ..._UART | ..._ETHER) I also implemented the stubs for uart_post_test and ether_post_test, as these are not covered by defaul

Re: [U-Boot] 4 PiB left unmapped

2010-11-19 Thread DUNDA Matthias
>> >>> Well, it's actually 2 Gig, just like u-boot recognizes above... >> >> There's something wrong with the parameter you're passing to print_size(). >I'm guessing its -1 or something like that. I used the board specific code of the MPC8568MDS and adapted it to our configuration. The code reg

Re: [U-Boot] 4 PiB left unmapped

2010-11-18 Thread DUNDA Matthias
> > CPU: 8568E, Version: 1.1, (0x807d0011) > > Core: E500, Version: 2.2, (0x80210022) > > ... > > DRAM: Initializing > > 4 PiB left unmapped > >DDR: 2 GiB (DDR2, 64-bit, CL=4, ECC off) > > FLASH: 256 MiB > > L2:512 KB enabled > > Pretty cool, how much memory do you actually have in the

Re: [U-Boot] Force setting of ethact

2010-11-18 Thread DUNDA Matthias
> Why don't you use "ethprime" ? > > > What's the intended/desired function of ethact, and how should it be > initialized? Even using CONFIG_ETHPRIME has no effect. > > These variabes are documented in the README. Yes, I read that! That's why I used CONFIG_ETHPRIME in my board header file to do t

[U-Boot] 4 PiB left unmapped

2010-11-18 Thread DUNDA Matthias
Hi again, my current binary of U-Boot claims, that 4 petabyte of memory are unmapped: U-Boot 2010.09-svn314 (Nov 18 2010 - 15:09:16) CPU: 8568E, Version: 1.1, (0x807d0011) Core: E500, Version: 2.2, (0x80210022) ... DRAM: Initializing 4 PiB left unmapped DDR: 2 GiB (DDR2, 64-bit, CL=4, E

[U-Boot] Force setting of ethact

2010-11-18 Thread DUNDA Matthias
Hi all- I've been struggeling with the ethact setting in U-Boot: I want U-Boot to load from eTSEC0 on our board, but it always comes up with ethact = UEC0 or FSL UEC0 in older versions. As ethact is not persistent, my only workaround so far was to change net/eth.c so that at all occasions, whe

Re: [U-Boot] Debugging into the kernel from u-boot

2010-05-05 Thread Dunda, Matthias
Hi Stefan, > > You have all the equipment you need. Use the BDI3000 to debug > the Linux > kernel. is it correct, that I can only use HARD breakpoints? Because when I set BREAK SOFT, the gdb always says it cannot access memory at c000 And even with HW breakpoints I'm not able to do clean

[U-Boot] available memory gets adjusted - why?

2010-05-04 Thread Dunda, Matthias
Hi all- after issuing the boot command I get WARNING: adjusting available memory to 300 I do have 2 Gig on my board and I set that in the appropriate configs. What's the reason why U-Boot adjusts the size and how can I fix this? I mean, U-Boot itself runs from 0x7ff3 so the memory is

[U-Boot] Debugging into the kernel from u-boot

2010-04-30 Thread Dunda, Matthias
Hi all- I - more or less - successfully got U-Boot up and running on our custom designed board. U-Boot leaves its premices in boot_jump_linux and this is the last I see on the console: ## Booting kernel from Legacy Image at 0200 ... Image Name: Linux-2.6.29.6-rt23 Image Type: Power

Re: [U-Boot] Booting from ext2/ext3

2010-04-01 Thread Dunda, Matthias
Dear Wolfgang, > > > > to include/configs/MPC8568MDS.h > > It seems you are missing the device driver support. If you > check the code in "disk/part.c" you will see this: > > ... > 218 #if (defined(CONFIG_CMD_IDE) || \ > 219 defined(CONFIG_CMD_MG_DISK) || \ > 220 defined(CONFIG_CMD_S

Re: [U-Boot] Booting from ext2/ext3

2010-03-31 Thread Dunda, Matthias
Good Morning Wolfgang, > > > Dear Matthias, > > In message > <569685f045b85741820d0265e0d2999d019cf...@tddhh01.hh.thales-na > val.de> you wrote: > > > > `get_partition_info' > ... > > What's the issue here? > > Hm... this is U-Boot release v2009.11.1, correct? > Yes correct, but it happens

Re: [U-Boot] Booting from ext2/ext3

2010-03-31 Thread Dunda, Matthias
> > Unfortunately, this command is not included in my build of > u-boot. Did > > I miss some compile-switch, or do I have to explicitly include > > ext2fs.h somewhere? How can I enable the ext2/ext3 functionality? > > This depends on CONFIG_CMD_EXT2 > Thanks, I added this along with CONFIG_DO

[U-Boot] Booting from ext2/ext3

2010-03-31 Thread Dunda, Matthias
Hi all, how does the implementation of the ext2 module work in u-boot? As I see, u-boot can load the kernel from an ext2 file system using ext2load. Unfortunately, this command is not included in my build of u-boot. Did I miss some compile-switch, or do I have to explicitly include ext2fs.h some

[U-Boot] Adding a new board to the configuration

2009-12-14 Thread Dunda, Matthias
Hi all- I'd like to add a new custom board configuration to the u-boot build. Which files have to be created and/or patched to add a new board to build system? Our design uses the MPC8568E CPU, so I suppose, I can use a lot of present code coming from parameters like "ppc" and "mpc85xx". Of co

[U-Boot] Debugging U-boot after relocation

2009-11-25 Thread Dunda, Matthias
Hi again, following up on my other message, I split them up into seperate messages, as I think there are different reasons. When I start the target from the BDI shell with "RESET RUN" and wait until the "Hit any key to stop autoboot" message appears, I can then attach to the target : Remote debu

[U-Boot] U-Boot hangs when board is attached to BDI2000

2009-11-25 Thread Dunda, Matthias
Hi all, I am trying to debug u-boot following the instructions in DULG 10.1. As mentioned in 10.1.1. before relocation I connect to the target an get desired first output: Remote debugging using jtag: 0xfffc in ?? () Even without setting a breakpoint then, I just say gdb to continue: (