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