]> www.infradead.org Git - users/rw/ppcboot.git/log
users/rw/ppcboot.git
23 years agoAdd support for Interphase 4539 T1/E1/J1 PMC Communications Controller
wdenk [Wed, 13 Feb 2002 19:57:41 +0000 (19:57 +0000)]
Add support for Interphase 4539 T1/E1/J1 PMC Communications Controller

23 years agoFix bug in MPC824x I2C driver
wdenk [Wed, 13 Feb 2002 19:31:55 +0000 (19:31 +0000)]
Fix bug in MPC824x I2C driver
Fix CONFIG_IDE renames for RPXClassic
Fix ethernet port switching on SP8240

23 years agoPatch by Jonathan De Bruyne, 01 Feb 2002:
wdenk [Tue, 12 Feb 2002 00:47:01 +0000 (00:47 +0000)]
Patch by Jonathan De Bruyne, 01 Feb 2002:
Add support for Siemens IAD210 board

23 years ago* Implement system call mechanism thus removing function pointers
wdenk [Mon, 11 Feb 2002 23:52:38 +0000 (23:52 +0000)]
* Implement system call mechanism thus removing function pointers
  from the bdinfo and initial_data structures.

* Add support for dual ethernet, interrupts, and I2C for the
  Sandpoint 8240 board.

* Patch by Greg Allen, 30 Jan 2002:
  fix get_tbclk() in cpu/mpc824x/cpu.c

* Patch by Stefan Roese, 7 Feb 2002:
  fixed bug in 4xx ethernet driver, waiting for auto negotiation to
  complete

23 years ago* Patch by Steven Scholz, 05 Feb 2002:
wdenk [Wed, 6 Feb 2002 18:50:56 +0000 (18:50 +0000)]
* Patch by Steven Scholz, 05 Feb 2002:
  Rename CONFIG_IDE_* #defines to match used in current Linux kernels

* Patch by Frank Panno, 6 Feb 2002:
  Add support for Embedded Planet EP8260 Board
  (tested with SBC 8260 H, V.1.1)

23 years agoCleanup obsolete files
wdenk [Mon, 4 Feb 2002 20:28:37 +0000 (20:28 +0000)]
Cleanup obsolete files

23 years ago* Fix initialization of the Super I/O chip on Sandpoint board
wdenk [Mon, 4 Feb 2002 19:42:06 +0000 (19:42 +0000)]
* Fix initialization of the Super I/O chip on Sandpoint board

* Fix flash driver for PCIPPC2: size for AMD_ID_F040B, comments.

* Patch by Chen Yaoming, 1 Feb 2002
  Fix flash_real_protect() parameter passing

23 years ago*** empty log message ***
wdenk [Thu, 31 Jan 2002 21:22:32 +0000 (21:22 +0000)]
*** empty log message ***

