[U-Boot] [PATCH v2 0/3] Enable access to FAT filesystem in an ISO9660 El-Torito volume

2011-12-21 Thread Kyle Moffett
on these patches and I believe that they should be acceptable for merging into next now. Cheers, Kyle Moffett -- Interested in my work on the Debian powerpcspe port? I'm keeping a blog here: http://pureperl.blogspot.com/ ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH v2 1/3] fs/fat: Fix FAT detection to support non-DOS partition tables

2011-12-21 Thread Kyle Moffett
in an ISO9660 boot volume (El-Torito format) by reordering the filesystem checks and reading the 0x55 0xAA DOS boot signature and FAT/FAT32 magic number from the first sector of the partition instead of from sector 0. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com -- v2: I have removed

[U-Boot] [PATCH v2 2/3] fs/fat: Improve error handling

2011-12-21 Thread Kyle Moffett
an error but instead return 0 to indicate the number of blocks successfully read (IE: None). The FAT filesystem should defensively check to ensure that it got all of the sectors that it asked for when reading. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com -- v2: No change --- fs/fat

[U-Boot] [PATCH v2 3/3] usb_storage: Fix EHCI out of buffer pointers with CD-ROM

2011-12-21 Thread Kyle Moffett
media has a 2048-byte blocksize, resulting in a maximum transfer size of 40960 bytes, which does not fit. Since the EHCI specification is impossibly obtuse and far beyond my comprehension, I chose to dynamically compute the limit based on the blocksize. Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] Enable access to FAT filesystem in an ISO9660 El-Torito volume

2011-12-20 Thread Kyle Moffett
The included series of 3 patches fixes several bugs in the FAT code and the USB storage stack to make it possible to read from a FAT filesystem image embedded as an El-Torito boot image in an ISO9660 volume (IE: a CD or DVD). This has been tested on the eXMeritus HWW-1U-1A.

[U-Boot] [PATCH 1/3] fs/fat: Fix FAT detection to support non-DOS partition tables

2011-12-20 Thread Kyle Moffett
in an ISO9660 boot volume (El-Torito format) by reordering the filesystem checks and reading the 0x55 0xAA DOS boot signature and FAT/FAT32 magic number from the first sector of the partition instead of from sector 0. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- fs/fat/fat.c | 123

[U-Boot] [PATCH 2/3] fs/fat: Improve error handling

2011-12-20 Thread Kyle Moffett
an error but instead return 0 to indicate the number of blocks successfully read (IE: None). The FAT filesystem should defensively check to ensure that it got all of the sectors that it asked for when reading. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- fs/fat/fat.c | 18

[U-Boot] [PATCH 3/3] usb_storage: Fix EHCI out of buffer pointers with CD-ROM

2011-12-20 Thread Kyle Moffett
media has a 2048-byte blocksize, resulting in a maximum transfer size of 40960 bytes, which does not fit. Since the EHCI specification is impossibly obtuse and far beyond my comprehension, I chose to dynamically compute the limit based on the blocksize. Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] [PATCH v3] tools/setlocalversion: Update from the Linux Kernel

2011-12-16 Thread Kyle Moffett
is very similar to Linux v3.2-rc4. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de Cc: Mike Frysinger vap...@gentoo.org -- Changelog: v3: Fix localversion-* file support and minimize kernel delta. --- tools/setlocalversion | 185

[U-Boot] [PATCH v2] tools/setlocalversion: Update from the Linux Kernel

2011-12-15 Thread Kyle Moffett
situations by using different plumbing commands. The version from the kernel is not directly usable as it has code for supporting CONFIG_LOCALVERSION from Kconfig, but the version that was imported is very similar to the one in Linux v3.2-rc4. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc

[U-Boot] [PATCH] mpc8xxx: Fix DRAM message formatting

2011-12-15 Thread Kyle Moffett
VL493T5663D-E6M 2 GiB (DDR2, 64-bit, CL=4, ECC on) DDR Chip-Select Interleaving Mode: CS0+CS1 After this patch, it is: DRAM: Detected RDIMM VL493T5663D-E6M 2 GiB (DDR2, 64-bit, CL=4, ECC on) DDR Chip-Select Interleaving Mode: CS0+CS1 Signed-off-by: Kyle Moffett

