[ELDK] eldk arm qemu hello world

Wolfgang Denk wd at denx.de
Thu Jul 22 15:47:21 CEST 2010


Dear Johan,

In message <4C48413C.3080100 at fun-tech.se> you wrote:
>
> I went back to read some more documentation,
> to avoid doing more "strange things".
> 
> So to correct my ways I started to read some kernel docs,
> but doing this total confusion started.

You have to make sure to read the fine print, i. e. pay attention n
every little detail.

>    gcc -static hello.c -o init
>    echo init | cpio -o -H newc | gzip > test.cpio.gz
...
> But but but, that is more or less what I tried and failed with.

More or less, right, but there is a tiny yet extremely important
difference: here the rogram is named "init", and this is what the
kernel is trying to execute.  You named it "test", and the kernel
knows nothing about this.

> Do you understand why this is in the docs if it wrong?

It's not wrong. Just very sensitive to even minimal variations.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"We all agree on the necessity of compromise. We just can't agree  on
when it's necessary to compromise."
                - Larry Wall in  <1991Nov13.194420.28091 at netlabs.com>


More information about the eldk mailing list