23 years ago* Fix names for 3 Volt Intel StrataFlash (it's ...J3A)
wdenk [Wed, 30 Jan 2002 11:27:57 +0000 (11:27 +0000)]
* Fix names for 3 Volt Intel StrataFlash (it's ...J3A)
* Make "md" command interruptable by ^C
* Add configuration for 9-column SDRAM on PM826 board

23 years ago* Add configuration for 9-column SDRAM on PM826 board
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()).

23 years ago* Patch by Josh Huber, 22 Jan 2002
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.

23 years ago* Add watchdog support for PCIPPC-2 board
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

23 years ago* Enable interrupts before starting IH_TYPE_STANDALONE images
wdenk [Fri, 25 Jan 2002 00:41:44 +0000 (00:41 +0000)]
* Enable interrupts before starting IH_TYPE_STANDALONE images

* Flush caches after loading images

23 years ago* Fix output of "iminfo" for script images
wdenk [Sat, 19 Jan 2002 23:18:26 +0000 (23:18 +0000)]
* Fix output of "iminfo" for script images

* Include all the 8260 clocks in the "bdinfo" output
  Patch by Jon Diekema, 19 Jan 2002

* GTH Board: added logging of software watchdog reboot
  Patch by Thomas Lange, 19 Jan 2002

23 years agoAdd bootdelay/autoboot.
wdenk [Fri, 18 Jan 2002 23:33:21 +0000 (23:33 +0000)]
Add bootdelay/autoboot.

23 years agoReturn error on copy command with zero length
wdenk [Fri, 18 Jan 2002 22:50:16 +0000 (22:50 +0000)]
Return error on copy command with zero length

23 years agoAdd comment about PCR on MPC8240.
wdenk [Fri, 18 Jan 2002 22:31:45 +0000 (22:31 +0000)]
Add comment about PCR on MPC8240.
Enable HUSH shell for PCIPPC2.

23 years ago* Patch by Denis Peter, 18 Jan 2002:
wdenk [Fri, 18 Jan 2002 20:28:36 +0000 (20:28 +0000)]
* Patch by Denis Peter, 18 Jan 2002:
  Cleanup of MPL files
* Add RTC driver for PCIPPC2 boards
* Cleanup

23 years ago* Patch by Denis Peter, 18 Jan 2002:
wdenk [Fri, 18 Jan 2002 11:04:56 +0000 (11:04 +0000)]
* Patch by Denis Peter, 18 Jan 2002:
  - Support for QNX images
  - Cleanup of MPL files

* Unified speed.c for all 824x boards
  Patch by Greg Allen, 17 Jan 2002

23 years agoAdded command to switch LSB on LWMON boards
wdenk [Wed, 16 Jan 2002 12:47:10 +0000 (12:47 +0000)]
Added command to switch LSB on LWMON boards

23 years agoDisk On Chip support added
wdenk [Tue, 15 Jan 2002 18:58:11 +0000 (18:58 +0000)]
Disk On Chip support added
GESPAC PCIPPC2 preliminary support added

23 years agoFix flash driver for Sandpoint8240
wdenk [Tue, 15 Jan 2002 14:58:15 +0000 (14:58 +0000)]
Fix flash driver for Sandpoint8240
Fix IVMS* / IVML* configuration
Increase IDE timeout (neded on PIP405 and IVM* boards)

23 years ago* Renamed board/ivms8 directory into board/ivm to fit better with new
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

23 years agoFix for Sandpoint8240: boots now from flash like all other boards;
wdenk [Wed, 9 Jan 2002 23:18:47 +0000 (23:18 +0000)]
Fix for Sandpoint8240: boots now from flash like all other boards;
no need any more for DINK32

23 years ago* "Final" fix for HUSH shell
wdenk [Tue, 8 Jan 2002 22:14:15 +0000 (22:14 +0000)]
* "Final" fix for HUSH shell
* Fix IDE on BAB750 board

23 years agoPatch by Stefan Roese, 07 Jan 2002
wdenk [Mon, 7 Jan 2002 19:01:45 +0000 (19:01 +0000)]
Patch by Stefan Roese, 07 Jan 2002
- PPC405GP Ethernet driver: Wait for PHY auto negotiation to complete

23 years agoAdd LWMON default environment
wdenk [Fri, 4 Jan 2002 00:59:39 +0000 (00:59 +0000)]
Add LWMON default environment
Make PPCBoot build under cygwin (NT).

23 years agoFix / workaround on systems with rev. C.2 chips:
wdenk [Tue, 1 Jan 2002 23:47:31 +0000 (23:47 +0000)]
Fix / workaround on systems with rev. C.2 chips:
"reboot" (especially from BusyBox) would often hang in DRAM initialization.

23 years agoPatch by Jon Diekema, 28 Dec 2001
wdenk [Fri, 28 Dec 2001 18:26:48 +0000 (18:26 +0000)]
Patch by Jon Diekema, 28 Dec 2001
- Improved MII debug messages
- Fix typo / extend MODCK_H/MODCK[1-3] table for SBC8260 board

23 years agoPatch by Brad Kemp, 27 Dec 2001
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.

23 years ago* Patch by Stefan Roese, 21 Dec 2001
wdenk [Fri, 28 Dec 2001 14:40:42 +0000 (14:40 +0000)]
* Patch by Stefan Roese, 21 Dec 2001
  - DU405 board added
  - Minor changes to some ESD boards

23 years agoPatch by Josh Huber, 19 Dec 2001
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)

