reComputer R1000
© 2009-2024 Seeed Technology Co.,Ltd. All rights reserved.
C3. Configuring System
3.1 Flashing Image
To update the firmware, first ensure that you update the drivers. Here are the steps to install and update the drivers:
1. Clone the repository with the following command:
git clone --depth 1 https://github.com/Seeed-Studio/seeed-linux-dtoverlays.git
2. Navigate into the cloned directory:
cd seeed-linux-dtoverlays
3. Run the script to install the drivers:
sudo ./scripts/reTerminal.sh --device reComputer-R100x
4. After the installation is complete, reboot your device:
This process will ensure that your drivers are up to date before updating the firmware.
3.2 Query GPIO Mappings
To query GPIO mappings and offsets, follow these steps:
1. Copy and paste the following command to query GPIO mappings:
cat /sys/kernel/debug/gpio
This command will provide you with the necessary information regarding GPIO mappings and offsets whenever needed
throughout the process.
3.3 GPIO Testing
In this section we will use the raspi-gpio tool to test with GPIOs, you can use the raspi-gpio help to view the manual:
1. The pin controlling the third LED of reComputer R1000 is gpio20. To get specific GPIO status, Please enter following
command in the Terminal :
2. Change the state of gpio20:
#set current pin state
raspi-gpio set 20 dl
#get the pin state after set
raspi-gpio get 20
3. The third led-user LED will light up.
3.4 SPI Communication Testing
To test SPI communication by shorting the TPM module's MISO and MOSI pins, follow these steps:
1. Clone the spidev-test repository: