linux-mips
[Top] [All Lists]

Re: [PATCH V7 2/4] MIPS: Add board support for Loongson1B

To: Kelvin Cheung <keguang.zhang@gmail.com>
Subject: Re: [PATCH V7 2/4] MIPS: Add board support for Loongson1B
From: Florian Fainelli <florian@openwrt.org>
Date: Thu, 21 Jun 2012 11:52:59 +0200
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>, wuzhangjin@gmail.com, zhzhl555@gmail.com
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=tJF9kinegGtGw6EXUMpANJJ6Mbc/u+ScpTiY4ZQoZEg=; b=KDDqfU4WIBEOL5x2A9aW4EkIvgEM/imNpyWejxocwk8BA9+3hgHADpocZSqxZf71Bh +EJwNud3Fyno9pOTdwJc6lJpoTHDwan4du1pFBtUYLvKjjJVaDn/PNrhMc/GIdMHlvEO tVqSy0i8zp3ldUD1RU0UiK832wzy3MCqdRZcJ0EYD7xVSId6UCv0lalb21+aKBKaIOoe 0q8irp6JGpl+USQWnYq6El4czHUor/6M4x7mF/A1QHGux18DIiTCKF7ks5bNaLE1Eo9R jv3cX4aamnbnSHT8JY6Gf/uKcBlSsUK+KzP2fbBZbPMVcfnRQ8UOCfe7jStI/2u1sKkb bjUg==
In-reply-to: <CAJhJPsVaK4dRbxhB_3QKhrgF3=tYXWwOcppH9V=a871UMRxRew@mail.gmail.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Organization: OpenWrt
References: <1339757617-2187-1-git-send-email-keguang.zhang@gmail.com> <5405989.s3J3Yyxttn@flexo> <CAJhJPsVaK4dRbxhB_3QKhrgF3=tYXWwOcppH9V=a871UMRxRew@mail.gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/4.8.3 (Linux/3.2.0-24-generic; KDE/4.8.3; x86_64; ; )
On Thursday 21 June 2012 17:11:04 Kelvin Cheung wrote:
> 2012/6/21 Florian Fainelli <florian@openwrt.org>
> 
> > On Thursday 21 June 2012 15:34:54 Kelvin Cheung wrote:
> > > 2012/6/21 Ralf Baechle <ralf@linux-mips.org>
> > [snip]
> > > >
> > > > And the final plug - take a look at FDT for a future revision of this
> > > > code :)
> > > >
> > > >
> > > Yes, I am aware that the FDT is the final target.
> > > But PMON which is the bootloader of Loongson CPU does not support FDT at
> > > present.
> > > I will remember this.
> >
> > Your bootloader does not need to support FDT, as long as you can provide a
> > FDT
> > by other means, such as appending a FDT at the end of your kernel.
> >
> 
> But how can I verify these code without support of bootloader?

Since you will be appending a DTB at the end of your kernel, you can start 
adding some properties to your DTS file and let the kernel parse them and make 
sure everything is correctly represented using device tree, then start 
removing your platform devices etc ...
--
Florian

<Prev in Thread] Current Thread [Next in Thread>