hydra [Sun, 22 Oct 2000 01:46:14 +0000 (01:46 +0000)]
Add changes necessary to boot with the 2.4.0-test2 version of Linux,
which uses an "extended" board_info (bd_t) structure. It needs a
few items that are not available in the standard ppcboot bd_t.
In the future, this new structure type may become the "standard".
wdenk [Sat, 14 Oct 2000 23:05:33 +0000 (23:05 +0000)]
* Replaced `serial_io' and `intr_util' structs in bd_info by generic
structure `mon_fnc' containing `monitor functions'; added putstr(),
malloc() and free().
* Added "bootd" command (run "bootcmd"): now you can type just "boot"
to run an arbitrary default (boot) command.
* Added ';' as command separator for the default boot command: now
"bootcmd" can contain a sequence of several commands which are
executed in sequence. Please note that there is absolutely no flow
control, conditional execition, or the like: PPCBoot will always
run all commands strictly one after the other [assuming the command
returns to PPCBoot, which cannot be expected for instance when you
start an OS kernel...]
* Fixed bugs in interrupt handler (thanks to Murray): enable only CPM
interrupts; disable any bogus interrupts.
* Added support for ATA disks (directly connected to PCMCIA port)
WARNING: work in progress, tested only on SPD823TS systems
* Added configuration for FADS board with support for video and
wireless keyboard (thanks to Paolo Scaffardi).
WARNING: work in progress, not complete yet.
wdenk [Wed, 11 Oct 2000 22:04:27 +0000 (22:04 +0000)]
* Added MPC855 support
* Tested with MPC8xx at 80 MHz CPU clock / 40 MHz bus clock
* Don't block booting of other OS than Linux using "bootm"
* Added Cogent port (by Murray Jensen <Murray.Jensen@cmst.csiro.au>)
* Added KGDB support (by Murray Jensen)
Warning: the KGDB code is *big*. If you include it you'll probably
need to throw out lots of other features or increas the size of
your firmware memory.
* Extended flash addressing to use sector numbers
wdenk [Wed, 11 Oct 2000 22:04:27 +0000 (22:04 +0000)]
* Added MPC855 support
* Tested with MPC8xx at 80 MHz CPU clock / 40 MHz bus clock
* Don't block booting of other OS than Linux using "bootm"
* Added Cogent port (by Murray Jensen <Murray.Jensen@cmst.csiro.au>)
* Added KGDB support (by Murray Jensen)
Warning: the KGDB code is *big*. If you include it you'll probably
need to throw out lots of other features or increas the size of
your firmware memory.
* Extended flash addressing to use sector numbers
wdenk [Tue, 10 Oct 2000 00:30:54 +0000 (00:30 +0000)]
======================================================================
Modifications for 0.5.1:
======================================================================
* Made many commands configurable to save memory on production
systems or to disable features (like network support) on hardware
which cannot support it
* Added support for SPD823TS board.
* Added CPM reset during CPU startup.
* Update IMMR structure for MPC823; fix SCCR_DFLCDxxx definitions and
add MAMR_AMB_* definitions to mpc8xx.h
* Allow default configuration of CPM interrupt level and GCLK
frequency
* Allow default configuration of environment variables "ethaddr",
"ipaddr" and "serverip"
* Fix udelay() for different EXTCLK / OSCLK combinations
* Added memory compare command
* Changes of the ethernet address and/or IP address in the
environment are copied to the board info structure for later use by
the network code and/or any other program
* Added multi-file images to allow to boot a combined kernel+initrd
file using BOOTP; see include/image.h for details.
* Added network support for IBM 40x (by Stefan Roese)
* Added binary download over serial line using kermit protocol
(optional)
* Eliminated asc_to_hex() - replaced by simple_strtoul()
* Bug fixes:
- There was a silly bug in common/cmd_net.c which crippled the
"rarpboot" and "tftpboot" commands ==> fixed
- Changed mpc8xx/cpu_init.c again to allow for boot ROMS to be 8,
16 or 32 bit wide (lost this fix by accident)
- Allow to set the MF bits using the CFG_PLPRCR definition
- Fix BR0 reset handling for older CPU mask revisions: Clear every-
thing except Port Size bits, then add just the "Bank Valid" bit
hydra [Wed, 4 Oct 2000 15:06:11 +0000 (15:06 +0000)]
Add a dumpdata() routing that will dump out an area of memory in
hex values along with addresses.
Also, rearrange and correct the setting of BCSR bits for FADS when
initializing the ethernet.
hydra [Wed, 4 Oct 2000 15:00:15 +0000 (15:00 +0000)]
Replaced config_FADS860T.h with the one provided by Christian Vejlbo.
The previous one was known to not work, and Christian says that this
new one works for him.
Also deleted some unused CPM defines that were holdovers from the 8xxROM era.
hydra [Wed, 4 Oct 2000 14:52:05 +0000 (14:52 +0000)]
Add in the multiplication factor (MF) setting for the PLPRCR so we can
get a reasonable clock value for the FADS.
Relax some uses of BCSR4 bits for more fads daughter boards.
Delete some unused CPM defined that were holdovers from the 8xxROM era.
hydra [Wed, 4 Oct 2000 14:48:30 +0000 (14:48 +0000)]
Fix the CLKRT setting for the FADS board. Specifically for the FADS850SAR,
but I think this is a general FADS850 setting (or any mpc where the ethernet
runs on scc2).
Also, add some commentary to the defines for the various port line settings.
wdenk [Mon, 2 Oct 2000 19:02:37 +0000 (19:02 +0000)]
Bug fixes:
- There was a silly bug in common/cmd_net.c which crippled the
"rarpboot" and "tftpboot" commands ==> fixed
- Changed mpc8xx/cpu_init.c again to allow for boot ROMS to be 8,
16 or 32 bit wide (lost this fix by accident)
- Allow to set the MF bits using the CFG_PLPRCR definition
wdenk [Sun, 1 Oct 2000 19:21:20 +0000 (19:21 +0000)]
* Added Network support; allows:
- Network Interface configuration using environment variables or RARP or BOOTP
- image download and booting over Ethernet using TFTP
- automatic booting over ethernet when "autostart=yes" and
downloaded image is bootable
* Some code cleanup to make easier adaptable to different hardware
* Bug fixes, especially:
- avoid clobbering the PLL divider in interrupts.c (thanks to Till Straumann)
- make Ethernet code work on SCC1 or SCC2
Preliminary FADS support.
Tested: FADS850SAR
Working: serial, flash
Not working: net
Questionable: clock configuration - ppcboot reports it is running
at 20Mhz while it should be 50Mhz.
wdenk [Mon, 21 Aug 2000 15:05:47 +0000 (15:05 +0000)]
* Added network support (file download using BOOTP / TFTP)
- test vewrsion only, no timeout / error handling yet -
* Cleanup: removed dependencies on Linux Source code
(by copying the necessary header files).
* Bug Fix: the command table was not relocated completely,
so you could not continue when you erased the monitor
sectors in flash memory.
wdenk [Thu, 17 Aug 2000 13:27:04 +0000 (13:27 +0000)]
Modifications while porting PPCBoot to the ETX_094 prototype hardware:
- Changed configuring: don't use symlinks any more, don't need to
edit files for supported standard configurations (Thanks to Dan A.
Dickey for many suggestions).
- Cleanup: separate CPU dependend parts to make porting to other
CPU's easier (Thanks to Stefan Roese for his input).
- Removed manual clock configuration, added automatic detection of
bus clock
- Added check for monitor size
- Fix several flash related functions when configured for more flash
banks that actually present
- Fix flash_get_size() not to exceed configured maximum number of
flash sectors
- Added configuration and board specific code for ETX_094 board (Siemens)
Change the file holding the dependencies to ".depend".
This is about the best choice of all, and hopefully - this will
be the last change to which filename we use. :)
Modify the Makefiles to store dependencies on the "outside": In Makefile.cc
instead. This allows us to *not* keep dependencies in CVS. Dependencies
are, as the name implies - too dependent on specific systems.