wdenk [Wed, 15 May 2002 22:03:13 +0000 (22:03 +0000)]
* Some cleanup.
* Patch by Stefan Roese, 15 May 2002:
- Support for esd CPCI-405 Version 2 added.
- esd FPGA booting reworked, Xilinx Spartan 2 support added.
- I2C settings changed for esd boards (new version supported).
- 405gp_pci: changed vga board handling.
* Patch by Nye Liu, 14 May 2002
- fix some problems on ZUMA boards like
non-standard mii reg (Intel LXT972A)
- only allow stack below 256M (for configurations over 256M - ugly)
- 74xx_7xx: unlock cache just before booting linux
wdenk [Tue, 14 May 2002 15:23:09 +0000 (15:23 +0000)]
* Fixed flash problems on OXC board.
* That ugly bug raised it's head again: Fixed mkimage bug that caused
bad headers when image was on NFS mounted filesystem (reported for
RH-7.1 on client and server)
Patch by Denis Peter, 25 Apr 2002:
- fix wrong initialization (ptmms) in 405gp_pci.c
- cleanup MPL boards (PIP405/MIP405) for the PID#73 patch
- added "non emulation" boot support for ISO fs
* Patch by Dave Ellis, 13 Apr 2002:
- fix debug print in common/soft_i2c.c
- fix missing initialization of idata on 8xx
- fix eeprom command for EEPROMS with 2 byte addresses
- fix SXNI855T for improved flash_real_protect() parameters
* Added M41T11 RTC driver
Patch by Andrew May, 2 Apr 2002
* Changed MAC handling for Redundand Ethernet Interfaces; see README
* Patch by Erik Theisen, 29 Mar 2002:
- Eliminate redundant 405 I2C controller reset
- Fix "deprecated multi-line string" warning
- Reenable multi-EEPROM support for the W7OLMC target
- Adjust W7OLMC's StrataFlash chip select to work with
bigger and therefor slower devices
* Moved OCM init into 4xx start.S and out of board/*
Patch by Andrew May, 28 Mar 2002
* Add CONFIG_NET_MULTI support to all GT64260 boards
Patch by Rich Ireland, 28 Mar 2002
* 74xx_7xx BAT manipulation patch
Patch by Rich Ireland, 27 Mar 2002
* Fix header file problems
Patch by Pierre Aubert, , 25 Mar 2002
* Galileo performance patches
Patches by Nye Liu, 26 Mar 2002
wdenk [Wed, 27 Mar 2002 22:27:46 +0000 (22:27 +0000)]
Patch by Frank Panno, 20 Mar 2002:
- Added rtc/ds1556.c
- modified include/config_ep8260.h for RTC support
and enabled i-cache when LSDRAM is disabled (now default)
wdenk [Sun, 24 Mar 2002 23:19:38 +0000 (23:19 +0000)]
* Patch by Jim Thompson, 21 Mar 2002:
- misc. Sandpoint8245 / Musenki patches
* Patch by Frank Panno, 20 Mar 2002:
- Added rtc/ds1556.c
- modified include/config_ep8260.h for RTC support
and enabled i-cache when LSDRAM is disabled (now default)
wdenk [Sun, 24 Mar 2002 22:08:00 +0000 (22:08 +0000)]
* Fix bug in start.S (all CPUs): the last cache flush instruction got
executed with the address beyond the end of RAM.
Pointed out by Cliff Holden, 18 Mar 2002
* Back out David Ashley's MII support for MPC8xx
(see email 15 Mar 2002 15:37:45); the same function
is already available in a generic form in common/miiphybb.c
wdenk [Fri, 15 Mar 2002 09:07:46 +0000 (09:07 +0000)]
* Patch by David Ashley, 12 Mar 2002:
- Added MII support for 8260: cpu/mpc8260/miiphy.c
* I2C-Patches by Erik Theisen, 14 Mar 2002:
- Re-enable 'eeprom' command line interface.
- Cleanup I2C init output string.
- Some I2C and non-I2C cleanup of cpu/ppc4xx/spd_sdram.c
- Make DTT's LM75 and DS1621 work with new I2C interface.
- Make W7O target's LMG and LMC work with the new I2C interface.
wdenk [Sat, 9 Mar 2002 00:40:50 +0000 (00:40 +0000)]
* Series of patches by Erik Theisen, 5 Mar 2002:
#1: - allow generation of GNU stabs line number debugging symbols
for assembly sources ; this allows symbolic debugging of
assembly files.
- fix probelms due to CYGWIN patches
#2: - Fix BEDBUG lossage when using GPR 0 in assembly mode.
- Allow BEDBUG to have a choice in whitespace between operand
delimiters.
- All PPC40x targets had the wrong cacheline size defined in
their config files. It should be 32 bytes for 405's and 16
bytes for CPUs prior to the 405.
- Make sure boards don't use deprecated CONFIG_4xx anymore.
- Make sure 405 MAL Ethernet buffer descriptors are malloc'd
and aligned on cache boundaries instead of being located at
a hard coded address. This was causing lossage on boards
with less than 16MB of RAM.
- IBM Walnut boards use 33.3Mhz clocks. Prevents rounding.
- Added a couple of 4xx specific defines.
#3: - Fix compiler warnings
- Make sure inline assembly statements properly flag
registers that are being modified.
#4: - cleanup of common/cmd_i2c.c; eliminated board specific
conditionals; eliminated deprecated CONFIG_I2C405 config
option.
- Added _i2c_bus_reset function to ${CPU}/ppc4xx/i2c.c to
handle reset edge condition which was causing EEPROM data
corruption. See doc/I2C_Edge_Conditions for details.
#5: - Add generic SDRAM SPD, "Serial presence detect," routines.
These should work with any 405 based boards that are using
SPD.
- Make IBM Walnut target use these new routines.
- Added ablility to place initial stack into 405's OCM, "On
Chip Memory."
- Added resetvec address to initial stack to aid in debugging
and also cause a reset in the event of an underflow.
#6: - Add digital temperature and thermostat support
- Add support for Dallas DS1621 and On Semi's LM75 DTTs.
- Add command to support the DTTs.
* Add support for >2MB of flash memory on FADS boards
Patch by Laurent Pinchart, 05 Mar 2002
wdenk [Fri, 8 Mar 2002 22:22:23 +0000 (22:22 +0000)]
Cleanup: enable warnings about uninitialized variables, and fix
most warnings; remove trailing white space; remove (some) C++
comments (it's hopeless, I guess); reformatted some especially ugly
files I had to touch anyway
wdenk [Sun, 3 Mar 2002 00:57:58 +0000 (00:57 +0000)]
* Patch by Kári Davíðsson, 2 Mar 2002:
- add network configuration for FLAGADM board
- fix UPM tables for FLAGADM board
* For config without hush shell: fix limitation of "autoscript"
command to console buffer size (CFG_CBSIZE) - the script can now
have arbitrary length - it is run line by line, and execution will
stop if an error is encountered.
NOTE: empty lines in the script are ignored (i. e. they don't cause
any auto-repeat of the previous command).
wdenk [Sat, 2 Mar 2002 12:41:30 +0000 (12:41 +0000)]
* Patch by Stefan Roese, 1 Mar 2002:
- Added ORSG board
- crc32 command extended - optionally write CRC to memory
- CFG_DEVICE_NULLDEV for nulldev added
* Patch by Rich Ireland, 01 Mar 2002:
add "disassemble" target
* Patch by Rich Ireland, 26 Feb 2002:
enable RAM exceptions for the 74xx_7xx
* 2 patches by Stefan Roese, 26 Feb 2002:
- esd boards: flash code updated (AMD 29LV320B/T added)
- DU405 board: FPGA updated for new revision and RTC support added
- 405gp_pci.c: Bug fixed in PCI configuration (Andrew May)
- mc146818.c: support for memory mapped RTC added
- 405gp_enet.c: rx and tx buffer descriptors now allocated (no
fixed address used anymore), and some code cleanup
- 405gp_pci.c: Removed PCI class code init for CPCI405 board
* Patch by Tom Angert, 25 Feb 2002:
- Fix dependency of ELF loader on network support
- allow offset into the first flash before a JFFS2 filesystem
- fix idle bits in miiphybb.c
wdenk [Sat, 2 Mar 2002 01:19:31 +0000 (01:19 +0000)]
* Add support for Windriver ppmc8260 board
Note: this flash driver uses Common Flash Interface to determine
the geometry of the flash chips!
Patch by Brad Kemp, 18 Feb 2002
* Support "real" hardware for SXNI855T configuration.
Patch by Dave Ellis, 12 Feb 2002
* Fix flash on the FLAGADM
Patch by Kári Davíðsson, 8 Feb 2002
wdenk [Mon, 18 Feb 2002 00:45:52 +0000 (00:45 +0000)]
Patch by Nye Liu 31 Jan 2002
- add extra cache management functionality
- add more 750CX pvid detection
- fix cpu/74xx_7xx/speed.c
- added a few 'sync's to cpu/74xx_7xx/start.S
(just to make GDB happy? -wd)
wdenk [Tue, 29 Jan 2002 13:20:51 +0000 (13:20 +0000)]
* Add configuration for 9-column SDRAM on PM826 board
* Fix "reset" command on Sandpoint8240 board
* Fix "bootelf" command (turn off cache AFTER the last printf()).
wdenk [Sun, 27 Jan 2002 00:56:55 +0000 (00:56 +0000)]
* Patch by Josh Huber, 22 Jan 2002
Fixes for EVB64260 board:
- Fixes to the built-in ethernet driver
- Fixes to the PCI init code
- Re-write of the cache-management code
- Fixes to the MPSC driver (built-in serial)
- Cleanups/fixes to the memory detection routines
- Many additional bugs fixed
* Patch by Jim Thompson, 22 Jan 2002
- Add support for a Sandpoint_8245 target
- Add support for a slightly different controller in
board/sandpoint/eepro100.c
- Remove unused function (checkflash()) from board/sandpoint/sandpoint.c
- Make Musenki board use the stack-in-cache method
- automatically set SDMODE_BURSTLEN to the appropriate value based
on values in MCCR1. This deprecates CFG_SDMODE_BURSTLEN
* Patch by Steve Bradshaw, 21 Jan 2002
- update/fix 405GP Walnut configuration
* Patch by Pierre Aubert, 23 Jan 2002
- Add port for RPXClassic board
- minor bug fixes in i2c and arp
* Patch by Rich Ireland, 22 Jan 2002:
Fix for bootelf command: clear BSS (and other sections of type
'SHT_NOBITS' when the SHF_ALLOC flag is present)
* Patch by Nye Liu (et al), 24 Jan 2002:
- evb changes
- JFFS2 (read only) code.
* Patch by Andrew May, 23 Jan 2002:
Modified I2C clock divider calculation on 4xx boards.
* Patch by Andrew May, 23 Jan 2002:
- Pad BOOTP / DHCP extension lists to minimal length; some (WinNT?)
DHCP servers seem to need this.
- Don't delete any existing bootfile definition if DHCP / BOOTP
reply does not provide one.
wdenk [Sat, 26 Jan 2002 00:07:35 +0000 (00:07 +0000)]
* Add watchdog support for PCIPPC-2 board
* Add DOC boot command and (raw) partition info support
* Disable data cache when booting (ELF / QNX) images
* Enable interrupts before starting IH_TYPE_STANDALONE images
wdenk [Sun, 13 Jan 2002 00:10:34 +0000 (00:10 +0000)]
* Renamed board/ivms8 directory into board/ivm to fit better with new
configurations for IVMS8 and IVML24 systems
* Added optional code to show boot progress by some (board-dependend)
function (for instance using some LED display, blink codes, etc).
Merged LED display code for HERMES board to use this new mechanism.
* Patch by Frank Gottschling, 11 Jan 2002:
add MHPC board
* Patch by Patrick Coleman, 11 Jan 2002
Fix reset address for Motorola MPC8260 ADS board
* Patch by Patrick Coleman, 8 Jan 2002
Fixes to Motorola MPC8260 ADS board:
- fix flash_erase() timeout
- make sure that Block Lock Bit was cleared in flash_erase()
- check for block erase errors (SR.5) in flash_erase()
- reset Read Array and status register before starting erase
* Fix bug in interrupt handling in Walnut flash driver
Patch by Andrew May, 10 Jan 2002
wdenk [Fri, 28 Dec 2001 17:13:34 +0000 (17:13 +0000)]
Patch by Brad Kemp, 27 Dec 2001
Move board dependend config stuff from cpu/mpc8260/ether_fcc.c to
board config files; cleanup mess of CONFIG_ETHER_ON_* and
CONFIG_ETHER_USE_* definitions.
wdenk [Fri, 28 Dec 2001 14:03:47 +0000 (14:03 +0000)]
Patch by Josh Huber, 19 Dec 2001
- Renamed cpu/mpc74xx to cpu/74xx_7xx, added support for various
CPUs of those families.
- Added support for stack-in-cache trick for both those cpus and
the evb64260 board.
- Replaced code for sizing memory on the evb64260 to auto-configure
the SDRAM by reading the SPD chip w/i2c bus.
- Added a fairly bare bones i2c driver to the evb64260 board
- Added support for ECC memory to the evb64260 board
- Initial support for the new eval boards (and the 64260A chip)
wdenk [Fri, 28 Dec 2001 10:09:14 +0000 (10:09 +0000)]
Patch by Oliver Brown, 17 Dec 2001:
- accept CROSS_COMPILE setting from shell
- add support for gw8260 board
- add support for flash checksum
- add support for inclusion of BUILD_TAG into PPCBoot version string
- mpc8260/cpu_init.c: initialize data register before driving outputs
wdenk [Fri, 7 Dec 2001 01:21:34 +0000 (01:21 +0000)]
* Patch by Denis Peter, 5 Dec 2001
- add USB support for 40x
- add support for MIP405 board
- Move PIP405 into new manufacturer's directory,
separate out common stuff
- changed scsi_init in file common/board.c to make it common to IDE
init
- added last_stage_init in common/board.c (#ifdef
CONFIG_LAST_STAGE_INIT) for parts which needs working interrupts
(ISA Keyboard etc)
- replaced "defined(CONFIG_PIP405)" in common/cmd_i2c.c with
"defined(CONFIG_I2C405)" which is also defined for MIP405. Other
405 based boards may also change to this define. (CONFIG_W70
CONFIG_CPCI405, CONFIG_AR405, CONFIG_WALNUT405 and CONFIG_ERIC).
- add "device_deregister()" in common/devices.c. Used to
deregister the USB keyboard.
- removed drv_isa_kbd_init() in common/devices.c because it will
not work when initializing before setting up the interrupts.
- changed type of TimeOut from int to ulong and the sequence how
the TimeOut value is calculated (to prevent an overflow for a CPU
frequency of 266MHz) in file cpu/ppc4xx/i2c.c.
- fix size rounding in disc/part.c
wdenk [Tue, 4 Dec 2001 08:57:14 +0000 (08:57 +0000)]
Add support for new 8260 mask revisions.
Fix bugs in EEPROM commands introduced by Erik Theisen patch 8.
Fix bug in IP address initialization.
Allow TQM8260 configuration via Makefile target
wdenk [Wed, 28 Nov 2001 17:49:52 +0000 (17:49 +0000)]
The Big Rename: renamed 8240 ==> 824x to allow for easier integration
of 8245 and other 824x CPU's
Patch by Greg Allen <gallen@arlut.utexas.edu>, 26 Nov 2001
wdenk [Mon, 26 Nov 2001 23:10:26 +0000 (23:10 +0000)]
Series of patches by Erik Theisen, 25 Nov 2001:
Patch 6 of 9:
- Fix length check bug in cpu/ppc4xx/i2c.c
- Fix special case handling (for all IBM 4xx derivatives) in
include/i2c.h
- Add new i2c_write_page function.
Patch 7 of 9:
- Fix and document bug in cpu/ppc4xx/serial.c concerning hardware
errata about the serial divisor on all 405s.
- Add watchdog support to cpu/ppc4xx/serial.c
wdenk [Mon, 26 Nov 2001 22:06:14 +0000 (22:06 +0000)]
Series of patches by Erik Theisen, 25 Nov 2001:
Patch 1 of 9:
- common/environment.S replaced by C file; necessary because:
a) People were defining CONFIG_BOOTCOMMAND, CONFIG_BOOTARGS and
other CONFIG parameters as a list of whitespace separated
strings. C does the right thing and concatenates them for
common/cmd_nvedit.c.
b) Was only working for common/environment.S in ppcboot and
tools/envcrc due to a bug in GNU 'as' in that it accepts a
list of whitespace seperated strings and treats them as comma
separated. The GNU 'as' manual explitly states:
`.ascii' expects zero or more string literals (*note
Strings::) SEPARATED BY COMMAS. It assembles each string
(with no automatic trailing zero byte) into consecutive
addresses.
c) Could not build tree on several commercial UNIX's because some
of them do not use GNU 'as'. Therefore the bug in item 'b' was
causing lossage on these platforms (Solaris, Mac OS X).
d) Some UNIXes as well as other OSs prepend leading characters to
symbol names (Motorola V68/Mac OS X/Mach/Others).
common/environment.S had no prevision for this and was causing
build failures for tools/envcrc due to unresolved symbols.
Patch 2 of 9:
- avoid Korn Shellism in MAKEALL Bourne shell script
- Fix build problems caused by non-exported TEXT_BASE,
PLATFORM_CPPFLAGS, and PLATFORM_RELFLAGS make variables.
- Explictly setting PLATFORM_CPPFLAGS and PLATFORM_CPPFLAGS to
nothingness in config.mk was causing lossage on Solaris and Apple
platforms.
- Specialized Makefile host settings in tools directory allows
clean builds on Mac OS X. See comment in tools/Makefile.
Specialized host settings are passed to tools/gdb/Makefile
as well
- Added tools/envcrc support for the new common/environment.c
- Mac OS X uses cc NOT gcc. Added support for this.
- Added a default BFD path for Mac OS X. This is invoked only when
running Mac OS X.
Patch 3 of 9:
- Fix help text alignment for get/set_dcr commands.
- Fix type problem in tools/bmp_logo.c (Not everyone has
uchar/ushort).
Patch 4 of 9:
- Fix "operation may be undefined" warnings for code like this:
rx_new = (++rx_new) % rxRingSize;
- Fix warnings for "Deprecated use of label followed by closing
block statement."
- Fix warnings concerning "Deperecated use of multi-line strings."
in embedded assembler code.
- Fix warnings with "No newline at end of file" files.
[Thanks, GCC 3.0.2, for all these rather usless warnings.]
Patch 5 of 9:
- New watchdog interface via watchdog.h to support Wave 7 Optics
hardware watchdog; cleanup the whole watchdog stuff