Patchwork Add support for Traverse Technologies Geos mainboard

login
register
about
Submitter Nathan Williams
Date 2010-05-20 01:23:41
Message ID <4BF48F1D.6070203@traverse.com.au>
Download mbox | patch
Permalink /patch/1361/
State Accepted
Headers show

Comments

Nathan Williams - 2010-05-20 01:23:41
This board is similar to the AMD Norwich mainboard.

Signed-off-by: Nathan Williams <nathan@traverse.com.au>
Nathan Williams - 2010-05-20 05:04:01
On 20/05/2010 11:23 AM, Nathan Williams wrote:
> This board is similar to the AMD Norwich mainboard.
> 
> Signed-off-by: Nathan Williams <nathan@traverse.com.au>
> 

Currently I'm having 4 issues with coreboot-v4 on this board:

1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."

If I hit reboot, SeaBIOS completes:

Press F12 for boot menu.

Mapping hd drive 0x000fdc20 to 0
finalize PMM
malloc finalize
...

Once Linux has booted, successive reboots work fine.  It's only the initial power-on
that I seem to have trouble with.

I have tried going back as far as Rev 4976 (and patching in Edwin's RAM fixes), but it seems
this issue is still there.


2. Minor issue with valid_area() in src/boot/selfboot.c

I have a temporary workaround for this one where I simply return 1 and skip the test that would otherwise fail.


3. Rev 5476 introduces a test for CS5536, which is failing

Peter Stuge has been helping me on IRC to investigate this issue.  We think the key is that for some reason all_devices is 0.


4. Rev 5543 crashes after "Calling VSA module..."

http://coreboot.pastebin.com/jHxZBYZF

Calling VSA module...
oprom: INT# 0xd
oprom: eax: 10ffdf00 ebx: 80007800 ecx: 00000000 edx: 25fffc02
oprom: ebp: 00010ff4 esp: 00000fec edi: 00000000 esi: 00002080
oprom:  ip: 0647      cs: 6000   flags: 00000013
Oops, exception 13 while executing option rom
oprom: INT# 0xd
oprom: eax: 10ffdf00 ebx: 80007800 ecx: 00000000 edx: 25fffc02
oprom: ebp: 00010ff4 esp: 00000fec edi: 00000000 esi: 00002080
oprom:  ip: 0647      cs: 6000   flags: 00000013
...

Ignoring issue 1., I can successfully boot Linux from coreboot r5564 if I reverse r5476 and r5543.
If I only reverse r5543, Linux fails to boot because of an issue with my IDE: http://coreboot.pastebin.com/SGsRxdka

Any ideas/suggestions would be greatly appreciated.

Regards,
Nathan
ron minnich - 2010-05-20 05:53:47
On Wed, May 19, 2010 at 6:23 PM, Nathan Williams <nathan@traverse.com.au> wrote:
> This board is similar to the AMD Norwich mainboard.
>
> Signed-off-by: Nathan Williams <nathan@traverse.com.au>
>
> --
> coreboot mailing list: coreboot@coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>

Acked-by: Ronald G. Minnich <rminnich@gmail.com>
Nathan Williams - 2010-05-20 05:56:20
On 20/05/2010 3:04 PM, Nathan Williams wrote:
> 
> 2. Minor issue with valid_area() in src/boot/selfboot.c
> 
> I have a temporary workaround for this one where I simply return 1 and skip the test that would otherwise fail.
> 

I've just realised that this one has been fixed recently, so I don't need my workaround patch any more.
Nathan Williams - 2010-05-20 07:49:21
On 20/05/2010 3:04 PM, Nathan Williams wrote:
> 1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."
...
> 3. Rev 5476 introduces a test for CS5536, which is failing
> 
> Peter Stuge has been helping me on IRC to investigate this issue.  We think the key is that for some reason all_devices is 0.
> 
> 
> 4. Rev 5543 crashes after "Calling VSA module..."

I've done some testing with an Alix.1D and can reproduce issues 3. and 4. but for some reason I can't reproduce 1. on the Alix.

Regards,
Nathan
Kevin O'Connor - 2010-05-20 12:56:09
On Thu, May 20, 2010 at 03:04:01PM +1000, Nathan Williams wrote:
> On 20/05/2010 11:23 AM, Nathan Williams wrote:
> > This board is similar to the AMD Norwich mainboard.
> > 
> > Signed-off-by: Nathan Williams <nathan@traverse.com.au>
> > 
> 
> Currently I'm having 4 issues with coreboot-v4 on this board:
> 
> 1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."

Can you post the full log?  An error in "Press F12" is likely a
problem with the RTC.

-Kevin
Nathan Williams - 2010-05-21 00:47:57
On 20/05/2010 10:56 PM, Kevin O'Connor wrote:
> On Thu, May 20, 2010 at 03:04:01PM +1000, Nathan Williams wrote:
>> On 20/05/2010 11:23 AM, Nathan Williams wrote:
>>> This board is similar to the AMD Norwich mainboard.
>>>
>>> Signed-off-by: Nathan Williams <nathan@traverse.com.au>
>>>
>>
>> Currently I'm having 4 issues with coreboot-v4 on this board:
>>
>> 1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."
> 
> Can you post the full log?  An error in "Press F12" is likely a
> problem with the RTC.
> 
> -Kevin

http://coreboot.pastebin.com/nGUhXN40

Nathan
Nathan Williams - 2010-05-21 08:26:04
On 20/05/2010 10:56 PM, Kevin O'Connor wrote:
> On Thu, May 20, 2010 at 03:04:01PM +1000, Nathan Williams wrote:
>> On 20/05/2010 11:23 AM, Nathan Williams wrote:
>>> This board is similar to the AMD Norwich mainboard.
>>>
>>> Signed-off-by: Nathan Williams <nathan@traverse.com.au>
>>>
>>
>> Currently I'm having 4 issues with coreboot-v4 on this board:
>>
>> 1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."
> 
> Can you post the full log?  An error in "Press F12" is likely a
> problem with the RTC.
> 
> -Kevin

Ah.. It works if I have the CMOS battery in.

Thanks Kevin.
Kevin O'Connor - 2010-05-23 20:40:35
On Fri, May 21, 2010 at 06:26:04PM +1000, Nathan Williams wrote:
> On 20/05/2010 10:56 PM, Kevin O'Connor wrote:
> > On Thu, May 20, 2010 at 03:04:01PM +1000, Nathan Williams wrote:
> >> Currently I'm having 4 issues with coreboot-v4 on this board:
> >>
> >> 1.  On initial power-on, SeaBIOS doesn't get past "Press F12 for boot menu."
> > Can you post the full log?  An error in "Press F12" is likely a
> > problem with the RTC.
> 
> Ah.. It works if I have the CMOS battery in.

That's odd.  I don't know why a reboot would fix the RTC if it didn't
work the first boot.  Interestingly, some time back Stefan reported a
board which could only get past "Press F12" on the first boot.

I put together a patch to remove the dependency on the RTC periodic
irq for the boot menu.  (See:
http://www.seabios.org/pipermail/seabios/2010-May/000541.html ).  I
hope to check this into the SeaBIOS git repo in the next few days.

This should make SeaBIOS more robust even with these hardware errors.
(The bootloader/OS may still fail, but it should get past the SeaBIOS
init.)

-Kevin

Patch

Index: src/mainboard/Kconfig
===================================================================
--- src/mainboard/Kconfig	(revision 5573)
+++ src/mainboard/Kconfig	(working copy)
@@ -96,6 +96,8 @@ 
 	bool "TeleVideo"
 config VENDOR_THOMSON
 	bool "Thomson"
+config VENDOR_TRAVERSE
+	bool "Traverse Technologies"
 config VENDOR_TYAN
 	bool "Tyan"
 config VENDOR_VIA
@@ -359,6 +361,11 @@ 
 
 config MAINBOARD_VENDOR
 	string
+	default "Traverse Technologies"
+	depends on VENDOR_TRAVERSE
+
+config MAINBOARD_VENDOR
+	string
 	default "Tyan"
 	depends on VENDOR_TYAN
 
@@ -438,6 +445,7 @@ 
 source "src/mainboard/technologic/Kconfig"
 source "src/mainboard/televideo/Kconfig"
 source "src/mainboard/thomson/Kconfig"
+source "src/mainboard/traverse/Kconfig"
 source "src/mainboard/tyan/Kconfig"
 source "src/mainboard/via/Kconfig"
 source "src/mainboard/winent/Kconfig"
Index: src/mainboard/traverse/Kconfig
===================================================================
--- src/mainboard/traverse/Kconfig	(revision 0)
+++ src/mainboard/traverse/Kconfig	(revision 0)
@@ -0,0 +1,7 @@ 
+choice
+	prompt "Mainboard model"
+	depends on VENDOR_TRAVERSE
+
+source "src/mainboard/traverse/geos/Kconfig"
+
+endchoice
Index: src/mainboard/traverse/geos/Kconfig
===================================================================
--- src/mainboard/traverse/geos/Kconfig	(revision 0)
+++ src/mainboard/traverse/geos/Kconfig	(revision 0)
@@ -0,0 +1,37 @@ 
+config BOARD_TRAVERSE_GEOS
+	bool "Geos"
+	select ARCH_X86
+	select CPU_AMD_LX
+	select NORTHBRIDGE_AMD_LX
+	select SOUTHBRIDGE_AMD_CS5536
+	select HAVE_PIRQ_TABLE
+	select PIRQ_ROUTE
+	select UDELAY_TSC
+	select USE_DCACHE_RAM
+	select USE_PRINTK_IN_CAR
+	select BOARD_ROMSIZE_KB_1024
+
+config MAINBOARD_DIR
+	string
+	default traverse/geos
+	depends on BOARD_TRAVERSE_GEOS
+
+config MAINBOARD_PART_NUMBER
+	string
+	default "Geos"
+	depends on BOARD_TRAVERSE_GEOS
+
+config HAVE_OPTION_TABLE
+	bool
+	default n
+	depends on BOARD_TRAVERSE_GEOS
+
+config IRQ_SLOT_COUNT
+	int
+	default 6
+	depends on BOARD_TRAVERSE_GEOS
+
+config RAMBASE
+	hex
+	default 0x4000
+	depends on BOARD_TRAVERSE_GEOS
Index: src/mainboard/traverse/geos/devicetree.cb
===================================================================
--- src/mainboard/traverse/geos/devicetree.cb	(revision 0)
+++ src/mainboard/traverse/geos/devicetree.cb	(revision 0)
@@ -0,0 +1,40 @@ 
+chip northbridge/amd/lx
+	device pci_domain 0 on
+		device pci 1.0 on end	# Northbridge
+		device pci 1.1 on end	# Graphics
+		chip southbridge/amd/cs5536
+			# IRQ 12 and 1 unmasked,  Keyboard and Mouse IRQs. OK
+			# SIRQ Mode = Active(Quiet) mode. Save power....
+			# Invert mask = IRQ 12 and 1 are active high. Keyboard and Mouse IRQs. OK
+			register "lpc_serirq_enable" = "0x00001002"
+			register "lpc_serirq_polarity" = "0x0000EFFD"
+			register "lpc_serirq_mode" = "1"
+			register "enable_gpio_int_route" = "0x0D0C0700"
+			register "enable_ide_nand_flash" = "0" # 0:ide mode, 1:flash
+			register "enable_USBP4_device" = "0"	#0: host, 1:device
+			register "enable_USBP4_overcurrent" = "0" #0:off, xxxx:overcurrent setting CS5536 Data Book (pages 380-381)
+			register "com1_enable" = "1"
+			register "com1_address" = "0x3F8"
+			register "com1_irq" = "4"
+			register "com2_enable" = "0"
+			register "com2_address" = "0x2F8"
+			register "com2_irq" = "3"
+			register "unwanted_vpci[0]" = "0"	# End of list has a zero
+			device pci a.0 on end	# Ethernet 0
+			device pci b.0 on end	# Ethernet 1
+			device pci c.0 on end	# Xilinx
+			device pci d.0 on end	# Mini PCI
+			device pci f.0 on end	# ISA Bridge
+			device pci f.2 on end	# IDE Controller
+			device pci f.3 on end	# Audio
+			device pci f.4 on end	# OHCI
+			device pci f.5 on end	# EHCI
+		end
+	end
+	# APIC cluster is late CPU init.
+	device lapic_cluster 0 on
+		chip cpu/amd/model_lx
+			device lapic 0 on end
+		end
+	end
+end
Index: src/mainboard/traverse/geos/romstage.c
===================================================================
--- src/mainboard/traverse/geos/romstage.c	(revision 0)
+++ src/mainboard/traverse/geos/romstage.c	(revision 0)
@@ -0,0 +1,100 @@ 
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 Advanced Micro Devices, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+#include <stdint.h>
+#include <device/pci_def.h>
+#include <arch/io.h>
+#include <device/pnp_def.h>
+#include <arch/hlt.h>
+#include <console/console.h>
+#include "lib/ramtest.c"
+#include "cpu/x86/bist.h"
+#include "cpu/x86/msr.h"
+#include <cpu/amd/lxdef.h>
+#include <cpu/amd/geode_post_code.h>
+#include "southbridge/amd/cs5536/cs5536.h"
+
+#include "southbridge/amd/cs5536/cs5536_early_smbus.c"
+#include "southbridge/amd/cs5536/cs5536_early_setup.c"
+
+static inline int spd_read_byte(unsigned int device, unsigned int address)
+{
+	return smbus_read_byte(device, address);
+}
+
+#define ManualConf 1		/* Do automatic strapped PLL config */
+#define PLLMSRhi 0x0000059C	/* manual settings for the PLL */
+#define PLLMSRlo 0x00DE602E
+#define DIMM0 0xA0
+#define DIMM1 0xA2
+
+#include "northbridge/amd/lx/raminit.h"
+#include "northbridge/amd/lx/pll_reset.c"
+#include "northbridge/amd/lx/raminit.c"
+#include "lib/generic_sdram.c"
+#include "cpu/amd/model_lx/cpureginit.c"
+#include "cpu/amd/model_lx/syspreinit.c"
+#include "cpu/amd/model_lx/msrinit.c"
+
+static void mb_gpio_init(void)
+{
+	/* Early mainboard specific GPIO setup. */
+}
+
+void main(unsigned long bist)
+{
+	post_code(0x01);
+
+	static const struct mem_controller memctrl[] = {
+		{.channel0 = {(0xa << 3) | 0, (0xa << 3) | 1}}
+	};
+
+	SystemPreInit();
+	msr_init();
+
+	cs5536_early_setup();
+
+	/* Note: must do this AFTER the early_setup! It is counting on some
+	 * early MSR setup for CS5536.
+	 */
+	/* cs5536_disable_internal_uart: disable them for now, set them
+	 * up later...
+	 */
+	/* If debug. real setup done in chipset init via Config.lb. */
+	cs5536_setup_onchipuart(1);
+	mb_gpio_init();
+	uart_init();
+	console_init();
+
+	/* Halt if there was a built in self test failure */
+	report_bist_failure(bist);
+
+	pll_reset(ManualConf);
+
+	cpuRegInit();
+
+	sdram_initialize(1, memctrl);
+
+	/* Check memory. */
+	/* ram_check(0x00000000, 640 * 1024); */
+
+	/* Memory is setup. Return to cache_as_ram.inc and continue to boot. */
+	return;
+}
Index: src/mainboard/traverse/geos/irq_tables.c
===================================================================
--- src/mainboard/traverse/geos/irq_tables.c	(revision 0)
+++ src/mainboard/traverse/geos/irq_tables.c	(revision 0)
@@ -0,0 +1,71 @@ 
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 Advanced Micro Devices, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+#include <arch/pirq_routing.h>
+#include <console/console.h>
+#include <arch/io.h>
+#include <arch/pirq_routing.h>
+#include "../../../southbridge/amd/cs5536/cs5536.h"
+
+/* Platform IRQs */
+#define PIRQA 11
+#define PIRQB 10
+#define PIRQC 11
+#define PIRQD 9
+
+/* Map */
+#define M_PIRQA (1 << PIRQA)	/* Bitmap of supported IRQs */
+#define M_PIRQB (1 << PIRQB)	/* Bitmap of supported IRQs */
+#define M_PIRQC (1 << PIRQC)	/* Bitmap of supported IRQs */
+#define M_PIRQD (1 << PIRQD)	/* Bitmap of supported IRQs */
+
+/* Link */
+#define L_PIRQA	 1		/* Means Slot INTx# Connects To Chipset INTA# */
+#define L_PIRQB	 2		/* Means Slot INTx# Connects To Chipset INTB# */
+#define L_PIRQC	 3		/* Means Slot INTx# Connects To Chipset INTC# */
+#define L_PIRQD	 4		/* Means Slot INTx# Connects To Chipset INTD# */
+
+const struct irq_routing_table intel_irq_routing_table = {
+	PIRQ_SIGNATURE,		/* u32 signature */
+	PIRQ_VERSION,		/* u16 version   */
+	32 + 16 * CONFIG_IRQ_SLOT_COUNT,	/* there can be total CONFIG_IRQ_SLOT_COUNT devices on the bus */
+	0x00,			/* Where the interrupt router lies (bus) */
+	(0x0F << 3) | 0x0,	/* Where the interrupt router lies (dev) */
+	0x00,			/* IRQs devoted exclusively to PCI usage */
+	0x100B,			/* Vendor */
+	0x002B,			/* Device */
+	0,			/* Crap (miniport) */
+	{0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},	/* u8 rfu[11] */
+	0x00,			/*      u8 checksum , this has to set to some value that would give 0 after the sum of all bytes for this structure (including checksum) */
+	{
+	 /* If you change the number of entries, change the CONFIG_IRQ_SLOT_COUNT above! */
+	 /* bus, dev|fn,           {link, bitmap},      {link, bitmap},     {link, bitmap},     {link, bitmap},     slot, rfu */
+	 {0x00, (0x01 << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0},	/* cpu */
+	 {0x00, (0x0A << 3) | 0x0, {{L_PIRQB, M_PIRQB}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* eth0 */
+	 {0x00, (0x0B << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x0, 0x0}, /* eth1 */
+	 {0x00, (0x0C << 3) | 0x0, {{L_PIRQD, M_PIRQD}, {0x00, 0x00}, {0x00, 0x00}, {0x00, 0x00}}, 0x2, 0x0}, /* xilinx */
+	 {0x00, (0x0D << 3) | 0x0, {{L_PIRQD, M_PIRQD}, {L_PIRQC, M_PIRQC}, {0x00, 0x00}, {0x00, 0x00}}, 0x1, 0x0}, /* mini PCI */
+	 {0x00, (0x0F << 3) | 0x0, {{L_PIRQA, M_PIRQA}, {L_PIRQB, M_PIRQB}, {L_PIRQC, M_PIRQC}, {L_PIRQD, M_PIRQD}}, 0x0, 0x0},	/* chipset */
+	}
+};
+
+unsigned long write_pirq_routing_table(unsigned long addr)
+{
+	return copy_pirq_routing_table(addr);
+}
Index: src/mainboard/traverse/geos/chip.h
===================================================================
--- src/mainboard/traverse/geos/chip.h	(revision 0)
+++ src/mainboard/traverse/geos/chip.h	(revision 0)
@@ -0,0 +1,25 @@ 
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 Advanced Micro Devices, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+extern struct chip_operations mainboard_ops;
+
+struct mainboard_config {
+	int nothing;
+};
Index: src/mainboard/traverse/geos/mainboard.c
===================================================================
--- src/mainboard/traverse/geos/mainboard.c	(revision 0)
+++ src/mainboard/traverse/geos/mainboard.c	(revision 0)
@@ -0,0 +1,38 @@ 
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2007 Advanced Micro Devices, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ */
+
+#include <console/console.h>
+#include <device/device.h>
+#include "chip.h"
+
+static void init(struct device *dev)
+{
+	printk(BIOS_DEBUG, "Geos ENTER %s\n", __func__);
+	printk(BIOS_DEBUG, "Geos EXIT %s\n", __func__);
+}
+
+static void enable_dev(struct device *dev)
+{
+	dev->ops->init = init;
+}
+
+struct chip_operations mainboard_ops = {
+	CHIP_NAME("Traverse Technologies Geos Mainboard")
+	.enable_dev = enable_dev,
+};
Index: src/mainboard/traverse/geos/cmos.layout
===================================================================
--- src/mainboard/traverse/geos/cmos.layout	(revision 0)
+++ src/mainboard/traverse/geos/cmos.layout	(revision 0)
@@ -0,0 +1,75 @@ 
+entries
+
+#start-bit length  config config-ID    name
+#0            8       r       0        seconds
+#8            8       r       0        alarm_seconds
+#16           8       r       0        minutes
+#24           8       r       0        alarm_minutes
+#32           8       r       0        hours
+#40           8       r       0        alarm_hours
+#48           8       r       0        day_of_week
+#56           8       r       0        day_of_month
+#64           8       r       0        month
+#72           8       r       0        year
+#80           4       r       0        rate_select
+#84           3       r       0        REF_Clock
+#87           1       r       0        UIP
+#88           1       r       0        auto_switch_DST
+#89           1       r       0        24_hour_mode
+#90           1       r       0        binary_values_enable
+#91           1       r       0        square-wave_out_enable
+#92           1       r       0        update_finished_enable
+#93           1       r       0        alarm_interrupt_enable
+#94           1       r       0        periodic_interrupt_enable
+#95           1       r       0        disable_clock_updates
+#96         288       r       0        temporary_filler
+0          384       r       0        reserved_memory
+384          1       e       4        boot_option
+385          1       e       4        last_boot
+386          1       e       1        ECC_memory
+388          4       r       0        reboot_bits
+392          3       e       5        baud_rate
+400          1       e       1        power_on_after_fail
+412          4       e       6        debug_level
+416          4       e       7        boot_first
+420          4       e       7        boot_second
+424          4       e       7        boot_third
+428          4       h       0        boot_index
+432          8       h       0        boot_countdown
+440          1       e       0        dcon_present
+1008         16      h       0        check_sum
+
+enumerations
+
+#ID value   text
+1     0     Disable
+1     1     Enable
+2     0     Enable
+2     1     Disable
+4     0     Fallback
+4     1     Normal
+5     0     115200
+5     1     57600
+5     2     38400
+5     3     19200
+5     4     9600
+5     5     4800
+5     6     2400
+5     7     1200
+6     6     Notice
+6     7     Info
+6     8     Debug
+6     9     Spew
+7     0     Network
+7     1     HDD
+7     2     Floppy
+7     8     Fallback_Network
+7     9     Fallback_HDD
+7     10    Fallback_Floppy
+#7     3     ROM
+
+checksums
+
+checksum 392 1007 1008
+
+