Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 9 Next »

Overview

This page contains the instructions to flash the eMMC/SSD on a SBC-3.5-PX30 (D23) SECO board.

Requirements

Hardware

  • USB Recovery Cable (CV-1361) - Custom cable that connect the CN7 connector (USB Recovery) of the SBC-3.5-PX30 and end with a male USB type-A plug.

  • Linux Host PC

Software

  • Rockchip Upgrade Tool package or any other rockchip flashing utility. This guide uses Upgrade_tool.

  • The OS image file (.wic) and px30_loader_v1.11.115.bin

TODO insert download link to upgrade tool and px30_loader_v1.11.115.bin

Instructions for an empty device

These are the instructions to be followed in case the device that needs to be flashed does not either have a bootloader:

  1. Connect USB Recovery Cable (CV-1361) to the CN7 connector on SBC-3.5-PX30, and the Host PC on the other end.

  2. Power-On the board and check that the device is detected via lsusb command. Something like this should appear, with a reference to “Rockchip”:

    $ lsusb | grep Rockchip
    Bus 003 Device 011: ID 2207:330d Fuzhou Rockchip Electronics Company
  3. Open in the terminal your preferred serial port communication program (minicom or gtkterm, for example).

  4. Flash the loader on the SBC-3.5-PX30 device via the following command:

    $ sudo ./upgrade_tool UL px30_loader_v1.11.115.bin
  5. Flash the .wic image in the board via the following command. Remember to substitute the <image-file>.wic with the file name of the image (e.g seco_px30_d23_edgehog-embedded-full-image-wayland_5-10-x_kirkstone_1-02-00_20240202.wic):

    $ sudo ./upgrade_tool WL 0 <image-file>.wic
  6. Now is it possibile to restart the board running the new image.

Instructions for a device already flashed

These are the instruction to be followed in case the device that needs to be flashed has already a bootloader installed:

  1. Connect the host machine USB port type-A with Debug UART connector (CN 27) on the board over USB-to-TTL Serial cable.

  2. Open in the terminal your preferred serial port communication program (minicom or gtkterm, for example) and configure the serial port

    port:         dev/ttyUSB0
    baud rate:    115200
    data bits:    8
    stop bit:     1
    parity:       none
    flow control: none
  3. Power on the board and stop boot process within boot delay (5 seconds), using combination of the keys Ctrl+C.

  4. in U-Boot shell write command:

    > mmc erase 0x4000 0x2000

    This command will erase u-boot from eMMC. The board will enter into Rockusb mode on the next power on.

  5. Connect USB Recovery Cable (CV-1361) to the CN7 connector on SBC-3.5-PX30, and the Host PC on the other end.

  6. Power on the board.

  7. On your host PC, check if the board is listed among USB devices. Something like this should appear, with a reference to “Rockchip”:

    $ lsusb | grep Rockchip
    Bus 001 Device 010: ID 2207:330d Fuzhou Rockchip Electronics Company
  8. Repeat the instructions in the previous section to flash the bootloader and image.

  • No labels