Re: [U-Boot] Pull request: u-boot-riscv/master 20200804

2020-08-04 Thread Tom Rini
On Tue, Aug 04, 2020 at 09:53:04AM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - add DM based reset driver for SiFive SoC's.
> 
> Thanks
> Rick
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/714339244
> 
> The following changes since commit 68941e3b2c217907a49aa66af8bb65729b913397:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-x86 (2020-08-03 
> 10:25:47 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to ed50d3fae49b9dad58674b6609913beeac824e42:
> 
>   configs: reset: fu540: enable dm reset framework for SiFive (2020-08-04 
> 09:19:41 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master 20200724

2020-07-24 Thread Tom Rini
On Fri, Jul 24, 2020 at 03:18:45PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix SiFive HiFive Unleashed board booting failure problem.
> - Enable SiFive fu540 PWM driver.
> - Support SiFive fu540: SPI boot.
> - Update OpenSBI used for RISC-V CI testing.
> - Revert "riscv: Allow use of reset drivers".
> - Revert "Revert "riscv: sifive: fu540: Add gpio-restart support"".
> - sysreset: syscon:
>   - Don't assume default value for offset and mask property.
>   - Support value property.
> - qemu: Add syscon reboot and poweroff support.
> - Fix SIFIVE debug serial dependency.
> - Fix linking error when building u-boot-spl with no SMP support.
> - AE350 use fdtdec_get_addr_size_auto_noparent to parse smc reg.
> - Make memory node available to SPL in hifive-unleashed-a00-u-boot.dtsi
> - SiFive fu540 avoid using hardcoded ram base and size.
> 
> Thanks
> Rick
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/710968496
> 
> The following changes since commit 5d3a21df6694ebd66d5c34c9d62a26edc7456fc7:
> 
>   Merge tag 'dm-pull-20jul20' of git://git.denx.de/u-boot-dm (2020-07-23 
> 15:56:06 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to ecb70bdb9f12b694e3a50895a759119b3fc27507:
> 
>   ram: sifive: Avoid using hardcoded ram base and size (2020-07-24 14:56:29 
> +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master 2020-07-02(2)

2020-07-05 Thread Tom Rini
On Fri, Jul 03, 2020 at 03:44:47PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> This is version two of PR send by 7/2
> 
> Drop patchs about sysreset
> [PATCH 1/5] sysreset: syscon: Don't assume default value for offset and mask 
> property
> [PATCH 2/5] sysreset: syscon: Support value property
> [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support
> 
> Please pull some riscv updates:
> 
> - sbi: Add newline to error message
> - fu540: dts: Correct reg size of otp and dmc nodes
> - Enhance reserved memory fixup about PMP information passed from OpenSbi
> - sifive: fu540: Add gpio-restart support
> - qemu-riscv: Update QEMU run command
> - Assorted fixes related to reserved memory
> - fu540: enable all cache ways from U-Boot proper
> - use log functions in fdt_fixup
> 
> Thanks
> Rick
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/703843003
> 
> The following changes since commit bcfe764ee925d0820e82c69ccf75b71d142644c7:
> 
>   Merge tag 'efi-2020-07-rc6-2' of 
> https://gitlab.denx.de/u-boot/custodians/u-boot-efi (2020-06-30 17:15:39 
> -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to c5a444270f4f4d1f5418c97db9ff18631bf69846:
> 
>   riscv: use log functions in fdt_fixup (2020-07-03 15:09:12 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-07-03 Thread Bin Meng
Hi Rick,

On Fri, Jul 3, 2020 at 2:01 PM Rick Chen  wrote:
>
> > From: Tom Rini [mailto:tr...@konsulko.com]
> > Sent: Thursday, July 02, 2020 9:53 PM
> > To: Open Source Project uboot
> > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> >
> > On Thu, Jul 02, 2020 at 10:51:48AM +0800, ub...@andestech.com wrote:
> >
> > > Hi Tom,
> > >
> > > Please pull some riscv updates:
> > >
> > > - sbi: Add newline to error message
> > > - fu540: dts: Correct reg size of otp and dmc nodes
> > > - Enhance reserved memory fixup about PMP information passed from
> > > OpenSbi
> > > - sifive: fu540: Add gpio-restart support
> > > - qemu: Add syscon reboot and poweroff support
> > > - qemu-riscv: Update QEMU run command
> > > - Assorted fixes related to reserved memory
> > > - fu540: enable all cache ways from U-Boot proper
> > > - use log functions in fdt_fixup
> >
> > This changes a few MIPS and ARM platforms.  We're a few days away from 
> > release, so I don't feel comfortable taking this right now as I assume it 
> > hasn't been tested on the other platforms as well.  Sorry.
>
> Hi Tom,
>
> Thanks for your suggestions.
>
>
> Hi Bin,
>
> Can you separate this series about sysreset into two series ?
> [PATCH 1/5] sysreset: syscon: Don't assume default value for offset
> and mask property
> [PATCH 2/5] sysreset: syscon: Support value property
> [PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on
> [PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support
> [PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support
>
> It looks like that patch 3/5, 4/5, 5/5 doesn't depend on patch 1/5 and 2/5.

Patch 3 and 5 can be targeted for this release, and let's do patch
1,2,4 for the next release.

So you can drop patch 1,2,4 in your queue and resend the PR. Thanks!

Regards,
Bin


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-07-03 Thread Rick Chen
> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Thursday, July 02, 2020 9:53 PM
> To: Open Source Project uboot
> Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
>
> On Thu, Jul 02, 2020 at 10:51:48AM +0800, ub...@andestech.com wrote:
>
> > Hi Tom,
> >
> > Please pull some riscv updates:
> >
> > - sbi: Add newline to error message
> > - fu540: dts: Correct reg size of otp and dmc nodes
> > - Enhance reserved memory fixup about PMP information passed from
> > OpenSbi
> > - sifive: fu540: Add gpio-restart support
> > - qemu: Add syscon reboot and poweroff support
> > - qemu-riscv: Update QEMU run command
> > - Assorted fixes related to reserved memory
> > - fu540: enable all cache ways from U-Boot proper
> > - use log functions in fdt_fixup
>
> This changes a few MIPS and ARM platforms.  We're a few days away from 
> release, so I don't feel comfortable taking this right now as I assume it 
> hasn't been tested on the other platforms as well.  Sorry.

Hi Tom,

Thanks for your suggestions.


Hi Bin,

Can you separate this series about sysreset into two series ?
[PATCH 1/5] sysreset: syscon: Don't assume default value for offset
and mask property
[PATCH 2/5] sysreset: syscon: Support value property
[PATCH 3/5] riscv: Do not build reset.c if SYSRESET is on
[PATCH 4/5] riscv: qemu: Add syscon reboot and poweroff support
[PATCH 5/5] riscv: sifive: fu540: Add gpio-restart support

It looks like that patch 3/5, 4/5, 5/5 doesn't depend on patch 1/5 and 2/5.

Thanks,
Rick

>
> --


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-07-02 Thread Tom Rini
On Thu, Jul 02, 2020 at 10:51:48AM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - sbi: Add newline to error message
> - fu540: dts: Correct reg size of otp and dmc nodes
> - Enhance reserved memory fixup about PMP information passed from OpenSbi
> - sifive: fu540: Add gpio-restart support
> - qemu: Add syscon reboot and poweroff support
> - qemu-riscv: Update QEMU run command
> - Assorted fixes related to reserved memory
> - fu540: enable all cache ways from U-Boot proper
> - use log functions in fdt_fixup

This changes a few MIPS and ARM platforms.  We're a few days away from
release, so I don't feel comfortable taking this right now as I assume
it hasn't been tested on the other platforms as well.  Sorry.

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-23 Thread Sean Anderson
On 5/26/20 3:41 AM, Rick Chen wrote:
> Hi Tom
> 
>> From: Tom Rini [mailto:tr...@konsulko.com]
>> Sent: Monday, May 25, 2020 11:40 PM
>> To: Open Source Project uboot
>> Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
>> Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
>>
>> On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
>>
>>> Hi Tom,
>>>
>>> Please pull some riscv updates:
>>>
>>> - Add Sipeed Maix support.
>>> - sifive: fix palmer's email address.
>>> - Move all SMP related SBI calls to SBI_v01.
>>>
>>> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
>>>
>>> Thanks
>>> Rick
>>>
>>>
>>> The following changes since commit 9c5fef577494769e3ff07952a85f9b7125ef765b:
>>>
>>>   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
>>>
>>> are available in the Git repository at:
>>>
>>>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
>>>
>>> for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
>>>
>>>   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
>>>
>>

Hi, I just saw this thread, and I would like to comment on a few things.

>> There's too many generic changes in this PR for this late in the cycle, for 
>> things I gather related to the Maix platform.  All of the clk and DM changes 
>> impact virtually all platforms.  Please re-do this PR to drop the Maix 
>> platform support for now, and resubmit that for -next, which I will be 
>> opening shortly.  Everything else however is good for master.
> 
> Thanks for your explanations.
> Actually I have the same concern with you before sending this PR.
> 
> I have tried to ask Sean don't mix all codes together in one patchset.
> He shall separate and send them individually, If they are not highly 
> dependent.

I have been asked by Bin Meng and others to keep together related
patches so that the patch which uses changed/new behaviour is in the
same series as the patch which changes the behavior. I have tried to
split out unrelated patches and minimize changes. Would you rather all
patches which do not explicitly add maix support be split off from this
series?

> 
> Following are my suggestions from those patch-work:
> 
> Re: [PATCH v2 01/11] clk: Always use the supplied struct clk
> https://patchwork.ozlabs.org/project/uboot/patch/da401261-b73f-afae-0702-ada1e7dd8...@gmail.com/

The composite clock framework is only used by IMX in U-Boot as far as I
can tell. As such, it has a number of (mis)features which make it
unsuitable for generic code. These quirks are generally worked around in
a variety of ways by IMX code, often by using custom functions instead
of those within the CCF itself. The maix platform has around 40 clocks
in a complicated tree, and is not constrained by RAM or flash. Given
these circumstances, I think using the CCF is the correct choice.
However, in order to do so, I have had to address many of the quirks. I
could also add support for maix by effectively duplicating the CCF
within the maix driver. However, I think such a duplication of code is
likely to rot over time.

I have tried to describe why I think each of the clk patches should be
included in their commit messages. It may be unclear what the impact
will be on other users of the clock subsystem and the CCF.

[01/21] clk: Always use the supplied struct clk

This patch only affects users of the CCF. As discussed in the above
link, this specific behaviour is left over from when the CCF was ported
from Linux, due to the different semantics between struct clk and struct
clk_core. The problem here is that with the current system, either a
struct device must be associated with each CCF clock (a significant
overhead), or custom functions must be used for CCF clock operations.
The latter approach is used by the IMX code, but I would like to be able
to use the generic functions which are provided by CCF clocks.

[v13,02/21] clk: Check that ops of composite clock components exist before 
calling 

This only affects the CCF subsystem. This is a bugfix for drivers which
use composite clocks and do not always have the same sub-clocks. Without
this patch, if one registers a composite clock with a gate sub-clock,
and then registers another composite clock without a gate sub-clock,
calling a enable or disable on the latter clock will result in calling a
NULL pointer. No drivers currently use this functionality, but it is a
"gotcha" if one implements a driver which does.

[v13,03/21] clk: Unconditionally recursively en-/dis-able clocks

This affects all clock drivers, but primarily affects CCF clocks. This
patch is designed to handle a ca

Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-23 Thread Rick Chen
Hi Tom

> From: Bin Meng [mailto:bmeng...@gmail.com]
> Sent: Wednesday, June 24, 2020 10:58 AM
> To: Open Source Project uboot
> Cc: Tom Rini; U-Boot Mailing List; Rick Jian-Zhi Chen(陳建志)
> Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
>
> Hi Rick,
>
> On Wed, Jun 24, 2020 at 10:41 AM  wrote:
> >
> > Hi Tom,
> >
> > Please pull some riscv updates:
> >
> > - fu540: dts: Correct reg size of otp and dmc nodes
> > - sbi: Add newline to error message
> > - sifive/fu540: Enable SPI-NOR support
> >
> > Thanks
> > Rick
> >
> > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/701223929
> >
> >
> > The following changes since commit 4ff63383e3497389e66cf70943a83bdb1810462a:
> >
> >   Merge tag 'u-boot-imx-20200623' of 
> > https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-23 08:20:55 
> > -0400)
> >
> > are available in the Git repository at:
> >
> >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> >
> > for you to fetch changes up to 2148d9c76ef5efbf5b98ca3d3fcbaad465115e70:
> >
> >   riscv: fu540: dts: Correct reg size of otp and dmc nodes (2020-06-24 
> > 09:59:30 +0800)
> >
> > 
> > Bin Meng (2):
> >   riscv: fu540: dts: Remove the unnecessary space in the cpu2_intc node
> >   riscv: fu540: dts: Correct reg size of otp and dmc nodes
> >
> > Jagan Teki (6):
> >   sifive: fu540: Add runtime boot mode detection
> >   sifive: fu540: Add Booting from SPI
> >   env: Enable SPI flash env for SiFive FU540
> >   sifive: fu540: Mark the default env as SPI flash
> >   sifive: fu540: Add boot flash script offset, size
> >   sifive: fu540: Enable SF distro bootcmd
>
> You missed my review comments for Jagan's series.
> https://lists.denx.de/pipermail/u-boot/2020-June/417066.html
>
> Please hold on.

Please drop this PR.

Thanks,
Rick

>
> >
> > Sean Anderson (1):
> >   riscv: sbi: Add newline to error message
> >
>
> Regards,
> Bin
> CONFIDENTIALITY NOTICE:
>
> This e-mail (and its attachments) may contain confidential and legally 
> privileged information or information protected from disclosure. If you are 
> not the intended recipient, you are hereby notified that any disclosure, 
> copying, distribution, or use of the information contained herein is strictly 
> prohibited. In this case, please immediately notify the sender by return 
> e-mail, delete the message (and any accompanying documents) and destroy all 
> printed hard copies. Thank you for your cooperation.
>
> Copyright ANDES TECHNOLOGY CORPORATION - All Rights Reserved.


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-23 Thread Bin Meng
Hi Rick,

On Wed, Jun 24, 2020 at 10:41 AM  wrote:
>
> Hi Tom,
>
> Please pull some riscv updates:
>
> - fu540: dts: Correct reg size of otp and dmc nodes
> - sbi: Add newline to error message
> - sifive/fu540: Enable SPI-NOR support
>
> Thanks
> Rick
>
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/701223929
>
>
> The following changes since commit 4ff63383e3497389e66cf70943a83bdb1810462a:
>
>   Merge tag 'u-boot-imx-20200623' of 
> https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2020-06-23 08:20:55 
> -0400)
>
> are available in the Git repository at:
>
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
>
> for you to fetch changes up to 2148d9c76ef5efbf5b98ca3d3fcbaad465115e70:
>
>   riscv: fu540: dts: Correct reg size of otp and dmc nodes (2020-06-24 
> 09:59:30 +0800)
>
> 
> Bin Meng (2):
>   riscv: fu540: dts: Remove the unnecessary space in the cpu2_intc node
>   riscv: fu540: dts: Correct reg size of otp and dmc nodes
>
> Jagan Teki (6):
>   sifive: fu540: Add runtime boot mode detection
>   sifive: fu540: Add Booting from SPI
>   env: Enable SPI flash env for SiFive FU540
>   sifive: fu540: Mark the default env as SPI flash
>   sifive: fu540: Add boot flash script offset, size
>   sifive: fu540: Enable SF distro bootcmd

You missed my review comments for Jagan's series.
https://lists.denx.de/pipermail/u-boot/2020-June/417066.html

Please hold on.

>
> Sean Anderson (1):
>   riscv: sbi: Add newline to error message
>

Regards,
Bin


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-23 Thread Rick Chen
Hi Sean

Tom Rini  於 2020年6月23日 週二 上午8:45寫道:
>
> On Mon, Jun 22, 2020 at 02:03:52PM +0800, Rick Chen wrote:
> > Hi Tom
> >
> > > From: Tom Rini [mailto:tr...@konsulko.com]
> > > Sent: Monday, May 25, 2020 11:40 PM
> > > To: Open Source Project uboot
> > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> > >
> > > On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > Please pull some riscv updates:
> > > >
> > > > - Add Sipeed Maix support.
> > > > - sifive: fix palmer's email address.
> > > > - Move all SMP related SBI calls to SBI_v01.
> > > >
> > > > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> > > >
> > > > Thanks
> > > > Rick
> > > >
> > > >
> > > > The following changes since commit 
> > > > 9c5fef577494769e3ff07952a85f9b7125ef765b:
> > > >
> > > >   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > > >
> > > > for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> > > >
> > > >   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> > > >
> > >
> > > There's too many generic changes in this PR for this late in the cycle, 
> > > for things I gather related to the Maix platform.  All of the clk and DM 
> > > changes impact virtually all platforms.  Please re-do this PR to drop the 
> > > Maix platform support for now, and resubmit that for -next, which I will 
> > > be opening shortly.  Everything else however is good for master.
> >
> > May I ask for your suggestions about this patch series about "riscv:
> > Add Sipeed Maix support " ?
> > Shall I send a PR include this patch series in early release cycle or
> > shall I suggest Sean to re-edit this patch series for less generic
> > changes which may bring virtual impacts?
>
> So I looked over the generic changes again.  There's no other way to
> support the platform without those type of changes, yes?  If so, yes,
> lets put it in to -next.

Please rebase -next for upstream
There are some conflicts needed to be fixed.

Applying: clk: Always use the supplied struct clk
Applying: clk: Check that ops of composite clock components exist before calling
Applying: clk: Unconditionally recursively en-/dis-able clocks
Applying: clk: Fix clk_get_by_* handling of index
Applying: clk: Add K210 pll support
Applying: clk: Add a bypass clock for K210
Applying: clk: Add K210 clock support
Applying: dm: Add support for simple-pm-bus
Applying: dm: Fix error handling for dev_read_addr_ptr
Applying: reset: Add generic reset driver
error: patch failed: configs/sandbox_defconfig:196
error: configs/sandbox_defconfig: patch does not apply
Patch failed at 0010 reset: Add generic reset driver

Thanks,
Rick

>
> --
> Tom


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-22 Thread Rick Chen
Hi Tom,

> On Mon, Jun 22, 2020 at 02:03:52PM +0800, Rick Chen wrote:
> > Hi Tom
> >
> > > From: Tom Rini [mailto:tr...@konsulko.com]
> > > Sent: Monday, May 25, 2020 11:40 PM
> > > To: Open Source Project uboot
> > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> > >
> > > On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > Please pull some riscv updates:
> > > >
> > > > - Add Sipeed Maix support.
> > > > - sifive: fix palmer's email address.
> > > > - Move all SMP related SBI calls to SBI_v01.
> > > >
> > > > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> > > >
> > > > Thanks
> > > > Rick
> > > >
> > > >
> > > > The following changes since commit 
> > > > 9c5fef577494769e3ff07952a85f9b7125ef765b:
> > > >
> > > >   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> > > >
> > > > are available in the Git repository at:
> > > >
> > > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > > >
> > > > for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> > > >
> > > >   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> > > >
> > >
> > > There's too many generic changes in this PR for this late in the cycle, 
> > > for things I gather related to the Maix platform.  All of the clk and DM 
> > > changes impact virtually all platforms.  Please re-do this PR to drop the 
> > > Maix platform support for now, and resubmit that for -next, which I will 
> > > be opening shortly.  Everything else however is good for master.
> >
> > May I ask for your suggestions about this patch series about "riscv:
> > Add Sipeed Maix support " ?
> > Shall I send a PR include this patch series in early release cycle or
> > shall I suggest Sean to re-edit this patch series for less generic
> > changes which may bring virtual impacts?
>
> So I looked over the generic changes again.  There's no other way to
> support the platform without those type of changes, yes?

Yes. Discusstion between Sean and Lukasz about clk as below:
https://patchwork.ozlabs.org/project/uboot/patch/da401261-b73f-afae-0702-ada1e7dd8...@gmail.com/#2346363

If so, yes,
> lets put it in to -next.

Thanks for your reply.

Rick

>
> --
> Tom


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-22 Thread Tom Rini
On Mon, Jun 22, 2020 at 02:03:52PM +0800, Rick Chen wrote:
> Hi Tom
> 
> > From: Tom Rini [mailto:tr...@konsulko.com]
> > Sent: Monday, May 25, 2020 11:40 PM
> > To: Open Source Project uboot
> > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> >
> > On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
> >
> > > Hi Tom,
> > >
> > > Please pull some riscv updates:
> > >
> > > - Add Sipeed Maix support.
> > > - sifive: fix palmer's email address.
> > > - Move all SMP related SBI calls to SBI_v01.
> > >
> > > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> > >
> > > Thanks
> > > Rick
> > >
> > >
> > > The following changes since commit 
> > > 9c5fef577494769e3ff07952a85f9b7125ef765b:
> > >
> > >   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > >
> > > for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> > >
> > >   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> > >
> >
> > There's too many generic changes in this PR for this late in the cycle, for 
> > things I gather related to the Maix platform.  All of the clk and DM 
> > changes impact virtually all platforms.  Please re-do this PR to drop the 
> > Maix platform support for now, and resubmit that for -next, which I will be 
> > opening shortly.  Everything else however is good for master.
> 
> May I ask for your suggestions about this patch series about "riscv:
> Add Sipeed Maix support " ?
> Shall I send a PR include this patch series in early release cycle or
> shall I suggest Sean to re-edit this patch series for less generic
> changes which may bring virtual impacts?

So I looked over the generic changes again.  There's no other way to
support the platform without those type of changes, yes?  If so, yes,
lets put it in to -next.

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-22 Thread Rick Chen
Hi Tom

> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Monday, May 25, 2020 11:40 PM
> To: Open Source Project uboot
> Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
>
> On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
>
> > Hi Tom,
> >
> > Please pull some riscv updates:
> >
> > - Add Sipeed Maix support.
> > - sifive: fix palmer's email address.
> > - Move all SMP related SBI calls to SBI_v01.
> >
> > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> >
> > Thanks
> > Rick
> >
> >
> > The following changes since commit 9c5fef577494769e3ff07952a85f9b7125ef765b:
> >
> >   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> >
> > are available in the Git repository at:
> >
> >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> >
> > for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> >
> >   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> >
>
> There's too many generic changes in this PR for this late in the cycle, for 
> things I gather related to the Maix platform.  All of the clk and DM changes 
> impact virtually all platforms.  Please re-do this PR to drop the Maix 
> platform support for now, and resubmit that for -next, which I will be 
> opening shortly.  Everything else however is good for master.

May I ask for your suggestions about this patch series about "riscv:
Add Sipeed Maix support " ?
Shall I send a PR include this patch series in early release cycle or
shall I suggest Sean to re-edit this patch series for less generic
changes which may bring virtual impacts?

Thanks,
Rick

> Sorry.


>
> --
> Tom


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-06-04 Thread Tom Rini
On Thu, Jun 04, 2020 at 10:18:07AM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fixes 7e249bc13aaf: ("riscv: Move all SMP related SBI calls to SBI_v01")
>Move sbi_probe_extension() out of CONFIG_SBI_V01.
> - SiFive FU540 support SPL.
> 
> Thanks
> Rick
> 
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/694099665
> 
> 
> The following changes since commit 0d8f35b58cc8458a5263b424896a386429ee49e5:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-spi (2020-06-03 
> 12:27:51 -0400)
> 
>   are available in the Git repository at:
> 
> g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 0a94007e829876c7ebd49daebfaa90eea25801b8:
> 
>   riscv: sbi: Move sbi_probe_extension() out of CONFIG_SBI_V01 (2020-06-04 
> 09:44:21 +0800)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-05-26 Thread Tom Rini
On Tue, May 26, 2020 at 04:31:43PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - sifive: fix palmer's email address.
> - Move all SMP related SBI calls to SBI_v01.
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 8c48bb21bd6a1778d1f299de30ff62c07929702b:
> 
>   Prepare v2020.07-rc3 (2020-05-25 20:34:01 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 4ef196ce20fc832a412e8fedf51f2f20b3bd6e62:
> 
>   sifive: fix palmer's email address (2020-05-26 15:50:15 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-05-26 Thread Rick Chen
Hi Tom

> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Monday, May 25, 2020 11:40 PM
> To: Open Source Project uboot
> Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
>
> On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:
>
> > Hi Tom,
> >
> > Please pull some riscv updates:
> >
> > - Add Sipeed Maix support.
> > - sifive: fix palmer's email address.
> > - Move all SMP related SBI calls to SBI_v01.
> >
> > https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> >
> > Thanks
> > Rick
> >
> >
> > The following changes since commit 9c5fef577494769e3ff07952a85f9b7125ef765b:
> >
> >   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> >
> > are available in the Git repository at:
> >
> >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> >
> > for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> >
> >   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> >
>
> There's too many generic changes in this PR for this late in the cycle, for 
> things I gather related to the Maix platform.  All of the clk and DM changes 
> impact virtually all platforms.  Please re-do this PR to drop the Maix 
> platform support for now, and resubmit that for -next, which I will be 
> opening shortly.  Everything else however is good for master.

Thanks for your explanations.
Actually I have the same concern with you before sending this PR.

I have tried to ask Sean don't mix all codes together in one patchset.
He shall separate and send them individually, If they are not highly dependent.

Following are my suggestions from those patch-work:

Re: [PATCH v2 01/11] clk: Always use the supplied struct clk
https://patchwork.ozlabs.org/project/uboot/patch/da401261-b73f-afae-0702-ada1e7dd8...@gmail.com/

Re: [PATCH v4 07/17] spi: dw: Add mem_ops
https://patchwork.ozlabs.org/project/uboot/patch/20200211060425.1619471-8-sean...@gmail.com/

Re: [PATCH v5 33/33] riscv: Add Sipeed Maix support
http://u-boot.10912.n7.nabble.com/PATCH-v5-00-33-riscv-Add-Sipeed-Maix-support-tt401784.html#a402055

Re: [PATCH v6 04/19] clk: Add functions to register CCF clock structs
https://patchwork.ozlabs.org/project/uboot/patch/20200305181308.944595-5-sean...@gmail.com/

I will drop the Maix platform support in next PR and re-send again.

Thanks,
Rick


> Sorry.
>
> --
> Tom


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-05-25 Thread Tom Rini
On Mon, May 25, 2020 at 04:01:08PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Add Sipeed Maix support.
> - sifive: fix palmer's email address.
> - Move all SMP related SBI calls to SBI_v01.
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/690778926
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 9c5fef577494769e3ff07952a85f9b7125ef765b:
> 
>   Merge git://git.denx.de/u-boot-usb (2020-05-22 22:58:50 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 421c4eb2dcf39f65c31c1804369267ed8a7b5607:
> 
>   riscv: Add Sipeed Maix support (2020-05-25 10:01:21 +0800)
> 

There's too many generic changes in this PR for this late in the cycle,
for things I gather related to the Maix platform.  All of the clk and DM
changes impact virtually all platforms.  Please re-do this PR to drop
the Maix platform support for now, and resubmit that for -next, which I
will be opening shortly.  Everything else however is good for master.
Sorry.

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-04-23 Thread Tom Rini
On Thu, Apr 23, 2020 at 04:25:55PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Adds few DT related fixes required for Linux EFI stub to work on RISC-V.
> - Makes SBI v0.2 the default SBI version to work with OpenSBI v0.7.
> - Revert "riscv: qemu: clear kernel-start/-end in device tree as workaround 
> for BBL"
> - Remove unnecessary CONFIG_IS_ENABLED().
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/678432471
> 
> Thanks
> Rick
> 
> 
> The following changes since commit caad316b3165615f1a4848901811a4a08c9d:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell (2020-04-22 
> 13:00:21 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 177c53fe6c64d8656f5a647116a97047202c5455:
> 
>   riscv: Move all fdt fixups together (2020-04-23 10:14:16 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-03-18 Thread Tom Rini
On Tue, Mar 17, 2020 at 04:03:57PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix sbi_remote_sfence_vma{,_asid}.
> - Avoid calling sbi_clear_ipi().
> - Add new SBI v0.2 extensions support.
> 
> https://travis-ci.org/github/rickchen36/u-boot-riscv/builds/663341855
> 
> Thanks
> Rick
> 
> 
> The following changes since commit a4df9d8ab848ea4ff10b247ae435b0a14bbbd066:
> 
>   Merge https://gitlab.denx.de/u-boot/custodians/u-boot-marvell (2020-03-16 
> 12:33:24 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 5bde2152d42515f7af46d210d7edf14e3b10d5f5:
> 
>   riscv: Implement new SBI v0.2 extensions (2020-03-17 11:29:54 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2020-02-10 Thread Tom Rini
On Mon, Feb 10, 2020 at 03:29:56PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix ax25-ae350.rst document.
> - Refine RISC-V linker script and start.S.
> - Add option to print more information on exception.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/646697243
> 
> Thanks
> Rick
> 
> 
> The following changes since commit e1dff2d69e5a21a61c3eb28e5d230a6d48749b6c:
> 
>   Merge branch '2020-02-07-master-imports' (2020-02-07 19:04:23 -0500)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 404339759ef5e0bcd4fa7768d1148b1ace2d2bb6:
> 
>   riscv: Remove unnecessary instruction (2020-02-10 14:51:52 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-12-09 Thread Tom Rini
On Tue, Dec 10, 2019 at 09:05:59AM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Increase stack size to avoid a stack overflow during distro boot.
> - Add hifive-unleashed-a00.dts for SIFIVE FU540.
> - Add OF_SEPARATE support for SIFIVE FU540.
> - Add SPL support for Andes AX25 AE350.
> - Improve U-Boot SPL / OpenSBI smp boot flow for RISC-V.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/622462488
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 0c5c3f293554614416a188d16a8c05e0a6c5bfbb:
> 
>   arm: -march=armv5t for ARM11 (2019-12-09 10:36:00 -0500)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 0e1233ce9069a87a84a4385de456665d2bc9229d:
> 
>   spl: opensbi: wait for ack from secondary harts before entering OpenSBI 
> (2019-12-10 08:23:10 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-10-19 Thread Tom Rini
On Fri, Oct 18, 2019 at 03:00:07PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Support sifive DM based gpio driver for FU540-SoC.
> - Align boot image header with Linux v5.3
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/599424917
> 
> Thanks
> Rick
> 
> 
> The following changes since commit a2fce50455c9831f36765e5813b0b5e98f55d70b:
> 
>   Merge tag 'for-v2020.01' of 
> https://gitlab.denx.de/u-boot/custodians/u-boot-ubi (2019-10-17 07:26:16 
> -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 70d64a4c7646aa51c0334618ccb9af0132d9d834:
> 
>   RISC-V: Align boot image header with Linux (2019-10-18 09:04:19 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-09-03 Thread Tom Rini
On Tue, Sep 03, 2019 at 10:15:42AM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Skip unavailable hart in the get_count().
> - fu540 set serial env from otp.
> - fu540 add mmc0 as a boot target device.
> - Update fix_rela_dyn and add absolute reloc addend.
> - Andestech PLIC driver will skip unavailable hart.
> - Support Andestech V5L2 cache driver.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/579707002
> 
> Thanks
> Rick
> 
> 
> The following changes since commit d22c8be964a870f59d2fdab6c67cefa0c4799364:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-09-01 13:33:12 
> -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 61ce84b2cf1a6672c8e402ce8174554b25629692:
> 
>   riscv: cache: use CCTL to flush d-cache (2019-09-03 09:31:03 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-26 Thread Tom Rini
On Mon, Aug 26, 2019 at 04:25:31PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> - Fix qemu kconfig build warning.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/576608303
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 50b4b80f597b9f59b98adbdbad691b1027bd501a:
> 
>   Merge tag 'u-boot-rockchip-20190823' of 
> https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip (2019-08-24 08:33:27 
> -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 44016bc59870c8816fe2cd4721dc5ff11038dd98:
> 
>   riscv: qemu: Fix kconfig build warning (2019-08-26 16:09:02 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-20 Thread Rick Chen
Hi Lukas

> Hi Rick,
>
> On Wed, 2019-08-14 at 20:15 +, Auer, Lukas wrote:
> > Hi Rick,
> >
> > On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote:
> > > Hi Lukas
> > >
> > > > > From: Tom Rini [mailto:tr...@konsulko.com]
> > > > > Sent: Wednesday, August 14, 2019 12:50 AM
> > > > > To: Open Source Project uboot
> > > > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > > > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> > > > >
> > > > > On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote:
> > > > >
> > > > > > Hi Tom,
> > > > > >
> > > > > > Please pull some riscv updates:
> > > > > >
> > > > > > - Fix sifive serial y-modem transfer.
> > > > > > - Access CSRs using CSR numbers.
> > > > > > - Update doc sifive-fu540
> > > > > > - Support big endian hosts and target.
> > > > > > - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> > > > > >
> > > > > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/570682542
> > > > > >
> > > > > > Thanks
> > > > > > Rick
> > > > > >
> > > > > >
> > > > > > The following changes since commit
> > > > > feb5a02f869d5678190dfc915ef6c2781b4f7a6c:
> > > > > >   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-08-10
> > > > > > 17:57:58 -0400)
> > > > > >
> > > > > > are available in the Git repository at:
> > > > > >
> > > > > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > > > > >
> > > > > > for you to fetch changes up to
> > > > > 30c150bae4e3a61f87a159579cd3784f4d64e79e:
> > > > > >   riscv: qemu: Fix kconfig build warning (2019-08-12 13:30:53 +0800)
> > > > > >
> > > > >
> > > > > There is some change in here that is reliably causing this job to 
> > > > > fail, please
> > > > > investigate:
> > > > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/5493
> > >
> > > Can you please check about this failure.
> > > I wonder it may cause from SPL relative patchs.
> > >
> >
> > I'll have a look. I am on vacation the rest of the week, so I will
> > check it out Sunday if I get the chance or early next week.
> >
>
> You are right, patch #2 of the SPL series caused this issue.
> Unfortunately Travis did not catch the problem, likely because the
> compiled device tree was still present from a previous build. I have
> sent the updated patch. Let me know if I should resend the entire
> series.

Thanks for solving this build fail issue.

But the [PATCH v3 10/11] riscv: qemu: add SPL configuration
seem to conflict with u-boot/master.

You shall rebase u-boot/master and send v5 again.
I will apply it ASAP.

Applying: fdtdec: make CONFIG_OF_PRIOR_STAGE available in SPL
Applying: Makefile: support building SPL FIT images without device trees
Applying: spl: fit: use U-Boot device tree when FIT image has no device tree
Applying: riscv: add run mode configuration for SPL
Applying: riscv: add SPL support
Applying: riscv: support SPL stack and global data relocation
Applying: riscv: add a generic FIT generator script
Applying: riscv: set default FIT generator script and build target for
SPL builds
Applying: riscv: qemu: add SPL configuration
error: patch failed: board/emulation/qemu-riscv/qemu-riscv.c:6
error: board/emulation/qemu-riscv/qemu-riscv.c: patch does not apply
Patch failed at 0009 riscv: qemu: add SPL configuration

Thanks,
Rick

>
> Thanks,
> Lukas
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-20 Thread Auer, Lukas
Hi Rick,

On Wed, 2019-08-14 at 20:15 +, Auer, Lukas wrote:
> Hi Rick,
> 
> On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote:
> > Hi Lukas
> > 
> > > > From: Tom Rini [mailto:tr...@konsulko.com]
> > > > Sent: Wednesday, August 14, 2019 12:50 AM
> > > > To: Open Source Project uboot
> > > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> > > > 
> > > > On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote:
> > > > 
> > > > > Hi Tom,
> > > > > 
> > > > > Please pull some riscv updates:
> > > > > 
> > > > > - Fix sifive serial y-modem transfer.
> > > > > - Access CSRs using CSR numbers.
> > > > > - Update doc sifive-fu540
> > > > > - Support big endian hosts and target.
> > > > > - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> > > > > 
> > > > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/570682542
> > > > > 
> > > > > Thanks
> > > > > Rick
> > > > > 
> > > > > 
> > > > > The following changes since commit
> > > > feb5a02f869d5678190dfc915ef6c2781b4f7a6c:
> > > > >   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-08-10
> > > > > 17:57:58 -0400)
> > > > > 
> > > > > are available in the Git repository at:
> > > > > 
> > > > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > > > > 
> > > > > for you to fetch changes up to
> > > > 30c150bae4e3a61f87a159579cd3784f4d64e79e:
> > > > >   riscv: qemu: Fix kconfig build warning (2019-08-12 13:30:53 +0800)
> > > > > 
> > > > 
> > > > There is some change in here that is reliably causing this job to fail, 
> > > > please
> > > > investigate:
> > > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/5493
> > 
> > Can you please check about this failure.
> > I wonder it may cause from SPL relative patchs.
> > 
> 
> I'll have a look. I am on vacation the rest of the week, so I will
> check it out Sunday if I get the chance or early next week.
> 

You are right, patch #2 of the SPL series caused this issue.
Unfortunately Travis did not catch the problem, likely because the
compiled device tree was still present from a previous build. I have
sent the updated patch. Let me know if I should resend the entire
series.

Thanks,
Lukas
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-17 Thread Tom Rini
On Fri, Aug 16, 2019 at 01:19:59PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix sifive serial y-modem transfer.
> - Access CSRs using CSR numbers.
> - Update doc sifive-fu540
> - Support big endian hosts and target.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/572159567
> 
> Thanks
> Rick
> 
> 
> The following changes since commit df33f8646855e65b8e7232c7fd5739e1ae1eb58b:
> 
>   configs: Resync with savedefconfig (2019-08-14 08:11:27 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 4539926a9c47638951f29f550f3a640e4c223032:
> 
>   riscv: tools: Add big endian target support to prelink-riscv (2019-08-15 
> 13:42:28 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-14 Thread Auer, Lukas
Hi Rick,

On Wed, 2019-08-14 at 10:20 +0800, Rick Chen wrote:
> Hi Lukas
> 
> > > From: Tom Rini [mailto:tr...@konsulko.com]
> > > Sent: Wednesday, August 14, 2019 12:50 AM
> > > To: Open Source Project uboot
> > > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> > > 
> > > On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote:
> > > 
> > > > Hi Tom,
> > > > 
> > > > Please pull some riscv updates:
> > > > 
> > > > - Fix sifive serial y-modem transfer.
> > > > - Access CSRs using CSR numbers.
> > > > - Update doc sifive-fu540
> > > > - Support big endian hosts and target.
> > > > - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> > > > 
> > > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/570682542
> > > > 
> > > > Thanks
> > > > Rick
> > > > 
> > > > 
> > > > The following changes since commit
> > > feb5a02f869d5678190dfc915ef6c2781b4f7a6c:
> > > >   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-08-10
> > > > 17:57:58 -0400)
> > > > 
> > > > are available in the Git repository at:
> > > > 
> > > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > > > 
> > > > for you to fetch changes up to
> > > 30c150bae4e3a61f87a159579cd3784f4d64e79e:
> > > >   riscv: qemu: Fix kconfig build warning (2019-08-12 13:30:53 +0800)
> > > > 
> > > 
> > > There is some change in here that is reliably causing this job to fail, 
> > > please
> > > investigate:
> > > https://gitlab.denx.de/u-boot/u-boot/-/jobs/5493
> 
> Can you please check about this failure.
> I wonder it may cause from SPL relative patchs.
> 

I'll have a look. I am on vacation the rest of the week, so I will
check it out Sunday if I get the chance or early next week.

Thanks,
Lukas
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-13 Thread Rick Chen
Hi Lukas

> > From: Tom Rini [mailto:tr...@konsulko.com]
> > Sent: Wednesday, August 14, 2019 12:50 AM
> > To: Open Source Project uboot
> > Cc: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> > Subject: Re: [U-Boot] Pull request: u-boot-riscv/master
> >
> > On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote:
> >
> > > Hi Tom,
> > >
> > > Please pull some riscv updates:
> > >
> > > - Fix sifive serial y-modem transfer.
> > > - Access CSRs using CSR numbers.
> > > - Update doc sifive-fu540
> > > - Support big endian hosts and target.
> > > - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> > >
> > > https://travis-ci.org/rickchen36/u-boot-riscv/builds/570682542
> > >
> > > Thanks
> > > Rick
> > >
> > >
> > > The following changes since commit
> > feb5a02f869d5678190dfc915ef6c2781b4f7a6c:
> > >
> > >   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-08-10
> > > 17:57:58 -0400)
> > >
> > > are available in the Git repository at:
> > >
> > >   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> > >
> > > for you to fetch changes up to
> > 30c150bae4e3a61f87a159579cd3784f4d64e79e:
> > >
> > >   riscv: qemu: Fix kconfig build warning (2019-08-12 13:30:53 +0800)
> > >
> >
> > There is some change in here that is reliably causing this job to fail, 
> > please
> > investigate:
> > https://gitlab.denx.de/u-boot/u-boot/-/jobs/5493

Can you please check about this failure.
I wonder it may cause from SPL relative patchs.

Thanks
Rick

> >
> > --
> > Tom
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-08-13 Thread Tom Rini
On Mon, Aug 12, 2019 at 06:23:02PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix sifive serial y-modem transfer.
> - Access CSRs using CSR numbers.
> - Update doc sifive-fu540
> - Support big endian hosts and target.
> - Support SPL and OpenSBI (FW_DYNAMIC firmware) boot.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/570682542
> 
> Thanks
> Rick
> 
> 
> The following changes since commit feb5a02f869d5678190dfc915ef6c2781b4f7a6c:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sh (2019-08-10 17:57:58 
> -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 30c150bae4e3a61f87a159579cd3784f4d64e79e:
> 
>   riscv: qemu: Fix kconfig build warning (2019-08-12 13:30:53 +0800)
> 

There is some change in here that is reliably causing this job to fail,
please investigate:
https://gitlab.denx.de/u-boot/u-boot/-/jobs/5493

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-07-23 Thread Tom Rini
On Fri, Jul 19, 2019 at 03:06:24PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Update SiFive Unleashed clock driver.
> - Enables SiFive SPI driver and MMC SPI driver for SiFive Unleashed board
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/560423274
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 0de815356474912ef5bef9a69f0327a5a93bb2c2:
> 
>   Merge branch '2019-07-17-master-imports' (2019-07-18 11:31:37 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 8911a22aee1e2a176af93ebf502477f2df2fc912:
> 
>   doc: sifive-fu540: Update README for SiFive SPI and MMC SPI drivers 
> (2019-07-19 14:25:06 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-06-05 Thread Tom Rini
On Wed, Jun 05, 2019 at 06:27:38PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Support Microchip MPFS Icicle board.
> - Enable e1000 and nvme support for qemu.
> - Enable PCI host ECAM generic driver for qemu.
> - Increase the environment size to 128kB for qemu.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/541565696
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 38c2a8a00132b4dcc6a0bb5baf5146b9eb9eb2d2:
> 
>   Merge tag 'efi-2019-07-rc4' of git://git.denx.de/u-boot-efi (2019-06-02 
> 18:19:45 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-riscv.git
> 
> for you to fetch changes up to 39494822e3a639c8b5d60538d1dcae17bcf3c5f6:
> 
>   riscv: Add Microchip MPFS Icicle board support (2019-06-05 13:19:24 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-05-09 Thread Tom Rini
On Thu, May 09, 2019 at 05:08:08PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Correct SYS_TEXT_BASE for qemu.
> - Support booti.
> - Increase SYSBOOTM_LEN for Fedora/RISCV kernel.
> - Support SMP booting from flash.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/530082266
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 504bf790da08db9b4a443566cf6ef577f9c7996a:
> 
>   Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2019-05-08 
> 16:21:43 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-riscv.git
> 
> for you to fetch changes up to 3cedc97479ff44cdc00485de7517a833e3dfb630:
> 
>   RISCV: image: Add booti support (2019-05-09 16:47:52 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-04-09 Thread Tom Rini
On Mon, Apr 08, 2019 at 02:46:54PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> 1. RISC-V arch support SMP.
> 2. Support Andestech's PLIC and PLMT.
> 2. qemu, fu54e, ae350 boards enable SMP by default.
> 3. Fix CONFIG_DEFAULT_DEVICE_TREE failure.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/517045091
> 
> Thanks
> Rick
> 
> 
> The following changes since commit 0e62d5b2abb69ddc9e58215e2d8dfa5d33996b8a:
> 
>   Merge tag 'u-boot-imx-20190405' of git://git.denx.de/u-boot-imx (2019-04-05 
> 09:09:56 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-riscv.git
> 
> for you to fetch changes up to 48b90d9db5d32e587901c4f33175488dd20fe0a5:
> 
>   riscv: dts: fix CONFIG_DEFAULT_DEVICE_TREE failure (2019-04-08 09:46:00 
> +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-02-27 Thread Tom Rini
On Wed, Feb 27, 2019 at 01:39:44PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> SiFive FU540 Support
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/499037971
> 
> Thanks
> Rick
> 
> 
> The following changes since commit b3820ba997f004a376efc5446683101ff42b05af:
> 
>   Merge tag 'efi-2019-04-rc3' of https://github.com/xypron2/u-boot 
> (2019-02-26 08:45:08 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-riscv.git
> 
> for you to fetch changes up to 98a66ffa3aafd20d38f357d624e470e20fbb1839:
> 
>   riscv: Enable CONFIG_SYS_BOOT_RAMDISK_HIGH for using initrd (2019-02-27 
> 09:12:34 +0800)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] Pull request: u-boot-riscv/master

2019-01-16 Thread Tom Rini
On Tue, Jan 15, 2019 at 03:16:39PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 1. Improve cache implementation.
> 2. Fix and improve standalone applications
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/479684449
> 
> Thanks
> 
> Rick
> 
> 
> The following changes since commit d3689267f92c5956e09cc7d1baa4700141662bff:
> 
>   Prepare v2019.01 (2019-01-14 17:02:36 -0500)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-riscv.git
> 
> for you to fetch changes up to 91882c472d8c0aef4db699d3f2de55bf43d4ae4b:
> 
>   riscv: qemu: define standalone load address (2019-01-15 09:36:31 +0800)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot