<div dir="ltr"><br><div class="gmail_extra">Hi Jeff,<br><br></div><div class="gmail_extra"><div class="gmail_quote">2015-10-01 15:54 GMT+02:00 Webb, Jeffrey A. <span dir="ltr"><<a href="mailto:jeff.webb@nta-inc.net" target="_blank">jeff.webb@nta-inc.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="im">That is basically the process I followed, although I used the Xilinx xsdk tool.  (I did not know about the open source tool -- I will try it when I get a chance.  Do you still use the Xilinx tools to generate the fsbl, or something else?)  There seems to be a somewhat long delay when I boot up my RTEMS application the first time, and there is some issue with the serial port driver that causes missing characters at first.   I usually push the reset button, and things clear up on subsequent reboots.  Anyway, it sounds like there may need to be some changes to the bsp for the microzed, or at least some configuration parameters.  Did you look in the BSP configure script for options like clock rates that may need to be changed?  I had to change the peripheral clock configure option to get the ticker.exe tasks to run at the proper rate, although this didn't seems to alter the baud rate settings.  I might be able to get my hands on a microzed, but it will probably be a couple weeks before I<br>
  have time to try that.<br>
<br>
-Jeff</span><br></blockquote><div><br></div><div>I installed petalinux and did not spend too much time working with it, so I'm rather unexperienced with most of the things I'm talking about...<br><br></div><div>Using a freely available tool, I avoided installing the Xilinx SDK and having to handle licenses and stuff, which I would need only for the bootgen utility:<br>I had previously verified that a project compiled with petalinux and a BOOT.BIN generated with mkbootimage is working  properly on the target.<br></div><div><br>The fsbl.elf file is taken from the images folder of an existing (random) petalinux project I built in the past.<br><br></div><div>As for the settings, I assumed it should work out-of the box: in buildroot nothing had to be changed.<br></div><div>Today I tried to rebuild the BSP switching uart0 with uart1: uboot dts file defines serial0=&uart1, whereas I noticed that in RTEMS /dev/ttyS0 is associated to UART_0,  /dev/ttyS1 is associated to UART_1. I'm totally new to rtems so I might have done something utterly wrong.<br><br></div><div>I notice that with uboot, after loading the bitstream, the blue led lights up: after running the "bootm" command, nothing comes out of the serial, but the led stays blue.<br></div><div>whereas, f I run on purpose at the wrong address, so that the board hangs, the led switches off.<br><br></div><div>If you have some ideas to test, and the patience to give me a few advices, I'll be happy to try those.<br><br></div><div>Thank you<br></div><div>Davide<br></div></div></div></div>