RedBoot uses
the COM1 and COM2 serial ports (and the debug port on the
motherboard).
The default serial port settings are 38400,8,N,1.
Ethernet is also supported using a D-Link DFE-530TX PCI plugin
card. Management of onboard flash is also supported.
The following RedBoot configurations are supported:
Configuration
Mode
Description
File
ROM
[ROM]
RedBoot running from the board's flash boot
sector.
redboot_ROM.ecm
RAM
[RAM]
RedBoot running from RAM with RedBoot in the
flash boot sector.
A ROM mode RedBoot image must be programmed
into the two EPROMs. Two files with a split version of the ROM mode
image is
provided: it is also possible to recreate these from the
redboot.bin
file, but requires the split_word.c program in
hal/sh/hs7729pci/VERSION/misc
to be built and executed with the redboot.bin
filename as sole argument.
After doing this it is advised that another ROM mode image of
RedBoot is programmed into the on-board flash, and that copy be used
for booting the board. This allows for software programmed updates of
RedBoot instead of having to reprogram the EPROMs.
Program the EPROMs with RedBoot. The .lo image should
go in socket M1 and the .hi image in socket M2.
Set switch SW1-6 to ON [boot from EPROM]
Follow the instructions under Flash management for
updating the flash copy of RedBoot, but force the flash destination
address with
-f 0x80400000
due to setting of
the SW1-6 switch.
Set switch SW1-6 to OFF [boot from flash] and reboot the board. You
should now see the RedBoot banner. At this time you may want to issue
the command fis init to initialize
the flash table with the correct addresses.
Parameter block address. This is normally the first
page of the kernel image and defaults to 0x8c101000
-i <addr>
Start address of initrd
image
-j <size>
Size of initrd image
-c "args"
Kernel arguments string
-m <flags>
Mount rdonly flags. If set to a non-zero value the
root partition will be mounted read-only.
-f <flags>
RAM disk flags. Should normally be 0x4000
-r <device number>
Root device specification. /dev/ram is 0x0101
-l <type>
Loader type
Finally the kernel entry address can be specified as an optional
argument. The default is 0x8c102000
On the HS7729PCI, Linux expects to be loaded at address 0x8c101000 with
the entry point at 0x8c102000. This is configurable in the kernel
using the CONFIG_MEMORY_START option.