23 years agoPatch by Oliver Brown, 17 Dec 2001:
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

23 years ago*** empty log message ***
wdenk [Thu, 27 Dec 2001 23:41:44 +0000 (23:41 +0000)]
*** empty log message ***

23 years agoAdd support for AMX860 EDO RAM extension module
wdenk [Thu, 27 Dec 2001 23:39:02 +0000 (23:39 +0000)]
Add support for AMX860 EDO RAM extension module

23 years ago*** empty log message ***
wdenk [Thu, 27 Dec 2001 23:05:33 +0000 (23:05 +0000)]
*** empty log message ***

23 years ago* Add support for AMX860 EDO RAM extension module
wdenk [Thu, 27 Dec 2001 23:04:49 +0000 (23:04 +0000)]
* Add support for AMX860 EDO RAM extension module

* Improved flash handling for FLAGADM board
  Patch by Kári Davíðsson, 19 Dec 2001

* Make CPU clock measurement more accurate and repeatable.
  Patch by Dave Ellis, 20 Dec 2001

23 years agoMake PPCBoot build in Cygwin environment
wdenk [Sun, 16 Dec 2001 01:59:51 +0000 (01:59 +0000)]
Make PPCBoot build in Cygwin environment
Patch by Davide Viti, 5 Dec 2001
Plus a few fixes for newly introduced bugs

23 years agoAdd CFG_USE_OSCCLK option to handle OCSM clock mode problem on MBX8xx
wdenk [Sun, 16 Dec 2001 00:16:58 +0000 (00:16 +0000)]
Add CFG_USE_OSCCLK option to handle OCSM clock mode problem on MBX8xx
(Based on email by Erik Theisen, 07 Dec 2001).

23 years agoFix ethernet package corruption on EVB64260 board
wdenk [Sat, 15 Dec 2001 23:44:04 +0000 (23:44 +0000)]
Fix ethernet package corruption on EVB64260 board
Patch by Rich Ireland, 10 Dec 2001

23 years agoAdd MUSENKI board; add some 8245 and 8241 related stuff.
wdenk [Sat, 15 Dec 2001 23:34:25 +0000 (23:34 +0000)]
Add MUSENKI board; add some 8245 and 8241 related stuff.
Patch by Jim Thompson, 10 Dec 2001

23 years ago* Patch by Denis Peter, 5 Dec 2001
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

23 years agoMore fixes for hush variable handling
wdenk [Thu, 6 Dec 2001 18:45:53 +0000 (18:45 +0000)]
More fixes for hush variable handling

23 years agoAdd support for new 8260 mask revisions.
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

23 years agoMinor modifications to EST SBC8260 configuration.
wdenk [Fri, 30 Nov 2001 17:07:02 +0000 (17:07 +0000)]
Minor modifications to EST SBC8260 configuration.

23 years agoAdd support for TTTech C2MON board
wdenk [Thu, 29 Nov 2001 18:21:03 +0000 (18:21 +0000)]
Add support for TTTech C2MON board

23 years agoThe Big Rename: renamed 8240 ==> 824x to allow for easier integration
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

23 years agoChange cache initialization for FLAGADM board
wdenk [Wed, 28 Nov 2001 16:02:15 +0000 (16:02 +0000)]
Change cache initialization for FLAGADM board

23 years agoFix saveenv output (again)
wdenk [Wed, 28 Nov 2001 15:53:28 +0000 (15:53 +0000)]
Fix saveenv output (again)

23 years ago* Add "sleep" command
wdenk [Wed, 28 Nov 2001 15:34:37 +0000 (15:34 +0000)]
* Add "sleep" command

* Add loop constructs (for, while, until) to hush command interpreter

* Fix (most) variable problems with hush command interpreter

* Series of patches by Erik Theisen, 25 Nov 2001:

  Patch 8 of 9:
  - Add support for multiple i2c EEPROMs
  - Modified saveenv() handling

  Patch 9 of 9:
  - Various Wave 7 Optic specific configuration changes

