|
##RFSoC4x2 Setup
|
|
## RFSoC4x2 Setup
|
|
You need to prepare an SD Card from which the rfsoc4x2 can boot Linux. The compressed image is hosted by BYU here https://casper.groups.et.byu.net/rfsoc4x2/rfsoc4x2_casper.img.tar.gz
|
|
You need to prepare an SD Card from which the rfsoc4x2 can boot Linux. The compressed image is hosted by BYU here https://casper.groups.et.byu.net/rfsoc4x2/rfsoc4x2_casper.img.tar.gz
|
|
|
|
|
|
The uncompressed image is 16GB so choose an appropriate sd card.
|
|
The uncompressed image is 16GB so choose an appropriate sd card.
|
... | @@ -15,7 +15,7 @@ Flash the sd card with the dd utility: |
... | @@ -15,7 +15,7 @@ Flash the sd card with the dd utility: |
|
|
|
|
|
Insert the sd card into the rfsoc4x2 and position the adjacent switch to 'SD' so the board knows to boot from the sd card.
|
|
Insert the sd card into the rfsoc4x2 and position the adjacent switch to 'SD' so the board knows to boot from the sd card.
|
|
|
|
|
|
#Getting the IP address of the rfsoc4x2
|
|
# Getting the IP address of the rfsoc4x2
|
|
If you know the ip address you can skip this step
|
|
If you know the ip address you can skip this step
|
|
With a micro-usb cable, establish a serial connection with the rfsoc4x2
|
|
With a micro-usb cable, establish a serial connection with the rfsoc4x2
|
|
Power on the board, the boot log should appear in the serial connection. After boot is complete, login with user: 'casper', password: 'casper'. Run
|
|
Power on the board, the boot log should appear in the serial connection. After boot is complete, login with user: 'casper', password: 'casper'. Run
|
... | @@ -26,7 +26,7 @@ and get the ip address of the board from the output. |
... | @@ -26,7 +26,7 @@ and get the ip address of the board from the output. |
|
|
|
|
|
Power off the rfsoc4x2. Connect it to a network over ethernet cable and power on the rfsoc4x2. Try to ssh into the rfsoc 4x2 with casper@<ip address> and password: 'casper'. If this works you can move on to the next step.
|
|
Power off the rfsoc4x2. Connect it to a network over ethernet cable and power on the rfsoc4x2. Try to ssh into the rfsoc 4x2 with casper@<ip address> and password: 'casper'. If this works you can move on to the next step.
|
|
|
|
|
|
##Installing python and casperfpga
|
|
## Installing python and casperfpga
|
|
The python module casperfpga will allow you to communicate with the rfsoc4x2, including programming the fpga.
|
|
The python module casperfpga will allow you to communicate with the rfsoc4x2, including programming the fpga.
|
|
|
|
|
|
The following instructions explain how to setup a python environment using miniconda.
|
|
The following instructions explain how to setup a python environment using miniconda.
|
... | @@ -55,7 +55,7 @@ In the ipython session, import casperfpga: |
... | @@ -55,7 +55,7 @@ In the ipython session, import casperfpga: |
|
|
|
|
|
If no errors are thrown, then you installed casperfpga correctly.
|
|
If no errors are thrown, then you installed casperfpga correctly.
|
|
|
|
|
|
#Programming the rfsoc4x2
|
|
# Programming the rfsoc4x2
|
|
This needs to be done every time the rfsoc4x2 boots up. We use casperfpga for programming. Once again enter an ipython session:
|
|
This needs to be done every time the rfsoc4x2 boots up. We use casperfpga for programming. Once again enter an ipython session:
|
|
|
|
|
|
$ ipython
|
|
$ ipython
|
... | | ... | |