Company : Applied Data Systems, Inc. http://www.applieddata.net Author : Robert Whaley Date : Mar 26, 2007 Version: 4.20 PXA DIP SWITCH (S1) Setting : 1: If On, allows flash and mac address to be updated 2: If On, suppresses all output on debug port (COM3) Normally switch 1 is on and switch 2 is off Signal files: If these signal files are present on an PCMCIA or CompactFlash Card in the board the following actions are taken: GotoBootROMMenu.ads! menu mode entered, board does not boot linux. SetMACAddress.ads! Changes for MAC address before proceeding (see note below). ProgramFlash.ads! zImage and ramdisk.gz are burned to flash (see note below). ProgramADSBootROM.ads! adslinux.rom is burned to the boot rom sector of flash (only if board boots from flash). DontBootFromPCMCIA.ads! does not attempt to boot from PCMCIA or Compact Flash When programming boards in manufacturing, the following files will normally be present on the PCMCIA card: zImage ramdisk.gz SetMACAddress.ads! ProgramFlash.ads! ProgramADSBootROM.ads! Notes: (1) The ethernet chip does not reload the mac address until reset, so the mac address displayed by linux on boot will be the old mac address unless the board has been reset. (2) In addition to zImage, and ramdisk.gz, other files may be burned into flash with this bootloader. Instructions will be provided with the configuration if this is the case. Revision 4.20 PXA Allow 64M J3D "stacked" chips to work with the bootloader. 4.19 PXA Allow P30B Flash chips to reprogram the bootloader. Fixed bug that avoids mtd parsing of incorrect kernel cmdline. Fixed PCMCIA/CF initialization problem that occured when more than one card inserted. 4.18 PXA Support for P30 Flash chips Support for 128M VGX boards Support for 128M AGX boards (untested) When programming flash if file exceeds flash partition size display error and abort Minor improvements to memory test failure messages 4.17 PXA Support for K3 Flash chips (with reset lock bug fix and using only CS0) Support for 256M AGX boards (untested) Add default command line option SERIALGETTY=ttyS1 for bitsyX using BT UART Use faster MSC setting for SM501 (improves bandwidth by 50%) Retry only 10 times to set the CPU voltage (instead of retrying forever!) 4.16.vgx3 PXA Support for 256M VGX boards 4.16.vgx2 PXA Change initial setting of GPIOs 27 to not be alternate function Change initial setting of GPIOs 81, 82, and 83 to output high 4.16.vgx1 PXA Change polarity of GPIO79 for revB VGX boards. Note this release also works with lower rev VGX boards. 4.16 PXA Update initial VGX register settings Fix PCMCIA to test VGX PCMCIA card polarity correctly Fix bug that displays wrong value when memory test fails 4.15 PXA Use PSPR register to pass UART address that matches the console (allows 'uncompressing...' message to appear on correct tty). Update GPIO setting for MMC Add delay after DRAM setup to allow GCX to reboot (with out this it hangs). 4.14 PXA Support for Bitsy BT (bluetooth) connector board. Change GPIO settings for MMC 4.13 PXA Fix code that was supposed to strip \n, \r, \t from end of cmdline.txt Add delay after raising voltage when waking from sleep. The VGX board was having a problem waking without this delay. 4.12 PXA Fix incorrect default mtd partitions bug intoduced in 4.11 Fix incorrect parsing of initrd= ramdisk_size= 4.11 PXA Increase default zImage and ramdisk mtd partitions Change mtd partitions to default writable (bootloader, zImage, and ramdisk were all readonly). Remove dependence on mtd partition size on zImage and ramdisk loaded from CF. Changes to VGX initial GPIO settings 4.10 PXA Support for GCX Correct GPIO directions for serial port modem control Improve VGX PCMCIA and CF power control 4.9 PXA Support for VGX Support for BitsyX with no power to CF Bitsyx PCMCIA and CF power off upon Power on Improved ATA compatibility Reserved Sectors recognized Better discrimiation between FAT12 and FAT16 4.8 PXA Support for Rev C BitsyX (with new PCMCIA power scheme) Improved ATA Improved Messages 4.7 PXA More reliable PCMCIA and CF interface. Supports Hitachi Microdrive (CF form factor hard drive). Added support for "pxa" keyword in mtd command line. 4.6 PXA Improved initial register settings Fix problem where only 32M of DRAM was used even though 64M was present 4.5 PXA Improved PCMCIA initialization Backlight turned off during boot (AGX only) More complete initialization of GPIO registers Improved static memory register settings Reverse use FFUART for debug port and default console (AGX only) Set CPU speed to 400Mhz for boot and wakeup Set voltage to 1.3 V for boot and wakeup Make quiet mode work for bootloader 4.4 PXA - not released Support for BitsyX and AGX (PXA processors). Added check for buffer overflow for PCMCIA CIS tuple data 4.3 Update to support new AGC CPLD version. Update to support for 3.3V PCMCIA cards (before always applied 5V). Support quiet_console= command line parameter for cmdline.txt files. Add new machine ids for AGC (285) and Bitsy+ (284). 4.2 Update to fix longstanding problem with some FAT16 ATA cards that claim to be FAT12 Update to removed size limitations on burning large flash partitions from ATA cards 4.1 To allow 8bit and 16bit register settings (necessary for epson FB initialization). 4.0 New version for all platforms 2.3 AGC version 2.2 GC+ version 2.13 Update to meet McKesson's requirements 1. Checks PCMCIA, Compact Flash for zImage and ramdisk.gz before attempting to boot. 2.12 Developed to McKesson's requirements 1. Supports 3M or 8M ramdisk on-board flash partitions (compile switch) 2. Checks switch 4 - turns off output. Sends "console=ttySA0" as kernel command line when 4 is off. Sends "quiet console=tty2" when 4 is on. 3. Turns off backlight (so screen doesn't look bad during boot process) 4. Boots from PCMCIA, Compact Flash, or on-board flash switchs 1&3 2.11 1. for 64Mbyte DRAM *NOTE* It works on 32MByte DRAM too. We can use this ROM for both 32MByte DRAM and 64MByte DRAM 2.10 1. It checks DRAM Data & Address bus lines when bootup. 2. It checks DRAM size. 3. Fix OnBoard Flash Reset Problem Reset button doesn't reset OnBoard Flash. So, bootROM sets OnBoard Flash to READ ARRAY mode 4. Fix Compact Flash Slot Problem If there is card on CF slot, GMaster may hang or do undefined instruction. 5. Set GPIO 15, 17 & 19 (RTS lines for SA1110 UART 1, 2, & 3) to High 6. Use LEDs During erasing or writing to OnBoard Flash, Amber LED lights on. Otherwise, Green and Red LEDs are on. 7. Fix setting Mac address through menu on bootROM. 8. Delete unimplemented menus. 2.00 1. First release of GMaster bootROM