Dear ba_f,

In message <5c515fb3b2f956768d10d2e2c2e94...@rbg.informatik.tu-darmstadt.de> 
you wrote:
> 
> But the kernel crushes pretty early with the following u-boot output:
> 
> ## Starting application at 0x01000000 ...
> ## Application terminated, rc = 0x1

This is NOT a crash.  The program terminates normally with a return
code of 1.

> What may cause "Application terminated, rc = 0x1"?

Something that takes the same effect as "return(1)" from your main()
function, resp. an "exit(1)" from other parts of the code.

> I don't think it is a regular code exit, like main(){ return 1; }.

But yes, it is.  From the line

        ## Application terminated, rc = 0x1

you can see that the program returned normally to U-Boot, and U-Boot
continues running (unless your code destroyed any of the U-Boot
execution environment).

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
I express preference for a chronological  sequence  of  events  which
precludes a violence.   - Terry Pratchett, _The Dark Side of the Sun_
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to