Re: [U-Boot] [PATCH] OneNAND IPL: Move u-boot-onenand linker script to common use

2009-07-20 Thread Kyungmin Park
Hi, On Sun, Jul 12, 2009 at 9:58 PM, Jean-Christophe PLAGNIOL-VILLARDplagn...@jcrosoft.com wrote: On 17:10 Sat 11 Jul     , Kyungmin Park wrote: Use the common OneNAND linker script. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git

[U-Boot] How to reduce size of U-Boot image (i.MX31, NAND-Flash)

2009-07-20 Thread Ulrich Gerster
Hello, I'm trying to optimize the u-boot image I get after compiling. It's size is 13XkB depending on the features I define. I'm using a i.MX31 processor and only NAND-Flash. I think it should be possible to get a smaller Image. Are there some common tricks, or do you have some suggestions how

Re: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-20 Thread Prafulla Wadaskar
From: u-boot-boun...@lists.denx.de [u-boot-boun...@lists.denx.de] On Behalf Of Prafulla Wadaskar [prafu...@marvell.com] Sent: Sunday, July 19, 2009 10:57 AM To: Wolfgang Denk Cc: Manas Saksena; Ronen Shitrit; Nicolas Pitre; u-boot@lists.denx.de; Ashish

[U-Boot] [PATCH v5] Add chip_config command for PPC4xx bootstrap configuration

2009-07-20 Thread Stefan Roese
This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally chosen not to be PPC4xx specific. This way other CPU's/SoC's can implement a similar command under the same name, perhaps with

Re: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-20 Thread Prafulla Wadaskar
From: Jean-Christophe PLAGNIOL-VILLARD [plagn...@jcrosoft.com] Sent: Sunday, July 19, 2009 2:55 AM To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Manas Saksena; Ronen Shitrit; Nicolas Pitre; Ashish Karkare; Prabhanjan Sarnaik; Lennert Buijtenhek Subject:

Re: [U-Boot] [PATCH 1/2] new video driver for bus vcxk framebuffers

2009-07-20 Thread Jens Scharsig
Hello Anatolij, +initialize the reset line to vcxk hardware and release it from reset Looking on the changes to board configuration file include/configs/EB+MCF-EV123.h in the second patch of this series I now realize that most of these CONFIG_SYS_ macros above expand to C code, so these

Re: [U-Boot] [PATCH] ubi: help message correction

2009-07-20 Thread Stefan Roese
On Friday 17 July 2009 22:26:54 Andrzej Wolski wrote: Fix incorrect information about size units and correct typo. Signed-off-by: Andrzej Wolski awol...@poczta.fm Patch didn't apply clean. I fixed this manually. So, applied to u-boot-ubi. Thanks. Best regards, Stefan

[U-Boot] Please pull u-boot-ubi

2009-07-20 Thread Stefan Roese
The following changes since commit b86b85e2611d57d834795a92453431a1a340c3c9: Ilya Yanok (1): mmc: set bus width to 1 and clock to minimum early during initialization are available in the git repository at: git://www.denx.de/git/u-boot-ubi.git master Andrzej Wolski (1): ubi:

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Heiko Schocher
Hello Alessandro, Alessandro Rubini wrote: This adds gpio and i2c support for the Nomadik evaluation kit. They are needed to turn on the LCD backlight in order to later add LCD support. I have one doubt and some questions on gpio: To use soft_i2c I need to define some macros in the

Re: [U-Boot] U-Boot doesn't compile for M54455EVB_intel_config

2009-07-20 Thread Matthew Lear
Thanks TsiChung. That did the trick. -- Matt TC Liew wrote: Matt, In asm-m68k/io.h, please add #ifndef _IO_BASE #define _IO_BASE 0 #endif Regards, TsiChung On Wed, Jul 15, 2009 at 9:43 AM, Matthew Learm...@bubblegen.co.uk wrote: Hi TsiChung / Wolfgang, I just pulled u-boot.git

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: Dear Alessandro Rubini, In message cover.1247999841.git.rub...@unipv.it you wrote: To use soft_i2c I need to define some macros in the config file. Instead of writing hard numbers there I called the gpio functions, but the config file is inluded from

[U-Boot] [PATCH v3] arm, i2c: added support for the TWSI I2C Interface

2009-07-20 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de --- - changes since v1: added comments from Prafulla Wadaskar - changes since v2 added comments from Jean-Christophe - added speed setting drivers/i2c/Makefile |1 + drivers/i2c/kirkwood_i2c.c | 484

Re: [U-Boot] [RFC] CONFIG naming convetion

