[U-Boot] [patch] bugfix CONFIG_SYS_CONSOLE_INFO_QUIET

2009-08-30 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net The console: unify printing current devices patch goofed: CONFIG_SYS_CONSOLE_INFO_QUIET is supposed to *REMOVE* boot time noise, not add it. Said patch changed the #ifndefs to #ifdef; this one restores them to the proper sense. Signed-off

Re: [U-Boot] More davinci 4-bit hw ecc questions

2009-09-02 Thread David Brownell
On Wednesday 02 September 2009, John Rigby wrote: Sandeep and all interested parties: I am trying to understand davinci 4-bit nand options for u-boot and linux. In flux just now. The techinical issue is an ECC engine that's a bit rough to work with except on small page chips. Summary of

Re: [U-Boot] [PATCH] ARM DaVinci: EMIF settings

2009-06-03 Thread David Brownell
On Sunday 31 May 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 19:46 Sun 03 May , Thomas Lange wrote: NAND module should not modify EMIF registers unrelated to CS2 that is used for NAND, i.e. do not modify EWAIT config register or registers for other Chip Selects. Without this

[U-Boot] [patch/rfc] rm9200 lowevel_init: don't touch reserved/readonly registers

2009-06-09 Thread David Brownell
For some reason the AT91rm9200 lowlevel init writes to a bunch of reserved or read-only addresses. All the boards seem to define the value-to-be-written values as zero ... but they shouldn't actually be writing *anything* there. If there's a real need to write these locations, like an erratum

[U-Boot] [patch] csb337 board support (ARM at91rm9200)

2009-06-12 Thread David Brownell
) failed ... copying *way* over 15 MBytes, and trashing the DRAM image of U-Boot that was running. (Compiler issue?) Sending this along anyway; it basically works, bugs can be fixed later. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- NOTE: depends on cpu/arm920t/at91rm9200

