summaryrefslogtreecommitdiff
path: root/board/bticino/mamoj/README
diff options
context:
space:
mode:
authorJagan Teki <jagan@amarulasolutions.com>2018-05-07 11:21:38 +0530
committerStefano Babic <sbabic@denx.de>2018-05-18 08:23:43 +0200
commit129ceda20217b2ac0adae16d9cce4710319c4849 (patch)
tree358f243e225586984f6f8fe36e41b30ac236adaa /board/bticino/mamoj/README
parentddff1def676a84235a029b8e94e9a89347ad351a (diff)
configs: imx6dl-mamoj: Add DFU support
Add DFU support for BTicino Mamoj board and update the same steps in README. Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Signed-off-by: Simone CIANNI <simone.cianni@bticino.it> Signed-off-by: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
Diffstat (limited to 'board/bticino/mamoj/README')
-rw-r--r--board/bticino/mamoj/README37
1 files changed, 37 insertions, 0 deletions
diff --git a/board/bticino/mamoj/README b/board/bticino/mamoj/README
index eda9e45ed1..8b0e9c3e0c 100644
--- a/board/bticino/mamoj/README
+++ b/board/bticino/mamoj/README
@@ -13,6 +13,8 @@ The following methods can be used for booting Mamoj boards:
1. USB SDP boot
+2. eMMC boot (via DFU)
+
1. USB SDP boot:
---------------
@@ -55,6 +57,41 @@ The following methods can be used for booting Mamoj boards:
We can see U-Boot boot from USB SDP on minicom
+2. eMMC boot via DFU:
+--------------------
+
+ Once booted from USB SDP, program the eMMC as below(make sure to connect USB OTG)
+
+ - Change eMMC partition config
+
+ => mmc partconf 2 1 0 0
+
+ - Partition eMMC on host
+
+ => ums 0 mmc 2
+
+ Host will able to detect the eMMC disk as UMS, partition the same.
+
+ - Program SPL
+
+ => setenv dfu_alt_info $dfu_alt_info_spl
+ => dfu 0 mmc 2
+
+ At Host
+
+ # dfu-util -D SPL -a spl
+
+ - Program u-boot-dtb.img
+
+ => setenv dfu_alt_info $dfu_alt_info_uboot
+ => dfu 0 mmc 2
+
+ At Host
+
+ # dfu-util -D u-boot-dtb.img -a u-boot
+
+ Poweroff and Poweron the board and see U-Boot booting from eMMC.
+
--
Jagan Teki <jagan@amarulasolutions.com>
03/12/18