[U-Boot] [PATCH] cfi_flash: fix bug with flash banks with different sector numbers

2011-03-21 Thread Martin Krause
cheks. One that insures, that the current sector does not exceed the allowed maximum (which is always a good idea). And one that checks if the current access is to the same flash bank as the last access. If not, the search loop will start with sector 0. Signed-off-by: Martin Krause --- drivers

Re: [U-Boot] cfi_flash - bug with flash banks with different sector numbers

2011-03-21 Thread Martin Krause
Hi Stefan, Stefan Roese wrote on Montag, 21. März 2011 14:10: > Hi Martin, > > On Monday 21 March 2011 13:42:00 Martin Krause wrote: >> I encountered a problem with the cfi_flash driver on a board with >> two flash banks with a different number of flash secotrs. >> &g

[U-Boot] cfi_flash - bug with flash banks with different sector numbers

2011-03-21 Thread Martin Krause
a patch with a fix (see blow), but since I do not work with current U-Boot, this patch likely will not apply cleanly to TOT (but is neccessary, since the bug is still present there). Best regards, Martin >From 22454f09e058a3b0b8e86bc4d5566c21e23f5b63 Mon Sep 17 00:00:00 2001 From: Martin Kra

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-27 Thread Martin Krause
Reinhard Meyer (-VC) wrote on Tuesday, July 27, 2010 9:29 AM: > Martin Krause schrieb: >> Hi all, >>> Some time ago I modified the current encc28j60 driver to use the >> generic SPI api and to work with CONFIG_NET_MULTI. It was for a >> project not part of mainline U-

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-27 Thread Martin Krause
Hi all, u-boot-boun...@lists.denx.de wrote on Monday, July 26, 2010 4:51 PM: > On Sunday, July 25, 2010, Reinhard Meyer > wrote: >> Mike Frysinger wrote: >> >> On Sunday, July 25, 2010 20:07:31 Reinhard Meyer wrote: >> >> >> I can rename the current driver to like "enc28j60_lpc2292.c" and >> m

Re: [U-Boot] [PATCH] ARM: remove unused ATAG

2010-06-21 Thread Martin Krause
Hi Wolfgang, Wolfgang Denk wrote on Friday, June 18, 2010 8:18 PM: > Dear Martin, > > In message > <47f3f98010ff784ebee6526eaab078d10635e...@tq-mailsrv.tq-net.de> you > wrote: >> >> If you reference to the trab board, then yes it is still running. But >> on this board a very very old version o

Re: [U-Boot] [PATCH] ARM: remove unused ATAG

2010-06-18 Thread Martin Krause
fetime of the board. Thus it's fine by me to break/remove the board support from current U-Boot. > a 2.4.27-vrs1 kernel, which hdas ATAG_VIDEOLFB defined and used in > include/asm-arm/setup.h resp. arch/arm/kernel/setup.c > > Best regards, > > Wolfgang Denk Best regards, Mar

Re: [U-Boot] [PATCH] ARM1136: Align stack to 8 bytes

2010-06-15 Thread Martin Krause
Hi Vitaly, the exact same problem applies to ARM1176. Maybe you could update your patch and add the same line to /arch/arm/cpu/arm1176/start.S. I am currently not working on an top-of-tree U-Boot, so it would be not so easy for me to create a separate patch for ARM1176. Regards, Martin u-boot-bo

[U-Boot] Question about member fb_base of the global_data structure

2010-04-14 Thread Martin Krause
Hi, today I stumbled over the 'struct global_data' member 'fb_base'. It seems that this variable is only used by two drivers: ./board/trab/vfd.c ./cpu/mpc8xx/video.c There are also a few boards, wich print the content of fb_base to the console, but do not use it otherwise. What was the intenti

Re: [U-Boot] Using initramfs instead of an initrd image ?

2010-04-07 Thread Martin Krause
Hi Chip, u-boot-boun...@lists.denx.de wrote on Tuesday, April 06, 2010 11:38 PM: > Greetings, > > Is there a way making uboot use initramfs images instead of initrd ? > > I have a glacier AMCC460GT PPC board. I generate my initramfs image > from my rootfs directory as: > > $ cd rootfs > $ find

Re: [U-Boot] EABI 4.2

2010-03-11 Thread Martin Krause
Joakim Tjernlund wrote on Wednesday, March 10, 2010 6:29 PM: > "Martin Krause" wrote on 2010/03/10 17:52:40: >> >> Hi Jocke, >> >> Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: >>>> Andrew Dyer wrote on Wednesday, March 10, 201

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Jocke, Joakim Tjernlund wrote on Wednesday, March 10, 2010 5:36 PM: >> Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: [SNIP] >> >> Hm, on the wikipedia article for the 'variable length arrays' (VLA) I >> read, that the GNU C compiler always uses the stack for this type of >> variables

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Detlev, Detlev Zundel wrote on Wednesday, March 10, 2010 4:44 PM: > Hi Martin, > >> The solution would be to find the real reason and to fix it. >> I spend some time exploring the assembler code generated for both >> variants (with fixed length array and variable length array). But >> it turne

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Andrew Dyer wrote on Wednesday, March 10, 2010 4:50 PM: > On Wed, Mar 10, 2010 at 5:09 AM, Martin Krause > wrote: >> Hi Praveen, >> >> u-boot-boun...@lists.denx.de wrote on Tuesday, March 09, 2010 8:35 >> PM: >>> Hello, >>> >>>  I am

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Praveen, Praveen G K wrote on Wednesday, March 10, 2010 3:45 PM: > On Wed, Mar 10, 2010 at 5:09 AM, Martin Krause >>>  I am using the ARM11 platform, and I notice that when I build the >>> uboot code, the -mabi option is set to aapcs-linux and >>> thumb-netw

Re: [U-Boot] EABI 4.2

2010-03-10 Thread Martin Krause
Hi Praveen, u-boot-boun...@lists.denx.de wrote on Tuesday, March 09, 2010 8:35 PM: > Hello, > >  I am using the ARM11 platform, and I notice that when I build the > uboot code, the > -mabi option is set to aapcs-linux and thumb-network.  With this > change, I have problems in getting the ext2ls f

Re: [U-Boot] [PATCH] tqm5200: Correct comment and code in post_hotkeys_pressed.

2009-10-08 Thread Martin Krause
e now, > so beware. > > The original code only worked by coincidence depending on the > PORT_CONFIG setting from the header file. The new code was tested to > ensure that the (undocumented) memory test still works on the STK52x. > > Signed-off-by: Detlev Zundel > C