Re: [U-Boot] Update and Cut down mach types

2011-04-29 Thread Detlev Zundel
Hi Igor, [...] +1 to all said above, though some minor patching should be done: u-boot $ grep -rn machine_is_ --exclude=mach-types.h * arch/arm/cpu/arm920t/at91rm9200/ether.c:204:if (machine_is_csb337()) { board/ti/omap1610inn/omap1610innovator.c:66:if (machine_is_omap_h2())

Re: [U-Boot] Update and Cut down mach types

2011-04-28 Thread Igor Grinberg
On 04/27/11 13:19, Michael Schwingen wrote: Am 04/26/2011 11:38 PM, schrieb Reinhard Meyer: So IMO, if we have mach-types in U-Boot for supporting Linux, then we should keep using a (reasonably) up-to-date Linux machine ID list just like we do now -- mach-types that disappear from the list

Re: [U-Boot] Update and Cut down mach types

2011-04-27 Thread Michael Schwingen
Am 04/26/2011 11:38 PM, schrieb Reinhard Meyer: So IMO, if we have mach-types in U-Boot for supporting Linux, then we should keep using a (reasonably) up-to-date Linux machine ID list just like we do now -- mach-types that disappear from the list mean Linux support has become useless for that

Re: [U-Boot] Update and Cut down mach types

2011-04-27 Thread Detlev Zundel
Hi Reinhard, [...] why don't we just create the #define MACH_xxx lines directly from the http://www.arm.linux.org.uk/developer/machines/download.php;. We don't need all the *_is_* macros in u-boot anyway. Then we would have just a few 1000 lines of #define MACH_* ... and we could update

Re: [U-Boot] Update and Cut down mach types

2011-04-26 Thread Michael Schwingen
Am 04/21/2011 01:39 PM, schrieb Albert ARIBAUD: Le 20/04/2011 21:26, Michael Schwingen a écrit : year, right? Do ACTUX* and DVLHOST boards fit in this description? Yes. The ACTUX board ports are by me, while the DVLHOST machine type seems to be allocated by the manufacturer, Devolo, who never

Re: [U-Boot] Update and Cut down mach types

2011-04-26 Thread Wolfgang Denk
Dear Michael Schwingen, In message 4db70b98.6040...@discworld.dascon.de you wrote: Nevertheless, we need a method so that we no not need to patch the mach-types.h after every cacle where the Linux version is pulled in. Detlev Zundel suggested we might maintain a U-Boot local file

Re: [U-Boot] Update and Cut down mach types

2011-04-26 Thread Albert ARIBAUD
Le 26/04/2011 21:40, Wolfgang Denk a écrit : Dear Michael Schwingen, In message4db70b98.6040...@discworld.dascon.de you wrote: Nevertheless, we need a method so that we no not need to patch the mach-types.h after every cacle where the Linux version is pulled in. Detlev Zundel suggested we

Re: [U-Boot] Update and Cut down mach types

2011-04-26 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message 4db72d4a.5070...@aribaud.net you wrote: Well, as you stated yourself recently, why would/should we maintain mach-types that are apparently not going to be used? Do machine types have other uses than for Linux? No code in U-Boot should worry about the

Re: [U-Boot] Update and Cut down mach types

2011-04-26 Thread Reinhard Meyer
On 26.04.2011 23:32, Wolfgang Denk wrote: Dear Albert ARIBAUD, In message4db72d4a.5070...@aribaud.net you wrote: Well, as you stated yourself recently, why would/should we maintain mach-types that are apparently not going to be used? Do machine types have other uses than for Linux? No code

Re: [U-Boot] Update and Cut down mach types

2011-04-21 Thread Albert ARIBAUD
Le 20/04/2011 21:26, Michael Schwingen a écrit : On 04/20/2011 07:49 PM, Albert ARIBAUD wrote: Le 20/04/2011 19:15, Michael Schwingen a écrit : 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

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Detlev Zundel
Hi Michael, [...] I did that and got the following reply (without quotes due to cut-and-paste) [...] The normal URL which you fetch the file from (as contained within the file) will give you the full listing rather than the cut-down version. There really is no need for uboot to go picking

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Albert ARIBAUD
Le 19/04/2011 15:45, Paulraj, Sandeep a écrit : Hello Sandeep, Wolfgang Am 19.04.2011 14:42, schrieb Paulraj, Sandeep: Wolfgang, Albert, Russell King sent some updates to the linux kernel for mach-types. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Igor Grinberg
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

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Michael Schwingen
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.

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Albert ARIBAUD
Le 20/04/2011 19:15, Michael Schwingen a écrit : 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? Hmm, because it would mean maintaining the same script as Linux uses. With the current

Re: [U-Boot] Update and Cut down mach types

2011-04-20 Thread Michael Schwingen
On 04/20/2011 07:49 PM, Albert ARIBAUD wrote: Le 20/04/2011 19:15, Michael Schwingen a écrit : 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? Hmm, because it would mean maintaining the

[U-Boot] Update and Cut down mach types

2011-04-19 Thread Paulraj, Sandeep
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. I have a patch and it

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Matthias Weißer
Hello Sandeep, Wolfgang Am 19.04.2011 14:42, schrieb Paulraj, Sandeep: 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

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Paulraj, Sandeep
Hello Sandeep, Wolfgang Am 19.04.2011 14:42, schrieb Paulraj, Sandeep: 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

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Wolfgang Denk
Dear =?ISO-8859-1?Q?Matthias_Wei=DFer?=, In message 4dad90af.2080...@arcor.de you wrote: This will break a least jadecpu. We don't use Linux on this board. When porting I was requested to reserve an MACH_ID just in case the board will ever be used with Linux. This has not been the case for

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Matthias Weisser
Hello Wolfgang Am 19.04.2011 16:21, schrieb Wolfgang Denk: Dear =?ISO-8859-1?Q?Matthias_Wei=DFer?=, solution for ARM but non-Linux u-boot ports then? What should be passed to gd-bd-bi_arch_number? I think you have two options: 1) Complain with RMK about the removal of yoru MACH_ID.

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Michael Schwingen
...@discworld.dascon.de Subject: Re: [U-Boot] Update and Cut down mach types - ACTUX* and DVLHOST machines removed What makes it into the kernel is determined by a script which is based