[U-Boot-Users] Problems with Hello_world example
Wolfgang Denk
wd at denx.de
Tue Feb 17 22:03:27 CET 2004
In message <LAW12-F23kjho31VINg0005f0dc at hotmail.com> you wrote:
>
> we're using u-boot in a DBPXA250 based platform. We've burnt u-boot in Flash
> memory and successed to communicate with it using hyperterminal or minicom.
> Then we've loaded hello_world.bin in 0x00040004 and typed in u-boot's
> prompt:
> go 40004 Hello world
This is wrong. Load at 0x00040000 and start at 0x00040004.
> When this example is compiled, we are using the binary file that is created
> but, is this binary file created for our platform or does this example only
> work with some specific architectures?? Should it work correctly in our
> DBPXA250 bassed platform??
It should work on all platforms. I never tested it on DBPXA250, though.
> The u-boot's messages say that stdin, stdout and stderr are in the serial
> port (because we aren't initializating the LCD). The hello_world example
> program is printing messages using the printf() function and we suppose that
> when we compile for our system, the printf() function is trying to print
> those messages through the stdout of our system (that in this case is the
> serial port, isn't it??). So why can't we see the messages that is printing
> the Hello_world application thought serial line??? Why are we only seeing
> those numbers (03 3 3)??? It can't be a baudrate problem, can it??
This is most probably a usage error. See above.
Best regards,
Wolfgang Denk
--
See us @ Embedded World, Nuremberg, Feb 17 - 19, Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
The only person who always got his work done by Friday
was Robinson Crusoe.
More information about the U-Boot
mailing list