blob: eda9e45ed15993465e87c6d0ab9cb746b40cd944 [file] [log] [blame]
Jagan Teki1494cc82018-05-07 11:21:34 +05301BTicino Mamoj board:
2===================
3
4Build:
5
6 $ make mrproper
7 $ make imx6dl_mamoj_defconfig
8 $ make
9
10 This will generate the SPL image called SPL and the u-boot-dtb.img.
11
12The following methods can be used for booting Mamoj boards:
13
141. USB SDP boot
15
161. USB SDP boot:
17---------------
18
19 - Build imx_usb_loader
20
21 $ git clone git://github.com/boundarydevices/imx_usb_loader.git
22 $ cd imx_usb_loader
23 $ make
24
25 - Build the BSP and copy SPL, u-boot-dtb.img in imx_usb_loader directory
26
27 - Put the board in "Serial Download Mode"
28
29 - Plug-in USB-to-Serial, Open minicom 1152008N1 and USB OTG cables to Host
30
31 - Turn-on board
32
33 - Identify VID/PID using lsusb
34
35 Bus 001 Device 010: ID 15a2:0061 Freescale Semiconductor, Inc. i.MX 6Solo/6DualLite SystemOnChip in RecoveryMode
36
37 - Update the conf files
38
39 imx_usb.conf
40 0x15a2:0x0061, mx6_usb_rom.conf, 0x0525:0xb4a4, mx6_usb_sdp_spl.conf
41
42 mx6_usb_rom.conf
43 mx6_usb
44 hid,1024,0x910000,0x10000000,512M,0x00900000,0x40000
45 SPL:jump header2
46
47 mx6_usb_sdp_spl.conf
48 mx6_spl_sdp
49 hid,uboot_header,1024,0x910000,0x10000000,512M,0x00900000,0x40000
50 u-boot-dtb.img:jump header2
51
52 - Launch the loader
53
54 $ ./imx_usb
55
56 We can see U-Boot boot from USB SDP on minicom
57
58--
59Jagan Teki <jagan@amarulasolutions.com>
6003/12/18