Home | History | Annotate | only in /external/u-boot/board/technexion/pico-imx6ul
Up to higher level directory
NameDateSize
imximage.cfg22-Oct-20202.4K
Kconfig22-Oct-2020189
MAINTAINERS22-Oct-2020225
Makefile22-Oct-2020149
pico-imx6ul.c22-Oct-20207.2K
README22-Oct-20201.3K

README

      1 How to Update U-Boot on Pico-imx6ul board
      2 -----------------------------------------
      3 
      4 Required software on the host PC:
      5 
      6 - imx_usb_loader: https://github.com/boundarydevices/imx_usb_loader
      7 
      8 - dfu-util: http://dfu-util.sourceforge.net/releases/
      9 
     10 Build U-Boot for Pico:
     11 
     12 $ make mrproper
     13 $ make pico-imx6ul_defconfig
     14 $ make
     15 
     16 This will generate the U-Boot binary called u-boot.imx.
     17 
     18 Put pico board in USB download mode (refer to the document
     19 http://www.wandboard.org/images/hobbit/hobbitboard-imx6ul-reva1.pdf page 15)
     20 
     21 Connect a USB to serial adapter between the host PC and pico
     22 
     23 Connect a USB cable between the OTG pico port and the host PC
     24 
     25 Open a terminal program such as minicom
     26 
     27 Copy u-boot.imx to the imx_usb_loader folder.
     28 
     29 Load u-boot.imx via USB:
     30 
     31 $ sudo ./imx_usb u-boot.imx
     32 
     33 Then U-Boot should start and its messages will appear in the console program.
     34 
     35 Use the default environment variables:
     36 
     37 => env default -f -a
     38 => saveenv
     39 
     40 Run the DFU command:
     41 => dfu 0 mmc 0
     42 
     43 Transfer u-boot.imx that will be flashed into the eMMC:
     44 
     45 $ sudo dfu-util -D u-boot.imx -a boot
     46 
     47 Then on the U-Boot prompt the following message should be seen after a
     48 successful upgrade:
     49 
     50 #DOWNLOAD ... OK
     51 Ctrl+C to exit ...
     52 
     53 Remove power from the pico board.
     54 
     55 Put pico board into normal boot mode
     56 
     57 Power up the board and the new updated U-Boot should boot from eMMC.
     58