]> www.infradead.org Git - users/rw/ppcboot.git/log
users/rw/ppcboot.git
24 years agoWorking on LWMON (fall back to old i2c stuff for now).
wdenk [Thu, 29 Mar 2001 22:35:58 +0000 (22:35 +0000)]
Working on LWMON (fall back to old i2c stuff for now).

Added support for DOS partitions
(Patch by Raymond Lo, 26 Mar 2001)

24 years ago*** empty log message ***
wdenk [Wed, 28 Mar 2001 07:28:59 +0000 (07:28 +0000)]
*** empty log message ***

24 years agoIn "cpu/ppc4xx/speed.c" file, "get_bus_freq" function returned value
wdenk [Wed, 28 Mar 2001 07:27:29 +0000 (07:27 +0000)]
In "cpu/ppc4xx/speed.c" file, "get_bus_freq" function returned value
in MHz instead in Hz.

24 years agoFixes.
wdenk [Fri, 23 Mar 2001 09:18:35 +0000 (09:18 +0000)]
Fixes.

24 years agoFixes to Control C checking
wdenk [Fri, 23 Mar 2001 08:23:22 +0000 (08:23 +0000)]
Fixes to Control C checking
(Patch by Dave Ellis, 22 Mar 2001)

24 years ago* Added support for LWMON board
wdenk [Wed, 21 Mar 2001 21:27:46 +0000 (21:27 +0000)]
* Added support for LWMON board
  (Wolfgang Denk, March 2001)

* Added support for GTH board
  (Thomas Lange, 19 Mar 2001)

* Misc patches:
  - Latest Hymod code
  - minor patch for the "immap" command
  - minor patch to the "ctrlc" stuff to support interrupting during
    interpreting a command line with multiple sections separated by
    semi-colons. i.e. if any command is interrupted with control-C,
    this fact is recorded and the command line parser will not
    continue running further commands.
  - backport to the 8xx platform of the new i2c driver that was
    introduced for the 8260 platform
  (Patch by Murray Jensen, 05 Mar 2001)

* Fixes for PCMCIA code
  (Patch by Thomas Lange, 19 Mar 2001)

* Misc ADCIOP modifications
  (Patch by Stefan Roese, 16 Mar 2001)

* Fix sector erase bug on Walnut board
  (Patch by Raymond Lo, 14 Mar 2001)

* Added BeOS and *BSD #defines to several files
  (Patch by Erik Theisen, 14 Mar 2001)

* MBX8xx Board fixes:
  - problem with basic clocking due to bad calculation of the PLPRCR
    register's multiplication factor
  - couldn't access the board's NVRAM due to incorrect initialization
    order of chip selects; the Boot ROM's CS0 was overiding the setup
    of the NVRAM.
  - initialization of BR and OR memory controller registers was not
    compliant with the MBX860 Users Manual
  - board level configuration and status register # 2's mapping was
    defined in the wrong bit order. This was resulting in a incorrect
    error message about NVRAM battery failure.
  - Re-enabled CFG_CMD_ENV to allow access to the NVRAM
  (Patch by Erik Theisen, 14 Mar 2001)

* Network driver fixes
  (Patch by Anne-Sophie Harnois, 13 Mar 2001)

* board_pre_init() patch for CANBT/CPCI405/AR405/CANBT/WALNUT405/CPCIISER4
  (Patch from Stefan Roese, 12 Mar 2001)

* Fix problems booting PPCBoot on MBX860
  (Patch from Paul Ruhland, 10 Mar 2001)

* Fixed bug in command parsing code
  (Patch from Dave Ellis, 05 Mar 2001)

24 years agoFix argument order.
wdenk [Thu, 8 Mar 2001 18:15:51 +0000 (18:15 +0000)]
Fix argument order.

