* [U-Boot-Users] fdt addr should copy fdt out of flash
@ 2007-04-24 19:03 Timur Tabi
2007-04-24 19:25 ` Jerry Van Baren
0 siblings, 1 reply; 8+ messages in thread
From: Timur Tabi @ 2007-04-24 19:03 UTC (permalink / raw)
To: u-boot
Jerry, I don't know which email address of yours to use, so I'm sending this to all of
them, because I frequently don't get replies to my emails to you.
I noticed in the code for 'fdt addr' that you don't mempcy the fdt into RAM if the address
is in flash. This means that commands like 'fdt set' won't work. In these cases, I think
the 'fdt addr' should automatically copy the fdt into RAM.
I believe that the original code did this already, so the current behavior is technically
a regression.
--
Timur Tabi
Linux Kernel Developer @ Freescale
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] fdt addr should copy fdt out of flash
2007-04-24 19:03 [U-Boot-Users] fdt addr should copy fdt out of flash Timur Tabi
@ 2007-04-24 19:25 ` Jerry Van Baren
2007-04-24 19:28 ` Timur Tabi
2007-04-24 20:28 ` Wolfgang Denk
0 siblings, 2 replies; 8+ messages in thread
From: Jerry Van Baren @ 2007-04-24 19:25 UTC (permalink / raw)
To: u-boot
Timur Tabi wrote:
> Jerry, I don't know which email address of yours to use, so I'm sending
> this to all of them, because I frequently don't get replies to my emails
> to you.
Hi Timur,
They all work. Don't take it personally, my wife claims I ignore her
too. ;-) Seriously, I don't intentionally ignore you, it seems like a
spam filter is hitting one of us.
The email addresses correspond to my day job, my night job, and I
subscribed to the u-boot list at home via gmail to control my email
clutter (I'm also subscribed to the u-boot list at my day job because
I'm an email junkie).
> I noticed in the code for 'fdt addr' that you don't mempcy the fdt into
> RAM if the address is in flash. This means that commands like 'fdt set'
> won't work. In these cases, I think the 'fdt addr' should automatically
> copy the fdt into RAM.
>
> I believe that the original code did this already, so the current
> behavior is technically a regression.
"fdt addr" is to tell fdt where the blob is in memory. If you want to
move it from flash to RAM, you need to use "fdt move".
The "bootm" code (should) still copy from flash to RAM if necessary,
because I adapted the existing code. I have not built any multi-images
and flashed them so that code is untested. I sent a query for RTFM
pointers on building multi-images but nobody responded and I have not
had time to follow up on that yet.
Best regards,
gvb
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] fdt addr should copy fdt out of flash
2007-04-24 19:25 ` Jerry Van Baren
@ 2007-04-24 19:28 ` Timur Tabi
2007-04-24 19:42 ` Jerry Van Baren
2007-04-24 20:28 ` Wolfgang Denk
1 sibling, 1 reply; 8+ messages in thread
From: Timur Tabi @ 2007-04-24 19:28 UTC (permalink / raw)
To: u-boot
Jerry Van Baren wrote:
> The email addresses correspond to my day job, my night job, and I
> subscribed to the u-boot list at home via gmail to control my email
> clutter (I'm also subscribed to the u-boot list at my day job because
> I'm an email junkie).
So if I had to email you out-of-the blue about an FDT issue, which one should I use?
> "fdt addr" is to tell fdt where the blob is in memory. If you want to
> move it from flash to RAM, you need to use "fdt move".
fdt move requires me to know how big the FDT is. Is there any way you can have it figure
out for me?
> The "bootm" code (should) still copy from flash to RAM if necessary,
> because I adapted the existing code.
Ah yes, you're right.
--
Timur Tabi
Linux Kernel Developer @ Freescale
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] fdt addr should copy fdt out of flash
2007-04-24 19:28 ` Timur Tabi
@ 2007-04-24 19:42 ` Jerry Van Baren
2007-04-24 20:27 ` Timur Tabi
0 siblings, 1 reply; 8+ messages in thread
From: Jerry Van Baren @ 2007-04-24 19:42 UTC (permalink / raw)
To: u-boot
Timur Tabi wrote:
> Jerry Van Baren wrote:
>
>> The email addresses correspond to my day job, my night job, and I
>> subscribed to the u-boot list at home via gmail to control my email
>> clutter (I'm also subscribed to the u-boot list at my day job because
>> I'm an email junkie).
>
> So if I had to email you out-of-the blue about an FDT issue, which one
> should I use?
Well, it is hard to say... if you want the fastest response during the
day (Eastern TZ), the smiths-aerospace.com address will be the one, but
it will probably change sometime fairly soon...
<http://www.defenseindustrydaily.com/2007/01/ge-buys-smiths-aerospace-for-48b/index.php>
(the deal is scheduled to close May 4).
The gvb.uboot at gmail is how I'm subscribed as at home, and that is
where I work on u-boot, but the response time will be less consistent.
CC:ing the list will generally be the fastest and most reliable.
>> "fdt addr" is to tell fdt where the blob is in memory. If you want to
>> move it from flash to RAM, you need to use "fdt move".
>
> fdt move requires me to know how big the FDT is. Is there any way you
> can have it figure out for me?
Yup, I'll add that as a desired enhancement. The size should be
optional like it is with "fdt addr".
<http://www.denx.de/wiki/view/UBoot/UBootFdtInfo#ToDo>
Done (adding it to the ToDo list, that is).
>> The "bootm" code (should) still copy from flash to RAM if necessary,
>> because I adapted the existing code.
>
> Ah yes, you're right.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] fdt addr should copy fdt out of flash
2007-04-24 19:25 ` Jerry Van Baren
2007-04-24 19:28 ` Timur Tabi
@ 2007-04-24 20:28 ` Wolfgang Denk
2007-04-24 23:43 ` Jerry Van Baren
1 sibling, 1 reply; 8+ messages in thread
From: Wolfgang Denk @ 2007-04-24 20:28 UTC (permalink / raw)
To: u-boot
In message <462E5992.3000405@smiths-aerospace.com> you wrote:
>
> The "bootm" code (should) still copy from flash to RAM if necessary,
> because I adapted the existing code. I have not built any multi-images
> and flashed them so that code is untested. I sent a query for RTFM
> pointers on building multi-images but nobody responded and I have not
> had time to follow up on that yet.
Imagine that in the long run the current dumb multi-file image format
will be replaced by a new, more flexible one, where images can have
types and other properties. Also imagine that libfdt code might be
used to read such properties...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The game of life is a game of boomerangs. Our thoughts, deeds and
words return to us sooner or later with astounding accuracy.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [U-Boot-Users] fdt addr should copy fdt out of flash
2007-04-24 20:28 ` Wolfgang Denk
@ 2007-04-24 23:43 ` Jerry Van Baren
0 siblings, 0 replies; 8+ messages in thread
From: Jerry Van Baren @ 2007-04-24 23:43 UTC (permalink / raw)
To: u-boot
Wolfgang Denk wrote:
> In message <462E5992.3000405@smiths-aerospace.com> you wrote:
>> The "bootm" code (should) still copy from flash to RAM if necessary,
>> because I adapted the existing code. I have not built any multi-images
>> and flashed them so that code is untested. I sent a query for RTFM
>> pointers on building multi-images but nobody responded and I have not
>> had time to follow up on that yet.
>
> Imagine that in the long run the current dumb multi-file image format
> will be replaced by a new, more flexible one, where images can have
> types and other properties. Also imagine that libfdt code might be
> used to read such properties...
>
> Best regards,
> Wolfgang Denk
Imagine me dragging my feet until the problem becomes SEP. :-)
<http://en.wikipedia.org/wiki/Somebody_Else%27s_Problem_field>
gvb
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-04-24 23:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-24 19:03 [U-Boot-Users] fdt addr should copy fdt out of flash Timur Tabi
2007-04-24 19:25 ` Jerry Van Baren
2007-04-24 19:28 ` Timur Tabi
2007-04-24 19:42 ` Jerry Van Baren
2007-04-24 20:27 ` Timur Tabi
2007-04-24 23:37 ` Jerry Van Baren
2007-04-24 20:28 ` Wolfgang Denk
2007-04-24 23:43 ` Jerry Van Baren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox