public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, 36/36] rockchip: add common board file for rockchip platform
Date: Sun, 8 Apr 2018 18:35:31 -0400	[thread overview]
Message-ID: <20180408223531.GG10996@bill-the-cat.ec.rr.com> (raw)
In-Reply-To: <5f670ca9-55e0-89a0-6d15-21c6768c46c3@rock-chips.com>

On Sun, Apr 08, 2018 at 09:45:22AM +0800, Kever Yang wrote:
> Philipp,
> 
> 
> On 04/02/2018 05:28 AM, Philipp Tomsich wrote:
> >
> >
> > On Tue, 27 Mar 2018, Kever Yang wrote:
> >
> >> We use common board/spl/tpl file for all rockchip SoCs,
> >> - all the SoC spec setting should move into SoC file like rk3288.c;
> >> - tpl is option and only purpose to init DRAM, clock, uart(option);
> >> - spl do secure relate one time init, boot device select, boot into
> >>  U-Boot or trust or OS in falcon mode;
> >> - board do boot mode detect, enable regulator, usb init and so on.
> >
> > There's too much going on in a single commit/single series.
> > This needs to be split up into multiple, independent steps (e.g. one
> > for the timer changes, another one for the UART changes)...
> 
> I understand review the patches piece by piece is much more comfortable,
> and this patch including "too much" things. And I never expect this
> patch set
> can be merge quickly, but we have to do this ASAP before more SoC coming.
> I have do a lot of test and re-work in my local branch and at last make
> it landed in
> rockchip vendor U-Boot, with testing in most of SoCs(not including
> rk3066/rk3188).
> Well, I do try to split it into pieces, but I found that actually not
> help very much
> except waste much more time:
> - The target is(very clear) to make rockchip soc board file in a good
> shape with common files,
>     instead of copy-paste for each soc(more than 10 of them now)
> - then we need to identify what's common and what should go to soc and
> board;
> - remove using common rockchip timer and use arm generic timer instead
> for armv7
>     SoCs(rk3066 and rk3188 need still using rockchip timer)
> - most soc need to do uart init, boot order select, and some
> arch_cpu_init().
> - don't break the boards already working, so I still leave some code
> which not so common
>     in board file, but I would like to remove or move them into right
> place if I got a board
>     to verify;
> 
> @Simon, @Tom,
> This patch set is to remove some common files and add some other common
> files for
> all Rockchip SoCs, I have to make sure the whole patch set can running
> good for all SoCs,
> but it's really hard to make every patch to build and work perfect for
> all SoCs, is there
> any mandatory rules for this?

So you mean possibly breaking some existing platforms?  I don't like the
idea of doing that...

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180408/c6c4039d/attachment.sig>

  reply	other threads:[~2018-04-08 22:35 UTC|newest]

