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