23 years agoSeries of patches by Erik Theisen, 25 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

23 years agoSeries of patches by Erik Theisen, 25 Nov 2001:
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

23 years agoRemove dead code (PCI_Config_VGA_Device())
wdenk [Mon, 26 Nov 2001 14:32:07 +0000 (14:32 +0000)]
Remove dead code (PCI_Config_VGA_Device())

23 years ago*** empty log message ***
wdenk [Fri, 23 Nov 2001 17:43:37 +0000 (17:43 +0000)]
*** empty log message ***

23 years ago* Add CPU Support for MPC 75x;
wdenk [Fri, 23 Nov 2001 17:38:33 +0000 (17:38 +0000)]
* Add CPU Support for MPC 75x;
  add board support for Eltec BAB750 board
  Patch by Andreas Heppel, 22 Nov 2001

23 years agoReplace the fixed device ID (0x0001) by a configuration #define
wdenk [Fri, 23 Nov 2001 16:12:59 +0000 (16:12 +0000)]
Replace the fixed device ID (0x0001) by a configuration #define
(CONFIG_SCSI_DEV_ID).
09-18-2001 Andreas Heppel, Sysgo RTS GmbH <aheppel@sysgo.de>

23 years ago* Fix problem with TFTP server in different subnet, or with
wdenk [Fri, 23 Nov 2001 15:48:15 +0000 (15:48 +0000)]
* Fix problem with TFTP server in different subnet, or with
  "gatewayip" set when not needed.
  Patch by Nye Liu, 21 Nov 2001

* Fix bug in I2C uCode-Patch Handling
  Patch by David Petersen, 19 Nov 2001

23 years ago* Fix bug in I2C uCode-Patch Handling
wdenk [Mon, 19 Nov 2001 16:24:41 +0000 (16:24 +0000)]
* Fix bug in I2C uCode-Patch Handling
  Patch by David Petersen, 19 Nov 2001

* Add I2C support for Xicor X40430 EEPROM (ICU862 board)

23 years ago*** empty log message ***
wdenk [Sun, 18 Nov 2001 19:57:56 +0000 (19:57 +0000)]
*** empty log message ***

23 years ago* Add support for direct TFTP download to flash memory (optional).
wdenk [Sun, 18 Nov 2001 19:54:01 +0000 (19:54 +0000)]
* Add support for direct TFTP download to flash memory (optional).
  Patch by David Petersen, 26 Oct 2001

* Adapt to new watchdog on LWMON board; re-trigger watchdog in all
  udelay() loops.

* Patch by Stefan Roese, 13 Nov 2001:
- CFG_CMG_ELF added (bootelf, bootvx and VxWorks image type for
  bootm). Commands bootelf/bootvx not in CFG_CMD_BEDBUG any more (all
  targets using Bedbug changed to use CFG_CMD_ELF too).
- Minor bug fixed in ppc405gp ethernet driver.
- Generic ppc405 EBC (External Bus Controller) setup added. No need
  for assembler code in board/init.S (see ESD CPCI405 board).
- Some ESD board setups remorked.

* Make PPCBoot build on OpenBSD (x86 and PPC)
  Patch by Rich Ireland, 2 Oct 2001

* Minor fixes/modifcations to CCM configuration

* Add support for FEC on TQM855L(T)/TQM860L(T,P);
  pass config options via Makefile target names

* Fix CU824 flash driver to work with all write sizes

23 years ago* Add status LED support for ICU862 board
wdenk [Sun, 11 Nov 2001 23:55:57 +0000 (23:55 +0000)]
* Add  status LED  support for ICU862 board
  add PCMCIA / IDE support for ICU862 board

* Fix endianess bug in bmp_logo
  Patch by Erik Theisen, 7 Nov 2001

* Add appropriate error message for unaligned flash writes (CU824)

* Fix initialization sequence: must initialize PCI before "devices"
  on some boards