Re: [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk (csb337)

2009-06-13 Thread David Brownell
On Saturday 13 June 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: The machine_is_X() macros are automatically #ifdeffed in the header; no size impact.  Read asm/mach-types.h ... If I use this pacth on the rm9200ek the u-boot.bin size will increase for nothing I'm not following you. The

Re: [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk (csb337)

2009-06-13 Thread David Brownell
On Saturday 13 June 2009, Mike Frysinger wrote: See above.  There already *IS* such an #ifdef, but it's just not cluttering up the guts of that driver. you adding MUST have NO size impact on other board if we apply you code as it we will increase the size of u-boot for

Re: [U-Boot] nand biterr ... got an implementation?

2009-06-18 Thread David Brownell
This is still in my mailbox, don't know that I'll get around to it any time soon, but another requirement came to mind. On Wednesday 22 April 2009, Scott Wood wrote: On Tue, Apr 21, 2009 at 07:38:27PM -0700, David Brownell wrote: I was hoping that I could use that to test some NAND code

Re: [U-Boot] [patch] rm9200 ethernet driver: board-specific quirk (csb337)

2009-06-19 Thread David Brownell
On Wednesday 17 June 2009, Ben Warren wrote: Applied to net repo. Thanks. Random question: is that driver going to move into drivers/net or will it stay in cpu/arm920t? I thought I saw you moving things out of cpu/* a while back. - Dave ___ U-Boot

Re: [U-Boot] [patch] csb337 board support (ARM at91rm9200)

2009-06-29 Thread David Brownell
On Thursday 25 June 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 14:58 Fri 12 Jun , David Brownell wrote: Add support for csb337, an older at91rm9200 board. These boards originally shipped with MicroMonitor, not U-Boot. This config supports boot from Ethernet, and talks over I2C

Re: [U-Boot] [patch] csb337 board support (ARM at91rm9200)

2009-06-29 Thread David Brownell
On Monday 29 June 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: - USB didn't work; the software wouldn't detect usb-storage devices. So it's not yet enabled. what is the power on the USB? I don't understand the question. 5V of course. Not switchable. is the usb provide

Re: [U-Boot] Pull request: nand flash

2009-07-13 Thread David Brownell
a followup patch? That should have been CONFIG_SOC_DM644X in the first place, yes. == CUT HERE From: David Brownell dbrown...@users.sourceforge.net Typo fix: use CONFIG_SOC_DM644X, not CONFIG_SOC_DM646. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- drivers/mtd/nand

Re: [U-Boot] [patch/rfc] rm9200 lowevel_init: don't touch reserved/readonly registers

2009-07-16 Thread David Brownell
On Friday 10 July 2009, Wolfgang Denk wrote: Dear David Brownell, In message 200906282241.54948.davi...@pacbell.net you wrote: On Tuesday 09 June 2009, David Brownell wrote: Meanwhile, here's a patch/RFC disabling what seems to be bogosity. If it's eventually a go, the supporting

[U-Boot] [patch] rm9200 lowevel_init: don't touch reserved/readonly registers

2009-07-16 Thread David Brownell
For some reason the AT91rm9200 lowlevel init writes to a bunch of reserved or read-only addresses. All the boards seem to define the value-to-be-written values as zero ... but they shouldn't actually be writing *anything* there. No documented erratum justifies these accesses. It looks like

[U-Boot] [patch] dm355evm NAND support

2009-10-04 Thread David Brownell
. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- DIFFERS FROM SANDEEP'S PATCH: (a) 64-bit VSPRINTf, (b) no MLC hooks, (c) environment in block 0, which would otherwise be wasted, (d) no dependency on dubious remove SZ_* symbols patches, (e) buildfix board/davinci/dm355evm

Re: [U-Boot] [patch] dm355evm NAND support

2009-10-05 Thread David Brownell
On Monday 05 October 2009, Tom wrote: In general it is better to break patches that do multiple things into multiple patches. When you resubmit, please break this patch into its logical parts : 1. NAND 2. Environment Hmm, my *original* patch necessarily disabled both because there was no

Re: [U-Boot] [patch] dm355evm NAND support

2009-10-05 Thread David Brownell
On Monday 05 October 2009, Paulraj, Sandeep wrote: I have already ack-ed Sandeep's patch that contains this fix for the warning. Please check with him. That is correct, I did not add it to my tree because you ACK'ed this patch only after I sent a pull request. So obviously I cannot add a

Re: [U-Boot] [patch] dm355evm NAND support

2009-10-05 Thread David Brownell
On Monday 05 October 2009, Paulraj, Sandeep wrote: I guess that happened after I prepared the patch but before I sent it in.  I'll look; there were some differences still.  Notably to store the environment in the otherwise-unused block zero, That is because most users who have used

Re: [U-Boot] [PATCH] NAND: fix raw reads with ECC syndrome layouts

2009-11-07 Thread David Brownell
On Saturday 07 November 2009, Paulraj, Sandeep wrote: Quick head up. I submitted this patch to the u-boot mailing list on David Brownell's behalf. Sandeep You should *NEVER* forge From addresses like spammers do. ___ U-Boot mailing list

[U-Boot] [PATCH u-boot git] dm9000 EEPROM reading bugfix

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes then discarding every one. Using the right Ethernet address is a big win. Signed-off-by: David Brownell dbrown

[U-Boot] [PATCH u-boot git] fix DaVinci NS16550_REG_SIZE regression

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Update the DaVinci DM6446 boards to use the new convention for CONFIG_SYS_NS16550_REG_SIZE ... the size hasn't changed from the original 4 bytes, but these chips are little-endian. (Resolves a regression added recently by the include/ns16550.h

[U-Boot] [PATCH u-boot git] minor DaVinci clock cleanup

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Minor cleanup to clock-related defines for DaVinci DM6446 boards: - CONFIG_SYS_CLK_FREQ is unused; remove it. - CONFIG_SYS_NS16550_CLK must be the same as CONFIG_SYS_HZ_CLOCK On DM6446 both of those peripheral clocks actually come from

[U-Boot] [PATCH u-boot git] DaVinci Ethernet cleanup

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Chips without the EMAC controller won't need the utilities it uses to read an Ethernet address from EEPROM; so don't include them needlessly. Use is_valid_ether() to validate the address from EEPROM. All-zero addresses aren't the only invalid

[U-Boot] [PATCH u-boot git] there are non-DM6446 DaVinci chips

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Start updating DaVinci board support to reduce dependencies on dm644x chips and EVM-like boards ... beginning with psc.c, which hosts a bunch of those dependencies: - Pinmux registers and their contents are SoC-specific, and are also

[U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT

2009-04-12 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Don't needlessly include lowlevel init code; that's only really needed with boot-from NOR (not boot-from-NAND). The 2nd stage loader (UBL) handles that before it loads U-Boot. Signed-off-by: David Brownell dbrown...@users.sourceforge.net

Re: [U-Boot] [PATCH u-boot git] dm9000 EEPROM reading bugfix

2009-04-12 Thread David Brownell
On Sunday 12 April 2009, David Brownell wrote: ... read six bytes, instead of reading twelve bytes then discarding every one. Urgh, editing goof. Should read discarding every other one. ___ U-Boot mailing list U-Boot@lists.denx.de http

[U-Boot] [PATCH u-boot git] CMD_UBI != MTD_PARTITIONS

2009-04-13 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Fix dependency goofage: it should certainly be possible to have the partition support without bringing in UBI commands. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- drivers/mtd/Makefile |2 +- 1 file changed, 1

Re: [U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT

2009-04-13 Thread David Brownell
On Monday 13 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: please move this to the Makefile = CUT HERE From: David Brownell dbrown...@users.sourceforge.net Don't needlessly include lowlevel init code; that's only really needed with boot-from NOR (not boot-from-NAND). The 2nd stage

Re: [U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT

2009-04-14 Thread David Brownell
On Tuesday 14 April 2009, Wolfgang Denk wrote: Please don't do it like this. Please use the same style like everybody else. Having to guess .. you mean don't indent? == CUT HERE From: David Brownell dbrown...@users.sourceforge.net Don't needlessly include lowlevel init code; that's

[U-Boot] [patch u-boot git] mtdpart command: align output columns

2009-04-16 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Make the headers in the mtdparts command output line up with their columns ... strike the extra TAB character. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- a/common/cmd_mtdparts.c +++ b/common/cmd_mtdparts.c @@ -1314,7

Re: [U-Boot] [PATCH u-boot git] dm9000 EEPROM reading bugfix

2009-04-17 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Make the U-Boot dm9000 driver read addresses from EEPROM just like Linux does ... read six bytes, instead of reading twelve bytes and then discarding every other one. Using the right Ethernet address is a big win. Signed-off-by: David

Re: [U-Boot] [PATCH u-boot git] there are non-DM6446 DaVinci chips

2009-04-17 Thread David Brownell
On Thursday 16 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:44 Sun 12 Apr , David Brownell wrote: could you split it in more logical change please I'll fragment it a bit more, ok. later. @@ -129,10 +122,12 @@ void davinci_enable_uart0(void) lpsc_on

Re: [U-Boot] [PATCH u-boot git] DaVinci now respects SKIP_LOWLEVEL_INIT

2009-04-17 Thread David Brownell
On Thursday 16 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: please move the Makefile to SOBJS-y COBJS-y I'm not following. A quick scan of boards I've used shows most of them using SOBJS, rather than SOBJS-y. And how would you propose making a *negative* config option (as in $SUBJECT)

Re: [U-Boot] [PATCH u-boot git] there are non-DM6446 DaVinci chips

2009-04-18 Thread David Brownell
On Friday 17 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: could you split it in more logical change please I'll fragment it a bit more, ok.  later. Re-worked version coming in X parts, which also include a patch changing the cpu/arm926ejs/davinci directory to use the conditional

[U-Boot] [patch u-boot git 1/5] davinci: move psc support board--cpu

2009-04-18 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Move DaVinci PSC support from board/* to cpu/* where it belongs. The PSC module manages clocks and resets for all DaVinci-family SoCs, and isn't at all board-specific. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- board

[U-Boot] [patch u-boot git 4/5] davinci: fix dm644x buglets

2009-04-18 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Fix two buglets in the dm644x support: don't set two must-be-zero bits in the UART management register; and only include the I2C hooks if the I2C driver is being included. Signed-off-by: David Brownell dbrown...@users.sourceforge.net --- cpu

[U-Boot] [patch u-boot git 3/5] davinci: split out some dm644x-specific bits from psc

2009-04-18 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Split out DaVinci DM6446-specific bits from more generic bits: - Add a CONFIG_SOC_DM644X. All current boards use DM6446 chips; DM6443 and DM6441 chips differ in available peripherals. - Move most DM644X-specific bits from psc.c to a new

[U-Boot] [patch u-boot git 5/5] davinci: add basic dm355/dm350/dm335 support

2009-04-18 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Add some basic declarations for DaVinci DM355/DM350/DM335 support, keyed on CONFIG_SOC_DM355. (DM35X isn't quite right because the DM357 is very different; while the DM355 is like a DM355 without the MPEG/JPEG coprocessor). These have

[U-Boot] [patch u-boot git 2/5] davinci: cpu-specific build uses conditional make syntax

2009-04-18 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Update cpu/arm926ejs/davinci/Makefile to use COBJ-y type syntax. Add the first conditional: for EMAC driver support. Not all chips have an EMAC; and boards might not use it, anyway. This doesn't touch PHY configuration; that should eventually

[U-Boot] nand biterr ... got an implementation?

2009-04-21 Thread David Brownell
I was hoping that I could use that to test some NAND code, but then I noticed it wasn't implemented. I would have expected that U-Boot command wouldn't exist until they're implemented... I'm hoping someone has an implementation. With at least these characteristics: - Doesn't toggle the same

Re: [U-Boot] [PATCH u-boot git] there are non-DM6446 DaVinci chips

2009-04-24 Thread David Brownell
On Friday 24 April 2009, Hugo Villeneuve wrote: I would suggest renaming (or adding) CONFIG_SOC_DM6446 to CONFIG_SOC_DM644x The updated patchset I sent includes CONFIG_SOC_DM644X: http://lists.denx.de/pipermail/u-boot/2009-April/051051.html I decided to keep the X uppercase for consistency

Re: [U-Boot] [PATCH u-boot git] there are non-DM6446 DaVinci chips

2009-04-24 Thread David Brownell
On Friday 24 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 12:33 Fri 24 Apr , David Brownell wrote: (Note: that series of five patches goes with two patches which seem not to have merged yet: http://lists.denx.de/pipermail/u-boot/2009-April/050802.html the Patch series

Re: [U-Boot] U-Boot ARM merge strategy, was: there are non-DM6446 DaVinci chips

2009-04-25 Thread David Brownell
On Friday 24 April 2009, Dirk Behme wrote: Btw.: Now that -next exists, I can't find patch linked above in it, though :( http://git.denx.de/?p=u-boot/u-boot-arm.git;a=shortlog;h=refs/heads/next shows it ... respects SKIP_LOWLEVEL_INIT. Make sure to look at the next branch there; you can

Re: [U-Boot] U-Boot ARM merge strategy, was: there are non-DM6446 DaVinci chips

2009-04-25 Thread David Brownell
On Friday 24 April 2009, Ben Warren wrote: My approach is that once the merge window closes, new patches that are not bug fixes go into 'next', which is for the release after the current one (in this case 07). Then I'm curious how that dm9000 EEPROM reading bugfix landed in net/next ... or is

Re: [U-Boot] U-Boot ARM merge strategy, was: there are non-DM6446 DaVinci chips

2009-04-25 Thread David Brownell
On Saturday 25 April 2009, Ben Warren wrote: Then I'm curious how that dm9000 EEPROM reading bugfix landed in net/next ... or is the point that the merge window for 2009.05 is still open, since RC1 hasn't yet been tagged? In this case a pretty good argument could be made that it's a

Re: [U-Boot] U-Boot ARM merge strategy

2009-04-25 Thread David Brownell
Hi Wolfgang, On Saturday 25 April 2009, Wolfgang Denk wrote: in message 200904250555.17450.davi...@pacbell.net you wrote: I think the questions on this topic reflect a reality that such status updates aren't yet visible enough. (The original question was generic, not ARM-specific.)

Re: [U-Boot] U-Boot ARM merge strategy

2009-04-25 Thread David Brownell
On Saturday 25 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: For me when the first version of a [patch] is send after the close of the merge and it's not a bug fix, then it will go to the next MW. The only exception will be if the patch come from an announce or a thread discussion

[U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC

2009-04-26 Thread David Brownell
I was looking at the DaVinci NAND support in current U-Boot code (i.e. 2009.03 plus patches merged since that release), and am puzzled by the above-named config option. Before I submit a patch to remove it from U-Boot GIT (nothing there enables it, and it will nastify 4-bit support), I thought

Re: [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC

2009-04-26 Thread David Brownell
On Sunday 26 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: Before I submit a patch to remove it from U-Boot GIT (nothing there enables it, and it will nastify 4-bit support), I thought I'd see if anyone knows exactly what software it was trying to emulate.  ... maybe

Re: [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC

2009-04-27 Thread David Brownell
On Monday 27 April 2009, Scott Wood wrote: It is for compatibility with a widely-deployed legacy ECC layout -- more details can be found in the list archives. See my original query, which IMO disproves that assertion. What this option enables differs in two ways from what the MontaVista code

Re: [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC

2009-04-27 Thread David Brownell
On Monday 27 April 2009, Scott Wood wrote: David Brownell wrote: On Monday 27 April 2009, Scott Wood wrote: It is for compatibility with a widely-deployed legacy ECC layout -- more details can be found in the list archives. See my original query, which IMO disproves that assertion

Re: [U-Boot] [PATCH 1/3][Net][ARM] Moved Davinci Ethernet driver to drivers/net

2009-04-28 Thread David Brownell
On Tuesday 28 April 2009, Ben Warren wrote:  The driver has been renamed dm644x_emac.c Let me suggest davinci_emac.c ... the same controller is in some non-dm644x DaVinci silicon (like dm365), and a gigabit flavor is in the dm6467 chip.   -COBJS  = timer.o ether.o lxt972.o dp83848.o +COBJS  

[U-Boot] [patch u-boot-git 1/2] davinci_nand: cleanup I (minor)

2009-04-28 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Minor cleanup for DaVinci NAND code: - Use I/O addresses from nand_chip; CONFIG_SYS_NAND_BASE won't be defined when there are multiple chipselect lines in use (as with common 2 GByte chips). - Cleanup handling of EMIF control

[U-Boot] [patch u-boot-git 2/2] davinci_nand: cleanup II (CONFIG_SYS_DAVINCI_BROKEN_ECC )

2009-04-28 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Remove CONFIG_SYS_DAVINCI_BROKEN_ECC option. It's not just nasty; it's also unused by any current boards, and doesn't even match the main U-Boot distributions from TI (which use soft ECC, or 4-bit ECC on newer chips that support it). DaVinci

Re: [U-Boot] [PATCH] ARM DaVinci: Adding CONFIG options for NAND ALE and CLE

2009-04-28 Thread David Brownell
On Tuesday 28 April 2009, s-paul...@ti.com wrote: The CLE and ALE for DaVinci DM644x is not the same as DM646x. This patch adds 2 CONFIG_ options to the config.h header files to all the DM6446 based boards. These values are then used by the driver. I had been thinking that the davinci_nand

Re: [U-Boot] [PATCH] ARM DaVinci: Adding DM357 Support

2009-04-28 Thread David Brownell
On Tuesday 28 April 2009, s-paul...@ti.com wrote: Patch adds support for DaVinci DM357. This SOC is very similar to the DM644x. The DM357 EVM has 2 NANDs, one small page NAND and another large page NAND. But the device can only boot of the small page NAND. It does not have NOR support. This

Re: [U-Boot] [PATCH] ARM DaVinci: Adding DM357 Support

2009-04-28 Thread David Brownell
On Tuesday 28 April 2009, s-paul...@ti.com wrote:  Makefile                            |    3 +  include/configs/davinci_dm357_evm.h |  159 +++  2 files changed, 162 insertions(+), 0 deletions(-) I believe that will be insufficient with the current U-Boot

Re: [U-Boot] [PATCH] ARM DaVinci: Adding DM357 Support

2009-04-28 Thread David Brownell
(in 2.6.30-rc) should handle this fine, though. - Dave Thanks, Sandeep -Original Message- From: David Brownell [mailto:davi...@pacbell.net] Sent: Tuesday, April 28, 2009 5:57 PM To: Paulraj, Sandeep; u-boot@lists.denx.de Cc: davinci-linux-open-sou...@linux.davincidsp.com Subject

Re: [U-Boot] [PATCH] ARM DaVinci: Adding CONFIG options for NAND ALE and CLE

2009-04-28 Thread David Brownell
Hi Sandeep, On Tuesday 28 April 2009, Paulraj, Sandeep wrote: I had been thinking that the davinci_nand driver should probably change to let board_nand_init() really become a board-specific function... It would call a driver routine to init the callback functions and set up

[U-Boot] [patch u-boot/arm/next git] initial DaVinci DM355 EVM board support

2009-04-28 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller: http://c6000.spectrumdigital.com/evmdm355/ Most of the DM355 chip is fully

Re: [U-Boot] [PATCH v2] ARM DaVinci: Adding DM357 Support

2009-04-29 Thread David Brownell
On Wednesday 29 April 2009, s-paul...@ti.com wrote: +.globl dv_board_init +dv_board_init: + +   mov pc, lr Surely you can eliminate a file containing only such a useless NOP function... +#define CONFIG_SOC_DM644X Hmm, I'd have expected a CONFIG_SOC_DM357. No DSP (and so why were

Re: [U-Boot] [PATCH v2] ARM DaVinci: Adding DM357 Support

2009-04-29 Thread David Brownell
On Wednesday 29 April 2009, Paulraj, Sandeep wrote: Any other comments? Not for now ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [patch u-boot git arm/next] davinci: display correct clock info

2009-04-29 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Make the DaVinci clock display code work on the dm355 too ... there are pre- and post- dividers on its PLLs, which most other DaVinci processors don't use; and it uses different PLL dividers. Stubbed in support for the DM6467 too. Verified

Re: [U-Boot] [PATCH 0/3][Net][ARM] Davinci Ethernet driver cleanup

2009-04-29 Thread David Brownell
On Tuesday 28 April 2009, Ben Warren wrote: This patch set is an untested attempt at cleaning up the Davinci Ethernet driver.  Since I don't have any real hardware, I've tried to keep the logical flow as similar to the original as possible and haven't touched any of the hardware access code.  

[U-Boot] [patch u-boot arm/next] davinci dm6446evm NAND update

2009-04-29 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net This updates the optional (non-default!) NAND support for the DaVinci DM6446 EVM: - include MTD partitioning, defaulting to what Linux uses - use a flash-based BBT, which among other things speeds bootup This matches code that's now queued

Re: [U-Boot] [patch u-boot git arm/next] davinci: display correct clock info

2009-04-29 Thread David Brownell
On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 15:38 Wed 29 Apr , David Brownell wrote: From: David Brownell dbrown...@users.sourceforge.net Make the DaVinci clock display code work on the dm355 too ... there are pre- and post- dividers on its PLLs, which most

Re: [U-Boot] [PATCH 3/3][Net][ARM] Switched dm644x_emac Ethernet driver to use newer API

2009-04-29 Thread David Brownell
On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: as the clock function could be move to cpu.c it will have the stringly-link function I'll stuff that in a new cpu.c file, but those clock status display routines aren't mandatory.

Re: [U-Boot] [patch u-boot git arm/next] davinci: display correct clock info

2009-04-30 Thread David Brownell
On Thursday 30 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 23:35 Wed 29 Apr , David Brownell wrote: On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: my idea is more this the lowlovel will init the pll (lowlevel_init.S or other stage bootloader) Right

Re: [U-Boot] [patch u-boot arm/next] davinci dm6446evm NAND update

2009-04-30 Thread David Brownell
On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: too long please split Update below. === CUT HERE From: David Brownell dbrown...@users.sourceforge.net This updates the optional (non-default!) NAND support for the DaVinci DM6446 EVM: - include MTD partitioning, defaulting

Re: [U-Boot] [patch u-boot git arm/next] davinci: display correct clock info

2009-04-30 Thread David Brownell
On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: cpu.c will be better Here's a followup patch that applies on top of this one, and creates the cpu.c you wanted. === CUT HERE From: David Brownell dbrown...@users.sourceforge.net Move the clock-rate dumping code into the cpu

Re: [U-Boot] U-Boot and CONFIG_SYS_DAVINCI_BROKEN_ECC

2009-05-03 Thread David Brownell
On Sunday 03 May 2009, Stephen Irons wrote: Does this help at all Not quite; since when I looked at the MontaVista code, I didn't see anything like that brokeness. It's possible that some old MV kernels had that. If so, more recent stuff seems to have been cured. at any rate, it is a bit of

Re: [U-Boot] [patch u-boot/arm/next git] initial DaVinci DM355 EVM board support

2009-05-09 Thread David Brownell
On Wednesday 29 April 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: On 22:11 Tue 28 Apr 2009, David Brownell wrote: Initial U-Boot support for the DaVinci DM355 EVM MAKEALL|1 Makefile |3 board/davinci/dm355evm

Re: [U-Boot] [PATCH v5] ARM DaVinci Adding DM357 Support

2009-05-10 Thread David Brownell
Minor nit: for consistency with dvevm and dm355evm, I suggest removing the underscore from dm357_evm in the directory name. --- /dev/null +++ b/include/configs/davinci_dm357_evm.h @@ -0,0 +1,155 @@ +... + +#ifndef __CONFIG_H +#define __CONFIG_H +#include asm/sizes.h +#include

Re: [U-Boot] [patch arm/next] dm355 evm support (v2)

2009-05-11 Thread David Brownell
On Monday 11 May 2009, Jean-Christophe PLAGNIOL-VILLARD wrote: +#define BIT(x) (1 (x)) please remove or use set_bit I think that should probably be added to all the bitops.h headers, or someplace similar. But, OK; __{set,clear}_bit() work here too. +/*#define CONFIG_SYS_NAND_SMALLPAGE

[U-Boot] [patch arm/next] dm355 evm support (v3)

2009-05-11 Thread David Brownell
From: David Brownell dbrown...@users.sourceforge.net Initial U-Boot support for the DaVinci DM355 EVM. This is a board from Spectrum Digital. Board docs include schematic and firmware for its microcontroller: http://c6000.spectrumdigital.com/evmdm355/revd/ Most of the DM355 chip is fully