Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
stylenone

Kernel release: 5.15.0-1029-mtk
HW Compatibility: RevA0

Installation and Post-Installation

  1. Download the Ubuntu OS image (Desktop or Server) of your choice. The following steps apply to both Ubuntu Desktop and Ubuntu Server. https://ubuntu.com/download/mediatek-genio

  2. Download the boot firmware for your SOM-SMARC-Genio700 from our latest release.

  3. Extract the Ubuntu image first, and then extract the boot firmware into the same directory. On Ubuntu host PC this can be done with the following commands:

    Code Block
    languagebash
    tar -xvf {UBUNTU_IMAGE}.tar.xz
    tar --strip-components=1 -xvf {BOOT_FIRMWARE}.tar.gz -C {UBUNTU_IMAGE}/
    cd baoshan-{UBUNTU_IMAGE}
  4. The resulting image directory should contain at least these files:

    Code Block
    $ ls
    bl2.img
    bootassets.vfat
    fip.bin
    firmware.vfat
    lk.bin
    u-boot-initial-env
    ubuntu.img
    ubuntu.json
  5. Check the following lines in the u-boot-initial-env file. They are responsible device tree overlays which will be applied. You can remove or add overlays from the list.

    Code Block
    conf ...
    list_dtbo= gpu-mali.dtbo video.dtbo apusys.dtbo
  6. You can also set the MAC address at the boot time, which will be saved in the bootloader config. You can do so by adding a new line to u-boot-initial-env file:

    Code Block
    ethaddr=00:55:7b:b5:7d:f7
  7. Connect the Baseboard with SOM-SMARC-Genio700 module to PC. Open a terminal application on your host PC and connect to the serial device (converter name). Make sure you set the following parameters on your terminal application:

    • baud rate: 921600

    • 8-bit

    • Party bit: 1

    • No flow control

  8. Launch a command line prompt on your host PC.
    First change directory(cd) to the image directory, and run genio-flash:

    Code Block
    cd {UBUNTU_IMAGE}
    genio-flash

    The tool should have the following output:

    Code Block
    genio-flash
    AIoT Tools: v1.3.4
    Ubuntu Image:
    ...
    Looking for MediaTek SoC matching USB device 0e8d:0003
    ...

    The line Looking for MediaTek SoC matching USB device 0e8d:0003 shows that genio-flash tool is waiting for the board to be reset into download mode to start the flash programming procedure.

  9. Set the board into download mode
    Describe the procedure here

  10. The flash tool should continue with the following log output, which shows the progress of erasing the onboard storage and writing image content to the storage:

    Code Block
    Erasing 'mmc0'                                     (bootloader) request sz: 0xece000000, real erase len: 0x0
    OKAY [  1.432s]
    Finished. Total time: 7.869s
    erasing mmc0boot0
    Erasing 'mmc0boot0'                                (bootloader) request sz: 0x400000, real erase len: 0x400000
    OKAY [  0.010s]
    Finished. Total time: 0.015s
    erasing mmc0boot1
    Erasing 'mmc0boot1'                                (bootloader) request sz: 0x400000, real erase len: 0x400000
    OKAY [  0.007s]
    Finished. Total time: 0.013s
    flashing mmc0=ubuntu.img
    Sending sparse 'mmc0' 1/17 (261522 KB)             OKAY [  7.267s]
    Writing 'mmc0'                                     OKAY [ 17.980s]
    Sending sparse 'mmc0' 2/17 (261674 KB)             OKAY [  7.123s]
    ...

...

Info

The complete in depth guide is available at https://mediatek.gitlab.io/genio/doc/ubuntu/get-started/genio-700-evk.html

List of available device tree overlays

Device tree overlay

Description

baseboard-csm-b79.dtbo

SECO Development board B79

peripheral-can.dtbo

CAN Bus support for module configuration with CAN Controller

Downloads

File

Download Link

board-assets

Download

linux-buildinfo-5.15.0-1029-mtk

Download

linux-headers-5.15.0-1029-mtk

Download

linux-image-5.15.0-1029-mtk

Download

linux-modules-5.15.0-1029-mtk

Download

linux-mtk-headers

Download