[U-Boot] [PATCH] Fix logic for selection of CONFIG_SYS_DEF_EEPROM_ADDR

2011-12-15 Thread Kyle Moffett
uses an address of 0x00. This fixes the logic for that particular case, hopefully without breaking any other board configurations. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Heiko Schocher h...@denx.de --- include/common.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions

[U-Boot] [PATCH] net/eth: Don't issue warnings for offboard ethernet chips

2011-12-15 Thread Kyle Moffett
-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/ne2000_base.c | 17 +--- drivers/usb/eth/usb_ether.c |4 +-- net/eth.c | 56 -- 3 files changed, 35 insertions(+), 42

[U-Boot] [PATCH 2/2] eXMeritus HWW-1U-1A: Minor environment variable tweaks

2011-12-15 Thread Kyle Moffett
. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com --- include/configs/HWW1U1A.h |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/configs/HWW1U1A.h b/include/configs/HWW1U1A.h index

[U-Boot] [PATCH 1/2] eXMeritus HWW-1U-1A: Add support for the AT24C128N I2C EEPROM

2011-12-15 Thread Kyle Moffett
) Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com --- include/configs/HWW1U1A.h | 29 +++-- 1 files changed, 27 insertions(+), 2 deletions(-) diff --git a/include/configs/HWW1U1A.h b/include

[U-Boot] [PATCH] Allow the reset command to be omitted with CONFIG_CMD_RESET

2011-12-15 Thread Kyle Moffett
This new #define is set in config_cmd_defaults.h (which is automatically included on every board by mkconfig), but this allows boards to elect to omit the reset command if necessary with #undef CONFIG_CMD_RESET. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de

[U-Boot] [PATCH] tools/setlocalversion: Update from the Linux Kernel

2011-12-12 Thread Kyle Moffett
to the version in Linux v3.2-rc4. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- tools/setlocalversion | 138 - 1 files changed, 113 insertions(+), 25 deletions(-) diff --git a/tools/setlocalversion b/tools/setlocalversion index e11f54f..70ab70d

[U-Boot] [PATCH] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-12-07 Thread Kyle Moffett
to hardware misfeature. Proper support for the hardware reset mechanism has been left for a later patch series to address. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com -- I believe all review comments have been

[U-Boot] [PATCH] bootm: Use panic() in non-recoverable error conditions

2011-10-20 Thread Kyle Moffett
from rebooting after it has encountered an unrecoverable error, this seems to be the desired behavior for those 27 board configurations. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de Cc: Mike Frysinger vap...@gentoo.org Cc: Andy Fleming aflem...@gmail.com Cc

[U-Boot] [PATCH] Allow the reset command to be omitted with CONFIG_CMD_RESET

2011-10-20 Thread Kyle Moffett
This new #define is set by default in config_cmd_defaults.h, and config_cmd_all.h, but this allows boards to conditionally omit the reset command if necessary. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- README|1 + common/cmd_boot.c |2

[U-Boot] [PATCH 2/3] mpc85xx: Add inline GPIO acessor functions

2011-10-19 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com -- Changelog: v2: Moved the inline functions to a non-board-specific

[U-Boot] [PATCH 5/5] e1000: Allow direct access to the E1000 SPI EEPROM device

2011-10-18 Thread Kyle Moffett
, 14, 13, 12, 11, 10, 9, 8], ... -- (MSB is 15, LSB is 0). Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren biggerbadder...@gmail.com --- README | 15 ++- drivers/net/Makefile|1

[U-Boot] [PATCH 4/5] e1000: Export core EEPROM access functions for SPI support

2011-10-18 Thread Kyle Moffett
-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren biggerbadder...@gmail.com --- drivers/net/e1000.c | 22 +- drivers/net/e1000.h | 19 +++ 2 files changed, 24 insertions(+), 17 deletions(-) diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index