24 years agoFix bug in command repeat code (thanks to
wdenk [Thu, 8 Mar 2001 00:10:25 +0000 (00:10 +0000)]
Fix bug in command repeat code (thanks to
Mads Dydensborg and Dave Ellis)

24 years agoHeader information was not written to images on NFS mounted filesystems
wdenk [Tue, 6 Mar 2001 09:14:37 +0000 (09:14 +0000)]
Header information was not written to images on NFS mounted filesystems

24 years agoDelete dummy malloc(). ???
wdenk [Sat, 3 Mar 2001 22:12:21 +0000 (22:12 +0000)]
Delete dummy malloc(). ???

24 years agoFix nasty bug: run_command failed in some cases when the executed
wdenk [Sat, 3 Mar 2001 22:11:50 +0000 (22:11 +0000)]
Fix nasty bug: run_command failed in some cases when the executed
command modifiec the environment (like "bootp" does when it creates
or modifies environment variables). The reason was that we used a
pointer directly into the environment area, which may change while we
are running the command. Grrrgh...

24 years agoSwitch to binary image format now that the BDI2000 firmware has
wdenk [Sat, 3 Mar 2001 22:09:11 +0000 (22:09 +0000)]
Switch to binary image format now that the BDI2000 firmware has
support for it.

24 years ago* New FPGA-Image for CPCI405 and AR405
wdenk [Sat, 3 Mar 2001 00:04:20 +0000 (00:04 +0000)]
* New FPGA-Image for CPCI405 and AR405

* Added support for CPCIISER4 board

* PPC405GP PCI Handling reworked to support PCI host and adapter boards.

24 years agoAdded monster-patch by Murray Jensen
wdenk [Fri, 2 Mar 2001 00:35:24 +0000 (00:35 +0000)]
Added monster-patch by Murray Jensen

24 years agoAdded support for SBC8260 board (Jay Monkman, Marius Groeger)
wdenk [Thu, 1 Mar 2001 18:08:16 +0000 (18:08 +0000)]
Added support for SBC8260 board (Jay Monkman, Marius Groeger)

24 years agoAdded support for ESTEEM192E board (Conn Clark)
wdenk [Wed, 28 Feb 2001 00:47:15 +0000 (00:47 +0000)]
Added support for ESTEEM192E board (Conn Clark)

24 years ago* Fix watchdog support when used with IDE / PCMCIA
wdenk [Tue, 27 Feb 2001 23:50:37 +0000 (23:50 +0000)]
* Fix watchdog support when used with IDE / PCMCIA

* Add KGDB support for IBM 4xx (Anne-Sophie Harnois): configure one
  of the two serial ports for KGDB according to CONFIG_KGDB_SER_INDEX
  variable defined in "include/config_WALNUT405.h"

* 'bootd' recursion checking was broken (did nothing).

* 'run' recursion checking was broken.

* There were some problems with 'run' caused by run_command() not
  being reentrant. This is fixed.

* New configuration options are to make autobooting more dependable
  for production systems. They allow the PPCBoot prompt to time out
  and retry the autoboot, and can make it harder to accidentally stop
  the autoboot. The options and the reasons to use them are explained
  in doc/README.autoboot. (Dave Ellis)

24 years agoFix comment in status_led.h
wdenk [Fri, 9 Feb 2001 16:46:08 +0000 (16:46 +0000)]
Fix comment in status_led.h
Fix options for native compiler in tools/Makefile

24 years agoAdded "reginfo" command (Subodh Nijsure)
wdenk [Fri, 9 Feb 2001 11:18:16 +0000 (11:18 +0000)]
Added "reginfo" command (Subodh Nijsure)

24 years agoFix problem for Walnut405 with bad use of "-mrelocatable" option
wdenk [Fri, 9 Feb 2001 09:35:23 +0000 (09:35 +0000)]
Fix problem for Walnut405 with bad use of "-mrelocatable" option
when building envcrc

24 years ago* Added configuration for RPXlite board (Yoo. Jonghoon)
wdenk [Fri, 9 Feb 2001 01:55:18 +0000 (01:55 +0000)]
* Added configuration for RPXlite board (Yoo. Jonghoon)
* New FPGA Images for AR405 and CANBT
* I2C Support for CANBT and CPCI405

24 years agoExtension of status LED code for IVML24, IVMS8 (and other systems
wdenk [Thu, 8 Feb 2001 01:21:44 +0000 (01:21 +0000)]
Extension of status LED code for IVML24, IVMS8 (and other systems
with more than just one LED)

24 years ago* If we power on the 12V disk drive voltage, we must allow for at
wdenk [Wed, 7 Feb 2001 00:09:33 +0000 (00:09 +0000)]
* If we power on the 12V disk drive voltage, we must allow for at
  least 500 ms for everything to stabilize and come up (IVML24)

* Fix address range used for mtest for some configurations that tried
  to test the exception vector area

24 years ago* Squeeze a few bytes here and there to make it fit in 128k again. Sic!
wdenk [Mon, 29 Jan 2001 18:41:09 +0000 (18:41 +0000)]
* Squeeze a few bytes here and there to make it fit in 128k again. Sic!
* Don't count-down if no bootcmd is defined
* Add I2C command
* On the 8260, the i2c parameter RAM must be 64 aligned. Turn off
  debugging.
* board.c: include mpc8xx.h only when compiling for MPC8xx CPUs
* Fix "tags" target
* The i2c pins on the 8260 chip must be set Open Drain (I believe
  this is common to all, but I'm not sure).

24 years ago* Added "echo" command
wdenk [Tue, 23 Jan 2001 21:22:08 +0000 (21:22 +0000)]
* Added "echo" command
* Added "tags" make target
* Fix serial driver for MPC8xx / SCC
* Fix compile problems with cogent_mpc8xx
* Use macros with arguments instead of lots of separate #defines in
  the cogent/hymod flash drivers
* Add configuration for Walnut405 (Anne-Sophie Harnois)
* Fix bug in PCMCIA initialization; add PCMCIA support for IVML24

24 years agoAdd configuration for Walnut405 (Anne-Sophie Harnois)
wdenk [Mon, 22 Jan 2001 18:17:14 +0000 (18:17 +0000)]
Add configuration for Walnut405 (Anne-Sophie Harnois)

24 years agoFix bug in PCMCIA configuration
wdenk [Mon, 22 Jan 2001 10:15:10 +0000 (10:15 +0000)]
Fix bug in PCMCIA configuration

24 years agoFixed bug in PCMCIA initialization.
wdenk [Sun, 21 Jan 2001 15:40:43 +0000 (15:40 +0000)]
Fixed bug in PCMCIA initialization.
Added PCMCIA support for IVML24.

24 years agoChanges for release 0.8.0; see CHANGELOG
wdenk [Sat, 20 Jan 2001 01:23:52 +0000 (01:23 +0000)]
Changes for release 0.8.0; see CHANGELOG

24 years ago* Add timeout handling to I2C code
wdenk [Wed, 17 Jan 2001 21:17:58 +0000 (21:17 +0000)]
* Add timeout handling to I2C code
* Allow to overwrite CROSS_COMPILE setting when running MAKEALL
  script
* Fixes ins rdsproto configuration
* Add missing '\n" in help messages
* Remove PCMCIA code from sixnet configuration (has no PCMCIA)
* Update bd info struct after baudrate changes
* Added "ramboot" and "nfsboot" environment variables for easy
  switching between ramdisk and nfsroot configurations
* updated ETX_096 configuration

24 years ago* PCMCIA support added / extended
wdenk [Mon, 15 Jan 2001 19:07:03 +0000 (19:07 +0000)]
* PCMCIA support added / extended
* Misc patches by Paolo Scaffardi added (NETWORK, DPRAM, COMMANDS,
  GENIETV)
* Minor fixes

24 years agoFix spelling of RSD; and proto is for "protocol".
wdenk [Fri, 12 Jan 2001 08:58:52 +0000 (08:58 +0000)]
Fix spelling of RSD; and proto is for "protocol".

24 years agoModifications for 0.7.2:
wdenk [Thu, 11 Jan 2001 22:40:50 +0000 (22:40 +0000)]
Modifications for 0.7.2:

* New configuration for RDS prototype board (by Marius Gröger)

* New i2c.c driver for 82xx (by Marius Gröger)

* Fix TFTP over routers: send ARP to router's ethernet address.

* Add code to recognize ICMP Host Redirect messages; print a warning
  (probably bad BOOTP server configuration, like announcing a wrong
  or unnecessary router).

* Fix BCSR address in FADS860T configuration (preventing ethernet
  from working)

* "setenv" and "saveenv" commands no longer auto-repeatable

* Restrict baudrate settings to certain legal values (see table
  CFG_BAUDRATE_TABLE in the board's config header file)

* Now baudrate changes take place immediately (without reset)

----------------------------------------------------------------------
GENIETV patch by Paolo Scaffardi (Fri, 5 Jan 2001 11:27:44 +0100):
* Added support for AMDLV040B 512Kb flash into flash.h
* Changed TEXTBASE into GENIETV configuration
* Added VIDEO_ADDR definition into config_GENIETV.h
* Removed unused files: wl_4ppm_keyboard.c and wl_4ppm_keyboard.h
----------------------------------------------------------------------

* Fix in cpu/mpc8xx/fec.c (by Dave Ellis): The PHY discovery code
  must be called after the FEC is enabled, since it uses the FEC to
  talk to the PHY.

* Fix bug in clock routing when using SMC2 for console.

* EEPROM Speedup; allow other addresses (by Dave Ellis)

* Added SXNI855T configuration (by Dave Ellis)

24 years ago* New configuration for RDS prototype board (by Marius Gröger)
wdenk [Tue, 9 Jan 2001 20:23:06 +0000 (20:23 +0000)]
* New configuration for RDS prototype board (by Marius Gröger)
* New i2c.c driver for 82xx (by Marius Gröger)
* "setenv" and "saveenv" commands no longer auto-repeatable
* Restrict baudrate settings to certain legal values (see table
  CFG_BAUDRATE_TABLE in the board's config header file); Now baudrate
  changes take place immediately (by Stefan Röse)

24 years agoGENIETV patch by Paolo Scaffardi (Fri, 5 Jan 2001 11:27:44 +0100)
wdenk [Sat, 6 Jan 2001 18:53:39 +0000 (18:53 +0000)]
GENIETV patch by Paolo Scaffardi (Fri, 5 Jan 2001 11:27:44 +0100)

24 years ago*** empty log message ***
wdenk [Wed, 3 Jan 2001 00:06:14 +0000 (00:06 +0000)]
*** empty log message ***

24 years agoFix bug in clock routing when using SMC2 for console
wdenk [Wed, 3 Jan 2001 00:05:46 +0000 (00:05 +0000)]
Fix bug in clock routing when using SMC2 for console

24 years agoIncrease environment size to allow for longer bootargs;
wdenk [Wed, 3 Jan 2001 00:05:18 +0000 (00:05 +0000)]
Increase environment size to allow for longer bootargs;
now that the EEPROM code is much faster this seems acceptable.

24 years ago* Fix in cpu/mpc8xx/fec.c (by Dave Ellis): The PHY discovery code
wdenk [Fri, 29 Dec 2000 22:53:37 +0000 (22:53 +0000)]
* Fix in cpu/mpc8xx/fec.c (by Dave Ellis): The PHY discovery code
  must be called after the FEC is enabled, since it uses the FEC to
  talk to the PHY.

* EEPROM Speedup; allow other addresses (by Dave Ellis)

* Added SXNI855T configuration (by Dave Ellis)

24 years agoReworking of TFTP code; use ARP request to get TFTP server's
wdenk [Thu, 28 Dec 2000 11:02:28 +0000 (11:02 +0000)]
Reworking of TFTP code; use ARP request to get TFTP server's
ethernet address

24 years agoFix initialization problem when environment in flash
wdenk [Sat, 23 Dec 2000 00:50:02 +0000 (00:50 +0000)]
Fix initialization problem when environment in flash

24 years ago* Added support for PPC405CR (Stefan Roese)
wdenk [Fri, 22 Dec 2000 22:52:00 +0000 (22:52 +0000)]
* Added support for PPC405CR (Stefan Roese)
* Fixes in environment code; better detection of CRC errors
* Fixed serial driver over SCC; for MPC8xx now tested on all 4 SCC's

24 years ago* For IP860, set SRAM information in bd_info
wdenk [Sun, 17 Dec 2000 18:24:50 +0000 (18:24 +0000)]
* For IP860, set SRAM information in bd_info
* Fix FADS860T configuration

24 years ago* Directory reorganization: mode all CPU specific directories under
wdenk [Thu, 14 Dec 2000 10:56:15 +0000 (10:56 +0000)]
* Directory reorganization: mode all CPU specific  directories  under
  cpu/ , and all board specific directories under board/

* Major re-write of the environment code; it now allows to place the
  environment in NVRAM, EEPROM, or in full or partial sectors in
  flash.

* Added configuration for IP860 systems (MicroSys)

* Added configuration for HERMES-PRO systems (Multidata)

* Fixes for ethernet on MPC8260 FEC

* Fixes for console on SCCx

* Modify "initrd_high" feature to allow for specifying a memory limit

* Fixes for (F)ADS configuration

24 years agoDirectory restructuring for 0.7.0
wdenk [Thu, 14 Dec 2000 10:04:19 +0000 (10:04 +0000)]
Directory restructuring for 0.7.0

24 years ago* Start RTC for some configs
wdenk [Mon, 4 Dec 2000 20:28:34 +0000 (20:28 +0000)]
* Start RTC for some configs
* Fixes for ethernet on MPC8260 FEC
* Fixes for console on SCCx

24 years agoFix (F)ADS configuration.
wdenk [Sat, 2 Dec 2000 00:15:25 +0000 (00:15 +0000)]
Fix (F)ADS configuration.
Extend initrd_high handling

24 years agoFix typo in address map
wdenk [Fri, 1 Dec 2000 12:04:53 +0000 (12:04 +0000)]
Fix typo in address map

24 years ago* Added support for console on SCCx
wdenk [Thu, 30 Nov 2000 22:56:37 +0000 (22:56 +0000)]
* Added support for console on SCCx
* Added configuration for ADS860 board
* Add support for MPC860TFADS with ethernet on FEC (but default is
  still on SCC1)
* Add PHY type checking.
* Fix typos in mpc8260.h
* Check mask revision in mpc8260/cpu.c
* Add support for OR/BR[45] in mpc8260/cpu_init.c
* Map ELIC and SHARC regions for IVMS8
* Fix timeout handling in TFTP code
* Fix Bug in Boot File Size calculation
* Fix MPC8xxFADS configuration (don't clobber unused port lines)

24 years agoCleanup
wdenk [Thu, 23 Nov 2000 13:14:12 +0000 (13:14 +0000)]
Cleanup

24 years ago* Fix timeout handling in TFTP code
wdenk [Thu, 23 Nov 2000 13:12:40 +0000 (13:12 +0000)]
* Fix timeout handling in TFTP code

* Fix FEC driver for IVMS8

24 years agoFix status LED on ETX boards.
wdenk [Thu, 23 Nov 2000 00:56:53 +0000 (00:56 +0000)]
Fix status LED on ETX boards.

24 years ago*** empty log message ***
wdenk [Thu, 23 Nov 2000 00:52:24 +0000 (00:52 +0000)]
*** empty log message ***

24 years ago* Fix Bug in Boot File Size calculation
wdenk [Thu, 23 Nov 2000 00:46:20 +0000 (00:46 +0000)]
* Fix Bug in Boot File Size calculation

* Fix MPC8xxFADS configuration (don't clobber unused port lines;
  thanks to Dave Ellis).

* Remove incorrect change history from some files.

24 years ago* Added support for MBX860T (thanks to Rob Taylor)
wdenk [Mon, 20 Nov 2000 17:19:27 +0000 (17:19 +0000)]
* Added support for MBX860T (thanks to Rob Taylor)

* Added support for Sandpoint8240 (thanks to Rob Taylor); this is
  Work In Progress (TM); current status: boots to command line input.
  EPIC code non-functional (interrupts disabled), No net, No IDE.

* Add support for Status LED

* Optionally panic() to reboot instead of hanging

* Misc bug fixes

* All frequencies in HZ now (internally)

* Add support for BOOTP Domain Name Server Option

24 years ago* Misc bug fixes
wdenk [Sat, 18 Nov 2000 00:48:35 +0000 (00:48 +0000)]
* Misc bug fixes
* All frequencies in HZ now (internally)
* Add support for BOOTP Domain Name Server Option
* Avoid overflowing the BOOTP vendor extension field

24 years agoWorking on timer/timebase handling
wdenk [Fri, 17 Nov 2000 08:46:02 +0000 (08:46 +0000)]
Working on timer/timebase handling

24 years agoAdd support for BOOTP Domain Name Server Option
wdenk [Thu, 16 Nov 2000 22:47:21 +0000 (22:47 +0000)]
Add support for BOOTP Domain Name Server Option

24 years agoAdded port to MPC8260 (thanks to Murray Jensen).
wdenk [Thu, 16 Nov 2000 20:22:13 +0000 (20:22 +0000)]
Added port to MPC8260 (thanks to Murray Jensen).
Fixed (I hope so!) some bugs in DRAM initialization on TQM etc.
etc.

24 years agoMBX Patch from Marius Gröger,
wdenk [Tue, 14 Nov 2000 10:26:53 +0000 (10:26 +0000)]
MBX Patch from Marius Gröger,
Tue, 14 Nov 2000 12:03:56

24 years agoFixes.
wdenk [Mon, 13 Nov 2000 11:45:28 +0000 (11:45 +0000)]
Fixes.

24 years ago* Cleanup of timer handlers
wdenk [Sun, 12 Nov 2000 23:38:41 +0000 (23:38 +0000)]
* Cleanup of timer handlers

* Fix I2C driver (error in BRG divider calculation)

* Added DPRAM handling functions into mpc8xx/commproc.c, to retrieve
  DPRAM memory addresses in runtime

* Patched the mpc8xx/video.c to fix the field/synch pin on the FADS
  and GENIETV

* Video extensions support (to pass framebuffer informations to
  applications or linux kernel via the bd_t structure).

* malloc() temporary sector buffer in do_saveenv instead of using
  fixed location in memory

* Added CONFIG_BOOTP_MASK to make use of BOOTP extensions
  configurable

* Added CONFIG_I2C for I2C driver configuration

* Moving documentation to "doc" directory

* Minimized list code into 'common/lists.c'

24 years ago* Cleanup of PCMCIA / IDE code (thanks to Stefan Röse)
wdenk [Sun, 12 Nov 2000 00:42:24 +0000 (00:42 +0000)]
* Cleanup of PCMCIA / IDE code (thanks to Stefan Röse)

* Added configuration for IVMS8 boards (Speech Design)

* Added configuration for SM850 "Service Module" which has a MPC850
  with Ethernet on SCC3
  WARNING: you CANNOT use SMC1 when Ethernet is on SCC3 - parameter
  RAM conflicts!

* Allow to use '\' to escape control characters (';' and '$') while
  parsing input - needed to be able to enter a `bootcmd' which
  contains more than one command and/or references to variables,
  which are resolved not before when running the command.

* MBX8xx support (thanks to Marius Gröger)

* Fix violation of BOOTP message format.

* Allow for configurations which don't define some environment
  variables.

* Unified handling of (default) load address.

* Changed compiler options to reduce code size.

24 years agoProvide enough space in the request message for all requested
wdenk [Fri, 3 Nov 2000 20:20:31 +0000 (20:20 +0000)]
Provide enough space in the request message for all requested
vendor extension stuff.

24 years agoAllow longer BOOTP replies as required by RFC 1524:
wdenk [Fri, 3 Nov 2000 14:18:43 +0000 (14:18 +0000)]
Allow longer BOOTP replies as required by RFC 1524:

NOTE: Future extensions to the BOOTP protocol may increase the size
of BOOTP messages.  Therefore, BOOTP messages which, according to the
IP Total Length and UDP Length fields, are larger than the minimum
size specified by [1] MUST also be accepted.

24 years agoAdded configuration for SM850 "servie Module" (MPC850 with Ethernet on SCC3)
wdenk [Fri, 3 Nov 2000 12:30:18 +0000 (12:30 +0000)]
Added configuration for SM850 "servie Module" (MPC850 with Ethernet on SCC3)

24 years agoAllow to use '\' to escape control characters (';' and '$') while
wdenk [Wed, 1 Nov 2000 10:49:44 +0000 (10:49 +0000)]
Allow to use '\' to escape control characters (';' and '$') while
parsing input - needed to be able to enter a `bootcmd' which
contains more than one command and/or references to variables.

24 years agoMBX: fix link address for putting PPCBoot into flash memory
wdenk [Tue, 31 Oct 2000 07:54:52 +0000 (07:54 +0000)]
MBX: fix link address for putting PPCBoot into flash memory

24 years agoMBX8xx support (thanks to Marius Gröger)
wdenk [Mon, 30 Oct 2000 22:44:04 +0000 (22:44 +0000)]
MBX8xx support (thanks to Marius Gröger)

24 years agoMade "iminfo" work with default load address, too.
wdenk [Mon, 30 Oct 2000 13:02:28 +0000 (13:02 +0000)]
Made "iminfo" work with default load address, too.

24 years agoFix violation of BOOTP message format.
wdenk [Sun, 29 Oct 2000 21:36:04 +0000 (21:36 +0000)]
Fix violation of BOOTP message format.
Allow for configurations which don't define some environment variables.
Unified handling of (default) load address.
Changed compiler options to reduce code size.

24 years agoFix violation of BOOTP message format.
wdenk [Sun, 29 Oct 2000 21:30:50 +0000 (21:30 +0000)]
Fix violation of BOOTP message format.
Allow for configurations which don't define some environment variables.
Unified handling of (default) load address.
Change compiler options to reduce code size.

24 years agoCleanup of IDE code for SPD823TS board.
wdenk [Sat, 28 Oct 2000 23:40:42 +0000 (23:40 +0000)]
Cleanup of IDE code for SPD823TS board.

24 years ago[Renamed EXTBDINFO -> CFG_EXTBDINFO; re-ordered bd_info struct]
wdenk [Wed, 25 Oct 2000 12:04:06 +0000 (12:04 +0000)]
[Renamed EXTBDINFO -> CFG_EXTBDINFO; re-ordered bd_info struct]

Modifications for 0.6.0:

* Shifted all CFG_CMD_* definitions to a new include file
  "include/cmd_confdefs.h", which must be included in the
  include/config_xxx.h file after any definition of CONFIG_COMMANDS
  (because it defines CONFIG_COMMAND if it isn't defined already),
  but before testing the value of CONFIG_COMMANDS in any #ifs.

* Fixed Cogent support.

* To allow for platform specific make options, we added two new make
  variables: PLATFORM_RELFLAGS and PLATFORM_CPPFLAGS. They are
  initially set empty, and are included in the definitions of
  RELFLAGS and CPPFLAGS in the top level config.mk file. After making
  this change, it no longer made sense to have things like #ifdef
  CONFIG_8xx or CONFIG_4xx etc in the top level config.mk file - so I
  moved each of the platform dependent flags into the various
  subdirectory config.mk files.

* Modified Makefiles (hard wired lib names; avoi unnecessary sub
  directory builds)

* Replaced CFG_FLASH_BASE by CFG_MONITOR_BASE when dealing with the
  location of the monitor code for systems that boot from EPROM, but
  have FLASH somewhere else.

* Added CFG_FLASH_ENV_ADDR for systems where monitor and environment
  are in different memory regions.

* Added CFG_FLASH_ENV_BUF for systems with very large flash sectors,
  where you cannot reserve a whole sector for the environment (well,
  you could store the Linux kernel as environemnt variable then :-)

* Added watchdog support (this will need sppropiate  changes  in  the
  Linux kernel, too!)

* Added command to boot from a partition on an IDE device

* Improved IDE support

* Added support for MacOS / LinuxPPC compatible partitions on IDE
  devices

* Added support for MBX8xx boards (unfinished, work in progress!
  - thanks to Marius Gröger)

* Added list handling into 'common/list.c'

* Added devices support into 'common/devices.c' (now used to install
  console devices and redirect stdin, stdout and stderr)

* Detected keypress while showing the help

* Minimized the console structures

* Use a dynamic way to redirect the console input, output and error
  using environment variables (stdin, stdout, stderr). The list of
  available console devices is printed using the 'coninfo' command.
  Supported console drivers are "serial" (buildin) & "video". Who
  want to add the LCD console driver? Read the README.CONSOLE for
  more infos.

* Some commands default to the "last used address" so that for
  instance a "bootp" could be followed by a plain "iminfo" or "bootm"
  (without arguments) using the memory address used by the previous
  (here bootp) command.

* Rewrite the commandline parser (added a 'repeatable' field to the
  command structure)

* The command separator ';' now can be used in interactive commands,
  too

* Changed console support to use a global variable that points to the
  bd_t structure instead of old bi_mon_fnc_ptr. All console functions
  called before relocation will be replaced with the serial functions
  on linking.

* Now printenv prints environment size, too

* Added BOOTP environment variables (when received)

* Added bash-like MACRO support using the syntax "$(envname)". Then
  you can boot the linux kernel by using this simple command:

        bootp; setenv bootargs root=/dev/nfs nfsroot=$(serverip): \
        $(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(subnetmask): \
        $(hostname):eth0:off; bootm

* Extended BOOTP features. Now we have more network parameters from
  the server in net/net.c: subnet mask, gateways ip, NIS domain,
  hostname, bootfile size & root path. More can be added by looking
  at the RFC1048.

* Added tab emulation on video_putc.

* Fixed FADS823 pcmcia support. Changed PCMCIA driver to support 3.3V
  pcmcia cards on the 5V keyed socket.

* Added a custom board configuration (GENIETV).

* Added AD7177 video encoder support.

* Added NTSC support to video controller (untested).

* Added putc, getc, puts and tstc functions.

* Hacked a bug into /tools/easylogo.c

* Some changes to CPCI405 code (by Stefan Roese): added
  CONFIG_NVRAM_ENV so that environment variables are no longer in
  flash, but in NVRAM (this needs some more defines like base address
  and size of the NVRAM); also, the environment is CRC checked

* Some fixes to ATA support, added LinuxPPC partition awareness

* Tested (and fixed) FPS850L configuration

* Added ethernet support for FADS860T (thanks to Christian Vejlbo)

24 years agoModifications for 0.6.0:
wdenk [Wed, 25 Oct 2000 11:13:54 +0000 (11:13 +0000)]
Modifications for 0.6.0:

* Shifted all CFG_CMD_* definitions to a new include file
  "include/cmd_confdefs.h", which must be included in the
  include/config_xxx.h file after any definition of CONFIG_COMMANDS
  (because it defines CONFIG_COMMAND if it isn't defined already),
  but before testing the value of CONFIG_COMMANDS in any #ifs.

* Fixed Cogent support.

* To allow for platform specific make options, we added two new make
  variables: PLATFORM_RELFLAGS and PLATFORM_CPPFLAGS. They are
  initially set empty, and are included in the definitions of
  RELFLAGS and CPPFLAGS in the top level config.mk file. After making
  this change, it no longer made sense to have things like #ifdef
  CONFIG_8xx or CONFIG_4xx etc in the top level config.mk file - so I
  moved each of the platform dependent flags into the various
  subdirectory config.mk files.

* Modified Makefiles (hard wired lib names; avoi unnecessary sub
  directory builds)

* Replaced CFG_FLASH_BASE by CFG_MONITOR_BASE when dealing with the
  location of the monitor code for systems that boot from EPROM, but
  have FLASH somewhere else.

* Added CFG_FLASH_ENV_ADDR for systems where monitor and environment
  are in different memory regions.

* Added CFG_FLASH_ENV_BUF for systems with very large flash sectors,
  where you cannot reserve a whole sector for the environment (well,
  you could store the Linux kernel as environemnt variable then :-)

* Added watchdog support (this will need sppropiate  changes  in  the
  Linux kernel, too!)

* Added command to boot from a partition on an IDE device

* Improved IDE support

* Added support for MacOS / LinuxPPC compatible partitions on IDE
  devices

* Added support for MBX8xx boards (unfinished, work in progress!
  - thanks to Marius Gröger)

* Added list handling into 'common/list.c'

* Added devices support into 'common/devices.c' (now used to install
  console devices and redirect stdin, stdout and stderr)

* Detected keypress while showing the help

* Minimized the console structures

* Use a dynamic way to redirect the console input, output and error
  using environment variables (stdin, stdout, stderr). The list of
  available console devices is printed using the 'coninfo' command.
  Supported console drivers are "serial" (buildin) & "video". Who
  want to add the LCD console driver? Read the README.CONSOLE for
  more infos.

* Some commands default to the "last used address" so that for
  instance a "bootp" could be followed by a plain "iminfo" or "bootm"
  (without arguments) using the memory address used by the previous
  (here bootp) command.

* Rewrite the commandline parser (added a 'repeatable' field to the
  command structure)

* The command separator ';' now can be used in interactive commands,
  too

* Changed console support to use a global variable that points to the
  bd_t structure instead of old bi_mon_fnc_ptr. All console functions
  called before relocation will be replaced with the serial functions
  on linking.

* Now printenv prints environment size, too

* Added BOOTP environment variables (when received)

* Added bash-like MACRO support using the syntax "$(envname)". Then
  you can boot the linux kernel by using this simple command:

        bootp; setenv bootargs root=/dev/nfs nfsroot=$(serverip): \
        $(rootpath) ip=$(ipaddr):$(serverip):$(gatewayip):$(subnetmask): \
        $(hostname):eth0:off; bootm

* Extended BOOTP features. Now we have more network parameters from
  the server in net/net.c: subnet mask, gateways ip, NIS domain,
  hostname, bootfile size & root path. More can be added by looking
  at the RFC1048.

* Added tab emulation on video_putc.

* Fixed FADS823 pcmcia support. Changed PCMCIA driver to support 3.3V
  pcmcia cards on the 5V keyed socket.

* Added a custom board configuration (GENIETV).

* Added AD7177 video encoder support.

* Added NTSC support to video controller (untested).

* Added putc, getc, puts and tstc functions.

* Hacked a bug into /tools/easylogo.c

* Some changes to CPCI405 code (by Stefan Roese): added
  CONFIG_NVRAM_ENV so that environment variables are no longer in
  flash, but in NVRAM (this needs some more defines like base address
  and size of the NVRAM); also, the environment is CRC checked

* Some fixes to ATA support, added LinuxPPC partition awareness

* Tested (and fixed) FPS850L configuration

* Added ethernet support for FADS860T (thanks to Christian Vejlbo)

24 years agoRound two of changes necessary to get the CPCI config to work with
hydra [Sun, 22 Oct 2000 01:51:11 +0000 (01:51 +0000)]
Round two of changes necessary to get the CPCI config to work with
the extended bd_t.  Damn.. When will I *ever* learn to compile before
committing?  I've been doing for far too long to forget that.

24 years agoAdd changes necessary to boot with the 2.4.0-test2 version of Linux,
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".

24 years agoPatch submitted by Stefan Roese <stefan.roese@esd-electronics.com>
wdenk [Sat, 21 Oct 2000 22:10:15 +0000 (22:10 +0000)]
Patch submitted by Stefan Roese <stefan.roese@esd-electronics.com>
Fri, 20 Oct 2000 17:24:11 +0200

Also, some changes to ATA disk code

24 years agoTested (and fixed) FPS850L configuration; added ethernet support for
wdenk [Wed, 18 Oct 2000 13:18:52 +0000 (13:18 +0000)]
Tested (and fixed) FPS850L configuration; added ethernet support for
FADS860T. Some small fixes in the docs.

24 years ago* Replaced `serial_io' and `intr_util' structs in bd_info by generic
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.

24 years agoBug fix (thanks to Conn Clark)
wdenk [Thu, 12 Oct 2000 00:25:03 +0000 (00:25 +0000)]
Bug fix (thanks to Conn Clark)

24 years ago* Added MPC855 support
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

24 years ago* Added MPC855 support
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

24 years ago======================================================================
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

24 years agoFix Cogent / FADS comment
wdenk [Sun, 8 Oct 2000 19:16:29 +0000 (19:16 +0000)]
Fix Cogent / FADS comment

24 years agoAdd appropriate FADS changes.
hydra [Sun, 8 Oct 2000 14:08:41 +0000 (14:08 +0000)]
Add appropriate FADS changes.

24 years ago* Added multi-file images to allow to boot a combined kernel+initrd
wdenk [Sat, 7 Oct 2000 13:55:17 +0000 (13:55 +0000)]
* 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)

24 years agoAdd a dumpdata() routing that will dump out an area of memory in
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.

24 years agoReplaced config_FADS860T.h with the one provided by Christian Vejlbo.
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.

24 years agoAdd in the multiplication factor (MF) setting for the PLPRCR so we can
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.

24 years agoFix the CLKRT setting for the FADS board. Specifically for the FADS850SAR,
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.

24 years agoInstead of hardcoding the address for the .ppcenv section,
hydra [Wed, 4 Oct 2000 14:44:08 +0000 (14:44 +0000)]
Instead of hardcoding the address for the .ppcenv section,
just align it to the next 256KB boundary.

24 years agoUse just 1 flash sector for environment on the ETX094 boards.
wdenk [Tue, 3 Oct 2000 17:41:34 +0000 (17:41 +0000)]
Use just 1 flash sector for environment on the ETX094 boards.

Fix BR0 reset handling for older CPU mask revisions: Clear everything
except Port Size bits, then add just the "Bank Valid" bit

24 years agoEliminated asc_to_hex() - replaced by simple_strtoul()
wdenk [Tue, 3 Oct 2000 11:29:36 +0000 (11:29 +0000)]
Eliminated asc_to_hex() - replaced by simple_strtoul()

24 years agoBug fixes:
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

24 years agoAdded code for IBM PPC401/403/405GP
wdenk [Sun, 1 Oct 2000 21:47:07 +0000 (21:47 +0000)]
Added code for IBM PPC401/403/405GP
(contributed by Stefan Roese)

24 years agoAdd missing files.
wdenk [Sun, 1 Oct 2000 21:22:53 +0000 (21:22 +0000)]
Add missing files.

24 years ago*** empty log message ***
wdenk [Sun, 1 Oct 2000 19:52:38 +0000 (19:52 +0000)]
*** empty log message ***

24 years ago* Added Network support; allows:
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

25 years agoPreliminary FADS support.
hydra [Thu, 14 Sep 2000 11:13:50 +0000 (11:13 +0000)]
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.