Re: Qemu U-boot Standalone Application Crash

2021-04-29 Thread Bin Meng
Hi, On Fri, Apr 30, 2021 at 1:20 AM prashant basva wrote: > > Hi, > i am trying to execute standalone application from qemu u-boot, but when i > trued to execute using go or bootm , its getting crashed saying trap > Below is command used to launch qemu ppc u-boot > $ sudo qemu-system-ppc -m 1024

[U-Boot] standalone application on odroid xu4

2019-11-07 Thread Michael Neises
Hi, I'm working with the Odroid XU4 board. I want to execute a standalone application, like the hello_world function that is included with u-boot source. My steps to compile are: 1. clone the u-boot repo 2. `export ARCH=armv7a` 3. `export CROSS_COMPILE=arm-linux-gnueabi-` 4. `make` 5. Use sd_fusin

[U-Boot] Standalone application support in SPL

2019-08-06 Thread William Zhang
Hi All, Has anyone come across to the need to run the standalone application in SPL? Due to the onchip SRAM size limitation in our chip, we will need run the small foot print SPL to initialization DDR before we load the u-boot proper to the main DDR memory. We will have to run our DDR initial

[U-Boot] u-boot standalone application license question

2019-08-02 Thread William Zhang
Hi, We are looking at the standalone application support in u-boot and we feel it will be a good fit for our DDR initialization code that includes a library that we have no right to distribute in source. But we have some questions in regards to the GPL license exception here: https://gitlab.den

Re: [U-Boot] standalone application

2017-06-08 Thread Tom Rini
On Wed, Jun 07, 2017 at 08:07:11AM +0300, Ran Shalit wrote: > Hello, > > I am trying to load standalone application. > It works fine with the hello_world example ( bin format). > Then I move to build and run another application (uc/os) in eclipse. > The problem is that the bin format is very larg

[U-Boot] standalone application

2017-06-06 Thread Ran Shalit
Hello, I am trying to load standalone application. It works fine with the hello_world example ( bin format). Then I move to build and run another application (uc/os) in eclipse. The problem is that the bin format is very large. Is there a way to load other a standalone application in another forma

[U-Boot] Standalone Application

2016-09-13 Thread Matthew Larkin
I have found very little online about getting a standalone application up and running. I don't have much experience in general let alone firmware level code. What are the steps to creating my own standalone application? I got the hello_world.bin running, but the makefiles are so complex that I do

Re: [U-Boot] Standalone application - expanding export functions

2014-06-13 Thread Wolfgang Denk
Dear Sudhakar, In message <1402711264164-182331.p...@n7.nabble.com> you wrote: > > Suppose, say I add more functions to export/_export.h files and call it from > standalone application. But if I release only the u-boot binary and don't > release the binary of the standalone application should the

Re: [U-Boot] Standalone application - expanding export functions

2014-06-13 Thread swami91
Wolfgang, Thanks for the quick response. Suppose, say I add more functions to export/_export.h files and call it from standalone application. But if I release only the u-boot binary and don't release the binary of the standalone application should the standalone application source need to be relea

Re: [U-Boot] Standalone application - expanding export functions

2014-06-13 Thread Wolfgang Denk
Dear swami91, In message <1402687688522-182313.p...@n7.nabble.com> you wrote: > > I am confused. Can you please clarify if we can expand the export functions > with both with u-boot code functions and the functions I add to u-boot and > still not to GPL the standalone application if it uses those

[U-Boot] Standalone application - expanding export functions

2014-06-13 Thread swami91
Hi, I was going through the document in doc/README.standalone. It says I can add addition functions to export/_export.h: " To export some additional function foobar(), the following steps should be undertaken: - Ap

Re: [U-Boot] Standalone application on secondary cores

2014-06-02 Thread James Chargin
Dear Francesco Teodoro. On 05/30/2014 01:35 PM, Francesco Teodoro wrote: I'm using a SABRE SD board (from Freescale) based on i.MX6 and the u-boot version is the 2014.04 one. What I've been trying to do is to activate the secondary cores so that I would be able to use them. First of all I've i

[U-Boot] Standalone application on secondary cores

2014-05-31 Thread Francesco Teodoro
I'm using a SABRE SD board (from Freescale) based on i.MX6 and the u-boot version is the 2014.04 one. What I've been trying to do is to activate the secondary cores so that I would be able to use them. First of all I've imported the commands cpu status/release/reset, then I checked if they were

Re: [U-Boot] Standalone application issue.

2014-05-27 Thread Rommel G Custodio
Dear Wolfgang, Wolfgang Denk denx.de> writes: > > Dear Rommel, > > In message post.gmane.org> you wrote: > > > > Use "go", this was made for the purpose at hand! Thanks for the comments! I will give it a "go" next time :-) > > Best regards, > > Wolfgang Denk > All the best, Rommel

Re: [U-Boot] Standalone application issue.

2014-05-27 Thread Wolfgang Denk
Dear Rommel, In message you wrote: > > I've never got "bootm" to run any of the standalone applications in the Actually "go" is the native command that is supposed tobe used to start SA apps. > example directory but through trial and error (maybe luck) "bootelf" works > for me. I've tested t

Re: [U-Boot] Standalone application issue.

2014-05-27 Thread Rommel G Custodio
Dear Mazen mazen.e gmail.com> writes: > > Thanks Wolfgang, > > I will do and post the result. > > Many thanks. I've never got "bootm" to run any of the standalone applications in the example directory but through trial and error (maybe luck) "bootelf" works for me. I've tested that this wo

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread mazen.e
Hi, I am using the u-boot-arndale from https://github.com/virtualopensystems/u-boot-arndale and I am using the arm-linux-gnueabi- Linaro toolchain for compilation? I also tried u-boot-linaro-2013.03.01 but the issue persist? any suggestion please? Many thanks. -- View this message in context

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread Jeroen Hofstee
Hello, On zo, 2014-05-25 at 23:34 -0700, mazen.e wrote: > > ARNDALE5250 # bootm 0x43E0 > ## Booting kernel from Legacy Image at 43e0 ... >Image Name: Hello World >Image Type: ARM U-Boot Standalone Program (uncompressed) >Data Size:594 Bytes = 594 Bytes >Load Addre

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread mazen.e
Thanks Wolfgang, I will do and post the result. Many thanks. -- View this message in context: http://u-boot.10912.n7.nabble.com/Standalone-application-issue-tp180515p180707.html Sent from the U-Boot mailing list archive at Nabble.com. ___ U-Boot mai

Re: [U-Boot] Standalone application issue.

2014-05-26 Thread Wolfgang Denk
Dear "mazen.e", In message <1401086047300-180701.p...@n7.nabble.com> you wrote: > > mkimage -A arm -O u-boot -T standalone -C none -a 0x0c10 -e 0x0c10 > -n "Hello World" -d hello_world.bin Hello.img ... > ARNDALE5250 # bootm 0x43E0 > ## Booting kernel from Legacy Image at 43e0 ..

Re: [U-Boot] Standalone application issue.

