From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 09 Oct 2003 11:54:27 +0100 (BST) Received: from [IPv6:::ffff:203.82.55.162] ([IPv6:::ffff:203.82.55.162]:50930 "EHLO 1aurora.enabtech") by linux-mips.org with ESMTP id ; Thu, 9 Oct 2003 11:54:21 +0100 Received: by 1aurora.enabtech with Internet Mail Service (5.5.2650.21) id <4RT7BKQB>; Thu, 9 Oct 2003 15:46:20 +0500 Message-ID: <10C6C1971DA00C4BB87AC0206E3CA38264F05F@1aurora.enabtech> From: Adeel Malik To: linux-mips@linux-mips.org Subject: YAMON Source code modification Date: Thu, 9 Oct 2003 15:46:19 +0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C38E52.92A44720" Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3395 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: AdeelM@avaznet.com Precedence: bulk X-list: linux-mips This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C38E52.92A44720 Content-Type: text/plain; charset="iso-8859-1" We want to port and 'run' YAMON to our own MIPS-based Development Board. Can someone tell me what changes are necessary in the YAMON source code so that it works on our board ?. Regards, ADEEL MALIK, ------_=_NextPart_001_01C38E52.92A44720 Content-Type: text/html; charset="iso-8859-1"
We want to port and 'run' YAMON to our own MIPS-based Development Board. Can someone tell me what changes are necessary in the YAMON source code so that it works on our board ?.
Regards,
ADEEL MALIK,
 

