<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Pablo, <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Sorry for the late reply and thank you for pushing us for getting the serial port repaired, the port was not functioning. Now that we have it working, I have started to debug through the serial communication, but I want to raise some doubts in the process. In the blog, <a href="https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp" target="_blank">https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp</a>, the last step is to <i>dd</i> the <i>u-boot-with-spl.bin</i> file as follows,</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><pre>dd if=/usr/share/uboot/${boardmodel}/u-boot-sunxi-with-spl.bin of=${sdcard} bs=1024 seek=8 conv=fsync,notrunc</pre></div></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">But is missing how to load the <i>u-boot-spl.bin </i>and<i> u-boot.img. </i>Could you please shine some light on this for us? I understand that the order has to be ROM code -> SPL -> u-boot -> kernel. Does it means that I have to also dd u-boot.img, like here,</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><pre><code>dd if=u-boot-spl.bin of=/dev/sdX bs=1024 seek=8
dd if=u-boot.img of=/dev/sdX bs=1024 seek=<b>X (?)</b>
</code></pre></div></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">On the other hand, I also tried to boot with another method using only the centOS Rootfs file (in the root ext4 partition), and the Boot.bin and image.ub files (in boot partitions) which I created using petalinux/yocto. The kernel boots up but falls into the kernel panic, with errors as <i>cant execute the /sbin/init - (error -8)</i> -> which refers as permission denied. Please let us know what you think of this too! <br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks a ton in advance!<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br clear="all"></div><div><div dir="ltr" class="m_-1992606703666816385gmail-m_3436723348689616157gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="font-family:arial,helvetica,sans-serif"><font color="#666666">Regards,</font></span></div><div dir="ltr"><font color="#666666"><span style="font-family:verdana,sans-serif"></span><span style="font-family:arial,helvetica,sans-serif">Piyush<br></span></font></div><div><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 10:23 PM Pablo Sebastián Greco <<a href="mailto:pablo@fliagreco.com.ar" target="_blank">pablo@fliagreco.com.ar</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<div class="gmail-m_-1992606703666816385gmail-m_3436723348689616157gmail-m_-7433641210950960478moz-cite-prefix">El 10/4/19 a las 09:27, Piyush Jadhav
escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi Pablo,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you very
much for the help. <br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Though I
performed the same steps from the wiki link, (<a href="https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp" target="_blank">https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp</a>)
for Zynq ZC706 using the uboot files you provided and the
generic userland image (also the old version with kernel
4.14), but the device <b>does not</b> boot up. The DONE leds
on the device does not light up at all. <br>
</div>
</div>
</blockquote>
Debugging these things without a serial console tend to be hard,
because you're flying blind.<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">At this point I
tried the generic userland image files on also the raspberry
pi3b+, even the raspberry <b>does not</b> boot up. Although
userland image provided for particularly raspberry works as
expected and boot into the device. <br>
</div>
</div>
</blockquote>
Yeah, the rasbperrypi images are really specific for those rpi, it
would be a miracle if those worked on other devices.<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I also see that
the userland generic image creates three partitions on the
drive, two of which are for boot, which does some procedure to
detect the board automatically. I was wondering, if it is
possible for you to guide me how I can create single boot
partition, using the files you provided. <br>
</div>
</div>
</blockquote>
There should be 4 partitions actually<br>
1 vfat, for rpi boot with generic kernel<br>
2 /boot<br>
3 swap<br>
4 /<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">There is high
possibility that I am doing something wrong. Please let me
know what you think,</div>
</div>
</blockquote>
As I said before, the first thing would be getting the serial
console working, with any distribution, just to be able to see the
device booting.<br>
Then, I'd try just to make uboot work, even without an OS image,
just an SD card without any other data or partitions.<br>
Only after all that is working, it should be easier to start testing
an OS.<br>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br clear="all">
</div>
<div>
<div dir="ltr" class="gmail-m_-1992606703666816385gmail-m_3436723348689616157gmail-m_-7433641210950960478m_6847985654826253237gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><span style="font-family:arial,helvetica,sans-serif"><font color="#666666">Regards,</font></span></div>
<div dir="ltr"><font color="#666666"><span style="font-family:verdana,sans-serif"></span><span style="font-family:arial,helvetica,sans-serif">Piyush
D Jadhav<br>
</span></font></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Apr 9, 2019 at 2:49 AM
Pablo Sebastián Greco <<a href="mailto:pablo@fliagreco.com.ar" target="_blank">pablo@fliagreco.com.ar</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><br>
</p>
<div class="gmail-m_-1992606703666816385gmail-m_3436723348689616157gmail-m_-7433641210950960478gmail-m_6847985654826253237gmail-m_7471802365650138077moz-cite-prefix">El
8/4/19 a las 12:28, Piyush Jadhav escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I am a
begineer in using the Zynq 7000 ZC706 SoC. I have
already booted linux made with Yocto project with
meta-xilinx and PREEMPT-RT layers. Everything is
working as expected. Though we are not satisfied with
the real time performance on Scheduler and Latency
tests, however alternatively it could be interesting
to compare with another OS like CentOS.<br>
<br>
I have followed the procedure on described here to
install CentOS using the rootfs files made with yocto
and the files in /boot (boot.bin + UImage + dtb).<a href="https://github.com/umiddelb/aarch64/wiki/Install-CentOS-7-on-your-favourite-ARMv8-ARM64-AArch64-board" class="gmail-m_-1992606703666816385gmail-m_3436723348689616157gmail-m_-7433641210950960478gmail-m_6847985654826253237gmail-m_7471802365650138077gmail-postlink" target="_blank">https://github.com/umiddelb/aarch64/wik
... ch64-board</a><br>
<br>
But I am not able to successfully create the OS. I am
not having a serial communication with the board, so I
cant debug further. I will/can only have a SSH
communication once the OS boots up.<br>
<br>
Does anyone guide me how can I take this ahead?</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
</div>
</blockquote>
I could not find anything aarch64 for that device, all I
found was 32 bits.<br>
That said, it seems to have mainline uboot and kernel
support (zynq-zc706.dts), so it could be installed using the
steps here <a href="https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp" target="_blank">https://wiki.centos.org/SpecialInterestGroup/AltArch/armhfp</a><br>
Since we usually don't build uboot for that device, I made a
version for you to test, and left it here <a href="https://people.centos.org/pgreco/zynq-zc706/" target="_blank">https://people.centos.org/pgreco/zynq-zc706/</a><br>
The normal images provided by CentOS use kernel 4.14, but if
you need an image with a newer version, we have this test
image here
<a class="gmail-m_-1992606703666816385gmail-m_3436723348689616157gmail-m_-7433641210950960478gmail-m_6847985654826253237gmail-m_7471802365650138077moz-txt-link-freetext" href="https://armv7.dev.centos.org/repos/images/CentOS-Userland-7-armv7hl-generic-Minimal-419-v26-1810-sda.raw.xz" target="_blank">https://armv7.dev.centos.org/repos/images/CentOS-Userland-7-armv7hl-generic-Minimal-419-v26-1810-sda.raw.xz</a>
which uses 4.19<br>
<br>
Please let us know how it went.<br>
<br>
Thanks.<br>
Pablo.<br>
</div>
</blockquote>
</div>
<br>
</blockquote>
HTH.<br>
Pablo.<br>
</div>
</blockquote></div>