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

..--

1066mhz_4x128mx16.cfgD23-Nov-20231.5 KiB4240

1066mhz_4x256mx16.cfgD23-Nov-20231.5 KiB4240

6x_bootscript.txtD23-Nov-20231.5 KiB6456

6x_bootscript_android.txtD23-Nov-20231.6 KiB6556

6x_bootscript_android_recovery.txtD23-Nov-20231.6 KiB6556

6x_upgrade.txtD23-Nov-20231.3 KiB4645

800mhz_2x128mx16.cfgD23-Nov-20231.5 KiB4240

800mhz_2x256mx16.cfgD23-Nov-20231.5 KiB4240

800mhz_4x128mx16.cfgD23-Nov-20231.5 KiB4240

800mhz_4x256mx16.cfgD23-Nov-20231.5 KiB4240

KconfigD23-Nov-2023153 138

MAINTAINERSD23-Nov-2023375 1312

MakefileD23-Nov-2023246 81

READMED23-Nov-20232.9 KiB9370

README.mx6qsabreliteD23-Nov-20232.3 KiB7347

clocks.cfgD23-Nov-20231.1 KiB4137

ddr-setup.cfgD23-Nov-20232.9 KiB9685

nitrogen6dl.cfgD23-Nov-2023660 3227

nitrogen6dl2g.cfgD23-Nov-2023660 3227

nitrogen6q.cfgD23-Nov-2023661 3227

nitrogen6q2g.cfgD23-Nov-2023661 3227

nitrogen6s.cfgD23-Nov-2023660 3227

nitrogen6s1g.cfgD23-Nov-2023660 3227

nitrogen6x.cD23-Nov-202327.3 KiB1,026859

README

1U-Boot for the Boundary Devices Nitrogen6X and
2Freescale i.MX6Q SabreLite boards
3
4This file contains information for the port of
5U-Boot to the Boundary Devices Nitrogen6X and
6Freescale i.MX6Q SabreLite boards.
7
81. Boot source, boot from SPI NOR
9---------------------------------
10The configuration in this directory supports both the
11Nitrogen6X and Freescale SabreLite board, but in a
12different fashion from Freescale's implementation in
13board/freescale/mx6qsabrelite.
14
15In particular, this image supports booting from SPI NOR
16and saving the environment to SPI NOR.
17
18It does not support 'boot from SD' at offset 0x400
19except through the 'bmode' command.
20	http://lists.denx.de/pipermail/u-boot/2012-August/131151.html
21
222. Boots using 6x_bootscript on SATA or SD card
23-----------------------------------------------
24The default bootcmd for these boards is configured
25to look for and source a boot script named '6x_bootscript'
26in the root of the first partition of the following
27devices:
28
29	sata 0
30	mmc 0
31	mmc 1
32
33They're searched in the order listed above, trying both the
34ext2 and fat filesystems.
35
362. Maintaining the SPI NOR
37--------------------------
38A couple of convenience commands
39
40	clearenv - clear environment to factory default
41	upgradeu - look and source a boot script named
42		'6x_upgrade' to upgrade the U-Boot version
43		in SPI NOR. The search is the same as for
44		6x_bootscript described above.
45
463. Display support
47------------------
48U-Boot support for the following displays is configured by
49default:
50
51    HDMI           - 1024 x 768 for maximum compatibility
52    Hannstar-XGA   - 1024 x 768 LVDS (Freescale part number MCIMX-LVDS1)
53    wsvga-lvds     - 1024 x 600 LVDS (Boundary p/n Nit6X_1024x600)
54    wvga-rgb       - 800 x 480 RGB (Boundary p/n Nit6X_800x480)
55
56Since the ipuv3_fb display driver currently supports only a single display,
57this code auto-detects panel by probing the HDMI Phy for Hot Plug Detect
58or the I2C touch controller of the LVDS and RGB displays in the priority
59listed above.
60
61Setting 'panel' environment variable to one of the names above will
62override auto-detection and force activation of the specified panel.
63
644. Building
65------------
66
67To build U-Boot for one of the Nitrogen6x or SabreLite board:
68
69	make nitrogen6x_config
70	make
71
72Note that 'nitrogen6x' is a placeholder. The complete list of supported
73board configurations is shown in the boards.cfg file:
74	nitrogen6q		i.MX6Q/6D	1GB
75	nitrogen6dl		i.MX6DL		1GB
76	nitrogen6s		i.MX6S		512MB
77	nitrogen6q2g    	i.MX6Q/6D	2GB
78	nitrogen6dl2g		i.MX6DL		2GB
79	nitrogen6s1g		i.MX6S		1GB
80
81The -6q variants support either the i.MX6Quad or i.MX6Dual processors
82and are configured for a 64-bit memory bus at 1066 MHz.
83
84The -6dl variants also use a 64-bit memory bus, operated at 800MHz.
85
86The -6s variants use a 32-bit memory bus at 800MHz.
87
88If you place the u-boot.imx into a single-partition SD card
89along with a binary version of the boot script 6x_upgrade.txt,
90you can program it using 'upgradeu':
91
92	U-Boot> run upgradeu
93

