From fbf0430b038fc2554753ccd71e3d47f614608cdd Mon Sep 17 00:00:00 2001
From: Ettore Chimenti <ettore.chimenti@seco.com>
Date: Thu, 17 Feb 2022 16:49:12 +0000
Subject: [PATCH] seco-imx8mm-c61: update docs

Signed-off-by: Ettore Chimenti <ettore.chimenti@seco.com>
---
 docs/hardware-support/boards/seco-imx8mm-c61.rst | 16 +++++-----------
 1 file changed, 5 insertions(+), 11 deletions(-)

diff --git a/docs/hardware-support/boards/seco-imx8mm-c61.rst b/docs/hardware-support/boards/seco-imx8mm-c61.rst
index cfbb8960..f082bb8f 100644
--- a/docs/hardware-support/boards/seco-imx8mm-c61.rst
+++ b/docs/hardware-support/boards/seco-imx8mm-c61.rst
@@ -37,17 +37,17 @@ To clone the source code, perform the procedure in: :ref:`Setting up a repo work
 Linux image
 -----------
 
-1. Source the environment with proper template settings, flavour being ``linux`` and target machine being ``seco-imx8mm-c61``.
+1. Source the environment with proper template settings, flavour being ``linux`` and target machine being ``seco-imx8mm-c61-Xgb``, where X can be 2 or 4 depending on the amount of DRAM installed on the target board.
 
 .. code-block:: console
 
    $ TEMPLATECONF=../oniro/flavours/linux . ./oe-core/oe-init-build-env build-oniro-linux
 
-2. You will find yourself in the newly created build directory. Call ``bitbake`` to build the image. The supported image is ``oniro-image-base``.
+2. You will find yourself in the newly created build directory. Call ``bitbake`` to build the image. The supported image is ``oniro-image-base``. E.g.: for a 2GB board:
 
 .. code-block:: console
 
-   $ MACHINE=seco-imx8mm-c61 bitbake oniro-image-base
+   $ MACHINE=seco-imx8mm-c61-2gb bitbake oniro-image-base
 
 To generate images for eMMC, refer to the following flashing procedure.
 
@@ -76,19 +76,13 @@ following steps:
 
    .. code-block:: console
 
-      $ cd tmp/deploy/images/seco-imx8mm-c61/
-
-#. Unzip build output using Gzip software:
-
-   .. code-block:: console
-
-      $ gzip -d oniro-image-base-seco-imx8mm-c61.wic.gz
+      $ cd tmp/deploy/images/seco-imx8mm-c61-2gb/
 
 #. To write uboot and image(p1:kernel, p2:dtb, rootfs) into c61 mmc via mfgtools:
 
    .. code-block:: console
 
-      $ sudo uuu -b emmc_all imx-boot-seco-imx8mm-c61-emmc.bin-flash_evk oniro-image-base-seco-imx8mm-c61.wic
+      $ sudo uuu -b emmc_all imx-boot-seco-imx8mm-c61-emmc.bin-flash_evk "oniro-image-base-seco-imx8mm-c61-2gb.wic.gz/*"
 
 #. Power ON SBC-C61
 #. Remove **CN52 short circuit**
-- 
GitLab