From mboxrd@z Thu Jan 1 00:00:00 1970 From: vibi sreenivasan Date: Thu, 13 Aug 2009 12:05:45 +0530 Subject: [U-Boot] Why u-boot & linux uses different machineid for at91rm9200dk In-Reply-To: <20090812194431.9155C833DBD2@gemini.denx.de> References: <1250062753.2419.8.camel@HunTEr> <20090812194431.9155C833DBD2@gemini.denx.de> Message-ID: <1250145346.2537.1.camel@HunTEr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hello Wolfgang Denk, On Wed, 2009-08-12 at 21:44 +0200, Wolfgang Denk wrote: > Dear vibi sreenivasan, > > In message <1250062753.2419.8.camel@HunTEr> you wrote: > > > > Why u-boot & linux uses different machine id for at91rm9200dk. > > do they? well, which exact versions of U-Boot and Linux are you > talking about? > > > is seems that u-boot is using 0x000000FB & linux is using > > 0x00000106. > > > > Can we fix this in u-boot itself ? > > In U-Boot I see: > > -> grep MACH_TYPE_AT91RM9200DK include/asm-arm/mach-types.h > #define MACH_TYPE_AT91RM9200DK 262 > # define machine_arch_type MACH_TYPE_AT91RM9200DK > # define machine_is_at91rm9200dk() (machine_arch_type == > # MACH_TYPE_AT91RM9200DK) > > 262 = 0x106. > > This iseems to be what Linux uses, too, and what is officially > registered. > > Maybe you should update your code? Thanks for your support, i was using an older version of u-boot. Thanks & Regards vibi sreenivasan > > Best regards, > > Wolfgang Denk >