23 years agoFix problem when "." is not in PATH
wdenk [Mon, 5 Nov 2001 18:45:40 +0000 (18:45 +0000)]
Fix problem when "." is not in PATH

23 years ago* Misc minor bug fixes, like cache line size for 82xx systems
wdenk [Mon, 5 Nov 2001 17:47:39 +0000 (17:47 +0000)]
* Misc minor bug fixes, like cache line size for 82xx systems
* Made Sandpoint8240 compile
  Patch by Jim Thompson, 5 Nov 2001
* Improving LCD driver
* Improving LWMON keyboard handling

23 years ago* Add LCD driver for MPC823;
wdenk [Sat, 3 Nov 2001 22:21:12 +0000 (22:21 +0000)]
* Add LCD driver for MPC823;
  changed initialization sequence to get display early.

* Minor code reordering, cleanup and reformatting

* Fix bug in cpu/mpc8xx/i2c.c: when used to read environment from
  EEPROM, it tries to access serial console before port was initialized
  Patch by David Petersen, 2 Nov 2001

23 years agoAdd LCD driver for MPC823
wdenk [Sat, 3 Nov 2001 22:15:16 +0000 (22:15 +0000)]
Add LCD driver for MPC823

23 years agoRemove board dependend test code.
wdenk [Tue, 23 Oct 2001 20:57:30 +0000 (20:57 +0000)]
Remove board dependend test code.
Patch by Erik Theisen, 23 Oct 2001

23 years agoFixes for Eric Theisen patches
wdenk [Tue, 23 Oct 2001 11:55:03 +0000 (11:55 +0000)]
Fixes for Eric Theisen patches

23 years agoSeveral patches by Erik Theisen, 14 Oct 2001:
wdenk [Sun, 21 Oct 2001 10:54:46 +0000 (10:54 +0000)]
Several patches by Erik Theisen, 14 Oct 2001:
---------------------------------------------
- Fix udelay() for longer delays
- Fix wait_ticks() - don't treat timebase registers as signed
- Fix command name conflicts due to abbreviated length
- Add support for Apple's OS X host environment
- Add support for IBM 4xx DCR registers (commands "getdcr" and
  "setdcr" to read and read/modify/write the 4xx DCR)
- Sort command table alphabetically and in descending string length
  order to prevent conflicts; added doc/README.commands
- add "reset" option to help info for "date" command
- add support for the ST Electronics M48T35Ax Timekeeper RTC
- add support for "flash_real_protect()" for flash chips that provide
  software sector protection routines, e.g. Intel StrataFlash (board
  specific code)
- add support for LMC and LMG boards; some of the features might be
  interesting to others:
  o The flash on these boards is disjointed, e.g. mixed types for
    different purposes. Therefore it is kept in different memory
    regions.
  o The Main Flash is interleaved betweed 2 StrataFlash parts,
    necessitating some tricks to fit in with PPCBoot.
  o Real software sector protection is used on the main StrataFlash
    via flash_real_protect(). The Boot Flash doesn't support software
    based sector protection.
  o Specialized code is provided to download 1-6 Xilinx FPGAs.
  o There is fairly extensive POST testing of some board subsystems.
    Some of this code could be reused on other targets. The SDRAM bus
    and RTC battery checks come to mind.

23 years agoFix some HUSH problems.
wdenk [Sat, 20 Oct 2001 09:41:35 +0000 (09:41 +0000)]
Fix some HUSH problems.

