From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name
Date: Mon, 26 Nov 2012 16:51:55 -0500 [thread overview]
Message-ID: <50B3E47B.7090804@ti.com> (raw)
In-Reply-To: <1353966064.18021.15.camel@home.hno.se>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 11/26/12 16:41, Henrik Nordstr?m wrote:
> m?n 2012-11-26 klockan 14:05 -0700 skrev Tom Rini:
>
>> I think part of the solution is that in the environment now we
>> have board_name for the unique run-time-determined board we are
>> on (which defaults to CONFIG_SYS_BOARD). In each of these
>> Allwiner SoCs do we have the ability to tell at run-time what we
>> are on, or only build-time?
>
> Only build-time. There is no hardware board ID of any kind on the
> boards. But it mostly matters for SPL to know you have the right
> SPL for the board, and cosmetics to have main u-boot report the
> right board model (not important).
>
> But the more I think about it I think we will move all the
> important board parameters to a configuration header added to the
> SPL binary image, and we will then also add board name there. There
> is simply too many boards needing slightly different parameters but
> almost the same.
This is why, sooner rather than later I believe, we need to come up
with a good way to pass device trees in and around, asap. An SPL that
contains a device tree for the correct board (and passes along to
U-Boot which could in turn pass along to the kernel if it's a full
tree) would solve your problem, yes?
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/
iQIcBAEBAgAGBQJQs+R7AAoJENk4IS6UOR1WM14P/0ZUEk8E7+Qwmn1aGkXfRZBC
3cN06jWVBfio31Ic1HMJJJNoOsHgGLuV9hRI9Gl0U/9o4pvVLtI6tfIQB0rHdkDr
HYwiAeq6fuJV/HE+oOsEt+DKn/NZsQd3U45TL1oK5A53Bfqh56LDuieqJnZ1FE2F
2G2Bi3VfMaP/Fx4VhIJpDrE3UkWZH4uzkjV7B2BeCfPaY02cEUbIsCYksPAUPxat
E9lXgVYE+HThHPfYVZOcDpf+R3NPwfNqT0y7d256bMmxQW6C6W6sJjK0JsmeEQWm
M+drhxaWXihtQ5pOUxSSgW5XOTbvdtJDA+vVLegPG0fjNKpAJStEsYPy2QJeZEzQ
HtTLX7EPuKk55t+vUVB5k5e6BIT8WUSu2nzxi4N9D6pZgE80DdeTIw6Ez+KfR10x
MiPaFpvLq3db7fzIg2GAoCiNppcimZPSBISRZyrUsZTDyXtsEgDqTqOOAcvmO6lY
9nHIFGAHG4QDW76Y1dW4/KkqI9TIwm6oph31sL/IgmhQ0R0TlwTKxV71ia4jwSOg
qSs3O2qK+LvgNCNqPgeLljRML2PdyoWsA17sTcmsh4Na9B1O0rRFEbFBCAiCZsug
toacIVgySbKdLucCHxcD7vS7IGSioVOsa+fPa7wSlKySLMcBxeooMqxR1+cqXsh7
/Kf4StcSqoMr8I7Mitgy
=uk8l
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-11-26 21:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-25 11:22 [U-Boot] [PATCH 1/2] mkconfig: Make CONFIG_SYS_BOARD_NAME default to the configured target name Henrik Nordström
2012-11-25 17:43 ` Wolfgang Denk
2012-11-25 17:55 ` Henrik Nordström
2012-11-25 20:01 ` Wolfgang Denk
2012-11-26 8:21 ` Henrik Nordström
2012-11-26 9:32 ` Wolfgang Denk
2012-11-26 21:05 ` Tom Rini
2012-11-26 21:41 ` Henrik Nordström
2012-11-26 21:51 ` Tom Rini [this message]
2012-11-26 22:01 ` Henrik Nordström
2012-11-27 14:53 ` Tom Rini
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=50B3E47B.7090804@ti.com \
--to=trini@ti.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.