openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: John Wang <wangzhiqiang.bj@bytedance.com>
To: openbmc@lists.ozlabs.org, joel@jms.id.au
Subject: [PATCH linux dev-5.8 v2 0/2] Add Bytedance g220a BMC machine
Date: Mon, 28 Sep 2020 17:45:33 +0800	[thread overview]
Message-ID: <20200928094535.4100-1-wangzhiqiang.bj@bytedance.com> (raw)

This patchset introduces a 64M flash-layout, which is used by the G220A.

In the openbmc project, if we want to use this 64M flash-layout, we
need to add fowllowing lines in the machine configuraion file.

FLASH_SIZE = "65536"
FLASH_ROFS_OFFSET = "5632"
FLASH_RWFS_OFFSET = "49152"

In this layout, kernel's offset is 0x80000, the same as the 32M layout
(most of the ast2500 use it), So we do not have to care about the kernel
offset

John Wang (1):
  ARM: dts: Add 64MiB OpenBMC flash layout

Lotus Xu (1):
  ARM: dts: aspeed: Add Bytedance g220a BMC machine

 arch/arm/boot/dts/Makefile                    |   1 +
 .../boot/dts/aspeed-bmc-bytedance-g220a.dts   | 919 ++++++++++++++++++
 .../arm/boot/dts/openbmc-flash-layout-64.dtsi |  35 +
 3 files changed, 955 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-bytedance-g220a.dts
 create mode 100644 arch/arm/boot/dts/openbmc-flash-layout-64.dtsi

-- 
2.25.1


             reply	other threads:[~2020-09-28  9:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-28  9:45 John Wang [this message]
2020-09-28  9:45 ` [PATCH linux dev-5.8 v2 1/2] ARM: dts: Add 64MiB OpenBMC flash layout John Wang
2020-09-28  9:45 ` [PATCH linux dev-5.8 v2 2/2] ARM: dts: aspeed: Add Bytedance g220a BMC machine John Wang

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=20200928094535.4100-1-wangzhiqiang.bj@bytedance.com \
    --to=wangzhiqiang.bj@bytedance.com \
    --cc=joel@jms.id.au \
    --cc=openbmc@lists.ozlabs.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).