Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IssuesDescriptionWorkaroundTo be fixed version
HDMINot all HDMI Monitors are supported. Test Monitor: Samsung B2430L No known issues---------

Requirements

Software

HTML
<!--
Add needed external Software
   -->

...

Module ModelBoard Part Short NamePCB Revision SupportDDRQSPI FlashOthersNotes
te0720-03-2if 2if REV02, REV031GB32
 
te0720-03-2ifc3 2if REV02, REV031GB322.5 mm connector
te0720-03-2ifc8 2if REV02, REV03

1GB

32 32GB eMMC

 

te0720-03-1qf1qf REV02, REV031GB32

te0720-03-1cf1cf REV02, REV031GB32

te0720-03-2ef2ef REV02, REV031GB32

te0720-03-1cr1cr REV02, REV03256MB32
Assembly variant need manual changes into FSBL and device tree template
te0720-03-l1ifl1if REV02, REV03512MB (L)32
Assembly variant need manual changes into FSBL and device tree template
te0720-03-14s-1c14s REV02, REV031GB (L)32

...

  1. Prepare HW like described on section Programming
  2. Connect UART USB (most cases same as JTAG)
  3. Select SD Card as Boot Mode
    Note: See TRM of the Carrier, which is used.
  4. Connect HDMI to Monitor
  5. Power On PCB
    Note: 1. Zynq Boot ROM loads FSBL from SD into OCM, 2. FSBL loads U-boot from SD into DDR, 3. U-boot load Linux from SD into DDR

...

  • Add adv7511.c, adv7511.h, vdma.c, vdma.h, te_fsbl_config.h, te_fsbl_hooks.h te_fsbl_hooks.c, and includ into fsbl_hooks.c
    • te_fsbl_hooks.c defines must be changed for Assembly variant with smaller DDR size.

U-Boot

U-Boot.elf is generated with PetaLinux. SDK/HSI is used to generate Boot.bin.

...

Code Block
languagejs
#include <configs/platform-auto.h>


#define UBOOT_ENV_MAGIC 0xCAFEBABE
#define UBOOT_ENV_MAGIC_ADDR 0xFFFFFC00
#define UBOOT_ENV_ADDR 0xFFFFFC04


Device Tree

Device Tree HDMI entries must be changed for Assembly variant with smaller DDR size.

Code Block
languagejs
/include/ "system-conf.dtsi"
/ {
};

/ {
    memory {    // Reduce linux memory tofor placeframebuffers
 framebuffer in high part
        device_type = "memory";
    device_type = "memory";
        reg = <0x0 0x3FC00000>;  // Reduce memory for 1GB assembly variant
      //  reg = <0x0 0x1FC00000>;  // Reduce memory for 1GB assembly variant
      //  reg = <0x0 0x0FC00000>;  // Reduce memory for 1GB assembly variant
    };


    framebuffer0: framebuffer@0x3FC00000 {      // HDMI out
        compatible = "simple-framebuffer";
        reg = <0x3FC00000 (1280 * 720 * 4)>;    // 720p
        width = <1280>;                         // 720p
        height = <720>;                         // 720p
        stride = <(1280 * 4)>;                  // 720p
        format = "a8b8g8r8";
    };

/* 
    framebuffer0: framebuffer@0x1FC00000 {      // HDMI out
        compatible = "simple-framebuffer";
        reg = <0x1FC00000 (1280 * 720 * 4)>;    // 720p
        width = <1280>;                         // 720p
        height = <720>;                         // 720p
        stride = <(1280 * 4)>;               reg = <0x0 0x3FC00000>;					// Modify it depending on board memory size 720p
        format = "a8b8g8r8";
    };
*/
/* 
    framebuffer0: framebuffer@0x3FC00000framebuffer@0x0FC00000 {      // HDMI out
        compatible = "simple-framebuffer";
        reg = <0x3FC00000<0x0FC00000 (1280 * 720 * 4)>;    // Modify it depending on board memory size 720p
        width = <1280>;                         // 720p
        height = <720>;                         // 720p
        stride = <(1280 * 4)>;                  // 720p
        format = "a8b8g8r8";
    };
*/
};

/* Disable standard VDMA driver to prevent core reset on linux start */
&axi_vdma_0 {
   status = "disabled";
};

/* Disable timing controller driver */
&v_tc_0 {&v_tc_0 {
    //xilinx-vtc: probe of 43c20000.v_tc failed with error -2
    status = "disabled";
};

/* default */

/* Flash */
&qspi {
    flash0: flash@0 {
        compatible = "w25q256";
    };
};

/* ETH PHY */
&gem0 {
    phy-handle = <&phy0>;
    mdio {
        #address-cells = <1>;
        #size-cells = <0>;
        phy0: phy@0 {
            compatible = "marvell,88e1510";
            device_type = "ethernet-phy";
            reg = <0>;
        };
    };
};

/* USB PHY */

/{
    usb_phy0: usb_phy@0 {
        compatible = "ulpi-phy";
        //compatible = "usb-nop-xceiv";
        #phy-cells = <0>;
        reg = <0xe0002000 0x1000>;
        view-port = <0x0170>;
        drv-vbus;
    };
};

&usb0 {
    dr_mode = "host";
    //dr_mode = "peripheral";
    usb-phy = <&usb_phy0>;
};

/* I2C need I2C1 connected to te0720 system controller ip */
&i2c1 {

    iexp@20 {       // GPIO in CPLD
        #gpio-cells = <2>;
        compatible = "ti,pcf8574";
        reg = <0x20>;
        gpio-controller;
    };

    iexp@21 {       // GPIO in CPLD
        #gpio-cells = <2>;
        compatible = "ti,pcf8574";
        reg = <0x21>;
        gpio-controller;
    };

    rtc@6F {        // Real Time Clock
        compatible = "isl12022";
        reg = <0x6F>;
    };
};

Kernel

Activate:

  • RTC_DRV_ISL12022
  • CONFIG_FB_SIMPLE
  • CONFIG_LOGO
  • CONFIG_LOGO_LINUX_MONO
  • CONFIG_LOGO_LINUX_VGA16
  • CONFIG_LOGO_LINUX_CLUT224

...

DateDocument RevisionAuthorsDescription

Page info
modified-date
modified-date
dateFormatyyyy-MM-dd

Page info
current-version
current-version
prefixv.



Page info
modified-user
modified-user


2017-11-2028v.1

Page info
created-user
created-user

  • Initial release
 All

Page info
modified-users
modified-users

 

...