README.mx6qsabrelite

1U-Boot for the Freescale i.MX6q SabreLite board
2
3This file contains information for the port of U-Boot to the Freescale
4i.MX6q SabreLite board.
5
61. Boot source, boot from SD card
7---------------------------------
8
9The recent mainline U-Boot for the Freescale i.MX6q SabreLite board supports
10boot from SD card only. However, by default, the SabreLite
11boards boot from the SPI NOR flash. These boards need to be reflashed with
12a small SD card loader to support boot from SD card. This small SD card loader
13will be flashed into the SPI NOR. The board will still boot from SPI NOR, but
14the loader will in turn request the BootROM to load the U-Boot from SD card.
15
16The SD card loader is available from
17
18https://wiki.linaro.org/Boards/MX6QSabreLite
19
20under a open-source 3-clause BSD license.
21
22To update the SPI-NOR on the SabreLite board without the Freescale
23manufacturing tool use the following procedure:
24
251. Write this SD card loader onto a large SD card using:
26
27 sudo dd if=iMX6DQ_SPI_to_uSDHC3.bin of=/dev/sXx
28
29Note: Replace sXx with the device representing the SD card in your system.
30
31Note: This writes SD card loader at address 0
32
332. Put this SD card into the slot for the large SD card (SD3 on the bottom of
34the board). Make sure SW1 switch is at position "00", so that it can boot
35from the fuses.
36
373. Power-up the SabreLite, press 'space' to enter command mode in the U-Boot
38(the default one the board is shipped with, starting from the SPI NOR) and
39enter the following commands:
40
41 MX6Q SABRELITE U-Boot > mmc dev 0
42 MX6Q SABRELITE U-Boot > mmc read 0x10800000 0 200
43 MX6Q SABRELITE U-Boot > sf probe
44 MX6Q SABRELITE U-Boot > sf erase 0 0x40000
45 MX6Q SABRELITE U-Boot > sf write 0x10800000 0 0x40000
46
474. done.
48
49In case you somehow do not succeed with this procedure you will have to use
50the Freescale manufacturing tool in order to reflash the SPI-NOR.
51
52Note: The board now boots from full size SD3 on the bottom of the board. NOT
53      the micro SD4/BOOT slot on the top of the board. I.e. you have to use
54      full size SD cards.
55
56This information is taken from
57
58https://wiki.linaro.org/Boards/MX6QSabreLite
59
602. Build
61--------
62
63To build U-Boot for the SabreLite board:
64
65 make mx6qsabrelite_config
66 make
67
68To copy the resulting u-boot.imx to the SD card:
69
70 sudo dd if=u-boot.imx of=/dev/sXx bs=512 seek=2&&sudo sync
71
72Note: Replace sXx with the device representing the SD card in your system.
73