20 Replies Latest reply on Jan 4, 2018 9:44 AM by robertleeatavnet

    initial booting

    sungyung_lim

      We purchased a MMP with zynq 7z100.
      Since we followed the simple instruction,
      we found that the initial serial connection didn't work.
      We used sd card-based booting with factory-installed linux image. Is there any known defect on instruction or linux image? And is there any useful information on it?

      Thank you for your consideration in advance.

        • Hello,
          troutchaser

          Hello,

           

          Could you give a little more information.

           

          Are you using the MMP 'stand alone' or with a baseboard?

           

          Can you check and make sure that SW5[0:4] is set correctly for booting from the micro SD Card: SW5 = x011x.

           

          What is your host PC OS? Have you successfully installed the Silicon Labs CP210x USB UART drivers on your host PC? Does the Silicon labs device appear as a Comm port on your host PC (in device manager for Windows) when the MMP board is powered and a USB cable is connected from J4 to your host PC USB port?

           

          -Gary

            • Hi Gary
              sungyung_lim

              Hi Gary

              Thank you for reply. We have successfully used microzed 7z020 with IO carrier card, which rules out possible causes by CP210x and host PC.

              The zynq 7z100 is currently mounted on mini-module plus baseboard II. I did follow the setup instruction but will double-check the SW5 configuration again in the lab.

              Thanks - S.Y.

                • Hello S.Y.
                  troutchaser

                  Hello S.Y.

                   

                  Does the Silicon labs device appear as a Comm port on your host PC (in device manager for Windows) when the MMP board is powered and a USB cable is connected from J4 to your host PC USB port?

                   

                  -Gary

                    • Hi Gary
                      sungyung_lim

                      Hi Gary

                      Yes, it appears as comm6. The switch is validated to be set to 00110.
                      We also have 7z045. It looks working with MMP board when testing after swapping zynq chips. The "getting started guide" shipped with 7z100 is actually the version for 7z045. I'm wondering whether this works for 7z100.

                      Thanks - S.Y.

                • Hello S.Y.
                  troutchaser

                  Hello S.Y.

                   

                  The Getting Started Guide is applicable to the 7Z100 as well. You will need a different boot image for the 7z045 board vs the 7x100 board. The Config_Done LED (D1) on the BaseBoard should light if the device is configured correctly. If you need you can download each image from the Zynq MMP Reference Designs page:

                   

                  http://zedboard.org/support/design/3006/26

                   

                   

                   

                  I am not sure what you mean by 'swapping zynq chips'. If this means that the serial connection works with a 7z045 MMP board but not with the 7z100 MMP board you should be aware that each Silicon Labs CP210x USB UART device will enumerate individually, so if the Comm port is '6' for one of the boards, it will some other Comm port number (such as '7') on the other board. You would need to have a different instance of your terminal program (such as Tera Term or Putty).

                   

                  -Gary

                    • Thank you Gary. The linux
                      sungyung_lim

                      Thank you Gary. The linux image downloaded from the website (with planAhead) has a serial connection work.

                      I have two more questions:

                      1. we use vivado 2014.2 that is compatible with matlab 2015a. I'm wondering whether the image with vivado 2014.2 is available.

                      2. I cannot establish Ethernet connection between pc and zynq 7z100. We use a USB Ethernet card with a router. Do I need some additional steps ?

                      Thank you so much. S. Y.

                    • Hello S.Y.
                      troutchaser

                      Hello S.Y.

                       

                      We have a Vivado 2014.2 Petalinux Software Reference Design and BSP available on the Zynq MMP Reference Designs and Tutorials page:

                       

                      http://zedboard.org/support/design/3006/26

                       

                      The Ethernet connection could be several things. Does the software running on your Zynq MMP board us DHCP or some other method to obtain an IP address or do you set a static IP address? Is the IP address set on the same subnet as your router. Does it conflict with another device on your router with the same IP address?

                       

                      I have also see this problem when wireless ethernet is enabled on the host PC

                       

                      -Gary

                      • Hello Adrian,
                        troutchaser

                        Hello Adrian,

                         

                        A colleague of mine was able to get an MMP board and was able to verify the issue you observed with the QSPI Flash load. It looks like we have a problem with the pre-loaded QSPI image and will work on that. Thanks for alerting us to the problem.

                         

                        I am not sure exactly what you are seeing with the Out of Box SD Card image. If you push SW10 the LED brightness application should exit and return to the Linux prompt. You can download the Out of Box SD card image, along with documentation and directions on the LED Brightness demo application from the MMP Reference Designs /Tutorials page here:

                         

                        http://zedboard.org/support/design/3006/26

                         

                        We also verified that the image available with the MMP compressed PetaLinux BSP, which you can also download from the same MMP Reference Designs page, works correctly. This image is more up to date than the Out of Box SD Card Linux image and you may want to start with that. The compressed BSP image you download is basically a zip file of a zip file, so use WinZip or similar program to extract twice.

                         

                        -Gary

                          • Thanks!!!
                            adrianbweissman

                            Thanks, I will download this new image and give it a try.
                            I really appreciate the help !!!

                            Adrian

                            • SW10 did not work
                              adrianbweissman

                              Hi,
                              I pushed SW10 and all the other switches.  Still does not boot.
                              I will try downloading the new image and give that a shot.
                              Adrian

                                • Please help
                                  adrianbweissman

                                  Hi Gary,
                                  I need assistance.  My board does not boot.  Pressing SW10 does not get me around the Led dimmer issue.
                                  I would also like your email address and phone number to speed up the process.


                                  Adrian

                                  • The new image fails in the same location
                                    adrianbweissman

                                    Hi,
                                    I tried the new image and it also hangs in the same spot.
                                    Pressing SW10 does not allow the image to boot.

                                    Cheers,

                                    Adrian

                                      • Hello Adrian,
                                        troutchaser

                                        Hello Adrian,

                                         

                                        Once you power up your board and get the Linux prompt could you try entering "/opt/Avnet/led_dimmer.elf" and see if the LED brightness app works correctly?

                                         

                                        -Gary

                                          • Hi Gary,
                                            robertleeatavnet

                                            Hi Gary,

                                            Just unpacked a fresh spanking new Zynq MMC board.  I'm seeing the same symptom as Adrian.  After a "run sdboot" at the uboot prompt, Linux boot proceeds.  However, the last output is "led_brightness device class registered.", followed by a locked console.  No Linux prompt ever appears.

                                            Was there a resolution to this?

                                            ...
                                            xwdtps f8005000.ps7-wdt: Xilinx Watchdog Timer at f006c000 with timeout 10s

                                            sdhci: Secure Digital Host Controller Interface driver
                                            sdhci: Copyright(c) Pierre Ossman

                                            sdhci-pltfm: SDHCI platform and OF driver helper

                                            mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA

                                            usbcore: registered new interface driver usbhid

                                            usbhid: USB HID core driver

                                            led-brightness : Found device memory resource at 41200000 00000020.

                                            led-brightness : Char Device Region Registered, with Major: 248.

                                            led-brightness : led_brightness device class registered.

                                            p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}

                                              • Just wanted to document the
                                                robertleeatavnet

                                                Just wanted to document the solution.

                                                1.  

                                                  The image shipped on the SD card doesn't quite work.  I downloaded "Zynq MMP 7Z100 Out-of-Box Linux PlanAhead 14.5"
                                                     which was the corresponding zip file ZMMP_7100_OOB_Linux_PA14_5.zip. The relevant files are in the sd_card directory.

                                                2.  

                                                  SW5 settings were documented incorrectly on some reference materials found on the web (which may have been fine for another version of the board.)  The ZMMP_OOB_Linux_Guide_v1.1.pdf bundled with the zip file showed correct SW5[1:5] settings of off, off, on, on, off.

                                                With the above, the uboot environment variable "modeboot" gets correctly configured to "sdboot" on reset.  Boot proceeds correctly to Linux root prompt.  Running /opt/Avenet/led_dimmer.elf works:

                                                / # 

                                                / # /opt/Avnet/led_dimmer.elf 

                                                **********************************************************

                                                *                                                        *

                                                * Zynq Mini Module PLus (ZMMP) - LED Dimmer Application  *

                                                *                                                        *

                                                * Pushbutton switches are located on the MMP Baseboard 2 *

                                                * between the ZMMP and FMC mounting area (JX3)           *

                                                *                                                        *

                                                * Press SW8 to decrease LED brightness                   *

                                                *                                                        *

                                                * Press SW9 to increase LED brightness                   *

                                                *                                                        *

                                                * Press SW10 to exit                                     *

                                                *                                                        *

                                                **********************************************************

                                                GPIO 54 (SW8) set as INPUT

                                                GPIO 55 (SW9) set as INPUT

                                                GPIO 56 (SW10) set as INPUT

                                                p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo} span.s1 {font-variant-ligatures: no-common-ligatures}

                                                ^C