HK TDM v2

Europe/Paris
    • 10:00 10:20
      Liste des points tests 20m
      Orateurs: Eric PIERRE ({CNRS}UMR7585), Eric Pierre (LPNHE)
    • 10:20 10:40
      Procedure test 20m
      Orateurs: Stefano Russo (LPNHE), stefano russo (LPNHE)
    • 10:40 11:00
    • 11:00 11:20
      MicroSD procedure 20m
      Orateurs: Mathieu Guigue (LPSC), Mathieu Guigue (LPNHE Sorbonne Université), Stefano Russo (LPNHE), stefano russo (LPNHE)

      There are different methods to boot linux on a Xilinx device and one of them is using an SD memory card where the boot files are written. The memory must be formatted in a specific way so that the FPGA can boot from it. Here are the instructions to perform this operation (all to be executed as root):

      • Insert the memory card
      • Check how is seen by the system: > ls /dev/ (could be /dev/sdb1 or similar; disk4s1 on mac)
      • Enter in fdisk > fdisk /dev/sdb
      • Press p to check the existing partitions
      • Press d to remove all the partitions
      • Press n to create a new partition
      • Select it as primary
      • Use the default start sector
      • Set the size between 512 MB and 2 GB using the command +2G (to set a size of 2GB)
      • Press a to set it as a bootable partition
      • Press n to create a second partition
      • Use the default start sector
      • Use the default end sector to get all the remaining space
      • Press w to write the modification on the SD card
      • Remove the SD card and reinsert it into the reader
      • Check that now linux sees 2 new devices using the command > ls /dev/ (it could be sdb1 and sdb2)
      • Format the first as FAT 32 called boot using the command >mkfs.vfat -F 32 -n boot /dev/sdb1
      • Format the first as ETX4 called root using the command >mkfs.ext4 -L root /dev/sdb2
      • Remove the SD and reinsert once again. Now Linux should mount two new devices.

      Done with lpnws5190

      Then copy the files into the partitions https://cernbox.cern.ch/index.php/s/bNYR9LgVA8cSeXu :

      • root partition: tar -xvf /path/to/uscale_debian11-2.tar.gz -C /path/to/root/
      • boot partition: BOOT.BIN and image.ub
      These instructions should be scripted so that we can do a full productions of such cards.

      https://wiki.trenz-electronic.de/display/PD/TEBF0808+Getting+Started

      Username: root

      Password: XXXX

    • 11:20 11:40
      Startup procedure 20m
      Orateurs: Stefano Russo (LPNHE), stefano russo (LPNHE)