Ubuntu-jammy-23.0
Kernel release: 5.15.0-1029-mtk
HW Compatibility: RevA0
Installation and Post-Installation
Download the Ubuntu OS image (Desktop or Server) of your choice. The following steps apply to both Ubuntu Desktop and Ubuntu Server. Install Ubuntu on MediaTek Genio | Ubuntu
Download the boot firmware for your SOM-SMARC-Genio700 from our latest release.
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:
tar -xvf {UBUNTU_IMAGE}.tar.xz tar --strip-components=1 -xvf {BOOT_FIRMWARE}.tar.gz -C {UBUNTU_IMAGE}/ cd baoshan-{UBUNTU_IMAGE}
The resulting image directory should contain at least these files:
$ ls bl2.img bootassets.vfat fip.bin firmware.vfat lk.bin u-boot-initial-env ubuntu.img ubuntu.json
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.conf ... list_dtbo= gpu-mali.dtbo video.dtbo apusys.dtbo
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: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
Launch a command line prompt on your host PC.
First change directory(cd
) to the image directory, and rungenio-flash
:The tool should have the following output:
The line
Looking for MediaTek SoC matching USB device 0e8d:0003
shows thatgenio-flash
tool is waiting for the board to be reset into download mode to start the flash programming procedure.Set the board into download mode
Describe the procedure hereThe 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:
If you are using a Windows host PC, and the tool stops at the output line < waiting for any device >
, please follow the steps in this trouble shooting page to solve an underlying Windows driver issue.
Eventually, the flash tool would report the following logs once it finishes writing the onboard storage and reboot the board:
Now the module will boot into the Ubuntu OS.
Default user: ubuntu
Default password: ubuntu
You will be asked to change the password during the first login.We still need to update the linux kernel which includes the custom drivers for the Embedded Controller and enables some features of the SOM-SMARC-Genio700 module e.g. the USB hub. The ethernet phy should work with default device tree and you should be able to connect to the internet.
At this step you will need the*.deb
packages, those are available along with the boot assets in our releases. Now you can copy those packages to the module withscp
:Check that all 5 packages were transferred successfully:
You can Install them and reboot the system with:
Now the setup is done.
The complete in depth guide is available at Getting Started with Genio 700 Evaluation Kit — Ubuntu on Genio documentation
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