In the current implementation, the local variables space and global
environment variables space are separated. Local variables are those
you define by simply typing like `name=value'. To access a local
variable later on, you have write `$name' or `${name}'; variable
directly by typing say `$name' at the command prompt.

Global environment variables are those you use setenv/printenv to
work with. To run a command stored in such a variable, you need to
use the run command, and you must not use the '$' sign to access
them.

To store commands and special characters in a variable, please use
double quotation marks surrounding the whole text of the variable,
instead of the backslashes before semicolons and special symbols.

NOTE: still serious quoting problems! cannot access env vars in commands!

23 years agoAdd support for Fujitsu flash chips
wdenk [Sat, 20 Oct 2001 09:39:53 +0000 (09:39 +0000)]
Add support for Fujitsu flash chips

23 years agoUpdated GTH Board - Patch by Thomas Lange, 18 Oct 2001
wdenk [Fri, 19 Oct 2001 11:23:54 +0000 (11:23 +0000)]
Updated GTH Board - Patch by Thomas Lange, 18 Oct 2001

23 years ago* Extend LWMON keyboard driver to allow for more than one key-coded
wdenk [Wed, 17 Oct 2001 20:21:46 +0000 (20:21 +0000)]
* Extend LWMON keyboard driver to allow for more than one key-coded
  pre-boot command (we now support an unlimited number of keys)

* Added "hush" shell (from Busybox) as alternative command line
  interpreter, thus enabling powerful command line syntax like
  if...then...else...fi conditionals or `&&' and '||' constructs
  ("shell scripts").

* Modified all commands to provide return codes that can be used for
  conditional command execution

23 years agoCleanup of 40x code, adding support to read DIMM SPD EEPROMs to
wdenk [Wed, 17 Oct 2001 20:06:49 +0000 (20:06 +0000)]
Cleanup of 40x code, adding support to read DIMM SPD EEPROMs to
automatically adjust memory timing.
Patch by Stefan Roese / Kenneth Johansson, 17 Oct 2001

23 years ago* Cleanup of Sandpoint (MPC8240) code
wdenk [Mon, 15 Oct 2001 21:41:42 +0000 (21:41 +0000)]
* Cleanup of Sandpoint (MPC8240) code
  Patch by Thomas Koeller, 15 Oct 2001

* Cleanup of 40x code, adapting it to new "mii" command
  Patch by Stefan Roese, 15 Oct 2001

23 years agoAdded CFG_DEFAULT_IMMR:
wdenk [Mon, 15 Oct 2001 14:47:04 +0000 (14:47 +0000)]
Added CFG_DEFAULT_IMMR:
        Default address of the IMMR after system reset. Needed on
        some 8260 systems (MPC8260ADS and RPXsuper) to be able to
        adjust the position of the IMMR register after a reset.

23 years ago* Allow to pass parameters (start and end address, start pattern)
wdenk [Mon, 15 Oct 2001 12:12:40 +0000 (12:12 +0000)]
* Allow to pass parameters (start and end address, start pattern)
  to "mtest" command

* "Final" changes to place initial stack in data cache on MPC8240.

* Spell fixes, Cleanup of other systems, etc.

23 years ago* On MPC8240, enable dcache and allocate space for the initial data
wdenk [Wed, 10 Oct 2001 09:28:28 +0000 (09:28 +0000)]
* On MPC8240, enable dcache and allocate space for the initial data
  structure and initial stack in it; the MMU had to be enabled
  because burst-mode accesses to Flash wouldn't work otherwise.
  Tested on CU824, but should work for other 8240-based systems as
  well.

* Added Configuration for MPC8260ADS board
  (Patch by Stuart Hughes, 07 Oct 2001)

* Add automatic RAM size detection to CU824 board configuration

* Make eth_halt() do nothing when ethernet has never been initialized
  (board/{esd/common,cu824}/dc2114x.c)

23 years agoCleanup
wdenk [Mon, 8 Oct 2001 23:33:06 +0000 (23:33 +0000)]
Cleanup

23 years agoFix duplicate "preboot" environment entry
wdenk [Mon, 8 Oct 2001 23:32:45 +0000 (23:32 +0000)]
Fix duplicate "preboot" environment entry

23 years ago* Patch by Jerry Van Baren, 19 Sep 2001:
wdenk [Mon, 8 Oct 2001 19:18:17 +0000 (19:18 +0000)]
* Patch by Jerry Van Baren, 19 Sep 2001:
- tweaks to SBC8260 configuration
- added "mii" command to read and write MII PHY registers; it will
  also do a simple "info" where it finds all MII PHYs and prints some
  info from their registers.

23 years agoFix compiler warnings
wdenk [Mon, 8 Oct 2001 19:03:07 +0000 (19:03 +0000)]
Fix compiler warnings