2009-07-20 Thread Alessandro Rubini
I would think should be CONFIG_DRIVERS_PATA_BFIN I dosagree, the DRIVERS part is just added line noise. It's a name space - making sure it is differentiated from an option. Yeah, and we end up with variable names that cannot be used any more because they exceed the maximum line

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Alessandro Rubini
Agreed. So we need an gpio_core.c / .h which defines the following functions (just a proposal): Yes. typedef struct gpio_adapter { int (*init_pin)(int pin); int (*set)(int pin, value); int (*get)(int pin); int (*dir)(int pin, int direction);

[U-Boot] Problem booting Linux from Flash

2009-07-20 Thread Rahanesh
Hi all, I am trying to boot Linux from flash on MIPS Board. When uBoot tries to boot Linux it fails saying Verifying Checksum Failed bad data crc. The bootcmd is fsload 0x8080 /boot/uImage; bootm 0x8080. But When i do a tftp of the same image(uImage) to same address(0x8080) it

Re: [U-Boot] [PATCH] ppc4xx: Fixed compilation warning in 4xx_enet.c

2009-07-20 Thread Stefan Roese
Hi Ben, On Saturday 11 July 2009 20:56:06 Alessio Centazzo wrote: This patch fixes a compilation warning for some Ethernet PHY-less PPC4xx platforms (440SPE based ones) and a potential compilation error for 440SP platforms (use of undefined 'ethgroup' variable). In the original code and in

Re: [U-Boot] [PATCH] ppc4xx: Fix missing freqOPB for 405EP

2009-07-20 Thread Stefan Roese
On Friday 10 July 2009 14:47:32 Dirk Eibach wrote: In cpu/ppc4xx/speed.c initialization of sysInfo-freqOPB for 405EP was left out for no obvious reason. Signed-off-by: Dirk Eibach eib...@gdsys.de Applied to ppc4xx. Thanks. Best regards, Stefan

Re: [U-Boot] [PATCH v2] ppc4xx: Add GDsys CompactCenter board support.

2009-07-20 Thread Stefan Roese
Felix, On Wednesday 15 July 2009 11:24:07 Felix Radensky wrote: I think my first patch that open-coded part of ft_board_setup() related to EBC ranges was correct and tested on real hardware. I admit that I didn't test the second version of the patch, as I didn't have the hardware at hand.

Re: [U-Boot] [PATCH v4] ppc4xx: Add DL-Vision 405EP board support

2009-07-20 Thread Stefan Roese
On Friday 17 July 2009 14:16:40 Dirk Eibach wrote: Board support for the Guntermann Drunck DL-Vision. Signed-off-by: Dirk Eibach eib...@gdsys.de Applied to ppc4xx. Thanks. Best regards, Stefan = DENX Software Engineering

Re: [U-Boot] [PATCH] ppc4xx: Cleanup PLU405 board code

2009-07-20 Thread Stefan Roese
On Thursday 16 July 2009 22:13:57 Matthias Fuchs wrote: Some Coding style cleanup (braces, whitespaces, long lines) Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu Applied to ppc4xx. Thanks. Best regards, Stefan = DENX

Re: [U-Boot] [PATCH 00/14] XPedite1K updates

2009-07-20 Thread Stefan Roese
On Saturday 18 July 2009 02:01:02 Peter Tyser wrote: The XPedite1000 is a 440gx-based PMC made by X-ES. Support was added for XPedite100 to U-Boot 5 years ago by Travis Sawyer (travis.saw...@sandburst.com) independent of X-ES. Sandburst was bought out by Broadcom some time ago. I attempted

Re: [U-Boot] [PATCH 2/4] I2C Add initial support for TWL4030

2009-07-20 Thread Heiko Schocher
Hello Tom, Tom wrote: Omap2 is still pending. I was hoping to help Richard out with this last week but he was on travel. There is not much more I think I can do wrt omap2. All my targets are omap3. The nearest I can find online is the nokia n8xx which uses a another bootloader. The

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Heiko Schocher
Hello Alessandro, Alessandro Rubini wrote: Agreed. So we need an gpio_core.c / .h which defines the following functions (just a proposal): Yes. typedef struct gpio_adapter { int (*init_pin)(int pin); int (*set)(int pin, value); int (*get)(int pin); int

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Alessandro Rubini
what with deinit_pin(pin, function)? That would be in shape with init_pin()? No, it's not clear what it is. I'd rename init to setup, adding an AF argument. So I can setup it as AF2, or as GPIO-OUT, or whatever. (There, we could also unset the marker, that this pin is no longer used for gpio

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Heiko Schocher
Hello Alessandro, Alessandro Rubini wrote: what with deinit_pin(pin, function)? That would be in shape with init_pin()? No, it's not clear what it is. I'd rename init to setup, adding an AF ok. argument. So I can setup it as AF2, or as GPIO-OUT, or whatever. No I don;t understand you ;-)

[U-Boot] [PATCH 2/2] ppc4xx: Add struct for 4xx GPIO controller registers

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- include/asm-ppc/gpio.h | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/asm-ppc/gpio.h b/include/asm-ppc/gpio.h index fc05dc0..23e29b1 100644

[U-Boot] [PATCH 1/2] ppc4xx: use TCR macro instead of tcr

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu This patch migrates 4xx code from using the lowercase tcr macro to the uppercase TCR macro. Both macros have been defined in the past. So one is to much and uppercase macros are much more common. The lowercase macro conflicts with the upcoming

[U-Boot] U-Boot environment update in linux embedded ARM architecture

2009-07-20 Thread Jan Misfatto
Dear Madam/Sir, our company, Microhard s.r.l, produces data acquisition terminals and in our new design, which is under development, we use an ARM 9 plattform based on the AT91SAM9263 microcontroller. Right now our system uses a NAND Flash chip from Micron MT29F2G08AACWP and out Memory is

Re: [U-Boot] [PATCH 2/3] xpedite5370: Fix I2C GPIO initialization typo

2009-07-20 Thread Heiko Schocher
Hello Peter, pty...@xes-inc.com wrote: From: Peter Tyser pty...@xes-inc.com Signed-off-by: Peter Tyser pty...@xes-inc.com --- board/xes/xpedite5370/xpedite5370.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/xes/xpedite5370/xpedite5370.c

Re: [U-Boot] [PATCH v5] Add chip_config command for PPC4xx bootstrap configuration

2009-07-20 Thread Matthias Fuchs
Works fine! Thanks. Acked-by: Matthias Fuchs matthias.fu...@esd.eu On Monday 20 July 2009 08:26, Stefan Roese wrote: This patch adds a generic command for programming I2C bootstrap eeproms on PPC4xx. An implementation for Canyonlands board is included. The command name is intentionally

[U-Boot] [PATCH] ppc4xx: Add 405EP based PMC405DE board

2009-07-20 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- MAINTAINERS |1 + MAKEALL |1 + Makefile |3 + board/esd/pmc405de/Makefile | 53

Re: [U-Boot] [PATCH 3/3] Remove last remanants of unused CONFIG_I2C_CMD_TREE

2009-07-20 Thread Heiko Schocher
Hello Peter, pty...@xes-inc.com wrote: From: Peter Tyser pty...@xes-inc.com Signed-off-by: Peter Tyser pty...@xes-inc.com --- include/configs/P2020DS.h |1 - include/configs/XPEDITE5170.h |1 - include/configs/aria.h|1 - include/configs/mecp5123.h|1 -

[U-Boot] Please pull u-boot-i2c.git

2009-07-20 Thread Heiko Schocher
Hello Wolfgang, The following changes since commit b86b85e2611d57d834795a92453431a1a340c3c9: Ilya Yanok (1): mmc: set bus width to 1 and clock to minimum early during initialization are available in the git repository at: git://git.denx.de/u-boot-i2c.git master Peter Tyser (1):

Re: [U-Boot] [PATCH 2/6] S5PC100: SMDKC100 Board support

2009-07-20 Thread Minkyu Kang
Dear Wolfgang, 2009/7/18 Wolfgang Denk w...@denx.de: Dear Minkyu Kang, In message 1f3430fb0907170142l51139f76jed37a47f7760f...@mail.gmail.com you wrote: +void raise(void) +{ +} Why would that be needed? Actually this function is workaround. because of undefined reference error

Re: [U-Boot] U-Boot environment update in linux embedded ARM architecture

2009-07-20 Thread Alessandro Rubini
0x2 *U-Boot (2009.06)* 0x6 *U-Boot Env.* So two blocks. for u-boot, which is bigger than one block. the u-boot environment part of the u-boot code is overwritten with the environment parameters. This happens only when our NAND flash has bad blocks in the u-boot zone. (Block 1 and

[U-Boot] oob bytes in NAND

2009-07-20 Thread Muralitharan.Perumal
Hi, Can I modify the oob bytes in NAND using U-boot commands like this: nand write.oob 0x800 0x0 64 [This should modify the oob bytes of page 0]. Is this Correct? Please can you suggest on this? I tried this but no success. Best Regards Murali This E-mail and any

Re: [U-Boot] [PATCH 2/6] S5PC100: SMDKC100 Board support

2009-07-20 Thread Wolfgang Denk
Dear Minkyu Kang, In message 1f3430fb0907200415n1482bc40s33a44cf3ca439...@mail.gmail.com you wrote: Find out which part of your code triggers the use of the _dvmd_lnx.o code and avoid this; from the error message it seems to be some (long) division. yes, we tried it. but, can't

Re: [U-Boot] Problem booting Linux from Flash

2009-07-20 Thread Wolfgang Denk
Dear Rahanesh, In message 4a642891.2090...@tataelxsi.co.in you wrote: I am trying to boot Linux from flash on MIPS Board. When uBoot tries to boot Linux it fails saying Verifying Checksum Failed bad data crc. CRC is one type of checksum. What might be the problem when it is loading

Re: [U-Boot] [RFC] CONFIG naming convetion

2009-07-20 Thread Wolfgang Denk
Dear Alessandro Rubini, In message 20090720080226.ga2...@mail.gnudd.com you wrote: What about DRV or even D if you insist? CONFIG_D_I2C_SOFT ? That's longer than needed, and nobody will understand what the D_ stands for. I personally find the config files pretty unreadable. Options that

Re: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-20 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message 73173d32e9439e4abb5151606c3e19e202ddf27...@sc-vexch1.marvell.com you wrote: + lineno++; + if (!(line[0] != '#' strlen(line) != 1)) + continue; This is a bit simple-minded. This will for example fail on

Re: [U-Boot] [PATCH 2/3] tools: mkimage (type=kwbimage) kirkwood boot image support

2009-07-20 Thread Wolfgang Denk
Dear Prafulla Wadaskar, In message 73173d32e9439e4abb5151606c3e19e202de09c...@sc-vexch1.marvell.com you wrote: diff --git a/tools/kwbimage.h b/tools/kwbimage.h new file mode 100644 index 000..c54b701 --- /dev/null +++ b/tools/kwbimage.h ... +/* typedefs */ +typedef

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4a6422fc.6030...@invitel.hu you wrote: typedef struct gpio_adapter { int (*init_pin)(int pin); int (*set)(int pin, value); int (*get)(int pin); int (*dir)(int pin, int direction); int (*level)(int pin, int

Re: [U-Boot] [PATCH 0/2] arm nomadik: gpio and i2c

2009-07-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4a6437a7.40...@denx.de you wrote: Also, a board can have more then one gpio adapter, how we address such a case? How far do you want to take that? What about an I/O expander at the I2C bus? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

Re: [U-Boot] [PATCH 2/4] I2C Add initial support for TWL4030

2009-07-20 Thread Dirk Behme
Tom wrote: Omap2 is still pending. I was hoping to help Richard out with this last week but he was on travel. There is not much more I think I can do wrt omap2. All my targets are omap3. The nearest I can find online is the nokia n8xx which uses a another bootloader. The options as I

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-20 Thread Thomas Petazzoni
Le Thu, 16 Jul 2009 09:52:43 -0500, Peter Tyser pty...@xes-inc.com a écrit : I don't have the final say here, I'm just giving my opinion. If it was possible to clean up, the best way in my would be to fix your board (ie this patch), then send a separate follow-up patch fixing other boards. I

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-20 Thread Thomas Petazzoni
Le Fri, 17 Jul 2009 21:41:43 +0200, Wolfgang Denk w...@denx.de a écrit : Entries to maintainers is missing. Yes, it was missing in the initial version of my patch, but further versions got it added, thanks to other people review. +int dram_init(void) +{ + gd-bd-bi_dram[0].start =

Re: [U-Boot] [PATCH] ARM Cortex A8: Move OMAP3 specific reset handler

2009-07-20 Thread Dirk Behme
Minkyu Kang wrote: Because of the reset_cpu is soc specific, should be move to soc Thanks, looks fine for me. For the archives, this makes http://lists.denx.de/pipermail/u-boot/2009-May/053490.html obsolete. Dirk Cc: Dirk Behme dirk.be...@googlemail.com Signed-off-by: Minkyu Kang

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-20 Thread Peter Tyser
On Mon, 2009-07-20 at 17:40 +0200, Thomas Petazzoni wrote: Le Thu, 16 Jul 2009 09:52:43 -0500, Peter Tyser pty...@xes-inc.com a écrit : I don't have the final say here, I'm just giving my opinion. If it was possible to clean up, the best way in my would be to fix your board (ie this

Re: [U-Boot] [PATCH] v3 - add dns

2009-07-20 Thread Robin Getz
On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg10216.html DNS can be enabled by setting CFG_CMD_DNS. After performing a query, the serverip environment var is updated. Probably there are some cosmetic issues

Re: [U-Boot] [PATCH] export SPI functions to standalone apps

2009-07-20 Thread Rafal Jaworowski
On 2009-07-19, at 04:22, Mike Frysinger wrote: Signed-off-by: Mike Frysinger vap...@gentoo.org --- common/exports.c |8 include/_exports.h |8 include/exports.h |3 ++- 3 files changed, 18 insertions(+), 1 deletions(-) diff --git a/common/exports.c

Re: [U-Boot] [RFC] CONFIG naming convetion

2009-07-20 Thread Wolfgang Denk
Dear Robin Getz, In message 200907192355.41601.rg...@blackfin.uclinux.org you wrote: People responsible for the archicture/CPU core may set things up, and not want anyone to change things - on any SoC or Board. People responsible for SoC developments should be able to take what the arch

Re: [U-Boot] How to reduce size of U-Boot image (i.MX31, NAND-Flash)

2009-07-20 Thread Wolfgang Denk
Dear Ulrich Gerster, In message 4a64285f024d00014...@hochblauen.ba-loerrach.de you wrote: I'm trying to optimize the u-boot image I get after compiling. It's size is 13XkB depending on the features I define. I'm using a i.MX31 processor and only NAND-Flash. I think it should be

Re: [U-Boot] [PATCH 1/2] ppc4xx: use TCR macro instead of tcr

2009-07-20 Thread Wolfgang Denk
Dear matthias.fu...@esd.eu, In message 12480849383077-git-send-email-matthias.fu...@esd.eu you wrote: This patch migrates 4xx code from using the lowercase tcr macro to the uppercase TCR macro. Both macros have been defined in the past. So one is to much and uppercase macros are much more

Re: [U-Boot] [PATCH] ppc4xx: Add 405EP based PMC405DE board

2009-07-20 Thread Wolfgang Denk
Dear matthias.fu...@esd.eu, In message 12480877043650-git-send-email-matthias.fu...@esd.eu you wrote: From: Matthias Fuchs matthias.fu...@esd.eu Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu It would really be nice if you marked new versions of older submissions as such, and added some

Re: [U-Boot] Please pull u-boot-mpc83xx.git

2009-07-20 Thread Wolfgang Denk
Dear Kim Phillips, In message 20090718200944.7c9d3eec.kim.phill...@freescale.com you wrote: Hello Wolfgang D., I realize this is very last-minute, but converting 83xx PCI has been overdue for a while now, and I'm expecting enough time to test before the next release. So, if there are no

Re: [U-Boot] Pull request u-boot-blackfin.git

2009-07-20 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1247966220-23627-1-git-send-email-vap...@gentoo.org you wrote: The following changes since commit d39041fcadb1231430201d298c31f6be03d654f7: Wolfgang Denk (1): PATI board: fix compiler warnings are available in the git repository at:

Re: [U-Boot] Please pull u-boot-ubi

2009-07-20 Thread Wolfgang Denk
Dear Stefan Roese, In message 200907200927.39207...@denx.de you wrote: The following changes since commit b86b85e2611d57d834795a92453431a1a340c3c9: Ilya Yanok (1): mmc: set bus width to 1 and clock to minimum early during initialization are available in the git repository at:

Re: [U-Boot] Please pull u-boot-i2c.git

2009-07-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4a64516d.4020...@denx.de you wrote: Hello Wolfgang, The following changes since commit b86b85e2611d57d834795a92453431a1a340c3c9: Ilya Yanok (1): mmc: set bus width to 1 and clock to minimum early during initialization are available in the git

Re: [U-Boot] Support for Calao USB A9263 board based on AT91SAM9263 CPU

2009-07-20 Thread Wolfgang Denk
Dear Thomas Petazzoni, In message 20090720174220.1800d...@surf you wrote: Any specific reason for not using autosizing and testing via get_ram_size() ? The initial reason is that the code for this board is taken from the Atmel boards code, which doesn't use get_ram_size(). However, my

Re: [U-Boot] [PATCH] atmel_df_pow2: standalone to convert dataflashes to pow2

2009-07-20 Thread Andrzej Wolski
Atmel DataFlashes by default operate with pages with 1056 byte pages. They also have a power of 2 mode where the pages are 1024 bytes in size. Page size is not always 1056/1024 bytes, it is depended on total memory size. + if (flash_set_pow2(slave)) { +

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-20 Thread Wolfgang Denk
Dear Kyungmin Park, In message 9c9fda240907192016i32c7312dh490629f2f2bb3...@mail.gmail.com you wrote: /* read a page with ECC */ static inline int onenand_read_page(ulong block, ulong page, u_char * buf , int pagesize) { +#ifdef CONFIG_S5PC1XX +

Re: [U-Boot] [PATCH] zlib: updated to v.1.2.3

2009-07-20 Thread Wolfgang Denk
Dear Giuseppe CONDORELLI, In message 1246273458-19028-1-git-send-email-giuseppe.condore...@st.com you wrote: This patch updates zlib to the latest stable version. Only relevant zlib parts were ported to u-boot tree, as already did for the current zlib (0.95). New zlib guarantees a faster

Re: [U-Boot] [PATCH 2/8]: Define ffs/fls for all architectures

2009-07-20 Thread Wolfgang Denk
Dear Simon Kagstrom, In message 20090707155734.4b757...@marrow.netinsight.se you wrote: UBIFS requires fls(), which is not defined for arm (and some other architectures) and this patch adds it. The implementation is taken from Linux and is generic. ffs() is also defined for those that miss it.

Re: [U-Boot] [PATCH 4/8]: Add unaligned.h for arm

2009-07-20 Thread Wolfgang Denk
Dear Simon Kagstrom, In message 20090707155851.7dced...@marrow.netinsight.se you wrote: This patch adds unaligned.h for ARM (needed to build with LZO compression). The file is taken from the linux kernel, but includes u-boot headers instead. Signed-off-by: Simon Kagstrom

Re: [U-Boot] [PATCH 5/8]: Use do_div from div64.h for vsprintf

2009-07-20 Thread Wolfgang Denk
Dear Simon Kagstrom, In message 20090707155927.78e75...@marrow.netinsight.se you wrote: Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net --- lib_generic/vsprintf.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) Applied, thanks. Best regards, Wolfgang Denk --

Re: [U-Boot] [PATCH] fsl_sata: Fix compiler warnings shown by gcc-4.4

2009-07-20 Thread Wolfgang Denk
Dear Kumar Gala, In message 124701-22858-1-git-send-email-ga...@kernel.crashing.org you wrote: From: galak ga...@ducky.am.freescale.net Update fsl_sata to use common structures instead of casting back and forth between the fsl specific ones and the common ones (which are identical).

Re: [U-Boot] [PATCH] Refresh LZMA-lib to 4.65

2009-07-20 Thread Wolfgang Denk
Dear Luigi 'Comio' Mantellini, In message 1246985548-24183-1-git-send-email-luigi.mantellini...@gmail.com you wrote: --===1785671948== From: Luigi 'Comio' Mantellini luigi.mantell...@idf-hit.com --- common/cmd_bootm.c |5 +- include/lzma/LzmaDec.h

Re: [U-Boot] [PATCH 5/8]: Use do_div from div64.h for vsprintf

2009-07-20 Thread Wolfgang Denk
Dear Simon Kagstrom, In message 20090720214252.b0b6e832e...@gemini.denx.de I wrote: Dear Simon Kagstrom, In message 20090707155927.78e75...@marrow.netinsight.se you wrote: Signed-off-by: Simon Kagstrom simon.kagst...@netinsight.net --- lib_generic/vsprintf.c |7 +-- 1 files

Re: [U-Boot] [PATCH 2/2] netstar/voiceblue: remove no-need libgcc link for eeprom standalone

2009-07-20 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 1247085496-21754-2-git-send-email-plagn...@jcrosoft.com you wrote: Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com --- board/netstar/Makefile |3 +-- board/voiceblue/Makefile |3 +-- 2 files changed, 2

Re: [U-Boot] [PATCH 1/3] powerpc: updates for the keymile boards

2009-07-20 Thread Wolfgang Denk
Dear Heiko Schocher, In message 4a55c0a2.2010...@denx.de you wrote: - CONFIG_SYS_MAX_I2C_BUS changed to 1 We use only one I2C hardwarecontroller on this boards, so change the CONFIG_SYS_MAX_I2C_BUS to 1. - common: dont print errormsg if second IVM Block lacks. - 82xx, mgcoge: fix double

Re: [U-Boot] [PATCH] ignore tags

2009-07-20 Thread Wolfgang Denk
Dear ratbert.chu...@gmail.com, In message 1247221534-26150-1-git-send-email-ratbert.chu...@gmail.com you wrote: From: Po-Yu Chuang ratb...@faraday-tech.com Signed-off-by: Po-Yu Chuang ratb...@faraday-tech.com --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH v2 1/6] Move architecture specific config.mk files into subdirs

2009-07-20 Thread Wolfgang Denk
Dear Peter Tyser, In message 1247241800-29059-2-git-send-email-pty...@xes-inc.com you wrote: This cleans up U-Boot's toplevel directory a bit and makes the architecture 'config.mk' file naming and location similar to board and cpu 'config.mk' files Signed-off-by: Peter Tyser

Re: [U-Boot] [PATCH v2 6/6] Move api_examples to examples/api

2009-07-20 Thread Wolfgang Denk
Dear Peter Tyser, In message 1247241800-29059-7-git-send-email-pty...@xes-inc.com you wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com --- Makefile|4 ++-- {api_examples = examples/api}/.gitignore |0 {api_examples = examples/api}/Makefile

Re: [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

2009-07-20 Thread Wolfgang Denk
Dear Peter Tyser, In message 1248033674.15400.9.ca...@ptyser-laptop you wrote: On Sat, 2009-07-18 at 20:07 +0200, Wolfgang Denk wrote: Dear Peter Tyser, In message 1247935062.9174.14.ca...@ptyser-laptop you wrote: I'd still vote for changing the directory structure in this release,

Re: [U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner

2009-07-20 Thread Wolfgang Denk
Dear Liu Dave-R63238, In message d7cca83bb0796c49bc0bb53b6ab12089515...@zch01exm21.fsl.freescale.net you wrote: Previously, non-e500 architectures only unlocked their data cache which was used as early RAM when booting to Linux using the bootm command. This change causes all PPC boards

Re: [U-Boot] [PATCH v2 0/6] Clean up top-level directory structure

2009-07-20 Thread Peter Tyser
On Tue, 2009-07-21 at 00:15 +0200, Wolfgang Denk wrote: Dear Peter Tyser, In message 1248033674.15400.9.ca...@ptyser-laptop you wrote: On Sat, 2009-07-18 at 20:07 +0200, Wolfgang Denk wrote: Dear Peter Tyser, In message 1247935062.9174.14.ca...@ptyser-laptop you wrote: I'd

Re: [U-Boot] [PATCH] ppc: Unlock cache-as-ram in a consistent manner

2009-07-20 Thread Liu Dave-R63238
I've tested this on 86xx boards, it'd be great if someone could test on 83xx and 74xx/7xx. 85xx boards should not be affected by this change. This change assumes http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/63423 has already been applied, or the lib/ppc patches

[U-Boot] [PATCH v3] Move api_examples to examples/api

2009-07-20 Thread Peter Tyser
Also add a rule to remove demo.bin which was previously leftover after a make clean Signed-off-by: Peter Tyser pty...@xes-inc.com --- Changes since v2: - Clean up demo.bin - rebased Makefile|5 +++-- {api_examples = examples/api}/.gitignore |0

[U-Boot] [PATCH] OneNAND: S5PC100 OneNAND IPL support

2009-07-20 Thread Kyungmin Park
S5PC100 has own OneNAND controller and has different interface. OneNAND IPL use it to S5PC100 board. Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/onenand_ipl/onenand_ipl.h b/onenand_ipl/onenand_ipl.h index 412572a..b43ddfb 100644 --- a/onenand_ipl/onenand_ipl.h +++

Re: [U-Boot] [PATCH 6/6] S5PC100: Add onenand_ipl for SMDKC100 support

2009-07-20 Thread Kyungmin Park
On Tue, Jul 21, 2009 at 6:18 AM, Wolfgang Denkw...@denx.de wrote: Dear Kyungmin Park, In message 9c9fda240907192016i32c7312dh490629f2f2bb3...@mail.gmail.com you wrote:  /* read a page with ECC */  static inline int onenand_read_page(ulong block, ulong page,                              

[U-Boot] [PATCH] cmd_tsi148: General cleanup

2009-07-20 Thread ptyser
From: Peter Tyser pty...@gmail.com - Fix command help message - Disable DEBUG by default - Fix whitespace issues - Fix lines 80 characters Signed-off-by: Peter Tyser pty...@gmail.com --- common/cmd_tsi148.c | 85 ++ 1 files changed, 44

[U-Boot] [PATCH] OneNAND: Remove unused read_spareram

2009-07-20 Thread Kyungmin Park
Remove unused read_spareram and add unlock_all as kernel does Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c index d482437..368fa6e 100644 --- a/drivers/mtd/onenand/onenand_base.c +++

Re: [U-Boot] [PATCH] cmd_tsi148: General cleanup

2009-07-20 Thread Stefan Roese
On Tuesday 21 July 2009 04:51:38 pty...@xes-inc.com wrote: From: Peter Tyser pty...@gmail.com - Fix command help message - Disable DEBUG by default - Fix whitespace issues - Fix lines 80 characters Thanks Peter. Signed-off-by: Peter Tyser pty...@gmail.com Acked-by: Stefan Roese

Re: [U-Boot] [PATCH 1/3] powerpc: updates for the keymile boards

2009-07-20 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk wrote: Dear Heiko Schocher, In message 4a55c0a2.2010...@denx.de you wrote: - CONFIG_SYS_MAX_I2C_BUS changed to 1 We use only one I2C hardwarecontroller on this boards, so change the CONFIG_SYS_MAX_I2C_BUS to 1. - common: dont print errormsg if second IVM

Re: [U-Boot] [PATCH] v3 - add dns

2009-07-20 Thread Ben Warren
Hi Robin, Robin Getz wrote: On 04 Oct 2008 Pieter posted a dns implementation for U-Boot. http://www.mail-archive.com/u-boot-us...@lists.sourceforge.net/msg10216.html DNS can be enabled by setting CFG_CMD_DNS. After performing a query, the serverip environment var is updated. Probably

Re: [U-Boot] [PATCH 1/2] net: rename NetRxPkt to NetRxPacket

2009-07-20 Thread Ben Warren
Mike, Mike Frysinger wrote: The net code is mostly consistent in using 'Packet' rather than 'Pkt', so rename the minor detractor to follow suite. Signed-off-by: Mike Frysinger vap...@gentoo.org --- include/net.h |4 ++-- net/bootp.c |2 +- net/net.c |8 3

Re: [U-Boot] [PATCH v2] net: tsec - fix dereferencing type-punned pointer will break strict-aliasing rules warning

2009-07-20 Thread Ben Warren
Kim, Kim Phillips wrote: fix this gcc 4.4 warning: tsec.c: In function 'tsec_init': tsec.c:200: warning: dereferencing type-punned pointer will break strict-aliasing rules Signed-off-by: Kim Phillips kim.phill...@freescale.com --- this is the endian-correct version drivers/net/tsec.c

Re: [U-Boot] [PATCH 2/2] document network driver framework

2009-07-20 Thread Ben Warren
Mike Frysinger wrote: Signed-off-by: Mike Frysinger vap...@gentoo.org --- Ben: some things to note: - i adopted Jean's proposed naming scheme in the CONFIG section Is this a generally-accepted naming convention? I personally think it's crap, and since there isn't a single driver

Re: [U-Boot] [PATCH] MIIPHYBB: Return 0xFFFF if the PHY is not asserting TA.

2009-07-20 Thread Ben Warren
Richard, Richard Retanubun wrote: From d4c7dd98ac9a3f6fc4949079b84d7d811376cf3d Mon Sep 17 00:00:00 2001 From: Richard Retanubun richardretanu...@ruggedcom.com Date: Thu, 2 Jul 2009 13:12:03 -0400 Subject: [PATCH] MIIPHYBB: Return 0x if the PHY is not asserting TA. This patch sets the

Re: [U-Boot] [PATCH 2/4]: arm: Kirkwood: Fix compiler optimization bug for kwgbe_send

2009-07-20 Thread Ben Warren
Simon Kagstrom wrote: kwgbe_send/recv both have loops waiting for the hardware to set a bit. GCC 4.3.3 cleverly optimizes the send case to ... a while(1); loop. This patch uses readl to force a read from device memory. Other volatile accesses have also been replaced with readl/writel where

Re: [U-Boot] [PATCH 3/4]: arm: Kirkwood: Check the error summary bit for error detection

2009-07-20 Thread Ben Warren
Simon Kagstrom wrote: The Marvell documentation for the 88f6281 states that the error coding is only valid if the error summary and last frame bits in the transmit descriptor status field are set. This patch adds checks for these for transmit (I would get transmit errors on bootp with the

Re: [U-Boot] [PATCH 4/4]: arm: Kirkwood: See to it that sent data is 8-byte aligned

2009-07-20 Thread Ben Warren
Simon, Simon Kagstrom wrote: U-boot might use non-8-byte-aligned addresses for sending data, which the kwgbe_send doesn't accept (bootp does this for me). This patch copies the data to be sent to a temporary buffer if it is non-aligned. Signed-off-by: Simon Kagstrom

Re: [U-Boot] [PATCH] ppc4xx: Fixed compilation warning in 4xx_enet.c

2009-07-20 Thread Ben Warren
Stefan, Can I get an ACK from you on this? Sorry if you already did and I missed it. regards, Ben Alessio Centazzo wrote: This patch fixes a compilation warning for some Ethernet PHY-less PPC4xx platforms (440SPE based ones) and a potential compilation error for 440SP platforms (use of