* [U-Boot] FDT without FIT?
@ 2011-08-23 15:40 Simon Schwarz
2011-08-23 17:45 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Simon Schwarz @ 2011-08-23 15:40 UTC (permalink / raw)
To: u-boot
Hi list,
I'am a bit stuck here.
How can FDT be used without a FIT image?
I can't really get this from the code - if someone can point me in the
right direction this would be great!
Thanks!
Simon
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] FDT without FIT?
2011-08-23 15:40 [U-Boot] FDT without FIT? Simon Schwarz
@ 2011-08-23 17:45 ` Wolfgang Denk
2011-08-24 9:50 ` Simon Schwarz
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2011-08-23 17:45 UTC (permalink / raw)
To: u-boot
Dear Simon Schwarz,
In message <4E53C9F6.4010609@gmail.com> you wrote:
>
> How can FDT be used without a FIT image?
I don't understand this question - using the FDT and the image format
are orthogonal to each other.
> I can't really get this from the code - if someone can point me in the
> right direction this would be great!
Try:
help bootm
For example:
tftp 600000 uImage
tftp 900000 board.dtb
bootm 600000 - 900000
What exactly is your problem?
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
"Unix is simple, but it takes a genius to understand the simplicity."
- Dennis Ritchie
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] FDT without FIT?
2011-08-23 17:45 ` Wolfgang Denk
@ 2011-08-24 9:50 ` Simon Schwarz
2011-08-24 12:59 ` Wolfgang Denk
0 siblings, 1 reply; 4+ messages in thread
From: Simon Schwarz @ 2011-08-24 9:50 UTC (permalink / raw)
To: u-boot
Dear Wolfgang Denk,
On 08/23/2011 07:45 PM, Wolfgang Denk wrote:
> Dear Simon Schwarz,
>
> In message<4E53C9F6.4010609@gmail.com> you wrote:
>>
>> How can FDT be used without a FIT image?
>
> I don't understand this question - using the FDT and the image format
> are orthogonal to each other.
>
>> I can't really get this from the code - if someone can point me in the
>> right direction this would be great!
>
> Try:
> help bootm
>
This prints:
# help bootm
bootm - boot application image from memory
Usage:
bootm [addr [arg ...]]
- boot application image stored in memory
passing arguments 'arg ...'; when booting a Linux kernel,
'arg' can be the address of an initrd image
Sub-commands to do part of the bootm sequence. The sub-commands must be
issued in the order below (it's ok to not issue all sub-commands):
start [addr [arg ...]]
loados - load OS image
cmdline - OS specific command line processing/setup
bdt - OS specific bd_t processing
prep - OS specific prep before relocation or go
go - start OS
(Yes, #define CONFIG_OF_LIBFDT 1 is in my board config)
> For example:
>
> tftp 600000 uImage
> tftp 900000 board.dtb
> bootm 600000 - 900000
>
> What exactly is your problem?
Thanks - john already pointed me to this. This works. It was/is just a
problem with the help text - duno why..
>
> Best regards,
>
> Wolfgang Denk
>
Regards
Simon
^ permalink raw reply [flat|nested] 4+ messages in thread* [U-Boot] FDT without FIT?
2011-08-24 9:50 ` Simon Schwarz
@ 2011-08-24 12:59 ` Wolfgang Denk
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2011-08-24 12:59 UTC (permalink / raw)
To: u-boot
Dear Simon Schwarz,
In message <4E54C961.70006@gmail.com> you wrote:
>
> This prints:
> # help bootm
> bootm - boot application image from memory
>
> Usage:
> bootm [addr [arg ...]]
> - boot application image stored in memory
> passing arguments 'arg ...'; when booting a Linux kernel,
> 'arg' can be the address of an initrd image
You must either have a very old version of U-Bot, or one without FDT
support built in.
> > What exactly is your problem?
> Thanks - john already pointed me to this. This works. It was/is just a
> problem with the help text - duno why..
Hm... I get this:
=> help bootm
bootm - boot application image from memory
Usage:
bootm [addr [arg ...]]
- boot application image stored in memory
passing arguments 'arg ...'; when booting a Linux kernel,
'arg' can be the address of an initrd image
===> When booting a Linux kernel which requires a flat device-tree
===> a third argument is required which is the address of the
===> device-tree blob. To boot that kernel without an initrd image,
===> use a '-' for the second argument. If you do not pass a third
===> a bd_info struct will be passed instead
Sub-commands to do part of the bootm sequence. The sub-commands must be
issued in the order below (it's ok to not issue all sub-commands):
start [addr [arg ...]]
loados - load OS image
ramdisk - relocate initrd, set env initrd_start/initrd_end
===> fdt - relocate flat device tree
cmdline - OS specific command line processing/setup
bdt - OS specific bd_t processing
prep - OS specific prep before relocation or go
go - start OS
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
... bacteriological warfare ... hard to believe we were once foolish
enough to play around with that.
-- McCoy, "The Omega Glory", stardate unknown
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-08-24 12:59 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-23 15:40 [U-Boot] FDT without FIT? Simon Schwarz
2011-08-23 17:45 ` Wolfgang Denk
2011-08-24 9:50 ` Simon Schwarz
2011-08-24 12:59 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox