mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
61 lines
1.3 KiB
Text
61 lines
1.3 KiB
Text
|
BTicino Mamoj board:
|
||
|
===================
|
||
|
|
||
|
Build:
|
||
|
|
||
|
$ make mrproper
|
||
|
$ make imx6dl_mamoj_defconfig
|
||
|
$ make
|
||
|
|
||
|
This will generate the SPL image called SPL and the u-boot-dtb.img.
|
||
|
|
||
|
The following methods can be used for booting Mamoj boards:
|
||
|
|
||
|
1. USB SDP boot
|
||
|
|
||
|
1. USB SDP boot:
|
||
|
---------------
|
||
|
|
||
|
- Build imx_usb_loader
|
||
|
|
||
|
$ git clone git://github.com/boundarydevices/imx_usb_loader.git
|
||
|
$ cd imx_usb_loader
|
||
|
$ make
|
||
|
|
||
|
- Build the BSP and copy SPL, u-boot-dtb.img in imx_usb_loader directory
|
||
|
|
||
|
- Put the board in "Serial Download Mode"
|
||
|
|
||
|
- Plug-in USB-to-Serial, Open minicom 1152008N1 and USB OTG cables to Host
|
||
|
|
||
|
- Turn-on board
|
||
|
|
||
|
- Identify VID/PID using lsusb
|
||
|
|
||
|
Bus 001 Device 010: ID 15a2:0061 Freescale Semiconductor, Inc. i.MX 6Solo/6DualLite SystemOnChip in RecoveryMode
|
||
|
|
||
|
- Update the conf files
|
||
|
|
||
|
imx_usb.conf
|
||
|
0x15a2:0x0061, mx6_usb_rom.conf, 0x0525:0xb4a4, mx6_usb_sdp_spl.conf
|
||
|
|
||
|
mx6_usb_rom.conf
|
||
|
mx6_usb
|
||
|
hid,1024,0x910000,0x10000000,512M,0x00900000,0x40000
|
||
|
SPL:jump header2
|
||
|
|
||
|
mx6_usb_sdp_spl.conf
|
||
|
mx6_spl_sdp
|
||
|
hid,uboot_header,1024,0x910000,0x10000000,512M,0x00900000,0x40000
|
||
|
u-boot-dtb.img:jump header2
|
||
|
|
||
|
- Launch the loader
|
||
|
|
||
|
$ ./imx_usb
|
||
|
|
||
|
We can see U-Boot boot from USB SDP on minicom
|
||
|
|
||
|
--
|
||
|
Jagan Teki <jagan@amarulasolutions.com>
|
||
|
03/12/18
|