public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Jerry Van Baren <gvb.uboot@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] (Try 2) Please pull branch fdt-cmd from	u-boot-fdt.git
Date: Tue, 03 Apr 2007 06:34:01 -0400	[thread overview]
Message-ID: <46122D99.3080408@gmail.com> (raw)
In-Reply-To: <1175593151.12080.17.camel@gentoo-jocke.transmode.se>

Joakim Tjernlund wrote:
> On Sat, 2007-03-31 at 13:43 -0400, Jerry Van Baren wrote:
>> Dear Wolfgang,
>>
>> Please pull from the "fdt-cmd" branch at
>>    git://cideas.us/pub/scm/u-boot/u-boot-fdt.git fdt-cmd
>> currently broken, someday fixed:
>>    git://denx.de/git/u-boot-fdt.git fdt-cmd
>>
>> I've resplit the patches and emailed them to the u-boot list.
>>
>> This change is only the starting point. :-) I've only done the
>> mpc8360/mpc8360emds board.  Some fairly small changes need to be done
>> to the other mpc8xxx family CPU and board subdirectories to allow them
>> to use the libfdt/fdt command.  To see what needs adapting, see:
>>   cpu/mpc83xx/cpu.c               |  102 +++++-
>>   board/mpc8360emds/pci.c         |   20 +
>>
>> Note that I've created a new CONFIG_OF_LIBFDT that is intended to
>> ultimately supplant CONFIG_OF_FLAT_TREE.  Use one or the other: new way
>> CONFIG_OF_LIBFDT or old way CONFIG_OF_FLAT_TREE.  Obviously, the only 
>> way to get the new fdt command is to use CONFIG_OF_LIBFDT.
> 
> This is probably a little off but I am thinking about were to
> put my dtb on the flash and it occured to me that it could fit into the
> environment sector as the environment doesn't use the whole sector.
> But one can't just write it into that sector without take measures to
> preserve the environment.
> Is this a bad idea?
> 
>  Jocke

That is an excellent idea and should be one of our goals: to better 
coordinate the dft and env variables.  As the penultimate goal, I 
believe we could move the env variables _into_ the dft and replace the 
get/set env routines with dft get/set routines.  I'm still thinking 
about this... env variables are used very early in power up (before RAM 
is initialized), but I haven't seen any reason that it /can't/ be done.

The downside of dfts is that the code is bigger.  My preliminary size 
delta with the code as it stands is about +4.5K.  I don't know how much 
we would save if we removed the env handling routines, but I'm sure 
nowhere near that (0.5K would be my guess).  For size sensitive u-boot 
images, we could use it read-only which would probably cut it down to 
1-2K, but then we would not be able to replace the env handling.

gvb

  reply	other threads:[~2007-04-03 10:34 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31 17:43 [U-Boot-Users] (Try 2) Please pull branch fdt-cmd from u-boot-fdt.git Jerry Van Baren
2007-03-31 18:20 ` Wolfgang Denk
2007-03-31 18:48   ` Jerry Van Baren
2007-04-03 23:50     ` Wolfgang Denk
2007-04-04 10:16       ` Jerry Van Baren
2007-04-04 12:22         ` [U-Boot-Users] Warning for mpc8360emds users: " Jerry Van Baren
2007-04-04 15:46           ` Timur Tabi
2007-04-04 16:17             ` Jerry Van Baren
2007-04-04 22:46               ` Wolfgang Denk
2007-04-05  3:08                 ` Jerry Van Baren
2007-04-05  8:06                   ` Wolfgang Denk
2007-04-05 11:00                     ` Jerry Van Baren
2007-04-05 18:02                       ` Bruce_Leonard at selinc.com
2007-04-05 18:12                         ` Jerry Van Baren
2007-04-05 18:40                           ` Bruce_Leonard at selinc.com
2007-04-06 21:57           ` Timur Tabi
2007-04-06 22:39             ` Jerry Van Baren
2007-04-07  0:15               ` Wolfgang Denk
2007-04-07  1:29                 ` Jerry Van Baren
2007-03-31 18:27 ` [U-Boot-Users] (Try 2) Please pull branch " Jerry Van Baren
2007-04-04  0:21   ` Wolfgang Denk
2007-04-03  9:39 ` Joakim Tjernlund
2007-04-03 10:34   ` Jerry Van Baren [this message]
2007-04-03 11:37     ` Joakim Tjernlund
2007-04-03 12:06       ` Jerry Van Baren
2007-04-03 12:59       ` [U-Boot-Users] dtb in env sector - was: (Try 2) Please pull Wolfgang Denk
2007-04-03 14:04         ` Joakim Tjernlund
2007-04-03 14:21           ` Jerry Van Baren
2007-04-03 14:36             ` Martin Krause
2007-04-03 15:14             ` Joakim Tjernlund
2007-04-03 15:17               ` Jerry Van Baren
2007-04-03 15:24             ` Wolfgang Denk
2007-04-03 18:53               ` Joakim Tjernlund
2007-04-03 12:53     ` Wolfgang Denk
2007-04-03 12:49   ` Wolfgang Denk
2007-04-03 13:58     ` Joakim Tjernlund
2007-04-03 15:18       ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46122D99.3080408@gmail.com \
    --to=gvb.uboot@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox