Lines Matching +full:1 +full:- +full:emmc

1 How to use and build U-Boot on mx6sabresd
2 -----------------------------------------
6 1. Booting from SD card
8 2. Booting from eMMC
13 1. Booting from SD card via SPL
14 -------------------------------
24 This will generate the SPL and u-boot.img binaries.
26 - Flash the SPL binary into the SD card:
28 $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
30 - Flash the u-boot.img binary into the SD card:
32 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
35 2. Booting from eMMC
36 --------------------
42 This will generate the SPL and u-boot.img binaries.
44 - Boot first from SD card as shown in the previous section
46 In U-boot change the eMMC partition config:
48 => mmc partconf 2 1 0 0
50 Mount the eMMC in the host PC:
54 - Flash SPL and u-boot.img binaries into the eMMC:
56 $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 && sync
57 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 && sync
59 Set SW6 to eMMC 8-bit boot: 11010110
63 --------------------------
68 This will generate the SPL image called SPL and the u-boot.img.
70 - Flash the SPL image into the SD card:
72 $ sudo dd if=SPL of=/dev/sdX bs=1K seek=1 oflag=sync status=none && sync
74 - Flash the u-boot.img image into the SD card:
76 $ sudo dd if=u-boot.img of=/dev/sdX bs=1K seek=69 oflag=sync status=none && sync
80 $ sudo tar xvf rootfs.tar.gz -C /media/root
83 To configure Falcon mode for the first time, on U-Boot do the following commands:
85 - Setup the IP server:
89 - Download dtb file:
91 # dhcp ${fdt_addr} imx6q-sabresd.dtb
93 - Download kernel image:
97 - Write kernel at 2MB offset:
101 - Setup kernel bootargs:
105 - Prepare args:
107 # spl export fdt ${loadaddr} - ${fdt_addr}
109 - Write args 1MB data (0x800 sectors) to 1MB offset (0x800 sectors)
113 - Press KEY_VOL_UP key, power up the board and then SPL binary will