7 $ make imx6dl_mamoj_defconfig
10 This will generate the SPL image called SPL and the u-boot-dtb.img.
12 The following methods can be used for booting Mamoj boards:
16 2. eMMC boot (via DFU)
21 - Build imx_usb_loader
23 $ git clone git://github.com/boundarydevices/imx_usb_loader.git
27 - Build the BSP and copy SPL, u-boot-dtb.img in imx_usb_loader directory
29 - Put the board in "Serial Download Mode"
31 - Plug-in USB-to-Serial, Open minicom 1152008N1 and USB OTG cables to Host
35 - Identify VID/PID using lsusb
37 Bus 001 Device 010: ID 15a2:0061 Freescale Semiconductor, Inc. i.MX 6Solo/6DualLite SystemOnChip in RecoveryMode
39 - Update the conf files
42 0x15a2:0x0061, mx6_usb_rom.conf, 0x0525:0xb4a4, mx6_usb_sdp_spl.conf
46 hid,1024,0x910000,0x10000000,512M,0x00900000,0x40000
51 hid,uboot_header,1024,0x910000,0x10000000,512M,0x00900000,0x40000
52 u-boot-dtb.img:jump header2
58 We can see U-Boot boot from USB SDP on minicom
63 Once booted from USB SDP, program the eMMC as below(make sure to connect USB OTG)
65 - Change eMMC partition config
67 => mmc partconf 2 1 0 0
69 - Partition eMMC on host
73 Host will able to detect the eMMC disk as UMS, partition the same.
77 => setenv dfu_alt_info $dfu_alt_info_spl
82 # dfu-util -D SPL -a spl
84 - Program u-boot-dtb.img
86 => setenv dfu_alt_info $dfu_alt_info_uboot
91 # dfu-util -D u-boot-dtb.img -a u-boot
93 Poweroff and Poweron the board and see U-Boot booting from eMMC.
96 Jagan Teki <jagan@amarulasolutions.com>