* [U-Boot-Users] tftpboot of multi image
2004-04-07 22:06 [U-Boot-Users] tftpboot of multi image Bob White
@ 2004-04-07 21:01 ` Dan Malek
2004-04-07 21:22 ` Wolfgang Denk
2004-04-07 21:26 ` Tolunay Orkun
2 siblings, 0 replies; 7+ messages in thread
From: Dan Malek @ 2004-04-07 21:01 UTC (permalink / raw)
To: u-boot
Bob White wrote:
> Are there instructions out there for using tftpboot to download an
> image with an initrd automatically boot the image? I haven't come
> across anything.
There are several ways to do this, some are even documented :-)
How did you create the image(s) to download?
> I am trying it with a simple tftpboot command (no options)
In all cases, you are going to have to set up the environment
and commands with some kind of options to help you out.
-- Dan
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
2004-04-07 22:06 [U-Boot-Users] tftpboot of multi image Bob White
2004-04-07 21:01 ` Dan Malek
@ 2004-04-07 21:22 ` Wolfgang Denk
2004-04-08 14:16 ` Bob White
2004-04-07 21:26 ` Tolunay Orkun
2 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Denk @ 2004-04-07 21:22 UTC (permalink / raw)
To: u-boot
In message <4074433C.13855.BF94F6B@localhost> you wrote:
> Are there instructions out there for using tftpboot to download an
> image with an initrd automatically boot the image? I haven't come
> across anything.
That's because it's just trivial:
=> tftp 400000 /tftpboot/uImage.multi ; bootm
> I am trying it with a simple tftpboot command (no options) and it
> appears as though the ramdisk is not loading to a good address because
> the system lock up after uncompressing the initrd at 0x91544054 (not a
> valid address in my system.)
OIt would have been really, really useful if you had bothered to
provide some more details, like the exact output of the failing
command. SO I can just guess that your load address is too low, and
you are overwriting parts of the image when the Linux kernel gets
uncompressed.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"More software projects have gone awry for lack of calendar time than
for all other causes combined."
- Fred Brooks, Jr., _The Mythical Man Month_
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
2004-04-07 22:06 [U-Boot-Users] tftpboot of multi image Bob White
2004-04-07 21:01 ` Dan Malek
2004-04-07 21:22 ` Wolfgang Denk
@ 2004-04-07 21:26 ` Tolunay Orkun
2004-04-08 16:06 ` Detlev Zundel
2 siblings, 1 reply; 7+ messages in thread
From: Tolunay Orkun @ 2004-04-07 21:26 UTC (permalink / raw)
To: u-boot
Bob,
I tried this and it worked:
=> setenv bootcmd tftp 01000000 uImage.multi\; setenv bootargs root=/dev/r
am rw console=ttyS0,38400\; bootm 01000000
=> boot
(adapt it for your board... remember to saveenv before boot if you want it
to persist)
I actually wished there was a way to obtain IP etc. config from dhcp
server without booting. That way I could have more control the image to
boot from u-boot environment. It could also allow me to quickly enable
network access when dhcp server is available on the network for testing
etc.
Best regards,
Tolunay
> Are there instructions out there for using tftpboot to download an
> image with an initrd automatically boot the image? I haven't come
> across anything.
>
> I am trying it with a simple tftpboot command (no options) and it
> appears as though the ramdisk is not loading to a good address because
> the system lock up after uncompressing the initrd at 0x91544054 (not a
> valid address in my system.)
>
> Bob
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
@ 2004-04-07 22:06 Bob White
2004-04-07 21:01 ` Dan Malek
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Bob White @ 2004-04-07 22:06 UTC (permalink / raw)
To: u-boot
Are there instructions out there for using tftpboot to download an
image with an initrd automatically boot the image? I haven't come
across anything.
I am trying it with a simple tftpboot command (no options) and it
appears as though the ramdisk is not loading to a good address because
the system lock up after uncompressing the initrd at 0x91544054 (not a
valid address in my system.)
Bob
--
Robert B. White Perigee, A Division of Sensis Corp
Software Design Engr 316 Commerce Blvd.
TEL: 315.453.7842x29 Liverpool, NY 13088
FAX: 315.453.7917 www.Perigee.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
2004-04-07 21:22 ` Wolfgang Denk
@ 2004-04-08 14:16 ` Bob White
0 siblings, 0 replies; 7+ messages in thread
From: Bob White @ 2004-04-08 14:16 UTC (permalink / raw)
To: u-boot
You were right, it was overwriting. It worked at a higher address. I
was using address 0x00100000 which is what appears in most of the
documentation.
Thank you.
> In message <4074433C.13855.BF94F6B@localhost> you wrote:
> > Are there instructions out there for using tftpboot to download an
> > image with an initrd automatically boot the image? I haven't come
> > across anything.
>
> That's because it's just trivial:
>
> => tftp 400000 /tftpboot/uImage.multi ; bootm
>
> > I am trying it with a simple tftpboot command (no options) and it
> > appears as though the ramdisk is not loading to a good address because
> > the system lock up after uncompressing the initrd at 0x91544054 (not a
> > valid address in my system.)
>
> OIt would have been really, really useful if you had bothered to
> provide some more details, like the exact output of the failing
> command. SO I can just guess that your load address is too low, and
> you are overwriting parts of the image when the Linux kernel gets
> uncompressed.
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering: Embedded and Realtime Systems, Embedded Linux
> Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
> "More software projects have gone awry for lack of calendar time than
> for all other causes combined."
> - Fred Brooks, Jr., _The Mythical Man Month_
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>
Bob
--
Robert B. White Perigee, A Division of Sensis Corp
Software Design Engr 316 Commerce Blvd.
TEL: 315.453.7842x29 Liverpool, NY 13088
FAX: 315.453.7917 www.Perigee.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
2004-04-07 21:26 ` Tolunay Orkun
@ 2004-04-08 16:06 ` Detlev Zundel
0 siblings, 0 replies; 7+ messages in thread
From: Detlev Zundel @ 2004-04-08 16:06 UTC (permalink / raw)
To: u-boot
Hi Tolunay,
> I actually wished there was a way to obtain IP etc. config from dhcp
> server without booting. That way I could have more control the image to
> boot from u-boot environment. It could also allow me to quickly enable
> network access when dhcp server is available on the network for testing
> etc.
Like the following?
=> setenv autoload no
=> dhcp
BOOTP broadcast 1
DHCP client bound to address 192.168.42.240
=>
Cheers
Detlev
--
Who is General Failure and why is he reading my hard disk?
^ permalink raw reply [flat|nested] 7+ messages in thread
* [U-Boot-Users] tftpboot of multi image
@ 2004-04-08 21:44 Tolunay Orkun
0 siblings, 0 replies; 7+ messages in thread
From: Tolunay Orkun @ 2004-04-08 21:44 UTC (permalink / raw)
To: u-boot
> Hi Tolunay,
>
>> I actually wished there was a way to obtain IP etc. config from dhcp
server without booting. That way I could have more control the image to
boot from u-boot environment. It could also allow me to quickly enable
network access when dhcp server is available on the network for testing
etc.
>
> Like the following?
>
> => setenv autoload no
> => dhcp
> BOOTP broadcast 1
> DHCP client bound to address 192.168.42.240
Glad to know. Thanks!
Best regards,
Tolunay
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-04-08 21:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-07 22:06 [U-Boot-Users] tftpboot of multi image Bob White
2004-04-07 21:01 ` Dan Malek
2004-04-07 21:22 ` Wolfgang Denk
2004-04-08 14:16 ` Bob White
2004-04-07 21:26 ` Tolunay Orkun
2004-04-08 16:06 ` Detlev Zundel
-- strict thread matches above, loose matches on Subject: below --
2004-04-08 21:44 Tolunay Orkun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox