-- Attention! Please read carefully before you decide to use this guide --

  • For development on a SCU which is located outside of GSI currently there is no solution available which is supported by IN
  • Debian is not supported by IN ! It will react in a different way and is not binary compartible. So first do your development on asl cluster and only port it to Debian later. Be aware that the timing behavior will be different!
  • There is as well the possibility to use IN.DosPendrive in combination with a CentOS Laptop for external development. However due to a lack of manpower, as well Laptops cannot be supported by IN. You have to install and maintain the OS and all required tools on your own
  • In the past there was a proposal by IN to maintain an official SCU image with runs developer tools, however so far this proposal was not agreed on by staff.

Instruction to create Debian Live USB-Stick which boots SCU from USB.

  • featuring etherbone, saftlib, pcie kernel driver, fesl, silecs, ...
  • Attention, this stick will only boot a ramdisk from an image. It's not possible to modify the filesystem. If that should be required, check this wikipage.

Originally from Stefan Rauch. See here: https://www-acc.gsi.de/wiki/Hardware/Intern/CreateBootImagewithDebian

  • Attention: Currently network interface does not come up --> Debug! See " For network card troubleshooting"

http://willhaley.com/blog/create-a-custom-debian-stretch-live-environment-ubuntu-17-zesty/

  • --arch=amd64
  • http://ftp.de.debian.org/debian/
  • Kernel: 4.9.0-4-rt-amd64
  • Detect name of USB-Flash: 1. Pkug it in 2. dmesg --- last plugged in will be listed on the bottom
  • Format FAT32: mkdosfs -F 32 -I /dev/sdz1
  • rm image/live/filesystem.squashfs before recreation
  • timeout 50 in isolinux.cfg for faster boot

... add some editor everybody can use
apt-get install nano

Set local to "en_US.UTF-8"
dpkg-reconfigure locales

// Follow the common instructions for creating a debian stick: https://www-acc.gsi.de/wiki/Frontend/CreateDebianUSBStickCommon

For network card troubleshooting

  • Possibly required to modify /etc/network/interfaces ( renaming of network-interface during SCU boot ... see e.g. dmesg | grep network )
  • You will need to build the image multiple times for debugging this !
apt-get install iputils-ping net-tools pciutils lshw ifupdown less

Topic attachments
I Attachment Action Size Date Who Comment
0001-wishbone-changes-for-kernel-3.19.patchpatch 0001-wishbone-changes-for-kernel-3.19.patch manage 4 K 05 Dec 2017 - 08:10 AlexanderSchwinn Wishbone patch for 4.9 Kernel
This topic: Frontend > CreateDebianLiveUSBStick
Topic revision: 17 Jan 2018, AlexanderSchwinn
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback