From: "jay.xu" <jay.xu@rock-chips.com>
To: "Doug Anderson" <dianders@chromium.org>,
"Heiko Stübner" <heiko@sntech.de>
Cc: lintao <lintao@rock-chips.com>, Rob Herring <robh+dt@kernel.org>,
Pawel Moll <pawel.moll@arm.com>,
Mark Rutland <mark.rutland@arm.com>,
Ian Campbell <ijc+devicetree@hellion.org.uk>,
Kumar Gala <galak@codeaurora.org>,
Catalin Marinas <catalin.marinas@arm.com>,
Will Deacon <will.deacon@arm.com>,
Tao Huang <huangtao@rock-chips.com>,
David Riley <davidriley@chromium.org>,
Julius Werner <jwerner@chromium.org>,
smbarber@chromium.org,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"open list:ARM/Rockchip SoC..."
<linux-rockchip@lists.infradead.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board
Date: Wed, 27 Apr 2016 08:57:19 +0800 [thread overview]
Message-ID: <57200E6F.1080507@rock-chips.com> (raw)
In-Reply-To: <CAD=FV=Wgnz-vBo71f3mqFxcOpL7fJX58hXPJ+vk9uHpymqdN5Q@mail.gmail.com>
Hi Doug:
On 2016年04月27日 04:53, Doug Anderson wrote:
> Hi,
>
> On Tue, Apr 26, 2016 at 5:37 AM, Heiko Stübner <heiko@sntech.de> wrote:
>>> + model = "Rockchip RK3399 Evaluation Board";
>>> + compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
>>> + "google,rk3399evb-rev2", google,rk3399evb-rev1",
>>> + "google,rk3399evb-rev0" ;
>>
>> can you check against which compatibles that coreboot really matches?
>>
>> As we said that the evb changed between rev1 and rev2, I would expect the
>> compatible to be something like
>>
>> compatible = "rockchip,rk3399-evb", "google,rk3399evb-rev2",
>> "rockchip,rk3399";
>>
>> leaving out the rev1 and rev0
>
> What Heiko suggests seems reasonable to me.
>
> It all depends on what your bootloader is doing and what you guys want
> to do. Chrome OS designs that I've worked on have had board
> strappings that you can read a board ID from and that's how the BIOS
> (like coreboot) will figure out which board ID it is running on. I'm
> not aware of such strappings on rk3399-evb. Do they exist?
>
> Of course, even without strappings it's possible to get the bootloader
> to work sanely. You can either define the revision number at build
> time or you can store the revision number somewhere non-volatile.
>
yes, I will talk with coreboot developer about this, maybe to fix it in
coreboot and just keep simple in dtsi file.
thanks
Jianqun
>
> -Doug
>
>
>
WARNING: multiple messages have this Message-ID (diff)
From: jay.xu@rock-chips.com (jay.xu)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board
Date: Wed, 27 Apr 2016 08:57:19 +0800 [thread overview]
Message-ID: <57200E6F.1080507@rock-chips.com> (raw)
In-Reply-To: <CAD=FV=Wgnz-vBo71f3mqFxcOpL7fJX58hXPJ+vk9uHpymqdN5Q@mail.gmail.com>
Hi Doug?
On 2016?04?27? 04:53, Doug Anderson wrote:
> Hi,
>
> On Tue, Apr 26, 2016 at 5:37 AM, Heiko St?bner <heiko@sntech.de> wrote:
>>> + model = "Rockchip RK3399 Evaluation Board";
>>> + compatible = "rockchip,rk3399-evb", "rockchip,rk3399",
>>> + "google,rk3399evb-rev2", google,rk3399evb-rev1",
>>> + "google,rk3399evb-rev0" ;
>>
>> can you check against which compatibles that coreboot really matches?
>>
>> As we said that the evb changed between rev1 and rev2, I would expect the
>> compatible to be something like
>>
>> compatible = "rockchip,rk3399-evb", "google,rk3399evb-rev2",
>> "rockchip,rk3399";
>>
>> leaving out the rev1 and rev0
>
> What Heiko suggests seems reasonable to me.
>
> It all depends on what your bootloader is doing and what you guys want
> to do. Chrome OS designs that I've worked on have had board
> strappings that you can read a board ID from and that's how the BIOS
> (like coreboot) will figure out which board ID it is running on. I'm
> not aware of such strappings on rk3399-evb. Do they exist?
>
> Of course, even without strappings it's possible to get the bootloader
> to work sanely. You can either define the revision number at build
> time or you can store the revision number somewhere non-volatile.
>
yes, I will talk with coreboot developer about this, maybe to fix it in
coreboot and just keep simple in dtsi file.
thanks
Jianqun
>
> -Doug
>
>
>
next prev parent reply other threads:[~2016-04-27 0:57 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 2:36 [PATCH v3 0/4] ARM64: dts: rockchip: add support for RK3399 Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` [PATCH v3 1/4] Documentation: rockchip-dw-mshc: add description for rk3399 Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
[not found] ` <1461638206-20473-1-git-send-email-jay.xu-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-04-26 2:36 ` [PATCH v3 2/4] ARM64: dts: rockchip: add core dtsi file for RK3399 SoCs Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` [PATCH 3/4] Documentation: devicetree: rockchip: Document rk3399-evb Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 2:36 ` [PATCH 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board Jianqun Xu
2016-04-26 2:36 ` Jianqun Xu
2016-04-26 12:37 ` Heiko Stübner
2016-04-26 12:37 ` Heiko Stübner
2016-04-26 20:53 ` Doug Anderson
2016-04-26 20:53 ` Doug Anderson
2016-04-26 20:53 ` Doug Anderson
2016-04-27 0:57 ` jay.xu [this message]
2016-04-27 0:57 ` jay.xu
2016-04-27 0:56 ` jay.xu
2016-04-27 0:56 ` jay.xu
2016-04-27 0:56 ` jay.xu
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=57200E6F.1080507@rock-chips.com \
--to=jay.xu@rock-chips.com \
--cc=catalin.marinas@arm.com \
--cc=davidriley@chromium.org \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=galak@codeaurora.org \
--cc=heiko@sntech.de \
--cc=huangtao@rock-chips.com \
--cc=ijc+devicetree@hellion.org.uk \
--cc=jwerner@chromium.org \
--cc=lintao@rock-chips.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=smbarber@chromium.org \
--cc=will.deacon@arm.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.