EDA CM4 Software Installation Manual

Hide thumbs Also See for CM4:

Advertisement

Quick Links

Software Installation Guide of CM4 IO Case
Software Installation Guide
of CM4 IO Case
2021-1-5
EDA TECHNOLOGY CO.,LTD
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CM4 and is the answer not in the manual?

Questions and answers

Summary of Contents for EDA CM4

  • Page 1 Software Installation Guide of CM4 IO Case Software Installation Guide of CM4 IO Case 2021-1-5 EDA TECHNOLOGY CO.,LTD...
  • Page 2 Software Installation Guide of CM4 IO Case Table of Contents Special Notice:................................3 Preparation ................................ 3 Installation ................................4 2.1. Modify Bootloader ............................. 4 Modify the Device Tree File ......................... 7 2.2.1. Configure GPIO3 ..........................7 2.2.2 Modify config.txt file ........................7...
  • Page 3 ON/OFF switch of CM4 IO Case is driven by Bootloader & 40pin GPIO driver of CM4, so it controls the system on/off by software. It is not a traditional switch which cut off or turn on the power supply of the board. Forcing the power shutdown during CM4 operation may damage the file system and cause the system crash.
  • Page 4 Software Installation Guide of CM4 IO Case 2. Software Installation 2.1. Modify Bootloader ⚫ Firstly test whether the bootloader on your CM4 supports software boot. Power on CM4 and type the following command: pi@raspberrypi:~ $ vcgencmd bootloader_config As above shows, if there appears “WAKE_ON_GPIO=1” and “POWER_OFF_ON_HALT=0”, then you can skip the step 2.1 and turn to step 2.2...
  • Page 5 -Wall -Wextra -g -o rpiboot main.c -lusb-1.0 ⚫ Replace the files in the recovery directory with the “recovery folder” we provide. ⚫ Connect PI3B+ and CM4 IO Board through a USB cable, please check the below connection. ⚫ Connect the pin1 and pin2 of J2 by a Dupont cable, as shown in the following...
  • Page 6 Software Installation Guide of CM4 IO Case ⚫ Run “rpiboot” on PI3B+, prepare for the bootloader burning and wait the CM4 IO board power on. pi@raspberrypi:~/work/test1/usbboot $ sudo ./rpiboot -v -d recovery/ ⚫ Power CM4 IO on, then the following print information appears at the terminal of PI3B+.
  • Page 7 We just need to check the function of GPIO3 to make sure GPIO3 is configured as a normal GPIO function. If the GPIO3 in your CM4 IO is configured as with I2C function, you will need to overwrite the CM4 device tree file under the boot folder with the “bcm2711-rpi-cm4.dtb”...
  • Page 8 ⚫ After the system shuts down, power off CM4 IO. Connect the two Dupont cables of the switch inside the case with CM4 IO, the red cable is connected to Pin3 and the black cable is connected to Pin39, as the following pictures show.

Table of Contents