From: Michael Schwingen <rincewind@discworld.dascon.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Update and Cut down mach types
Date: Wed, 20 Apr 2011 19:15:12 +0200 [thread overview]
Message-ID: <4DAF14A0.7050909@discworld.dascon.de> (raw)
In-Reply-To: <4DAEA026.1010309@compulab.co.il>
On 04/20/2011 10:58 AM, Igor Grinberg wrote:
> Hi Sandeep, Albert, Wolfgang,
>
> On 04/19/11 15:42, Paulraj, Sandeep wrote:
>> Wolfgang, Albert,
>>
>> Russell King sent some updates to the linux kernel for mach-types.
>>
>> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=6f82f4db80189281a8ac42f2e72396accb719b57
>>
>> He also removed a lot of entries which never made it to mainline.
> Well, as I understood from Russell, the main purpose of this "cut down"
> is to make "du -s linux/arch/arm" smaller, because there is no real need in
> all those boards listed in mach-types.h unless there is a support for them
> in mainline Linux kernel.
> Nevertheless the real ARM registry remains untouched - meaning that all
> board ids remain the same and no board is removed from the registry.
Correct.
> This is the place where U-Boot board support diverges from Linux...
>
> Are we obliged to follow the Linux mach-types.h?
> Can't we just adopt Russell's "cut down" script to boards supported by U-Boot?
> Or will it harden the mach-types.h future updates?
>
> Have you thought of getting rid of mach-types.h completely?
> Making every board define its ARM registry id can work and will
> eliminate the need for mach-types.h update every couple of months.
Also, why do we need to pull mach-types.h from Linux at all?
Why don't we pull the original master mach-types file, and generate the
required .h file(s) during make using the same (or a similar) script
Linux uses?
>> I have a patch and it is the branch below
>>
>> http://git.denx.de/?p=u-boot/u-boot-ti.git;a=shortlog;h=refs/heads/update-mach-types
> Have you checked that none of the removed boards are in U-Boot tree?
> Because if there are some, then their build will be broken...
It will break ACTUX1-ACTUX4 (which are in-tree, and work fine as soon as
the relocation-breakage-patch is accepted), plus DVLHOST, for which I
have patches submitted to add support.
For my own boards, I can go to the ARM machine database, touch the
entry, and wait until the define re-emerges in Linux, and await until
that is marged back to u-boot, but this is plain silly. However, for
DVLHOST, I am not the registered maintainer in the machine database, so
I would have to create a duplicate entry for this to work.
cu
Michael
next prev parent reply other threads:[~2011-04-20 17:15 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-19 12:42 [U-Boot] Update and Cut down mach types Paulraj, Sandeep
2011-04-19 13:39 ` Matthias Weißer
2011-04-19 13:45 ` Paulraj, Sandeep
2011-04-20 8:44 ` Albert ARIBAUD
2011-04-19 14:21 ` Wolfgang Denk
2011-04-19 18:42 ` Matthias Weisser
2011-04-19 18:44 ` Michael Schwingen
2011-04-20 8:15 ` Detlev Zundel
2011-04-20 8:58 ` Igor Grinberg
2011-04-20 17:15 ` Michael Schwingen [this message]
2011-04-20 17:49 ` Albert ARIBAUD
2011-04-20 19:26 ` Michael Schwingen
2011-04-21 11:39 ` Albert ARIBAUD
2011-04-26 18:14 ` Michael Schwingen
2011-04-26 19:40 ` Wolfgang Denk
2011-04-26 20:38 ` Albert ARIBAUD
2011-04-26 21:32 ` Wolfgang Denk
2011-04-26 21:38 ` Reinhard Meyer
2011-04-27 10:19 ` Michael Schwingen
2011-04-28 6:20 ` Igor Grinberg
2011-04-29 8:58 ` Detlev Zundel
2011-05-01 10:10 ` [U-Boot] [PATCH 1/3] arm: omap: innovator: fix compilation error Igor Grinberg
2011-05-17 12:40 ` Igor Grinberg
2011-05-21 21:40 ` Paulraj, Sandeep
2011-05-01 10:10 ` [U-Boot] [PATCH 2/3] arm: omap: innovator: Prepare for mach-types.h changes Igor Grinberg
2011-05-01 20:28 ` Alessandro Rubini
2011-05-02 7:18 ` Igor Grinberg
2011-05-03 10:08 ` [U-Boot] [PATCH v2 " Igor Grinberg
2011-05-03 12:29 ` Wolfgang Denk
2011-05-03 13:00 ` Igor Grinberg
2011-05-04 7:13 ` [U-Boot] [PATCH v3 " Igor Grinberg
2011-05-01 10:10 ` [U-Boot] [PATCH 3/3] arm: at91: ether: " Igor Grinberg
2011-05-01 19:38 ` Reinhard Meyer
2011-05-02 7:29 ` Igor Grinberg
2011-05-02 10:09 ` Detlev Zundel
2011-05-02 12:49 ` [U-Boot] [PATCH v2 " Igor Grinberg
2011-05-16 13:31 ` Igor Grinberg
2011-04-27 11:44 ` [U-Boot] Update and Cut down mach types Detlev Zundel
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=4DAF14A0.7050909@discworld.dascon.de \
--to=rincewind@discworld.dascon.de \
--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