------_=_NextPart_001_01C38E52.92A44720-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 09 Oct 2003 19:02:06 +0100 (BST) Received: from gateway-1237.mvista.com ([IPv6:::ffff:12.44.186.158]:38126 "EHLO orion.mvista.com") by linux-mips.org with ESMTP id ; Thu, 9 Oct 2003 19:02:04 +0100 Received: (from jsun@localhost) by orion.mvista.com (8.11.6/8.11.6) id h99I1s319204; Thu, 9 Oct 2003 11:01:54 -0700 Date: Thu, 9 Oct 2003 11:01:54 -0700 From: Jun Sun To: Adeel Malik Cc: linux-mips@linux-mips.org, jsun@mvista.com Subject: Re: YAMON Source code modification Message-ID: <20031009110154.B17781@mvista.com> References: <10C6C1971DA00C4BB87AC0206E3CA38264F05F@1aurora.enabtech> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <10C6C1971DA00C4BB87AC0206E3CA38264F05F@1aurora.enabtech>; from AdeelM@avaznet.com on Thu, Oct 09, 2003 at 03:46:19PM +0500 Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3402 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: jsun@mvista.com Precedence: bulk X-list: linux-mips On Thu, Oct 09, 2003 at 03:46:19PM +0500, Adeel Malik wrote: > We want to port and 'run' YAMON to our own MIPS-based Development Board. Can > someone tell me what changes are necessary in the YAMON source code so that > it works on our board ?. > Regards, > ADEEL MALIK, > Actually is YAMON code freely available? Can someone from MIPS confirm that and perhaps point to the downloading place? Many people have asked me about this in the past ... Jun From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 09 Oct 2003 19:42:29 +0100 (BST) Received: from mx2.mips.com ([IPv6:::ffff:206.31.31.227]:38297 "EHLO mx2.mips.com") by linux-mips.org with ESMTP id ; Thu, 9 Oct 2003 19:41:57 +0100 Received: from newman.mips.com (ns-dmz [206.31.31.225]) by mx2.mips.com (8.12.5/8.12.5) with ESMTP id h99IcndA014839; Thu, 9 Oct 2003 11:38:53 -0700 (PDT) Received: from xchange.mips.com (xchange [192.168.20.31]) by newman.mips.com (8.9.3/8.9.0) with ESMTP id LAA09463; Thu, 9 Oct 2003 11:42:56 -0700 (PDT) Received: by xchange.mips.com with Internet Mail Service (5.5.2653.19) id <43ZYK49B>; Thu, 9 Oct 2003 11:38:39 -0700 Message-ID: <0C5F4C7A1E3ED51194E200508B2CE32A02264E57@xchange.mips.com> From: "Mitchell, Earl" To: "'Jun Sun'" , Adeel Malik Cc: linux-mips@linux-mips.org Subject: RE: YAMON Source code modification Date: Thu, 9 Oct 2003 11:38:34 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3403 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: earlm@mips.com Precedence: bulk X-list: linux-mips The YAMON license agreement is here which essentially says its GPL but read this anyway ... http://www.mips.com/LicenseMapper/Yamon_license The YAMON source code is here ... http://www.mips.com/content/Products/SoftwareTools/yamon Last time I read it the YAMON porting guide doc included with this distribution was kinda weak. That is, it does not explicitly tell you which files to change and so on compared to something like Wind River's porting guide for vxworks which is very explicit and detailed. But hey vxworks is a commercial product and this is free code. ;-) If you've ported a boot loader before you know the usual things you have to change (e.g. exception handlers, memory map specific stuff, device drivers, memory initialization, etc). The porting guide is not very explicit about which files each of these items is located in. So last time I ported YAMON I simply walked thru the code starting from ./yamon/arch/reset/bootvector/reset.S and modified what I needed to as I hit code that needed to change. You'd end up doing this anyway for bringup debugging. In most cases a LOT of code will be reusable because YAMON detects what core you have etc. So the amount of code you need to add/change is dependent on how close your target hardware is to what's already supported. There are other boot loaders available you can use like U-boot, Redboot, PMON, etc. The knock on YAMON is that its much bigger than these other loaders. That's because guys who originally wrote it chose not to use 'ifdefs' and conditional compiles for all the variants. So you get code linked in for all the variations (even though that code is not used) and it jumps to correct routines depending on your architecture. Makes the maintenance easier I guess. Not really meant to be used as a production bootrom in products but is used for eval boards. -earlm -----Original Message----- From: Jun Sun [mailto:jsun@mvista.com] Sent: Thursday, October 09, 2003 11:02 AM To: Adeel Malik Cc: linux-mips@linux-mips.org; jsun@mvista.com Subject: Re: YAMON Source code modification On Thu, Oct 09, 2003 at 03:46:19PM +0500, Adeel Malik wrote: > We want to port and 'run' YAMON to our own MIPS-based Development Board. Can > someone tell me what changes are necessary in the YAMON source code so that > it works on our board ?. > Regards, > ADEEL MALIK, > Actually is YAMON code freely available? Can someone from MIPS confirm that and perhaps point to the downloading place? Many people have asked me about this in the past ... Jun From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 09 Oct 2003 21:16:20 +0100 (BST) Received: from mailout03.sul.t-online.com ([IPv6:::ffff:194.25.134.81]:52663 "EHLO mailout03.sul.t-online.com") by linux-mips.org with ESMTP id ; Thu, 9 Oct 2003 21:15:48 +0100 Received: from fwd09.aul.t-online.de by mailout03.sul.t-online.com with smtp id 1A7fsd-0003LD-07; Thu, 09 Oct 2003 20:51:19 +0200 Received: from denx.de (rS-VOmZY8eTVJ5Ucz4b55uGdKTsnbwdyxHNbI2jA2pHZ6MDf33VKEf@[217.235.220.36]) by fmrl09.sul.t-online.com with esmtp id 1A7fsT-02TiL20; Thu, 9 Oct 2003 20:51:09 +0200 Received: from atlas.denx.de (atlas.denx.de [10.0.0.14]) by denx.de (Postfix) with ESMTP id 93E324314F; Thu, 9 Oct 2003 20:51:07 +0200 (MEST) Received: by atlas.denx.de (Postfix, from userid 15) id 6E6FFC59E4; Thu, 9 Oct 2003 20:51:04 +0200 (MEST) Received: from atlas.denx.de (localhost [127.0.0.1]) by atlas.denx.de (Postfix) with ESMTP id 6B60AC545E; Thu, 9 Oct 2003 20:51:04 +0200 (MEST) To: Jun Sun Cc: linux-mips@linux-mips.org From: Wolfgang Denk Subject: Re: YAMON Source code modification X-Mailer: exmh version 1.6.4 10/10/1995 Mime-version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-transfer-encoding: 8bit In-reply-to: Your message of "Thu, 09 Oct 2003 11:01:54 PDT." <20031009110154.B17781@mvista.com> Date: Thu, 09 Oct 2003 20:50:59 +0200 Message-Id: <20031009185104.6E6FFC59E4@atlas.denx.de> X-Seen: false X-ID: rS-VOmZY8eTVJ5Ucz4b55uGdKTsnbwdyxHNbI2jA2pHZ6MDf33VKEf@t-dialin.net Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 3404 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: wd@denx.de Precedence: bulk X-list: linux-mips In message <20031009110154.B17781@mvista.com> you wrote: > > Actually is YAMON code freely available? Can someone from MIPS confirm > that and perhaps point to the downloading place? It is available for free, but under a special license that prevents you from using it for any hardware that is not a MIPS "Authorized Product". See http://www.mips.com/LicenseMapper/Yamon_license An alternative is to use U-Boot, the universal boot loader that covers not only MIPS but also PowerPC, ARM, and even x86 systems. See http://sourceforge.net/projects/u-boot U-Boot is strictly GPL. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de The ultimate barrier is one's viewpoint. - Terry Pratchett, _The Dark Side of the Sun_