From: Weijie Gao <weijie.gao@mediatek.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 05/18] arm: MediaTek: add basic support for MT7623 boards
Date: Fri, 16 Nov 2018 15:08:08 +0800 [thread overview]
Message-ID: <1542352088.18546.25.camel@mcddlt001> (raw)
In-Reply-To: <CAPnjgZ05VdrMZ+g2udxuGuD4zUqmbpPV9GfZqW6h=pLn0jmBVg@mail.gmail.com>
On Thu, 2018-11-15 at 11:21 -0800, Simon Glass wrote:
> Hi,
>
> On 14 November 2018 at 18:07, Ryder Lee <ryder.lee@mediatek.com> wrote:
> > From: Weijie Gao <weijie.gao@mediatek.com>
> >
> > This adds a general board file based on MT7623 SoCs from MediaTek.
> >
> > As this u-boot is loaded by MTK proprietary preloader, there is no
> > low level initializtion codes.
> >
> > Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
> > Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
> > Tested-by: Matthias Brugger <matthias.bgg@gmail.com>
> > ---
> > Changes since v5: None
> > Changes since v4:
> > -Add gd->bd->bi_boot_params for legacy method - ATAGs.
> > ---
> > arch/arm/mach-mediatek/Kconfig | 13 ++++
> > arch/arm/mach-mediatek/Makefile | 1 +
> > arch/arm/mach-mediatek/mt7623/Makefile | 4 ++
> > arch/arm/mach-mediatek/mt7623/init.c | 54 +++++++++++++++
> > arch/arm/mach-mediatek/mt7623/lowlevel_init.S | 22 ++++++
> > arch/arm/mach-mediatek/mt7623/preloader.h | 99 +++++++++++++++++++++++++++
> > board/mediatek/mt7623/Kconfig | 13 ++++
> > board/mediatek/mt7623/MAINTAINERS | 7 ++
> > board/mediatek/mt7623/Makefile | 3 +
> > board/mediatek/mt7623/mt7623_rfb.c | 16 +++++
> > configs/mt7623n_bpir2_defconfig | 54 +++++++++++++++
> > include/configs/mt7623.h | 56 +++++++++++++++
> > 12 files changed, 342 insertions(+)
> > create mode 100644 arch/arm/mach-mediatek/mt7623/Makefile
> > create mode 100644 arch/arm/mach-mediatek/mt7623/init.c
> > create mode 100644 arch/arm/mach-mediatek/mt7623/lowlevel_init.S
> > create mode 100644 arch/arm/mach-mediatek/mt7623/preloader.h
> > create mode 100644 board/mediatek/mt7623/Kconfig
> > create mode 100644 board/mediatek/mt7623/MAINTAINERS
> > create mode 100644 board/mediatek/mt7623/Makefile
> > create mode 100644 board/mediatek/mt7623/mt7623_rfb.c
> > create mode 100644 configs/mt7623n_bpir2_defconfig
> > create mode 100644 include/configs/mt7623.h
>
> Can this use the bloblist feature which should land soon?
>
> For now, see dm/spl-working.
>
> Regards,
> Simon
Hi Simon,
I've read the code for spl handoff. It's a good way though but
unfortunately it cannot be applied to the MT7623 boards.
The reason is that MT7623 uses a MediaTek proprietary preloader which
has the same function as the U-Boot SPL. But the preloader is
close-sourced (by company policy) and only available in binary release.
This means we can't use a real U-Boot SPL to replace the preloader.
At present this chip has already been used in many products. We can't
either release a different preloader which introduces compatibility
issues.
So the conclusion is that we cannot use the bloblist feature for this
SoC.
Best Regards,
Weijie
next prev parent reply other threads:[~2018-11-16 7:08 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-15 2:07 [U-Boot] [PATCH v5 00/18] Add U-Boot support for MediaTek SoCs - MT7623n & MT7629 Ryder Lee
2018-11-15 2:07 ` [U-Boot] [PATCH v5 01/18] tools: MediaTek: add MTK boot header generation to mkimage Ryder Lee
2018-11-27 3:12 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-27 4:51 ` Ryder Lee
2018-11-29 14:20 ` Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 02/18] arm: dts: MediaTek: add device tree for MT7629 Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 03/18] arm: dts: MediaTek: add device tree for MT7623 Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 04/18] arm: MediaTek: add basic support for MT7629 boards Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 05/18] arm: MediaTek: add basic support for MT7623 boards Ryder Lee
2018-11-15 19:21 ` Simon Glass
2018-11-16 7:08 ` Weijie Gao [this message]
2018-11-16 18:26 ` Simon Glass
2018-11-19 7:15 ` Weijie Gao
2018-11-19 17:14 ` Simon Glass
2018-11-20 6:35 ` Weijie Gao
2018-11-27 1:02 ` Simon Glass
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 06/18] clk: MediaTek: add clock driver for MT7629 SoC Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 07/18] clk: MediaTek: add clock driver for MT7623 SoC Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 08/18] timer: MediaTek: add timer driver for MediaTek SoCs Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 09/18] watchdog: MediaTek: add watchdog " Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 10/18] pinctrl: MediaTek: add pinctrl driver for MT7629 SoC Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:07 ` [U-Boot] [PATCH v5 11/18] pinctrl: MediaTek: add pinctrl driver for MT7623 SoC Ryder Lee
2018-11-29 14:20 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 12/18] power domain: MediaTek: add power domain driver for MT7629 SoC Ryder Lee
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 13/18] power domain: MediaTek: add power domain driver for MT7623 SoC Ryder Lee
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 14/18] serial: MediaTek: add high-speed uart driver for MediaTek SoCs Ryder Lee
2018-11-15 19:21 ` Simon Glass
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 15/18] ram: MediaTek: add DDR3 driver for MT7629 SoC Ryder Lee
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 16/18] mmc: mtk-sd: add SD/MMC host controller driver for MT7623 SoC Ryder Lee
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 17/18] doc: README.mediatek: Add a simple README for MediaTek Ryder Lee
2018-11-15 19:21 ` Simon Glass
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-15 2:08 ` [U-Boot] [PATCH v5 18/18] MAINTAINERS: add an entry " Ryder Lee
2018-11-29 14:21 ` [U-Boot] [U-Boot, v5, " Tom Rini
2018-11-17 9:37 ` [U-Boot] [PATCH v5 00/18] Add U-Boot support for MediaTek SoCs - MT7623n & MT7629 Frank Wunderlich
2018-11-17 10:20 ` Frank Wunderlich
2018-11-17 11:23 ` Frank Wunderlich
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=1542352088.18546.25.camel@mcddlt001 \
--to=weijie.gao@mediatek.com \
--cc=u-boot@lists.denx.de \
/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