PandABox-tst
Put SD card in reader attached to a PC
Obtain the latest boot-x.x.zip for the rootfs build files from https://github.com/PandABlocks/PandABlocks-rootfs/releases (In dls they are unzipped in
/dls_sw/work/targetOS/PandABox-sd-card
)Unzip/copy these files to a blank microSD card
Unmount SD card
Put the microSD card into the panda
Prepare a blank USB key with relevant z-packages, optional ssh keys, and panda-config.txt. ZPKG files and panda-config.txt can be downloaded from open hardware and GitHub (In dls they are cached in
/dls_sw/work/targetOS/PandABox-usb-stick
). You need:panda-fpga@PandABox-fmc_lback-sfp_lback-x.x.zpg
for the FPGA firmware from https://github.com/PandABlocks/PandABlocks-fpga/releasespanda-server@x.x.zpg
for the TCP server from https://github.com/PandABlocks/PandABlocks-server/releasespanda-webcontrol@x.x.zpg
for the web GUI from https://github.com/PandABlocks/PandABlocks-webcontrol/releasespanda-config.txt
for the fixed IP address for the test procedure from https://www.ohwr.org/project/pandabox/uploads/d791826d82328579cfe5683ef78803d8/panda-config.txtpandabox-hw__at__x.x.zpg
from https://www.ohwr.org/project/pandabox-hw/wikis/Documents/Hardware-User-Guide- optional authorized_keys file as described here: https://www.ssh.com/ssh/authorized_keys/
Unmount the USB key
Insert the USB key into the panda device
Make sure switches on the picoZ and carrier board are in the correct position. They should all be set to 1 (all ‘up’) as in the following picture
The JP26 Jumper is located near the USB port in the back left of the board on the USB circuit (see following picture). Make sure this is NOT connected. *If left connected it will cause the picozed to keep rebooting when a USB key is present
Insert the Control encoder boards (Yellow dot)
Insert the FMC loop back card
Connect the PandA unit to the serial port and open a serial terminal (screen) with the following command, then hit ‘Enter’
screen /dev/ttyS0 115200
*NOTE: to exit from screen use “CTRL + \ + a” and then “:” and write “quit” followed by rtnConnect the power cable and ethernet cable
Power on the panda and watch the output on the serial console
- If you are reinstalling packages on a previously set up panda, the MAC address stored in the /qspi directory on the Panda will be used and there will be no prompt to enter a new MAC.
The boot process takes a couple of minutes. When booted the front panel ERR LED will change to flashing red and there will be a prompt to enter the appropriate MAC address. This is case sensitive and should be entered in the following format: XX:XX:XX:XX:XX:XX
- If the MAC was entered incorrectly, or a mistake has been made, simply put some extra digits on the end (to give it an incorrect format) and hit Enter. This will cause the validation to fail and you will be prompted to enter it again.
When the LEDS change back to ERR (front panel): Flashing red, then it is booted and ready for software installation
panda login: root
password: PandA