From: Bo Gan <ganboing@gmail.com>
To: opensbi@lists.infradead.org
Cc: linmin@eswincomputing.com, pinkesh.vaghela@einfochips.com,
gaohan@iscas.ac.cn, samuel@sholland.org, wangxiang@iscas.ac.cn
Subject: Re: [PATCH v6 7/7] platform: generic: eswin: Add shutdown/reboot support for Hifive Premier P550
Date: Sat, 20 Dec 2025 22:49:28 -0800 [thread overview]
Message-ID: <151b04b0-034b-4deb-a7ac-277aa9add673@gmail.com> (raw)
In-Reply-To: <20251218104243.562667-8-ganboing@gmail.com>
I just found I made a typo.
On 12/18/25 02:42, Bo Gan wrote:
> Hifive Premier P550[1] is a Mini-DTX form factor board with EIC7700X.
> It has a STM32F407VET6 onboard MCU acting as the BMC, controlling
> ATX power on/off while providing remote management features. The
> EIC7700X SoC/SoM communicates with the BMC via UART2, using ESWIN's
> protocol. The messages transmitted are fixed sizes (267 bytes), and
> depending on the type, can be directional or bi-directional. The
> shutdown and cold reboot requests are directional messages from SoC
> to BMC (NOTIFY type) with CMD_POWER_OFF or CMD_RESTART. The payload
> of shutdown/cold reboot requests should be empty and are ignored by
> the BMC at the moment. A HFP (Hifive Premier) specific reset device
> is registered in addition to the SoC reset device. For shutdown and
> cold reboot, the board-level reset takes precedence.
>
> The definitions of the SoC <-> BMC message protocol is taken from
> ESWIN's repo [2]. The only file used from that repo is `hf_common.h`
> It's disjunctively dual licensed as (GPL-2.0-only OR BSD-2-Clause),
> hence, compatible with the license of OpenSBI. It's heavily modified
> and renamed as platform/generic/include/eswin/hfp.h. The author and
> copyright in the original file are retained.
>
> Validated shutdown/core reboot working on Hifive Premier P550.
core reboot -> cold reboot.
@Anup Would you mind help me fix it when merging? Or I'll fix it in v7
and later if there's any comment I need to address. Thanks!
Bo
--
opensbi mailing list
opensbi@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi
next prev parent reply other threads:[~2025-12-21 6:51 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-18 10:42 [PATCH v6 0/7] Initial ESWIN/EIC7700 and Hifive P550 support Bo Gan
2025-12-18 10:42 ` [PATCH v6 1/7] lib: sbi_hart_pmp: make sbi_hart_pmp_fence public Bo Gan
2025-12-18 14:35 ` Anup Patel
2025-12-18 10:42 ` [PATCH v6 2/7] lib: sbi_domain: add sbi_domain_get_oldpmp_flags Bo Gan
2025-12-18 14:36 ` Anup Patel
2025-12-18 10:42 ` [PATCH v6 3/7] lib: sbi_domain: make is_region_subset public Bo Gan
2025-12-18 14:38 ` Anup Patel
2025-12-18 10:42 ` [PATCH v6 4/7] lib: sbi: give platform choice of using single memregion to cover OpenSBI Bo Gan
2025-12-21 14:46 ` Anup Patel
2025-12-18 10:42 ` [PATCH v6 5/7] platform: generic: eswin: add EIC7700 Bo Gan
2025-12-21 14:49 ` Anup Patel
2025-12-18 10:42 ` [PATCH v6 6/7] lib: utils/serial: Support multiple UART8250 devices Bo Gan
2025-12-18 10:42 ` [PATCH v6 7/7] platform: generic: eswin: Add shutdown/reboot support for Hifive Premier P550 Bo Gan
2025-12-21 6:49 ` Bo Gan [this message]
2025-12-21 15:38 ` Anup Patel
2025-12-21 15:38 ` [PATCH v6 0/7] Initial ESWIN/EIC7700 and Hifive P550 support Anup Patel
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=151b04b0-034b-4deb-a7ac-277aa9add673@gmail.com \
--to=ganboing@gmail.com \
--cc=gaohan@iscas.ac.cn \
--cc=linmin@eswincomputing.com \
--cc=opensbi@lists.infradead.org \
--cc=pinkesh.vaghela@einfochips.com \
--cc=samuel@sholland.org \
--cc=wangxiang@iscas.ac.cn \
/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