[U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-10-18 Thread Kyle Moffett
errors much more straightforward to handle correctly in boot scripts and the like. It is also necessary for a followup patch which allows SPI programming of an e1000 controller's EEPROM even if the checksum is invalid. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren

[U-Boot] [PATCH] powerpc: Minimal private libgcc to build on Debian

2011-10-18 Thread Kyle Moffett
Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3(). They were borrowed from arch/powerpc/kernel/misc_32.S as of v2.6.38-rc5, commit 85e2efbb1db9a18d218006706d6e4fbeb0216213, and are GPLv2+. The Makefile framework was copied from the U-Boot ARM port. Signed-off-by: Kyle Moffett

[U-Boot] [PATCH 0/3] mpc85xx: HWW-1U-1A board support patches

2011-10-18 Thread Kyle Moffett
a few days ago. Comments, critiques, and compliments are highly appreciated. Cheers, Kyle Moffett -- Curious about my work on the Debian powerpcspe port? I'm keeping a blog here: http://pureperl.blogspot.com/ ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH 1/3] mpc85xx: Add inline GPIO acessor functions

2011-10-18 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com -- Changelog: v2: Moved the inline functions to a non-board-specific

[U-Boot] [PATCH 2/3] mpc85xx: Add a board-specific restart hook

2011-10-18 Thread Kyle Moffett
The HWW-1U-1A board needs to be able to override the reset command due to hardware design limitations. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com -- Changelog: v2: Removed in favor of more involved reset

[U-Boot] [PATCH 3/3] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-10-18 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the board_reset() function in hww1u1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy

[U-Boot] [PATCH] fsl-ddr: Fix mixed-case macro names

2011-04-14 Thread Kyle Moffett
Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/cpu/mpc8xxx/ddr/util.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/powerpc/cpu/mpc8xxx/ddr/util.c b/arch/powerpc/cpu/mpc8xxx/ddr/util.c index 02908b4..104d360 100644

[U-Boot] [PATCH v7 0/4] Board support series for the eXMeritus HWW-1U-1A

2011-03-28 Thread Kyle Moffett
to be merged. Cheers, Kyle Moffett ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v7 1/4] mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements

2011-03-28 Thread Kyle Moffett
switch statement. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Kim Phillips kim.phill...@freescale.com -- Changelog: v2: Moved the constants to include/ddr_spd.h and also fixed DDR3 v4: Fixed up excessively

[U-Boot] [PATCH v7 2/4] mpc85xx: Add inline GPIO acessor functions

2011-03-28 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com -- Changelog: v2: Moved the inline functions to a non-board-specific

[U-Boot] [PATCH v7 3/4] mpc85xx: Add a board-specific restart hook

2011-03-28 Thread Kyle Moffett
The HWW-1U-1A board needs to be able to override the reset command due to hardware design limitations. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com -- Changelog: v2: Removed in favor of more involved reset

[U-Boot] [PATCH v7 4/4] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-03-28 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the board_reset() function in hww1u1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy

[U-Boot] [PATCH v3] fsl_ddr: Don't use full 64-bit divides on 32-bit PowerPC

2011-03-15 Thread Kyle Moffett
a full 64-bit divide on my 32-bit PowerPC. Build-and-boot-tested on the HWW-1U-1A board using DDR2 SPD detection. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Acked-by: York Sun york...@freescale.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com -- Changelog

[U-Boot] [PATCH v6 0/4] Board support series for the eXMeritus HWW-1U-1A

2011-03-15 Thread Kyle Moffett
these 4 patches are ready to be merged, as all concerns presented so far have been addressed. Cheers, Kyle Moffett ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v6 2/4] mpc85xx: Add inline GPIO acessor functions

2011-03-15 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com --- Changelog: v2: Moved the inline functions to a non-board-specific

[U-Boot] [PATCH v6 1/4] mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements

2011-03-15 Thread Kyle Moffett
switch statement. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Kim Phillips kim.phill...@freescale.com --- Changelog: v2: Moved the constants to include/ddr_spd.h and also fixed DDR3 v3: No changes v4: Fixed

[U-Boot] [PATCH v6 3/4] mpc85xx: Add a board-specific restart hook

2011-03-15 Thread Kyle Moffett
The HWW-1U-1A board needs to be able to override the reset command due to hardware design limitations. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com --- Changelog: v2: Removed in favor of more involved reset

[U-Boot] [PATCH v6 4/4] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-03-15 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the board_reset() function in hww1u1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy

[U-Boot] [PATCH v5 0/3] Board support series for the eXMeritus HWW-1U-1A

2011-03-14 Thread Kyle Moffett
patches. It will not cause a build failure however, as this board port simply defines an otherwise-unused __board_restart() function. I believe these 3 patches at least are ready to be merged, as all concerns presented so far have been resolved. Cheers, Kyle Moffett

[U-Boot] [PATCH v5 2/3] mpc85xx: Add inline GPIO acessor functions

2011-03-14 Thread Kyle Moffett
the MPC85xx-specific functions. This can be enabled with the config option CONFIG_MPC85XX_GENERIC_GPIO. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com --- arch/powerpc/include/asm

[U-Boot] [PATCH v5 1/3] mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements

2011-03-14 Thread Kyle Moffett
switch statement. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Kim Phillips kim.phill...@freescale.com --- arch/powerpc/cpu/mpc8xxx/ddr/ddr2_dimm_params.c | 23 +++- arch/powerpc/cpu/mpc8xxx/ddr

[U-Boot] [PATCH v5 3/3] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-03-14 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the __board_restart() function in hww1u1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy

[U-Boot] [PATCH 0/21] Generic cross-architecture system restart support

2011-03-07 Thread Kyle Moffett
this: _machine_restart(); printf(*** restart failed ***\n); When those platforms are fixed then it should be safe to remove the weak fallback __arch_restart() function. Cheers, Kyle Moffett ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

[U-Boot] [PATCH 01/21] Define new system_restart() and emergency_restart()

2011-03-07 Thread Kyle Moffett
. This works for all hardware platforms which have a properly defined hardware reset capability. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de --- api/api.c |3 +- common/cmd_boot.c | 128

[U-Boot] [PATCH 02/21] Replace do_reset() calls with {system, emergency}_restart()

2011-03-07 Thread Kyle Moffett
do_reset() functions. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de --- board/dave/PPChameleonEVB/PPChameleonEVB.c |4 ++-- board/esd/apc405/apc405.c |4 ++-- board/esd/ar405/ar405.c|2 +- board/esd/ash405/ash405.c

[U-Boot] [PATCH 03/21] arm: Call panic() instead of hang() for div-by-zero

2011-03-07 Thread Kyle Moffett
Divide-by-zero errors should be controlled by the CONFIG_PANIC_HANG configuration variable just like any other kind of trappable U-Boot bug. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Albert Aribaud albert.arib...@free.fr --- arch/arm/lib/div0.c |6 +++--- 1 files changed, 3

[U-Boot] [PATCH 04/21] arm: Replace unnecessary bad_mode() with panic()

2011-03-07 Thread Kyle Moffett
-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Albert Aribaud albert.arib...@free.fr --- arch/arm/lib/interrupts.c | 21 +++-- 1 files changed, 7 insertions(+), 14 deletions(-) diff --git a/arch/arm/lib/interrupts.c b/arch/arm/lib/interrupts.c index 74ff5ce..156a23c 100644 --- a/arch

[U-Boot] [PATCH 05/21] arm: cpux9k2: Remove unnecessary XF_do_reset assignment

2011-03-07 Thread Kyle Moffett
The exported function table already assigns XF_do_reset properly, so there should be no need for this processor to manually reassign it. This change is required before ARM is converted away from using the legacy do_reset() handler. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Albert

[U-Boot] [PATCH 06/21] arm: Rename nonstandard board_reset() as at91_board_reset()

2011-03-07 Thread Kyle Moffett
(). Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Albert Aribaud albert.arib...@free.fr Cc: Reinhard Meyer u-b...@emk-elektronik.de --- arch/arm/cpu/arm920t/at91/reset.c |4 ++-- arch/arm/cpu/arm920t/at91rm9200/reset.c |6 +++--- board/atmel/at91rm9200dk/at91rm9200dk.c |2

[U-Boot] [PATCH 07/21] arm: Generic system restart support

2011-03-07 Thread Kyle Moffett
. This reset code will probably work even when the CPU is in a bad state, so no separate __arch_emergency_restart() function is required. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Albert Aribaud albert.arib...@free.fr --- arch/arm/lib/reset.c |6 +- 1 files changed, 1 insertions(+), 5

[U-Boot] [PATCH 09/21] blackfin: Replace bfin_reset_or_hang() with panic()

2011-03-07 Thread Kyle Moffett
The bfin_reset_or_hang function unnecessarily duplicates the panic() logic based on CONFIG_PANIC_HANG. This patch deletes 20 lines of code and just calls panic() instead. This also makes the following generic-restart conversion patch simpler. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com

[U-Boot] [PATCH 08/21] avr32: Generic system restart support

2011-03-07 Thread Kyle Moffett
-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Reinhard Meyer u-b...@emk-elektronik.de --- arch/avr32/cpu/cpu.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/avr32/cpu/cpu.c b/arch/avr32/cpu/cpu.c index e4489bb..ca2226b 100644 --- a/arch/avr32/cpu/cpu.c +++ b/arch

[U-Boot] [PATCH 11/21] i386: Generic system restart support

2011-03-07 Thread Kyle Moffett
. This reset code will probably work even when the CPU is in a bad state, so no separate __arch_emergency_restart() function is required. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Graeme Russ graeme.r...@gmail.com --- arch/i386/cpu/cpu.c |4 +--- 1 files changed, 1 insertions(+), 3

[U-Boot] [PATCH 10/21] blackfin: Generic system restart support

2011-03-07 Thread Kyle Moffett
the CPU may be in a bad or undefined state, but it *appears* to be OK. As a result no separate __arch_emergency_restart() function should be needed. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Mike Frysinger vap...@gentoo.org --- arch/blackfin/cpu/cpu.h |1 - arch/blackfin

[U-Boot] [PATCH 14/21] mips: Generic system restart support

2011-03-07 Thread Kyle Moffett
back to their FLASH reset vector, therefore they have no-op __board_emergency_restart() functions. (If the CPU is in an invalid state then that probably won't work). Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Shinya Kuribayashi skuri...@pobox.com --- arch/mips/cpu/cpu.c

[U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-07 Thread Kyle Moffett
is in an invalid state then jump-to-FLASH probably won't work. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Scott McNutt smcn...@psyent.com --- arch/nios2/cpu/cpu.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu

[U-Boot] [PATCH 18/21] sh: Generic system restart support

2011-03-07 Thread Kyle Moffett
-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Nobuhiro Iwamatsu iwama...@nigauri.org --- arch/sh/lib/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/sh/lib/board.c b/arch/sh/lib/board.c index 07361b4..9206311 100644 --- a/arch/sh/lib/board.c +++ b/arch/sh

[U-Boot] [PATCH 16/21] powerpc: Generic system restart support

2011-03-07 Thread Kyle Moffett
. If the CPU is in an invalid state then jump-to-RAM probably won't work. All of the rest of the reset code will probably work even when the CPU is in a bad state, so they should be fine with the defaults. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de Cc: Stefan

[U-Boot] [PATCH 13/21] microblaze: Generic system restart support

2011-03-07 Thread Kyle Moffett
properly supports emergency restart. A new __board_emergency_restart() may need to be implemented. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Michal Simek mon...@monstr.eu --- .../xilinx/microblaze-generic/microblaze-generic.c |2 +- 1 files changed, 1 insertions(+), 1 deletions

[U-Boot] [PATCH 12/21] m68k: Generic system restart support

2011-03-07 Thread Kyle Moffett
appear to either use a CPU hardware feature or an onboard watchdog unit to perform the system reset. As a hardware reset that will probably work even when the CPU is in a bad state, so no separate __arch_emergency_restart() is required. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc

[U-Boot] [PATCH 21/21] Remove legacy do_reset() function

2011-03-07 Thread Kyle Moffett
All of the users of the legacy do_reset() function have been converted to __arch_restart() or __board_restart() as appropriate, so the compatibility calls to do_reset() may be removed. In addition the do_generic_reset() function is renamed to the now-unused name do_reset(). Signed-off-by: Kyle

[U-Boot] [PATCH 19/21] sparc: Unify duplicate reset code

2011-03-07 Thread Kyle Moffett
together and moving them into common code. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Daniel Hellstrom dan...@gaisler.com --- arch/sparc/cpu/leon2/cpu.c | 18 -- arch/sparc/cpu/leon3/cpu.c | 19 --- arch/sparc/lib/board.c | 11

[U-Boot] [PATCH 20/21] sparc: Generic system restart support

2011-03-07 Thread Kyle Moffett
is in an invalid state then jump-to-FLASH probably won't work. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Daniel Hellstrom dan...@gaisler.com --- arch/sparc/lib/board.c | 12 +++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/arch/sparc/lib/board.c b/arch/sparc

[U-Boot] [PATCH 17/21] sh: Unify duplicate reset code

2011-03-07 Thread Kyle Moffett
together and moving them into common code. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Nobuhiro Iwamatsu iwama...@nigauri.org --- arch/sh/cpu/sh2/cpu.c |7 --- arch/sh/cpu/sh2/watchdog.c |9 - arch/sh/cpu/sh3/cpu.c |7 --- arch/sh/cpu/sh3/watchdog.c

[U-Boot] [PATCHv2 1/5] e1000: Clean up handling of dual-port NICs and support 82571

2011-02-23 Thread Kyle Moffett
Consolidate the test for a dual-port NIC to one location for easy modification, then fix support for the dual-port 82571. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren biggerbadder...@gmail.com --- No changes since v1 drivers/net/e1000.c | 66

[U-Boot] [PATCHv2 2/5] e1000: Restructure and streamline PCI device probing

2011-02-23 Thread Kyle Moffett
errors much more straightforward to handle correctly in boot scripts and the like. It is also necessary for a followup patch which allows SPI programming of an e1000 controller's EEPROM even if the checksum is invalid. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren

[U-Boot] [PATCHv2 4/5] e1000: New e1000 commands for SPI EEPROM management

2011-02-23 Thread Kyle Moffett
this on the wire: Time -- ... [7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8], ... -- (MSB is 15, LSB is 0). Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] [PATCHv2 5/5] e1000: Add a small SPI driver wrapper around the EEPROM code

2011-02-23 Thread Kyle Moffett
To make it possible to use the sspi command with the e1000 firmware EEPROM we add a small generic SPI driver wrapper around the existing e1000 SPI backend. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Ben Warren biggerbadder...@gmail.com --- No changes since v1 drivers/net/e1000.c

[U-Boot] [PATCHv2] fdt_support: Fix buffer overflow in fdt_fixup_memory_banks

2011-02-23 Thread Kyle Moffett
When fdt_fixup_memory_banks is called with 2-cell address and size fields in the device-tree (IE: 64-bit address and size), then it will overflow its on-stack tmp buffer. This fixes the buffer size and adds a comment explaining how many bytes need to be allocated per record. Signed-off-by: Kyle

[U-Boot] [PATCHv2] fsl_ddr: Don't use full 64-bit divides on 32-bit PowerPC

2011-02-23 Thread Kyle Moffett
kernel seems to require a full 64-bit divide on any 32-bit PowerPC. Build-and-boot-tested on the HWW-1U-1A board using DDR2 SPD detection. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Wolfgang Denk w...@denx.de Cc

[U-Boot] [PATCH v4 3/4] mpc85xx: Add inline GPIO acessor functions

2011-02-23 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Peter Tyser pty...@xes-inc.com --- Changelog: v2: Moved the inline functions to a non-board-specific

[U-Boot] [PATCH v4 2/4] mpc8xxx: DDR2/DDR3: Clean up DIMM-type switch statements

2011-02-23 Thread Kyle Moffett
switch statement. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy Fleming aflem...@gmail.com Cc: Kumar Gala kumar.g...@freescale.com Cc: Kim Phillips kim.phill...@freescale.com Cc: Wolfgang Denk w...@denx.de --- Changelog: v2: Moved the constants to include/ddr_spd.h and also

[U-Boot] [PATCH v4 4/4] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-02-23 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the board_reset() function in hww1u1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Andy

[U-Boot] [PATCH v4 1/4] Refactor do_reset() into board-specific and CPU-specific portions

2011-02-23 Thread Kyle Moffett
of them. A new generic system_reset() function was introduced which simply calls board_reset() and cpu_reset() in that order, and all explicit callers of do_reset() were changed to use system_reset() instead. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com Cc: Wolfgang Denk w...@denx.de Cc

[U-Boot] [PATCH 1/7] mpc85xx: Support a board-specific processor reset routines

2011-02-21 Thread Kyle Moffett
() command function instead of directly poking at the MPC85xx RSTCR (reset control) register. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/cpu/mpc85xx/cpu.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch

[U-Boot] Support patches for the eXMeritus HWW-1U-1A system (v3)

2011-02-21 Thread Kyle Moffett
Hello again everyone! After a relatively long hiatus working on other projects, I'm resubmitting updated versions of our board-support patches for review and inclusion. This patch series is based off the latest master branch as of Feb 11th, specifically, commit

[U-Boot] [PATCH 2/7] mpc8xxx: DDR2/3: Use human-readable SPD DIMM-type constants

2011-02-21 Thread Kyle Moffett
Use #define constants to enhance readability of DDR2/3 SPD parsing code. Also add the DDR2 type for an SO-RDIMM module to the switch statement. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/cpu/mpc8xxx/ddr/ddr2_dimm_params.c | 34 +++-- arch/powerpc/cpu

[U-Boot] [PATCH 4/7] fsl_ddr: Don't use full 64-bit divides on 32-bit PowerPC

2011-02-21 Thread Kyle Moffett
kernel seems to require a full 64-bit divide on any 32-bit PowerPC. Build-and-boot-tested on the HWW-1U-1A board using DDR2 SPD detection. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- Author's note: This patch really needs a bunch more review and testing, but I only have access to a very

[U-Boot] [PATCH 5/7] powerpc: Minimal private libgcc to build on Debian

2011-02-21 Thread Kyle Moffett
issue. Specifically, the routines are: _ashldi3(), _ashrdi3(), and _lshrdi3(). The Makefile framework was copied from the U-Boot ARM port. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/lib/Makefile | 28 - arch/powerpc/lib/_ashldi3.S | 45

[U-Boot] [PATCH 6/7] fdt_support: Fix buffer overflow in fdt_fixup_memory_banks

2011-02-21 Thread Kyle Moffett
When fdt_fixup_memory_banks is called with 2-cell address and size fields in the device-tree (IE: 64-bit address and size), then it will overflow its on-stack tmp buffer. This fixes the buffer size and adds a comment explaining how many bytes need to be allocated per record. Signed-off-by: Kyle

[U-Boot] [PATCH 3/7] mpc85xx: Add inline GPIO acessor functions

2011-02-21 Thread Kyle Moffett
functions. This can be enabled with CONFIG_MPC85XX_GENERIC_GPIO Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/include/asm/mpc85xx_gpio.h | 124 +++ 1 files changed, 124 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/include/asm

[U-Boot] [PATCH 7/7] mpc85xx: Add board support for the eXMeritus HWW-1U-1A devices

2011-02-21 Thread Kyle Moffett
seems to work, but I don't yet have a usable 36-bit kernel or DTB, so it's mostly untested. * CPU reset is a little quirky due to hardware misfeature, see the extensive comments in the board_reset_r() function in hww-1u-1a.c Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com

[U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2011-02-11 Thread Kyle Moffett
errors much more straightforward to handle correctly in boot scripts and the like. It is also necessary for a followup patch which allows SPI programming of an e1000 controller's EEPROM even if the checksum is invalid. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c

[U-Boot] [PATCH 4/5] e1000: New e1000 commands for SPI EEPROM management

2011-02-11 Thread Kyle Moffett
this on the wire: Time - ... [7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8], ... - (MSB is 15, LSB is 0). Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] e1000: Driver additions for eXMeritus HWW-1U-1A

2011-02-11 Thread Kyle Moffett
(-) Most of the new code is hidden behind a couple of config options, so it won't affect other users of e1000 chips unless they explicitly request it. Cheers, Kyle Moffett ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo

[U-Boot] [PATCH 1/5] e1000: Clean up handling of dual-port NICs and support 82571

2011-02-11 Thread Kyle Moffett
Consolidate the test for a dual-port NIC to one location for easy modification, then fix support for the dual-port 82571. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 66 +- drivers/net/e1000.h |6 2

[U-Boot] [PATCH 5/5] e1000: Add a small SPI driver wrapper around the EEPROM code

2011-02-11 Thread Kyle Moffett
To make it possible to use the sspi command with the e1000 firmware EEPROM we add a small generic SPI driver wrapper around the existing e1000 SPI backend. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 92

[U-Boot] [PATCH 3/5] e1000: Rewrite EEPROM checksum error to give more information

2011-02-11 Thread Kyle Moffett
As an aide to debugging, we should print out the expected value of the EEPROM checksum in addition to just saying that it is wrong. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 48 ++-- 1 files changed, 30

[U-Boot] [PATCH 2/5] e1000: Add a small SPI driver wrapper around the EEPROM code

2010-09-13 Thread Kyle Moffett
To make it possible to use the sspi command with the e1000 firmware EEPROM we add a small generic SPI driver wrapper around the existing e1000 SPI backend. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 92

[U-Boot] [PATCH 3/5] mpc85xx: Add inline GPIO acessor functions

2010-09-13 Thread Kyle Moffett
-by: Kyle Moffett kyle.d.moff...@boeing.com --- arch/powerpc/include/asm/mpc85xx_gpio.h | 67 +++ 1 files changed, 67 insertions(+), 0 deletions(-) create mode 100644 arch/powerpc/include/asm/mpc85xx_gpio.h diff --git a/arch/powerpc/include/asm/mpc85xx_gpio.h b/arch

[U-Boot] [PATCH 1/5] e1000: New e1000 commands for SPI EEPROM management

2010-09-13 Thread Kyle Moffett
this on the wire: Time -- ... [7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8], ... -- (MSB is 15, LSB is 0). Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] [PATCH 1/5] e1000: Clean up handling of dual-port NICs and support 82571

2010-09-13 Thread Kyle Moffett
Consolidate the test for a dual-port NIC to one location for easy modification, then fix support for the dual-port 82571. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 66 +- drivers/net/e1000.h |6 2

[U-Boot] [PATCH 2/5] e1000: Restructure and streamline PCI device probing

2010-09-13 Thread Kyle Moffett
errors much more straightforward to handle correctly in boot scripts and the like. It is also necessary for a followup patch which allows SPI programming of an e1000 controller's EEPROM even if the checksum is invalid. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c

[U-Boot] [PATCH 4/5] e1000: New e1000 commands for SPI EEPROM management

2010-09-13 Thread Kyle Moffett
this on the wire: Time -- ... [7, 6, 5, 4, 3, 2, 1, 0, 15, 14, 13, 12, 11, 10, 9, 8], ... -- (MSB is 15, LSB is 0). Signed-off-by: Kyle Moffett kyle.d.moff

[U-Boot] [PATCH 5/5] e1000: Add a small SPI driver wrapper around the EEPROM code

2010-09-13 Thread Kyle Moffett
To make it possible to use the sspi command with the e1000 firmware EEPROM we add a small generic SPI driver wrapper around the existing e1000 SPI backend. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 92

[U-Boot] [PATCH 3/5] e1000: Rewrite EEPROM checksum error to give more information

2010-09-13 Thread Kyle Moffett
As an aide to debugging, we should print out the expected value of the EEPROM checksum in addition to just saying that it is wrong. Signed-off-by: Kyle Moffett kyle.d.moff...@boeing.com --- drivers/net/e1000.c | 48 ++-- 1 files changed, 30

Re: [U-Boot] [RFC][PATCH 2/3] e1000: Intel 82571EB: Don't wait for MNG cycle on unmanaged chips

2010-09-12 Thread Kyle Moffett
, Kyle Moffett ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

  1   2   >