OpenWRT-RPI flash setup

Step 1 : Download the RPI_image openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz

Step 2 : Download Balena Etcher tool and flash openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz to SD card

  1. If your computer has a slot for SD cards, insert the card. If not, insert the card into an SD card reader, then connect the reader to your computer.

  2. Download the Balena Etcher tool from the link and extract it and run the binary.

  3. Extract the zip and run the binary

$ ls

$ unzip 
  inflating: balenaEtcher-1.7.0-x64.AppImage  

$ ls
test@test:dev_tools$ ./balenaEtcher-1.7.0-x64.AppImage 
  1. It will launch “Balena Etcher” GUI, select the image openwrt-bcm27xx-bcm2711-rpi-4-ext4-factory.img.gz and the SD card and click on flash button


Step 3 : Access the RPI using UART cable. See the pin diagram from RPI board below

  1. Connect Black cable of UART cable (GND) to pin 6 of RPI

  2. Connect White cable of UART cable (RX of UART) to pin 8 of RPI

  3. Connect Green cable of UART cable (TX of UART) to pin 10 of RPI

Step 4 : Run minicom to access RPI board

$ sudo minicom -D /dev/ttyUSB0 -b 115200