• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..05-Jul-2021-

KconfigH A D05-Jul-2021143 138

MAINTAINERSH A D05-Jul-2021302 109

MakefileH A D05-Jul-202191 52

READMEH A D05-Jul-20211.3 KiB5335

mys_6ulx.cH A D05-Jul-20212.6 KiB11980

spl.cH A D05-Jul-20215.2 KiB207167

README

1How to use U-Boot on MYiR MYS-6ULX Single Board Computer
2--------------------------------------------------------
3
4- Configure and build U-Boot for MYS-6ULX iMX6ULL:
5
6    $ make mrproper
7    $ make myir_mys_6ulx_defconfig
8    $ make
9
10  This will generate SPL and u-boot-dtb.img images.
11
12Boot from MMC/SD:
13- The SPL and u-boot-dtb.img images need to be flashed into the micro SD card:
14
15    $ sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
16    $ sudo dd if=u-boot-dtb.img of=/dev/mmcblk0 bs=1k seek=69; sync
17
18- Boot mode settings:
19
20  Boot switch position: SW1 -> 0
21			SW2 -> 1
22			SW3 -> 0
23			SW4 -> 1
24
25Boot from NAND:
26- Boot the board using SD/MMC or Serial download and load the SPL into memory
27either from SD/MMC or TFTP.
28
29Default MTD layout is 512k(spl),1m(uboot),1m(uboot-dup),-(ubi)
30
31Flash SPL to NAND from SD/MMC,
32
33    $ ext4load mmc 0:2 $loadaddr SPL
34    $ nand erase.part spl
35    $ nandbcb init $loadaddr 0x0 $filesize
36
37Flash u-boot proper to NAND from SD/MMC,
38
39    $ ext4load mmc 0:2 $loadaddr u-boot-dtb.img
40    $ nand erase.part uboot
41    $ nand write $loadaddr uboot $filesize
42
43- Boot mode settings:
44
45  Boot switch position: SW1 -> 1
46			SW2 -> 0
47			SW3 -> 0
48			SW4 -> 1
49
50- Connect the Serial cable to UART0 and the PC for the console.
51
52- Reset the board using and U-Boot should boot from NAND.
53