23 years ago* Patch by David Updegraff, 05 Oct 2001:
wdenk [Mon, 8 Oct 2001 16:49:00 +0000 (16:49 +0000)]
* Patch by David Updegraff, 05 Oct 2001:
- Added "reginfo" command for 405GP
- Added DHCP vendor extensions
- Added configuration for Cray L1 board

23 years agoPatch by Jon Diekema, 17 Sep 2001:
wdenk [Mon, 8 Oct 2001 15:50:42 +0000 (15:50 +0000)]
Patch by Jon Diekema, 17 Sep 2001:
- Make "mtest" command more verbose
- SBC8260 board can support either a 16 MB or a 64 MB DIMM

23 years agoNew Patch from Stefan Röse
wdenk [Mon, 8 Oct 2001 13:06:13 +0000 (13:06 +0000)]
New Patch from Stefan Röse

23 years agoFix ethernet / MII problems for ICU862 board
wdenk [Sun, 7 Oct 2001 22:10:06 +0000 (22:10 +0000)]
Fix ethernet / MII problems for ICU862 board

23 years agoFix memory controller initialization for ICU862
wdenk [Sun, 7 Oct 2001 21:49:04 +0000 (21:49 +0000)]
Fix memory controller initialization for ICU862

23 years ago* Patch by Stefan Roese, 19 Sep 2001:
wdenk [Sun, 7 Oct 2001 12:15:54 +0000 (12:15 +0000)]
* Patch by Stefan Roese, 19 Sep 2001:
- Watchdog support for ppc4xx added.
- CONFIG_PCI_SCAN_SHOW added to print pci devices upon startup
  (ppc405gp).
- Added OCRTC Board Support
- SDRAM size autodetect added on some esd boards (ppc405)
- Rework of some esd config files
- Changed cpu defines for ppc4xx for Linux compatibility
  CONFIG_PPC405   -> CONFIG_4xx
  CONFIG_PPC405GP -> CONFIG_405GP
  CONFIG_PPC405CR -> CONFIG_405CR

24 years ago* Remove references to obsolete CFG_HWINFO_LEN stuff
wdenk [Thu, 13 Sep 2001 22:07:05 +0000 (22:07 +0000)]
* Remove references to obsolete CFG_HWINFO_LEN stuff
* ICU fixes/improvement
* Work around problem with transmit of 1st eth packet on AMX

24 years agoAdd support for AMX860 Flash Expansion Module
wdenk [Wed, 12 Sep 2001 20:42:49 +0000 (20:42 +0000)]
Add support for AMX860 Flash Expansion Module

24 years agoFix "clocks_in_mhz" typo
wdenk [Wed, 12 Sep 2001 13:59:19 +0000 (13:59 +0000)]
Fix "clocks_in_mhz" typo

24 years agoFixed CFG_INIT_RAM_END on 8xx systems to work with microcode patches
wdenk [Tue, 11 Sep 2001 20:33:29 +0000 (20:33 +0000)]
Fixed CFG_INIT_RAM_END on 8xx systems to work with microcode patches

24 years ago* Fixed register name (PSMR)
wdenk [Tue, 11 Sep 2001 10:22:41 +0000 (10:22 +0000)]
* Fixed register name (PSMR)
  Fixed FD mode for 8xx SCC ethernet
  Fixed RCCR init problem with I2C and SPI microcode relocation patch
  Fixed make problem under tcsh which causes conflicts with VENDOR
  variable

* (PPC405GP only) Added interrupt driven serial port input mode with
  hardware handshake
  Patch by Morten Brørup, 27 Aug 2001

24 years agoAdd cpu/mpc8xx/upatch.c which I forgot to check in.
wdenk [Mon, 10 Sep 2001 23:33:44 +0000 (23:33 +0000)]
Add cpu/mpc8xx/upatch.c which I forgot to check in.

Major modification for GTH board;
added CONFIG_RESET_TO_RETRY configuration option

