From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <199610290402.XAA01082@alpha0.estabrook.org> Date: 29 Oct 1996 10:01:27 -0000 From: Eric Smith Subject: UDB flash and failsafe loader experiments Now that DEC has made the Multia/UDB Failsafe Loader and Firmware Update disk images available: ftp://ftp.digital.com/pub/DEC/Alpha/firmware/interim/udb/ I decided to start experimenting with the Flash, with the goal of eventually running Milo from flash (as is commonly done on some other platforms). The UDB has three Intel 28F020 flash chips, each of which store 256 Kbytes. The SRM console firmware normally occupies the first two chips, and the ARC console normally occupies the third. The SRM console knows the three chips as the files rom0flash, rom1flash, and rom2flash. It also knows the first two together as roms01flash, the last two together as roms12flash, and all three together as roms012flash. And srmflash and arcflash may be used in place of roms01flash and rom2flash (even if you rearrange the flash contents). >From the SRM console, I found that I could save the current flash contents to a formatted floppy (FAT filesystem) by giving these commands: >>>cat srmflash >fat:srm.exe/dva0 >>>cat arcflash >fat:arc.exe/dva0 I've always wondered why the UDB boots SRM first, then switches to ARC. So I experimented with swapping the order of the firmware by using the update command. After power cycling the UDB, it went directly into ARC. I surmise that the SROM code jumps to the first valid firmware image that it can find. Perhaps it even requires that the boot image resides at the start of flash; I didn't try wiping out rom0flash. However, you probably don't want to do this because there doesn't appear to be any way to get the ARC console to load and execute the SRM console. With this flash configuration if you tell ARC to set the default environment to Unix or VMS, it claims to do it. But when you try to reboot, you still get arc. I then tried the fail safe loader. By moving a jumper from W10 to W11 (in a VX42, for a VX40 move the jumper from W8 to W7), the system booted SRM from the fail safe loader disk. I was then able to restore my original flash contents by giving these commands: >>>update -path fat:srm.exe -target srmflash >>>update -path fat:arc.exe -target arcflash And everything was back to normal. Now that I am confident that I can reload the flash if I screw it up, I'm going to try to get Milo and FMU to use it. Cheers, Eric -- To unsubscribe: mail -s unsubscribe axp-list-request@redhat.com < /dev/null