1 U-Boot for the Congatec QMX6 boards
3 This file contains information for the port of U-Boot to the Congatec
9 - Build U-boot for Congatec QMX6 boards:
12 $ make cgtqmx6eval_defconfig
15 This will generate the following binaries:
20 2. Flashing U-boot in the SPI NOR
21 ---------------------------------
23 Copy SPL and u-boot.img to the exported TFTP directory of the
24 host PC (/tftpboot , for example).
28 => tftp 0x12000000 SPL
30 => sf erase 0x0 0x10000
32 => sf write 0x12000000 0x400 0x100
34 => tftp 0x12000000 u-boot.img
36 => sf erase 0x10000 0x70000
38 => sf write 0x12000000 0x10000 0x70000
40 Reboot the board and the new U-boot should come up.
42 3. Booting from the SD card
43 ---------------------------
45 - Flash the SPL image into the SD card:
47 sudo dd if=SPL of=/dev/mmcblk0 bs=1k seek=1; sync
49 - Flash the u-boot.img image into the SD card:
51 sudo dd if=u-boot.img of=/dev/mmcblk0 bs=1k seek=69; sync
53 - Insert the SD card into the big slot.
55 The boot medium of Congatec QMX6 boards is the SPI NOR flash, so boot
56 the board from SPI first.
58 It is also possible to boot from the SD card slot by using the 'bmode'
63 And then the U-boot from the big slot will boot.
65 Note: If the "bmode" command is not available from your pre-installed U-boot,
66 these instruction will produce the same effect:
68 => mw.l 0x20d8040 0x3850
69 => mw.l 0x020d8044 0x10000000