24 years ago* Add I2C and SPI microcode relocation patches (MPC8xx)
wdenk [Mon, 10 Sep 2001 23:03:24 +0000 (23:03 +0000)]
* Add I2C and SPI microcode relocation patches (MPC8xx)
  Based on a patch by Joakim Tjernlund, 23 Aug 2001

* Added -meabi to compiler flags; make sure we have a valid initial
  stack frame so any back traces will terminate properly

* Modified default configuration for sbc8260
  Patch by Jon Diekema, 4 Sep 2001

* Changed default behavious in case of crashes: automatically reboot
  on panic now (see description of CONFIG_PANIC_HANG in the README
  file)

24 years agoAdded port to MOUSSE board
wdenk [Mon, 10 Sep 2001 13:51:30 +0000 (13:51 +0000)]
Added port to MOUSSE board
Patch by James F Dougherty, 10 Sep 2001

24 years agoPPCBoot stores all clock information in Hz internally.
wdenk [Mon, 10 Sep 2001 12:29:04 +0000 (12:29 +0000)]
PPCBoot stores all clock information in Hz internally.

####################################################################
# WARNING:                                                         #
# This will cause binary incompatibility with older Linux kernels! #
####################################################################

For binary compatibility with older Linux kernels (which expect the
clocks passed in the bd_info data to be in MHz) the environment
variable "clock_in_mhz" can be defined so that PPCBoot converts
clock data to MHZ before passing it to the Linux kernel. When
CONFIG_CLOCKS_IN_MHZ is defined in the board config file, a
definition of "clock_in_mhz=1" is automatically included in the
default environment.

NOTE: for all boards that did not use the (now obsolete)
CFG_CLKS_IN_HZ option such a #define has been added to the config
file.

24 years ago* Add port to Westel Controller Board AMX860
wdenk [Thu, 6 Sep 2001 22:25:14 +0000 (22:25 +0000)]
* Add port to Westel Controller Board AMX860

* Add port to MicroSys PM826 board

* Preliminary fix for initial data problem on CU824 (moved to end of
  RAM using fixed RAM size defined in config file)

* Remove bogus(?) warnings printed by CU824 ethernet driver
  (board/cu824/dc2114x.c)

* Add RTC support for Walnut board
  (Patch by David C. Chiu, Tue, 28 Aug 2001)

* Make sure not to generate ethernet multicast addresses in
  tools/gen_eth_addr.c and tools/bddb/defs.php
  (Patch by Murray Jensen, Tue, 21 Aug 2001)

* Allow for more default environment settings (rootpath, gatewayip,
  netmask, hostname, bootfile, loadaddr)

* Allow for ethernet default settings of FDE, BRO, and PROMISC.

24 years ago* Re-arrange boot message formatting
wdenk [Wed, 29 Aug 2001 07:55:37 +0000 (07:55 +0000)]
* Re-arrange boot message formatting
  (includes patch by Jon Diekema, Fri, 10 Aug 2001)

* Add check for and prevent buffer overflow for BOOTP / DHCP string
  parameters

* Fix PUMA download on CCM board

* allow 0x... prefix on input
  (based on idea by Mads Dydensborg, Tue, 7 Aug 2001)

* allow to put "preboot" command in default configuration

* extended flash chip support for TQM8260 board (AM29LV800T/B,
  AM29LV160T/B, AM29DL322T/B, AM29DL323T/B)
* BCR tweakage for the 8260 bus mode on TQM8260
* SIUMCR tweakage enabling the MI interrupt (IRQ7) on TQM8260
* To simplify switching between bus modes, a new configuration option
  (CONFIG_BUSMODE_60x) has been added to the "config_TQM8260.h" file.
  If defined, BCR will be configured for the 60x mode, otherwise for
  8260 mode.

24 years ago* Add check for and prevent buffer overflow for BOOTP / DHCP string
wdenk [Mon, 13 Aug 2001 17:11:06 +0000 (17:11 +0000)]
* Add check for and prevent buffer overflow for BOOTP / DHCP string
  parameters

24 years agoFix PUMA download on CCM board
wdenk [Wed, 8 Aug 2001 23:12:32 +0000 (23:12 +0000)]
Fix PUMA download on CCM board