10-08-2018 04:21 AM - edited 10-18-2018 01:56 AM
a
10-09-2018 06:16 AM - edited 11-06-2018 03:58 AM
Hey @aaron_b1,
thank you for all your help. In the end removing the ${S} was correct. The problem was that I compiled the app with an older Petalinux compiler version (2014.2).
Best regards,
Senna
10-08-2018 08:17 AM
You mention three problems, and it is unclear which ones you are still having: 1) failure to build, 2) failure to boot, and 3) once you build and boot, the executable is there but you are unable to run it.
Could you please restate the problem(s) you would like help with, this time with logs showing the exact error?
Incidentally, your BB file looks fine, and looks identical to others I've seen.
10-08-2018 10:34 PM - edited 11-06-2018 03:58 AM
Sorry had to remove this..
10-09-2018 05:50 AM
Not being an expert, I confess to being confused as to the method of booting you are showing. You show a bunch of "sf writes", which according to what docs I can find, are for writing FROM memory INTO flash... but I never see you put anything into that memory. In other words, what are you writing into the flash before you boot?
[What this output log looks like is that you wrote uninitialized memory into the flash, then tried to boot from it that data. But maybe I missed something (like reading the boot image from a tftp or sd card)]
In any case, assuming you've got your procedures correct, but seeing how you might typically boot, what you describe sounds like: when you DON'T install your application into the boot kernel, everything works fine. When you DO install it, it might change the kernel size. I'm going to go out on a limb and guess that you forgot to change the size in your "sf" command that copies the boot image? If you use the old size, perhaps you don't copy the whole image, and perhaps it fails a consistency check by the boot loader.
10-09-2018 06:16 AM - edited 11-06-2018 03:58 AM
Hey @aaron_b1,
thank you for all your help. In the end removing the ${S} was correct. The problem was that I compiled the app with an older Petalinux compiler version (2014.2).
Best regards,
Senna