[ELDK] eldk arm qemu hello world

Johan eldk at fun-tech.se
Thu Jul 22 00:36:11 CEST 2010


I could not get the full scale to work,
so I started to scale down until I could not scale down any more.

I guess I went a little bit to far this time.


On 07/22/2010 12:25 AM, Wolfgang Denk wrote:
> Dear Johan,
> In message<4C4764AB.10808 at fun-tech.se>  you wrote:
>> I'm trying to follow the basic step to get a simple hello world to
>> compile and run in qemu (arm).
> ...
>> armVFP-gcc -static test.c -o test
>> echo test | cpio -o --format=newc>  rootfs
> Well, this is NOT a usable root file system. First, static linking
> with glibc is not excactly doing what you might think it does; second,
> the kernel tries to start "init", not "test"; third, user space
> applications expect a certain environment like stnadar input and
> output channels connected to devices, and all the other things a real
> init process will do for them.
> Why don't you use the ramdisk image that comes with the ELDK?
> Best regards,
> Wolfgang Denk

More information about the eldk mailing list