Re: [U-Boot] Standalone Application Images support (bootm)

Dear "Rodrigo Vilar",
please keep the mailing list copied.
In message 5fe3f7850809300849v22a0c987q83b4c8e5847482fb@mail.gmail.com you wrote:
Are "Standalone Applications" supported in the current u-boot (GIT repo)?
Yes, of course.
I am very happy to hear that. However the manual states "The bootm command is used to start operating system images." and Standalone Applications were supported on u-boot 1.2.0.
Standalone Applications are no operating systems,m so "bootm" is the wrong command.
Standalone Applications have been supported virtually forever.
I recommend you start reading the documentation, especally the section about Standalone Applications.
If you refer to chapter 5.12 I had already done so. It has been very useful to download an run standalone applications however there is no reference on how to do it with image files and bootm.
That's because Standalone Applications don't use image files and bootm. They use the "go" command as documented in the manual.
Is this so difficult?
appreciate the work you are doing with u-boot, however I also think you have overlooked my questions.
No, I haven't. If I tell you to read the documentation I am usually sure that the solution is theree. And the very first example (5.12.1. "Hello World" Demo) indeed shows how to run a SA application (not to mention that there is at least one relevant FAQ entry).
Best regards,
Wolfgang Denk

Dear Wolfgang Denk, Thanks for your response, I also answer your question below.
Are "Standalone Applications" supported in the current u-boot (GIT
repo)?
Standalone Applications are no operating systems,m so "bootm" is the
wrong command.
This is the answer I was expecting, bootm does not support Standalone Application Images. My question was not complete, I thought it was not necessary to repeat the mail subject. It should have been: "Are Standalone Application Images supported by bootm in the current u-boot (GIT repo)?"
That's because Standalone Applications don't use image files and bootm. They use the "go" command as documented in the manual.
Is this so difficult?
Probably not so difficult, however "go" on its own does not complete the job I want to do. I want u-boot to start a Standalone Application that is stored in flash without user interaction. In order to do that I have to copy the Standalone Application from flash to ram (it is not XIP) and then run it from ram. I will try to use scripting.
In any case it was easier with u-boot 1.2.0 where the bootm command did support Standalone Application Images making the program copy and run all in one go.
Best regards,
Rodrigo Vilar

Dear Rodrigo,
In message 5fe3f7850809301500w1357edafh732fec584ca64d09@mail.gmail.com you wrote:
Standalone Applications are no operating systems,m so "bootm" is the
wrong command.
This is the answer I was expecting, bootm does not support Standalone Application Images. My question was not complete, I thought it was not necessary to repeat the mail subject. It should have been: "Are Standalone Application Images supported by bootm in the current u-boot (GIT repo)?"
Ummm... no matter how often you ask, the answer will not change:
The command to start SA applications is "go". "bootm" is used for OS images. This is something different. "bootm" does not support SA applications.
Best regards,
Wolfgang Denk
participants (2)
-
Rodrigo Vilar
-
Wolfgang Denk