Thread overview: 138+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-27  9:28 [U-Boot] [PATCH 00/36] rockchip: clean up board file for rockchip SoCs Kever Yang
2018-03-27  9:28 ` [U-Boot] [PATCH 01/36] rockchip: rk3288: move configure_l2ctlr back to rk3288 Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:47   ` Philipp Tomsich
2018-04-02  1:27     ` Kever Yang
2018-03-27  9:28 ` [U-Boot] [PATCH 02/36] rockchip: add common MACRO to enable sys arch timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:51   ` Philipp Tomsich
2018-04-02  1:41     ` Kever Yang
2018-03-27  9:28 ` [U-Boot] [PATCH 03/36] rockchip: enable SYS_NS16550 for all SoCs by default Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:53   ` Philipp Tomsich
2018-03-27  9:28 ` [U-Boot] [PATCH 04/36] rockchip: defconfig: remove CONFIG_SYS_NS16550 Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:55   ` Philipp Tomsich
2018-03-27  9:28 ` [U-Boot] [PATCH 05/36] rockchip: add STIMER_BASE for all SoCs Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot,05/36] " Philipp Tomsich
2018-04-01 20:58   ` Philipp Tomsich
2018-04-02  1:53     ` Kever Yang
2019-03-28  8:21   ` [U-Boot] [PATCH 05/36] " Kever Yang
2019-03-29  1:02   ` [U-Boot] [RFC] simple address definition method for early TPL/SPL Kever Yang
2019-03-29 14:52     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 06/36] rockchip: add IRAM_START_ADDR for all SoCs Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:00   ` Philipp Tomsich
2018-04-02  1:55     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 07/36] rockchip: rk3328: add BOOT_MODE_REG for rk3328 Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:01   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 08/36] rockchip: rk322x: remove use rockchip timer as sys timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:03   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 09/36] rockchip: rk322x: sdram: use common udelay instead of rockchip_udelay Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 10/36] rockchip: rk322x: prepare to use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:06   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 11/36] rockchip: defconfig enable sysreset for rk3229 spl Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 12/36] rockchip: rk3036: sdram: use udelay instead of rockchip_udelay Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:44   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 13/36] rockchip: rk3036: remove sys timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot,13/36] " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 14/36] rockchip: rk3036: prepare to use commong board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:44   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 15/36] rockchip: declare sdram_init() in common header Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:45   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 16/36] rockchip: sdram-common: add api to pass dram info to trust os Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:43   ` Philipp Tomsich
2018-04-02  2:29     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 17/36] rockchip: sdram_common: add common dram_init_banksize Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:50   ` Philipp Tomsich
2018-04-02  2:40     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 18/36] rockchip: rk3188: remove rockchip timer as sys timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-02  9:38     ` Artturi Alm
2018-04-02  9:51       ` Dr. Philipp Tomsich
2018-04-05 13:16         ` Heiko Stuebner
2018-04-01 21:50   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 19/36] rockchip: rk3188: prepare to use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 20/36] rockchip: rk3128: remove rockchip timer as systimer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 21/36] rockchip: rk3128: prepare use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:51   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 22/36] rockchip: dts: rk3288: update spl-boot-order Kever Yang
2018-03-27 11:55   ` Peter Robinson
2018-03-28  3:13     ` Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 23/36] rockchip: rk3288: remove rockchip timer for sys timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 24/36] armv8: add timer_get_boot_us() for generic timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:53   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 25/36] rockchip: rk3288: prepare to use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 26/36] rockchip: rk1108: remove rockchip timer for sys timer Kever Yang
2018-03-27 11:33   ` Andy Yan
2018-03-27 15:57   ` Dr. Philipp Tomsich
2018-03-27 16:07   ` Alexander Kochetkov
2018-03-27 16:21     ` Alexander Kochetkov
2018-03-28  2:33       ` Kever Yang
2018-03-30 17:13         ` Alexander Kochetkov
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 27/36] rockchip: rv1108: prepare to use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 28/36] rockchip: rk3328: " Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 29/36] rockchip: rk3368: " Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:37   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 30/36] rockchip: lion-rk3368: remove rockchip timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:34   ` Philipp Tomsich
2018-04-02  3:19     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 31/36] rockchip: rk3399: prepare to use common board file Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:59   ` Philipp Tomsich
2018-04-02  3:22     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 32/36] rockchip: remove rk_timer Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot,32/36] " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2019-03-29  8:35   ` [U-Boot] [PATCH 32/36] " Alexander Kochetkov
2019-03-29 11:13     ` Kever Yang
2018-03-27  9:29 ` [U-Boot] [PATCH 33/36] rockchip: dts: rk3399-firefly: enable uart2 in spl Kever Yang
2018-03-27 11:49   ` Peter Robinson
2018-03-28  2:28     ` Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:38   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 34/36] rockchip: spl-boot-order: do not enable with OF_PLATDATA Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 20:40   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 35/36] rockchip: declear boot_devices in bootrom.h Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:09   ` Philipp Tomsich
2018-03-27  9:29 ` [U-Boot] [PATCH 36/36] rockchip: add common board file for rockchip platform Kever Yang
2018-04-01 20:21   ` [U-Boot] [U-Boot, " Philipp Tomsich
2018-04-01 21:28   ` Philipp Tomsich
2018-04-08  1:45     ` Kever Yang
2018-04-08 22:35       ` Tom Rini [this message]
2018-04-09  7:49         ` Dr. Philipp Tomsich
2018-04-10  6:54         ` Kever Yang
2018-04-10 12:32           ` Tom Rini
2018-04-10 12:38             ` Dr. Philipp Tomsich
2018-04-09  7:57       ` Dr. Philipp Tomsich
2018-04-13  7:51       ` Kever Yang
2018-04-13 13:11         ` Tom Rini
2018-04-13 13:32         ` Dr. Philipp Tomsich

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=20180408223531.GG10996@bill-the-cat.ec.rr.com \
    --to=trini@konsulko.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