Name Date Size #Lines LOC

..--

patches/uboot/H05-Jun-2025-3831

readme.txtH A D05-Jun-20254.8 KiB172120

readme.txt

1********************************************************
2Freescale i.MX6 Q, DL and SoloX SABRE development boards
3********************************************************
4
5This file documents the Buildroot support for the Freescale SABRE Board
6for Smart Devices Based on the i.MX 6 and i.MX 6SoloX Series (SABRESD),
7as well as the Freescale SABRE Board for Automotive Infotainment.
8
9Read the i.MX 6 SABRESD Quick Start Guide for an introduction to the
10board:
11http://cache.freescale.com/files/32bit/doc/quick_start_guide/SABRESDB_IMX6_QSG.pdf
12
13Read the i.MX 6 SoloX SABRESD Quick Start Guide for an introduction to
14the board:
15http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SOLOXQSG.pdf
16
17Read the SABRE for Automotive Infotainment Quick Start Guide for an
18introduction to the board:
19http://cache.freescale.com/files/32bit/doc/user_guide/IMX6SABREINFOQSG.pdf
20
21Building with NXP kernel and NXP U-Boot
22=======================================
23
24First, configure Buildroot for your SABRE board.
25For i.MX6Q SABRE SD board:
26
27  make freescale_imx6qsabresd_defconfig
28
29For i.MX6DL SABRE SD board:
30
31  make freescale_imx6dlsabresd_defconfig
32
33For i.MX6 SoloX SABRE SD board:
34
35  make freescale_imx6sxsabresd_defconfig
36
37For i.MX6Q SABRE Auto board:
38
39  make freescale_imx6qsabreauto_defconfig
40
41For i.MX6DL SABRE Auto board:
42
43  make freescale_imx6dlsabreauto_defconfig
44
45Build all components:
46
47  make
48
49You will find in ./output/images/ the following files:
50  - imx6dl-sabresd.dtb or imx6q-sabresd.dtb or imx6sx-sdb.dtb or
51    imx6q-sabreauto.dtb or imx6dl-sabreauto.dtb
52  - rootfs.ext2
53  - rootfs.tar
54  - u-boot.imx
55  - uImage, or zImage for i.MX6 SoloX
56
57Building with mainline kernel and mainline U-Boot
58=================================================
59
60Mainline U-Boot uses SPL and can support the three
61variants of mx6sabreauto boards: mx6q, mx6dl and mx6qp.
62
63First, configure Buildroot for your mx6sabreauto board
64
65  make imx6-sabreauto_defconfig
66
67Build all components:
68
69  make
70
71You will find in output/images/ the following files:
72  - imx6dl-sabresd.dtb, imx6q-sabresd.dtb, imx6q-sabresd.dtb
73  - rootfs.ext2
74  - SPL and u-boot.img
75  - u-boot.imx
76  - zImage
77
78Create a bootable SD card
79=========================
80
81To determine the device associated to the SD card have a look in the
82/proc/partitions file:
83
84  cat /proc/partitions
85
86Buildroot prepares a bootable "sdcard.img" image in the output/images/
87directory, ready to be dumped on a microSD card. Launch the following
88command as root:
89
90  dd if=./output/images/sdcard.img of=/dev/<your-microsd-device>
91
92*** WARNING! The script will destroy all the card content. Use with care! ***
93
94For details about the medium image layout, see the definition in
95board/freescale/common/imx/genimage.cfg.template.
96
97Boot the SABRE board
98====================
99
100i.MX6 SABRE SD
101--------------
102
103To boot your newly created system on an i.MX6 SABRE SD Board (refer to
104the i.MX6 SABRE SD Quick Start Guide for guidance):
105- insert the SD card in the SD3 slot of the board;
106- locate the BOOT dip switches (SW6), set dips 2 and 7 to ON, all others to OFF;
107- connect a Micro USB cable to Debug Port and connect using a terminal emulator
108  at 115200 bps, 8n1;
109- power on the board.
110
111i.MX6 SoloX SABRE SD
112--------------------
113
114To boot your newly created system on an i.MX6 SoloX SABRE SD Board
115(refer to the i.MX6 SoloX SABRE SD Quick Start Guide for guidance):
116- insert the SD card in the J4-SD4 socket at the bottom of the board;
117- Set the SW10, SW11 and SW12 DIP switches at the top of the board in
118  their default position, to boot from SD card. Reference configuration:
119
120    SW10
121     1   2   3   4   5   6   7   8
122    off off off off off off off off
123
124    SW11
125     1   2  3  4  5   6   7   8
126    off off ON ON ON off off off
127
128    SW12
129     1  2   3   4   5   6   7   8
130    off ON off off off off off off
131
132- connect a Micro USB cable to the J16 Debug Port at the bottom of the
133  board. This is a dual UART debug port; connect to the first tty using
134  a terminal emulator at 115200 bps, 8n1;
135- power on the board with the SW1-PWR switch at the top of the board.
136
137SABRE Auto
138----------
139
140To boot your newly created system on a SABRE Auto Board (refer to the SABRE for
141Automotive Infotainment Quick Start Guide for guidance):
142- insert the SD card in the CPU card SD card socket J14;
143- Set the S1, S2 and S3 DIP switches and J3 jumper to boot from SD on CPU card.
144  Reference configuration:
145
146    S1
147     1  2   3   4  5   6   7   8   9  10
148    off ON off off ON off off off off off
149
150    S2
151     1   2  3   4
152    off off ON off
153
154    S3
155     1   2  3  4
156    off off ON ON
157
158    J3: 1-2
159
160- connect an RS-232 UART cable to CPU card debug port J18 UART DB9 and
161  connect using a terminal emulator at 115200 bps, 8n1;
162- power on the board.
163
164Enjoy!
165
166References
167==========
168
169https://community.freescale.com/docs/DOC-95015
170https://community.freescale.com/docs/DOC-95017
171https://community.freescale.com/docs/DOC-99218
172