2014-05-25 Thread mazen.e
Dear Wolfgang, Thank you very much. As per your request, I executed the following mkimage command: mkimage -A arm -O u-boot -T standalone -C none -a 0x0c10 -e 0x0c10 -n "Hello World" -d hello_world.bin Hello.img Than, I transferred to the board using uboot loadb (followed by the k

Re: [U-Boot] Standalone application issue.

2014-05-25 Thread Wolfgang Denk
Dear "mazen.e", In message <1401009344794-180667.p...@n7.nabble.com> you wrote: > > On the other hand, the command arm-linux-gnueabi-nm hello_world | grep > hello_world > > 0c10 T hello_world > > so, the entry point of the image 0c10 OK, so it's at 0c10. > mkimage -A arm -O u-boot

Re: [U-Boot] Standalone application issue.

2014-05-25 Thread mazen.e
Dear wolfagang, Again thank you very much. Please note : I used the following command : mkimage -A arm -O u-boot -T standalone -C none -a c100 -e c100 -n "Hello World" -d hello_world.bin Hello.img I transfred the image file to (using loadb 0x43e0), the md command shows the f

Re: [U-Boot] Standalone application issue.

2014-05-25 Thread Wolfgang Denk
Dear "mazen.e", In message <1401002648328-180660.p...@n7.nabble.com> you wrote: > > Here is the command I am using to make the image : > > mkimage -A arm -O u-boot -T standalone -C none -a c100 -e 0c10 -n > "Hello World" -d hello_world.bin HelloWorld.img > > > Please note that I checke

Re: [U-Boot] Standalone application issue.

2014-05-25 Thread mazen.e
Dear Wolfang, Dear Wolfang, Thank you very much for the time your are investing replying to my messages. Here is the command I am using to make the image : mkimage -A arm -O u-boot -T standalone -C none -a c100 -e 0c10 -n "Hello World" -d hello_world.bin HelloWorld.img Please note th

Re: [U-Boot] Standalone application issue.

2014-05-24 Thread Wolfgang Denk
Dear "mazen.e", In message <1400920322709-180612.p...@n7.nabble.com> you wrote: > > I tried loading the standalone app considering your remarks, however, the > app hangs at the following after a bootm command : >

Re: [U-Boot] Standalone application issue.

2014-05-24 Thread mazen.e
Dear Wolfgang, Thank you very much for pointing out the issue of address conflict. I tried loading the standalone app considering your remarks, however, the app hangs at the following after a bootm command : ---

Re: [U-Boot] Standalone application issue.

2014-05-23 Thread Wolfgang Denk
Dear "mazen.e", In message <1400831110428-180515.p...@n7.nabble.com> you wrote: > > I am trying to load and execute the hello world standalone app on the > arndale exynos 5250. I created an image using the mkimage tool and then used > the bootm to load and execute the image. However, the applicat

[U-Boot] Standalone application issue.

2014-05-23 Thread mazen.e
Hi, I am trying to load and execute the hello world standalone app on the arndale exynos 5250. I created an image using the mkimage tool and then used the bootm to load and execute the image. However, the applications does not print anything on the terminal and all what I can see is the following

Re: [U-Boot] standalone application export eth_receive: undefined index

2011-08-26 Thread Robin Theunis
Okay, I have put in my commands file #include So it could give me access to the eth_receive function. The strange thing is that when I use the eth_send function it doens't give any error. /Software/u-boot-1.3.3/board/ssysdatalogger/cmd_setup.c:25: undefined reference to `eth_receive' make: *** [u

Re: [U-Boot] standalone application export eth_receive: undefined index

2011-08-25 Thread Wolfgang Denk
Dear Robin Theunis, In message you wrote: > > I have a little problem. I need to access the eth_receive function in > my standalone application. The U-boot version is 1.3.3 (I know it is > old but it is a requirement). eth_receive is (intentionally) not an exported interface for standalone app

[U-Boot] standalone application export eth_receive: undefined index

2011-08-25 Thread Robin Theunis
Hi all I have a little problem. I need to access the eth_receive function in my standalone application. The U-boot version is 1.3.3 (I know it is old but it is a requirement). Also I have seen that I need to enable #define CONFIG_API but building with this option fails. Current platfom is a AT91RM

[U-Boot] Standalone application using saveenv

2010-08-27 Thread Hans Tornquist
Hi, I will write a standalone application and I want to use saveenv from it. But saveenv is not included in exports.h. Are there any intentions to add saveenv function to exports.h in later U-boot releases? I don't want the standalone application to be a GPL program. What I understand when I ha

Re: [U-Boot] Standalone application compilation

2010-02-08 Thread Detlev Zundel
Hi Salvatore, > Hi everyone. I'm writing because I have a problem. I'm running u-boot on an > mpc8641 ad I'd like to compile a custom application to make it running on > top of u-boot and I'm unable to compile it. Suppose I want to compile a > simple hello_world application just like this: > > int

[U-Boot] Standalone application compilation

2010-02-08 Thread Salvatore Campagna
Hi everyone. I'm writing because I have a problem. I'm running u-boot on an mpc8641 ad I'd like to compile a custom application to make it running on top of u-boot and I'm unable to compile it. Suppose I want to compile a simple hello_world application just like this: int main(int argc, char *argh

Re: [U-Boot] standalone application for ppc internal registers access

2009-04-21 Thread Detlev Zundel
Hi eija_flight, > I am using GCC inline assembly in standalone applications to access my cpu > (ppc) internal registers. And it seems some of the registers were needed by > U-boot to run, because when I am accessing some of these registers via > standalone applications, the board will go reset or

[U-Boot] standalone application for ppc internal registers access

2009-04-20 Thread eija_flight
there any method to avoid this reset/hangs matter and peacefully back to U-boot after exiting the standalone applications? because I need to use each of registers, respectively. Best regards, -- View this message in context: http://www.nabble.com/-U-Boot--standalone-application-for-ppc-internal

Re: [U-Boot] Standalone application after powerup

2008-10-10 Thread Wolfgang Denk
Dear "Nagesh.ML", In message <[EMAIL PROTECTED]> you wrote: > > What could be the possible solution to include the standalone application in > my board powerup sequence? This depends on where you want to include it. I think it is obvious that SA applications require a substantial amoun

[U-Boot] Standalone application after powerup

2008-10-10 Thread Nagesh.ML
Hi, I am trying to run the hello_world standalone application on my powerpc board(ppc 82xx). I get it worked right, when the u-boot prompt comes up by copying the hello_world.bin from flash to the RAM space(0x4) and then using the "go 0x40004" command. Everyting works fine in this case. The

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

2008-09-30 Thread Wolfgang Denk
Dear Rodrigo, In message <[EMAIL PROTECTED]> 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 >

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

2008-09-30 Thread Rodrigo Vilar
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,

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

2008-09-30 Thread Wolfgang Denk
Dear "Rodrigo Vilar", please keep the mailing list copied. In message <[EMAIL PROTECTED]> 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

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

2008-09-30 Thread Rodrigo Vilar
Dear "Wolfgang Denk", > > > > > 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-boo

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

2008-09-30 Thread Wolfgang Denk
Dear "Rodrigo Vilar", In message <[EMAIL PROTECTED]> you wrote: > > Are "Standalone Applications" supported in the current u-boot (GIT repo)? Yes, of course. > I have tried to bootm a Standalone Application image stored in flash and I > get the messages (u-boot then crashes): > Wrong Image

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

2008-09-30 Thread Rodrigo Vilar
Hi All, Are "Standalone Applications" supported in the current u-boot (GIT repo)? I have tried to bootm a Standalone Application image stored in flash and I get the messages (u-boot then crashes): Wrong Image Type for bootm command ERROR: can't get kernel image! In u-boot 1.2.0 file comm