Jump to content
  • 0

Petalinux booting issue


Question

Posted

I am trying to implement a video streaming system on Zybo Z7010 using USB webcam as input and HDMI as output. I have created a design in Vivado and I have tested it using Vitis IDE. I have exported it to Petalinux and successfully created an image. I have tried to boot from SD card but no messages are displayed on Console. I am attaching my system-user.dtsi here.system-user.dtsi

 

/include/ "system-conf.dtsi"


/ {
    compatible = "xilinx,zybo-zynq-7010", "xilinx,zynq-7000";
    #address-cells = <1>;
    #size-cells = <1>;
    interrupt-parent = <&gic>;

    chosen {
        bootargs = "";
        stdout-path = "serial0:115200n8";
    };

    aliases {
        ethernet0 = &gem0;
        serial0 = &uart1;
    };

    memory {
        device_type = "memory";
        reg = <0x00000000 0x20000000>;  /* 512 MB DDR */
    };

    cpus {
        #address-cells = <1>;
        #size-cells = <0>;

        cpu@0 {
            device_type = "cpu";
            compatible = "arm,cortex-a9";
            reg = <0>;
        };
    };

    soc {
        #address-cells = <1>;
        #size-cells = <1>;
        compatible = "simple-bus";
        ranges;


        /* General Interrupt Controller (GIC) */
        gic: interrupt-controller@f8f01000 {
            compatible = "arm,cortex-a9-gic";
            #interrupt-cells = <3>;
            interrupt-controller;
            reg = <0xf8f01000 0x1000>, <0xf8f00100 0x100>;
         };

       
        /* PHY Configuration for Ethernet */
        phy0: ethernet-phy@7 {
            reg = <7>;
            compatible = "marvell,88e1116r";
        };

    };

    /* VDMA Configuration for Video Processing */
    vdma0: vdma@43000000 {
        compatible = "xlnx,axi-vdma-6.3";
        reg = <0x43000000 0x10000>;
        interrupts = <0 89 4>;
        clocks = <&clkwiz0>;
        clock-names = "s_axi_lite_aclk";
        xlnx,num-fstores = <3>;
        xlnx,include-sg = <0>;
        xlnx,flush-on-fsync = <1>;
        xlnx,enable-vertical-flip = <1>;
        status = "okay";
    };

    /* Video Timing Controller (VTC) Configuration */
    v_tc: vtc@44a00000 {
        compatible = "xlnx,axi-vtc-6.2";
        reg = <0x44a00000 0x10000>;
        interrupts = <0 91 4>;
        clocks = <&clkwiz0>;
        clock-names = "s_axi_aclk";
        xlnx,vtc-polarity-hsync = <1>;
        xlnx,vtc-polarity-vsync = <1>;
        status = "okay";
    };

    /* RGB2DVI IP Core Configuration */
    rgb2dvi: rgb2dvi@44a10000 {
        compatible = "xlnx,rgb2dvi-1.4";
        reg = <0x44a10000 0x10000>;
        clocks = <&clkwiz0>;
        clock-names = "s_axi_aclk";
        status = "okay";
    };

    /* Clocking Wizard Configuration */
    clkwiz0: clocking_wizard@44a20000 {
        compatible = "xlnx,clocking-wizard-6.0";
        reg = <0x44a20000 0x10000>;
        clocks = <&clkc 0>;
        clock-output-names = "clk_out_148_5MHz";
        assigned-clocks = <&clkwiz0>;
        assigned-clock-rates = <148500000>;
        status = "okay";
    };
};

&usb0 {
      dr_mode = "host";  /* Set USB to Host mode for the USB camera */
      status = "okay";
     /*  usb-phy = <&usb_phy0>; */
};

&uart1 {
    status = "okay";
};

1 answer to this question

Recommended Posts

  • 0
Posted

Hi @Ronson

How did you partition and format the SD card?
What files have you placed on the SD card?
What petalinux  command did you use to build BOOT.BIN ?
Have you enable FSBL debug ?
FSBL messages are thrown on UART early on. How early did you connect to the serial console to view those messages?

Answering those question will most likely lead to the solution. If not please add your answer to those question if you reply

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...