The Concurrent VP32x/02x VME CPUs boot via PXE.
To get this working you have to enable booting via PXE in the BIOS of the CPU.
Additionally, one should enable the Serial-Console for the BIOS, to enable remote control.
Syslinux
The one needs
SYSLINUX, available at
http://syslinux.zytor.com/index.php
Download the tar-ball at:
http://www.kernel.org/pub/linux/utils/boot/syslinux/
The tftpserver has to support the tsize command. The standard tftpd on Debian does not! tftpd-hpa does!
Unpack and put the
pxelinux.0 in your tftp-directory.
Then make a new directory:
pxelinux.cfg
This should look like this:
lxhadesdaq:/tftpboot# ls -R /tftpboot/
/tftpboot/:
pxelinux.0 pxelinux.cfg
/tftpboot/pxelinux.cfg:
8CB54E8A default display.msg memtest.bin vmlinuz-2.6.8-1-686-smp
8CB54E8A is the config file for the Ethernet-address, it (or default) looks like this:
## lxhadesdaq.gsi.de A 140.181.75.158
##
serial 0 115200 0x003
default linux5
timeout 10
prompt 1
display display.msg
label linux
kernel vmlinuz_2.6.12.2_2005_07_14
append root=/dev/nfs rw ip=dhcp mem=400M console=ttyS0,115200
label linux5
kernel vmlinuz_2.6.12.2_2005_07_20cct
append root=/dev/nfs rw ip=dhcp mem=400M console=ttyS0,115200
dhcpserver
The dhcp-server config has the following important settings:
option domain-name "gsi.de";
option domain-name-servers lxdns1.gsi.de, lxdns2.gsi.de;
option subnet-mask 255.255.192.0;
option broadcast-address 140.181.127.255;
option routers 140.181.96.1;
...
...
<
host hadc01 {
hardware ethernet 00:40:9E:00:85:04;
fixed-address hadc01.gsi.de;
server-name "lxhadesdaq.gsi.de";
%RED%
next-server lxhadesdaq.gsi.de;
#### this option is needed for new dhcp-servers
%ENDCOLOR
filename "pxelinux.0";
option root-path "/var/diskless/linuxvme/hadc01";
}
kernel
compiling is done on lxhadesdaq with:
make menuconfig
make
INSTALL_MOD_PATH=xxxxx make modules_install
Remove all unnecessary stuff from the config.
- Enable IP autoconfiguration in
- Location
- │ -> Device Drivers -> Networking support -> Networking support (NET [=y]) -> Networking options -> TCP/IP networking (INET [=y])
- After that enable Root over NFS in the Filesystems->NetworkFilesystems part
The standard kernel-.config did not work. The insmod vmedriver.ko always failed with:
"Jul 19 14:27:48 hadc01 kernel: Failed to re-map Universe device to Kernel space"
What helped was to use the .config from
ConcurrentTechnologies. It is attached.
VME-driver
can be found in:
hadaq@lxhadesdaq:/var/diskless/linuxvme/home/hadaq/soft/cct_1.23.01
Probelms
- Multiprocess is not working with the Sharc Boards
- I assume that VME-mapping is either not working over large spaces (0x1000000) or, that PCI-maps should not be allowed to overlap. The MU-programming does not work if PCI-mapping is very large
- the kernel needs the mem=xxxM append statement. Otherwise the insmode vmedriver resMemSize=32MB doesn't work!
--
MichaelTraxler - 14 Jul 2005