[PATCH] ddr: imx: Save the FW loading if it hasn't changed

2023-01-02 Thread Shawn Guo
From: Shawn Guo Function ddr_load_train_firmware() is called 4 times in a loop by ddr_cfg_phy(). The first 3 calls are all '1D' type and just loading the same FWs. Let's add a type check and save 2 of them. This helps to reduce DDRPHY training time from 269 ms down to 212 ms, an

Re: [PATCH] poplar: add myself as co-maintainer

2024-02-02 Thread Shawn Guo
On Sat, Feb 3, 2024 at 5:44 AM Igor Opaniuk wrote: > > Add myself as co-maintainer for Poplar board, as I'm currently > working on it (re-testing releases, addressing issues etc). > > CC: Jorge Ramirez-Ortiz > CC: Shawn Guo > Signed-off-by: Igor Opaniuk Acked-by: Sh

Re: [PATCH] board: novtech: meerkat96: use correct mmc driver

2020-01-23 Thread Shawn Guo
+ Stefano, who will pick up the patch, I think. On Thu, Jan 23, 2020 at 7:56 AM Carl Gelfand wrote: > > When the board was originally submitted, it was attempting to use the > ESDHC driver. The board uses the USDHC driver. > > Signed-off-by: Carl Gelfand > Cc: Shawn Guo (ma

[PATCH] meerkat96: fix typo in MAINTAINERS email address

2020-01-23 Thread Shawn Guo
There is a typo in meerkat96 MAINTAINERS email address. Fix it. Reported-by: Carl Gelfand Signed-off-by: Shawn Guo --- board/novtech/meerkat96/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/novtech/meerkat96/MAINTAINERS b/board/novtech/meerkat96

Re: [PATCH] imx: syscounter: support timer_get_boot_us

2022-07-24 Thread Shawn Guo
n Nie FWIW, it also fixes boot failure when bootstage is enabled. Acked-by: Shawn Guo Shawn > --- > arch/arm/mach-imx/syscounter.c | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/mach-imx/syscounter.c b/arch/arm/mach-imx/syscounter.c > index 7c02e1

[U-Boot] Ethernet support on mx6slevk board

2013-07-04 Thread Shawn Guo
Hi, I'm running U-Boot 2013.07-rc2 and seeing Ethernet is failed to initialize. Is it a known issue or something not supported yet? It's unlikely my setup problem, since I have a vendor U-Boot running the board just fine. Shawn ___ U-Boot mailing list

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Shawn Guo
On Fri, Jul 05, 2013 at 08:44:38AM -0300, Fabio Estevam wrote: > On Fri, Jul 5, 2013 at 12:42 AM, Shawn Guo wrote: > > Hi, > > > > I'm running U-Boot 2013.07-rc2 and seeing Ethernet is failed to > > initialize. Is it a known issue or something not supported

Re: [U-Boot] [PATCH 1/2] configs: mx6_common: Restrict CONFIG_ARM_ERRATA_742230 for multi-core

2014-01-08 Thread Shawn Guo
On Wed, Jan 08, 2014 at 09:55:10AM +0100, Stefano Babic wrote: > Hi Fabio, > > On 06/01/2014 14:14, Fabio Estevam wrote: > > According to e9fd66defd (ARM: mx6: define CONFIG_ARM_ERRATA_742230), the > > CONFIG_ARM_ERRATA_742230 option should only be applied to multi-core > > variants, so restrict

Re: [U-Boot] [PATCH v2 1/2] configs: mx6_common: Restrict CONFIG_ARM_ERRATA_742230 for multi-core

2014-01-08 Thread Shawn Guo
On Thu, Jan 09, 2014 at 03:50:06AM +, hui@freescale.com wrote: > The commit log really get me confused, why we need enable one ERRATA which > should not be applied? It's been enabled as a workaround for the reboot issue we were seeing before. But I get reminded that the workaround may no

Re: [U-Boot] Booting a dt zImage kernel

2012-04-23 Thread Shawn Guo
On 23 April 2012 22:13, Fabio Estevam wrote: > Hi, > > I am able to successfully boot a zImage kernel with latest 2012.04 > U-boot on mx28evk. > > Now I want to boot a dt zImage version. > Why do you need to do that at all? Turn on CONFIG_OF_LIBFDT, and you will be able to boot an DT kernel (with

[U-Boot] [PATCH v2] common/image.c: align usage of fdt_high with initrd_high

2012-01-07 Thread Shawn Guo
riable. Signed-off-by: Shawn Guo --- Changes since v1: * Update document of fdt_high with an example to demonstrate the usage README |8 common/image.c |6 ++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README b/README index ff72e47..1c3713c 1006

Re: [U-Boot] [PATCH v2] common/image.c: align usage of fdt_high with initrd_high

2012-01-09 Thread Shawn Guo
Please hold on this patch. I found some problem with it. Regards, Shawn On Sat, Jan 07, 2012 at 10:39:53PM +0800, Shawn Guo wrote: > The commit message of a28afca (Add uboot "fdt_high" enviroment variable) > states that fdt_high behaves similarly to the existing initrd_high

[U-Boot] [PATCH v3] common/image.c: align usage of fdt_high with initrd_high

2012-01-09 Thread Shawn Guo
riable. Signed-off-by: Shawn Guo --- Changes since v3: * Fix the bug in case fdt_high=0x introduced by v1/v2. README |8 common/image.c | 12 +--- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README b/README index ff72e47..1c3713c 1006

Re: [U-Boot] [PATCH v3] common/image.c: align usage of fdt_high with initrd_high

2012-01-16 Thread Shawn Guo
Gentle ping? Regards, Shawn On Tue, Jan 10, 2012 at 03:54:08PM +0800, Shawn Guo wrote: > The commit message of a28afca (Add uboot "fdt_high" enviroment variable) > states that fdt_high behaves similarly to the existing initrd_high. > But fdt_high actually has an outstand

Re: [U-Boot] [PATCH v3] common/image.c: align usage of fdt_high with initrd_high

2012-02-09 Thread Shawn Guo
Hi Simon, Thanks for looking at the patch. On 9 February 2012 09:37, Simon Glass wrote: ... >>   fdt_high     - if set this restricts the maximum address that the >>                  flattened device tree will be copied into upon boot. >> +                 For example, if you have a system with

Re: [U-Boot] [PATCH V2 1/1] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2011-12-15 Thread Shawn Guo
On Tue, Dec 13, 2011 at 01:06:10PM -0200, Fabio Estevam wrote: > Jason/Dirk, > > On Tue, Dec 13, 2011 at 11:30 AM, Jason Liu wrote: > > Add the initial support for Freescale i.MX6Q Sabre Lite board > > > > Signed-off-by: Dirk Behme > > Signed-off-by: Jason Liu > > > > --- > > V2: change the def

[U-Boot] __mmc_get_env_addr() is not being called?

2011-12-15 Thread Shawn Guo
Hi, I'm running v2011.12-rc1 (with one missing usdhc patch applied) on mx6qarm2 board, and seeing a problem. When I install u-boot on a blank SD card, it boots fine with messge "*** Warning - bad CRC, using default environment" seen as expected. But once I run command 'save' to write envs to the

[U-Boot] [PATCH] common/image.c: align usage of fdt_high with initrd_high

2011-12-30 Thread Shawn Guo
dress. As fdt_high and initrd_high will likely be used together, it'd be nice to have them behave same. The patch changes the behavior of fdt_high to have it aligned with initrd_high. Signed-off-by: Shawn Guo --- common/image.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-

Re: [U-Boot] [PATCH] mx5: add iomux-mx51.h include

2012-08-20 Thread Shawn Guo
On Sat, Aug 18, 2012 at 04:52:15PM -0500, Matt Sealey wrote: > By 3.7 (most) or 3.8 (maybe all) a lot of boards will be device tree > only. iomux stuff in board files has been replaced with pinctrl in > device trees.. > > Shawn will know his schedule better than me (CCd) > I'm working on it, but

[U-Boot] [PATCH 1/3] fsl_esdhc: add MMC_MODE_HC host_caps

2012-12-30 Thread Shawn Guo
All esdhc variants we know should support high capacity MMC cards, so let's add MMC_MODE_HC host_caps unconditionally to support those MMC cards (capacity > 2 GB). Signed-off-by: Shawn Guo --- drivers/mmc/fsl_esdhc.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[U-Boot] [PATCH 0/3] Enable eMMC on mx6qsabresd board

2012-12-30 Thread Shawn Guo
The series is to enable the use of eMMC on mx6qsabresd board, so that we do not need to carry an external card to boot the board. The DDR mode support for eMMC is not included. Shawn Guo (3): fsl_esdhc: add MMC_MODE_HC host_caps mx6qsabresd: add usdhc2 and usdhc4 support mx6qsabresd: use

[U-Boot] [PATCH 2/3] mx6qsabresd: add usdhc2 and usdhc4 support

2012-12-30 Thread Shawn Guo
CONFIG_SYS_MMC_ENV_DEV out of mx6qsabre_common.h and changes it to 1 for mx6qsabresd. Signed-off-by: Shawn Guo --- board/freescale/mx6qsabresd/mx6qsabresd.c | 80 ++--- include/configs/mx6qsabre_common.h|2 - include/configs/mx6qsabreauto.h |5 ++ include

[U-Boot] [PATCH 3/3] mx6qsabresd: use on-board eMMC to store environment

2012-12-30 Thread Shawn Guo
It makes more sense to use on-board eMMC to store environments. The boot partition 1 is selected by default. Signed-off-by: Shawn Guo --- include/configs/mx6qsabresd.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/mx6qsabresd.h b/include/configs

Re: [U-Boot] [PATCH 0/3] Enable eMMC on mx6qsabresd board

2012-12-30 Thread Shawn Guo
On Mon, Dec 31, 2012 at 08:14:57AM +0800, Shawn Guo wrote: > The series is to enable the use of eMMC on mx6qsabresd board, so that > we do not need to carry an external card to boot the board. The DDR > mode support for eMMC is not included. > > Shawn Guo (3): > fsl_esdh

Re: [U-Boot] [PATCH 0/3] Enable eMMC on mx6qsabresd board

2012-12-30 Thread Shawn Guo
On Mon, Dec 31, 2012 at 12:32:12AM -0200, Fabio Estevam wrote: > No need to add [U-Boot] prefix. This gets added by the mailing list. > Ah, right. After checking the list from another mailbox, I have seen the prefix. Shawn ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 1/3] fsl_esdhc: add MMC_MODE_HC host_caps

2012-12-30 Thread Shawn Guo
On Mon, Dec 31, 2012 at 08:14:58AM +0800, Shawn Guo wrote: > All esdhc variants we know should support high capacity MMC cards, > so let's add MMC_MODE_HC host_caps unconditionally to support those > MMC cards (capacity > 2 GB). > > Signed-off-by: Shawn Guo > ---

[U-Boot] [PATCH 1/2] Remove unnecessary CONFIG_SYS_BOOTMAPSZ definition

2011-04-27 Thread Shawn Guo
Since the following commit, definition CONFIG_SYS_BOOTMAPSZ is not needed any more. 7a02a39babb44f2ca2777db9b3a93be79111bba8 Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ Signed-off-by: Shawn Guo --- include/configs/mx51evk.h |1 - include/configs/mx53evk.h |1

[U-Boot] [PATCH 2/2] Fix CONFIG_OF_LIBFDT redefined warning

2011-04-27 Thread Shawn Guo
With the following commit, CONFIG_OF_LIBFDT was redefined. a8f88eedb2c4df472e512db58dfcaafd82c68b86 Add CONFIG_OF_LIBFDT to more boards. Remove the duplicated definition to fix CONFIG_OF_LIBFDT redefined warning. Signed-off-by: Shawn Guo --- include/configs/mx51evk.h |2

[U-Boot] [PATCH RESEND 1/2] mx5: Remove unnecessary CONFIG_SYS_BOOTMAPSZ definition

2011-05-03 Thread Shawn Guo
Since the following commit, definition CONFIG_SYS_BOOTMAPSZ is not needed any more. ed59e58786cae9f8afcb575649afc65985beed4d Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ Signed-off-by: Shawn Guo --- Why resend? The previous post does not apply on u-boot mainline, so rebase

[U-Boot] [PATCH RESEND 2/2] mx5: Fix CONFIG_OF_LIBFDT redefined warning

2011-05-03 Thread Shawn Guo
With the following commit, CONFIG_OF_LIBFDT is redefined. 2fa8ca98c37d5b1bb0328b19ddb7e9d162cd9683 Add CONFIG_OF_LIBFDT to more boards. Remove the duplicated definition to fix CONFIG_OF_LIBFDT redefined warning. Signed-off-by: Shawn Guo --- include/configs/mx51evk.h |2 -- include

Re: [U-Boot] [PATCH RESEND 2/2] mx5: Fix CONFIG_OF_LIBFDT redefined warning

2011-05-04 Thread Shawn Guo
On Wed, May 04, 2011 at 10:04:42AM +0200, Stefano Babic wrote: > On 05/04/2011 08:13 AM, Shawn Guo wrote: > > With the following commit, CONFIG_OF_LIBFDT is redefined. > > > > 2fa8ca98c37d5b1bb0328b19ddb7e9d162cd9683 > > Add CONFIG_OF_LIBFDT to more boards. >

[U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
t's define CONFIG_ARM_ERRATA_742230 to enable the workaround on i.MX6. Signed-off-by: Shawn Guo --- include/configs/mx6_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index b333937..674bcd3 100644 --- a/include/confi

Re: [U-Boot] [PATCH] ARM: mx6: define CONFIG_ARM_ERRATA_742230

2013-04-16 Thread Shawn Guo
On Tue, Apr 16, 2013 at 05:05:30PM +0200, Stefano Babic wrote: > This is a fix, but the release is coming (end of the week). What do you > think if I push this to -next ? No pressure on this, so -next is fine. Thanks, Stefano. Shawn ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-14 Thread Shawn Guo
On Tue, May 14, 2013 at 05:51:48PM +0800, Alison Wang wrote: > diff --git a/include/configs/mvf600twr.h b/include/configs/mvf600twr.h > new file mode 100644 > index 000..bb1f3ef > --- /dev/null > +++ b/include/configs/mvf600twr.h To make it friendly to the mainline kernel, I would suggest we e

Re: [U-Boot] [RFC PATCH 4/3] i.MX6DQ/DLS: remove unused pad declarations

2013-10-10 Thread Shawn Guo
On Thu, Oct 10, 2013 at 12:35:13PM -0300, Fabio Estevam wrote: > [Re-sending to the list as the original address was incorrect] > > On Thu, Oct 10, 2013 at 12:34 PM, Fabio Estevam wrote: > > On Thu, Oct 10, 2013 at 12:29 PM, Eric Nelson > > wrote: > > > >>> Personally, I think it is better to re

[U-Boot] [PATCH] mx6: drop ARM errata 742230

2014-06-11 Thread Shawn Guo
for imx6, it's time to drop errata 742230 to avoid confusion. Signed-off-by: Shawn Guo --- include/configs/mx6_common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index 8a8920f6cc8a..e4a5cc5be1a6 100644 --- a/include/co

Re: [U-Boot] [PATCH 0/6] ARM device tree support improvements

2011-03-29 Thread Shawn Guo
lue. > Default to bootm_size() when CONFIG_SYS_BOOTMAPSZ is not defined > Remove device tree booting dependency on CONFIG_SYS_BOOTMAPSZ > Fix off-by-one error in passing initrd end address via device tree > Respect memreserve regions specified in the device tree >

[U-Boot] aarch64-linux-gnu-objdump gives all zeros in init_sequence_f[]

2015-11-11 Thread Shawn Guo
Hi, I need some help to understand aarch64-linux-gnu-objdump output in .data section as below. It's part of the dump of u-boot image with command 'aarch64-linux-gnu-objdump -D -z u-boot'. Disassembly of section .data: 35039898 : 35039948 : 35039948:

Re: [U-Boot] aarch64-linux-gnu-objdump gives all zeros in init_sequence_f[]

2015-11-12 Thread Shawn Guo
On Thu, Nov 12, 2015 at 07:36:02AM +0100, Ard Biesheuvel wrote: > On 12 November 2015 at 06:43, Shawn Guo wrote: > > Here are my questions: > > > > - Is this only because that ARM 64-bit toolchain doesn't show the real > > value of the pointers, or there are so

Re: [U-Boot] aarch64-linux-gnu-objdump gives all zeros in init_sequence_f[]

2015-11-12 Thread Shawn Guo
Hi Albert, On Thu, Nov 12, 2015 at 08:20:18AM +0100, Albert ARIBAUD wrote: > Can you provide the target name and commit ID that you are building, > s well as the version of the toolchain that you are building with? > Without being able to reproduce your issue, it's kind of hard to > diagnose it.

Re: [U-Boot] [PATCH v2] drivers/net/fec_mxc.c: write mac address ininit

2010-10-22 Thread Shawn Guo
> Jason Liu wrote: >> Geting mac address from FUSE is the right way for mx51 and it's not >> difficult to add FUSE read function due to the FUSE read is simple as >> the memory read. I have seen that Shawn has posted the patches to >> Linaro-uboot git there. > > It's a pity that Linaro does it's de

Re: [U-Boot] [PATCH 1/2] imx: Get fec mac address from fuse

2010-10-25 Thread Shawn Guo
I was not in the mail list when Jason posted the patch, so I emulated the reply message. > diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c > index 3f09c2b..e8d7b98 100644 > --- a/drivers/net/fec_mxc.c > +++ b/drivers/net/fec_mxc.c > @@ -312,21 +312,17 @@ static void fec_rbd_clean(int la

[U-Boot] [PATCH] mx51evk: support new relocation scheme

2010-10-25 Thread Shawn Guo
/pipermail/u-boot/2010-October/079926.html The patchset was tested on mx51evk 3.0 board. Shawn Guo (2): [PATCH 1/2] mx51evk: support new relocation scheme [PATCH 2/2] mx51evk: correct internal RAM base address arch/arm/include/asm/arch-mx5/imx-regs.h |2 +- board/freescale/mx51evk/mx51evk.c

[U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-25 Thread Shawn Guo
-boot lives. Signed-off-by: Shawn Guo --- board/freescale/mx51evk/mx51evk.c |6 +++--- include/configs/mx51evk.h |5 - 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/board/freescale/mx51evk/mx51evk.c b/board/freescale/mx51evk/mx51evk.c index c8d7d39..8820698

[U-Boot] [PATCH 2/2] mx51evk: correct internal RAM base address

2010-10-25 Thread Shawn Guo
i.mx51 internal RAM starts from 0x1FFE than 0x1FFE8000 Signed-off-by: Shawn Guo --- arch/arm/include/asm/arch-mx5/imx-regs.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index

[U-Boot] [PATCH] mx51evk: consolidate env for mmcboot and netboot

2010-10-25 Thread Shawn Guo
This patch is to consolidate default mx51evk env for two primary boot modes, mmcboot and netboot. It also cleans some unused env like netdev, uboot and redundant env like loadaddr since CONFIG_LOADADDR already defines it. Signed-off-by: Shawn Guo --- include/configs/mx51evk.h | 50

[U-Boot] [PATCH v2 2/2] mx51evk: correct internal RAM base address

2010-10-25 Thread Shawn Guo
The internal RAM starts from 0x1FFE on final revsion i.mx51 than 0x1FFE8000 which is for older revision. Signed-off-by: Shawn Guo --- Changes for v2: Rewrite the commit message for a better change log. arch/arm/include/asm/arch-mx5/imx-regs.h |2 +- 1 files changed, 1 insertions(+), 1

[U-Boot] Mail list threading problem or mailer problem?

2010-10-25 Thread Shawn Guo
Let's look at this example. Here is what I see on http://lists.denx.de/pipermail/u-boot/2010-October/thread.html. [U-Boot] U-boot versions - reply to RM + SW David Collier [U-Boot] [PATCH] mx51evk: support new relocation scheme Shawn Guo [U-Boot] [PATC

Re: [U-Boot] Mail list threading problem or mailer problem?

2010-10-25 Thread Shawn Guo
On Tue, Oct 26, 2010 at 1:08 PM, Mike Frysinger wrote: > On Mon, Oct 25, 2010 at 10:31 PM, Shawn Guo wrote: >> But I really expect something like below (added In-Reply-To ID). > > gmail does not respect the reply-to headers when threading stuff in > its web client > > if

Re: [U-Boot] Mail list threading problem or mailer problem?

2010-10-26 Thread Shawn Guo
On Tue, Oct 26, 2010 at 2:41 PM, Mike Frysinger wrote: > On Tue, Oct 26, 2010 at 1:36 AM, Shawn Guo wrote: >> I did not mean the threading view in gmail web client, but >> http://lists.denx.de/pipermail/u-boot/2010-October/thread.html > > so you're just talking about

Re: [U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-26 Thread Shawn Guo
Hi Stefano, On Tue, Oct 26, 2010 at 3:59 PM, Stefano Babic wrote: > On 10/25/2010 05:14 PM, Shawn Guo wrote: > >> +#define CONFIG_SYS_SDRAM_BASE        PHYS_SDRAM_1 >> +#define CONFIG_SYS_INIT_SP_ADDR      (IRAM_BASE_ADDR + 0x1000) > > What is the meaning of the off

Re: [U-Boot] [PATCH 2/2] mx51evk: correct internal RAM base address

2010-10-26 Thread Shawn Guo
Hi Stefano, On Tue, Oct 26, 2010 at 4:07 PM, Stefano Babic wrote: > Then there could be a problem. If we set the IRAM as for TO3, u-boot > does not run on boards with TO1 (never seen) and TO2 (I used a board > with it. Freescale sold several boards with TO2, so I do not think we > can simply drop

Re: [U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-26 Thread Shawn Guo
On Tue, Oct 26, 2010 at 4:14 PM, Stefano Babic wrote: > On 10/26/2010 10:05 AM, Shawn Guo wrote: >> Hi Stefano, >> >> On Tue, Oct 26, 2010 at 3:59 PM, Stefano Babic wrote: >>> On 10/25/2010 05:14 PM, Shawn Guo wrote: >>> >>>> +#define CONF

Re: [U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-26 Thread Shawn Guo
Hi Heiko, On Tue, Oct 26, 2010 at 4:25 PM, Heiko Schocher wrote: > Hello Stefano, > > Stefano Babic wrote: >> On 10/26/2010 10:05 AM, Shawn Guo wrote: >>> Hi Stefano, >>> >>> On Tue, Oct 26, 2010 at 3:59 PM, Stefano Babic wrote: >>>> On 10/

Re: [U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-26 Thread Shawn Guo
On Tue, Oct 26, 2010 at 4:34 PM, Stefano Babic wrote: > On 10/26/2010 10:25 AM, Heiko Schocher wrote: >> We should set the CONFIG_SYS_INIT_SP_ADDR @ (IRAM_BASE_ADDR + IRAM_BASE_SIZE >> - CONFIG_SYS_GBL_DATA_SIZE) > > Agree, this is what I set for the vision2 board. We should be consistent > and do

Re: [U-Boot] [PATCH 1/2] mx51evk: support new relocation scheme

2010-10-26 Thread Shawn Guo
Hi Reinhard On Tue, Oct 26, 2010 at 5:04 PM, Reinhard Meyer wrote: > Dear Shawn Guo, >> On Tue, Oct 26, 2010 at 4:34 PM, Stefano Babic wrote: >>> On 10/26/2010 10:25 AM, Heiko Schocher wrote: >>>> We should set the CONFIG_SYS_INIT_SP_ADDR @ (IRAM_BA

[U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
for CONFIG_SYS_GBL_DATA_SIZE which has been buried by Wolfgang's commit below 25ddd1fb: Replace CONFIG_SYS_GBL_DATA_SIZE by auto-generated value Signed-off-by: Shawn Guo --- Changes for v2: - Combine two patches before into one, as the separation is not so logical. - Define init sta

Re: [U-Boot] [PATCH] mx51evk: consolidate env for mmcboot and netboot

2010-10-27 Thread Shawn Guo
Copy Linaro for comments, as Linaro may be concerned by this patch. On Mon, Oct 25, 2010 at 11:20 PM, Shawn Guo wrote: > This patch is to consolidate default mx51evk env for two primary > boot modes, mmcboot and netboot. > > It also cleans some unused env like netdev, uboot and red

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 7:29 PM, Jason Liu wrote: > 2010/10/27 Shawn Guo : >> This patch is to fix build breakage and support new relocatoin >> scheme for mx51evk. > > What's change is for the build breakage fix? Please state it clearly. > The new relocation sche

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 7:46 PM, Wolfgang Denk wrote: > Dear Shawn Guo, > > In message <1288174358-14896-1-git-send-email-shawn@gmail.com> you wrote: >> This patch is to fix build breakage and support new relocatoin >> scheme for mx51evk. >> >> -

Re: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme

2010-10-27 Thread Shawn Guo
On Wed, Oct 27, 2010 at 8:23 PM, Wolfgang Denk wrote: > Dear Shawn Guo, > > In message you > wrote: >> >> > Please use something like >> > >> > #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - >> > GENERAT

[U-Boot] [PATCH] poplar: fix boot failure caused by serial driver change

2018-12-11 Thread Shawn Guo
tegy about DM_FLAG_PRE_RELOC applies to Poplar, and therefore the reported boot failure gets fixed. Reported-by: Igor Opaniuk Fixes: 4687919684e0 ("serial: Remove DM_FLAG_PRE_RELOC flag in various drivers") Cc: Bin Meng Cc: Simon Glass Signed-off-by: Shawn Guo --- arch/arm/dts/hi3798cv

Re: [U-Boot] [PATCH 09/13] serial: Remove DM_FLAG_PRE_RELOC flag in various drivers

2018-12-12 Thread Shawn Guo
Hi Igor, On Mon, Dec 10, 2018 at 07:26:23PM +0200, Igor Opaniuk wrote: > Hi Bin, > > This particular commit leads to a constant Poplar board restart (git > bisect pointed to it). > U-boot is built with the default poplar_config from the latest master > (btw, is uses r), and U-boot is used as defa

[U-Boot] [PATCH] poplar: add a co-maintainer for poplar board

2018-12-13 Thread Shawn Guo
Add myself as co-maintainer for poplar board, as I'm actively working on the board. Signed-off-by: Shawn Guo --- board/hisilicon/poplar/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/hisilicon/poplar/MAINTAINERS b/board/hisilicon/poplar/MAINTAINERS index 0cc01c8

[U-Boot] [PATCH] mmc: hi6220_dw_mmc: add driver model support

2018-12-17 Thread Shawn Guo
As requested by driver model migration plan, it adds driver model support, i.e. CONFIG_DM_MMC, for hi6220_dw_mmc driver. Signed-off-by: Shawn Guo --- drivers/mmc/hi6220_dw_mmc.c | 83 + 1 file changed, 83 insertions(+) diff --git a/drivers/mmc

[U-Boot] [PATCH] poplar: save environment at a different offset

2018-12-17 Thread Shawn Guo
, like CONFIG_ENV_OFFSET is. Signed-off-by: Alex Elder Signed-off-by: Shawn Guo --- include/configs/poplar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/poplar.h b/include/configs/poplar.h index 0a126002d7f9..6b93b76ab9ba 100644 --- a/include/configs

[U-Boot] [PATCH 0/2] Enable fastboot support for Poplar board

2018-12-18 Thread Shawn Guo
It enables DWC2 OTG gadget driver and fastboot support for Poplar board. Shawn Guo (2): poplar: add DWC2 OTG gadget support poplar_defconfig: enable fastboot support .../asm/arch-hi3798cv200/hi3798cv200.h| 5 board/hisilicon/poplar/poplar.c | 28

[U-Boot] [PATCH 2/2] poplar_defconfig: enable fastboot support

2018-12-18 Thread Shawn Guo
It enables fastboot support on Poplar board by using DWC2 OTG gadget driver. Signed-off-by: Shawn Guo --- configs/poplar_defconfig | 14 ++ 1 file changed, 14 insertions(+) diff --git a/configs/poplar_defconfig b/configs/poplar_defconfig index 946e7caf6bea..48e9c6eaac26 100644

[U-Boot] [PATCH 1/2] poplar: add DWC2 OTG gadget support

2018-12-18 Thread Shawn Guo
It enables DWC2 OTG gadget driver support for Poplar board. As usb2_phy_init() is being always called from board_init(), we can save the call from board_usb_init(). Signed-off-by: Shawn Guo --- .../asm/arch-hi3798cv200/hi3798cv200.h| 5 board/hisilicon/poplar/poplar.c

[U-Boot] [PATCH 0/3] Add Ethernet support for Poplar board

2019-01-28 Thread Shawn Guo
The series adds Ethernet support for Poplar board. It firstly creates a reset driver for HiSilicon platform, then introduces higmacv300 Ethernet driver, and finally enables Ethernet support for Poplar board. Shawn Guo (3): reset: add reset driver for HiSilicon platform net: add higmacv300

[U-Boot] [PATCH 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-01-28 Thread Shawn Guo
It adds the driver for HIGMACV300 Ethernet controller found on HiSilicon SoCs like Hi3798CV200. It's based on a downstream U-Boot driver, but quite a lot of code gets rewritten and cleaned up to adopt driver model and PHY API. Signed-off-by: Shawn Guo --- drivers/net/Kconfig

[U-Boot] [PATCH 1/3] reset: add reset driver for HiSilicon platform

2019-01-28 Thread Shawn Guo
It adds a Driver Model compatible reset driver for HiSlicon platform. The driver implements a custom .of_xlate function, and uses .data field as reset register offset and .id field as bit shift. Signed-off-by: Shawn Guo --- drivers/reset/Kconfig | 6 +++ drivers/reset/Makefile

[U-Boot] [PATCH 3/3] poplar: enable Ethernet driver support

2019-01-28 Thread Shawn Guo
The 'phy' reset of gmac device in kernel device tree is not generic enough for u-boot to use, so we need to overwrite the 'resets' property as needed. With this device tree fixup and poplar_defconfig changes, Ethernet starts working on Poplar board. Signed-off-by: Shawn Gu

Re: [U-Boot] [PATCH 2/3] net: add higmacv300 Ethernet driver for HiSilicon platform

2019-01-31 Thread Shawn Guo
Hi Igor, On Tue, Jan 29, 2019 at 11:50:33PM +0200, Igor Opaniuk wrote: > Hi Shawn, > > Please see inline comments (mostly minor stuff). > I'll also test the driver a bit later and leave my T-b. Thanks. I appreciate the effort of testing. > > On Mon, 28 Jan 2019 at

Re: [U-Boot] [PATCH] mmc: hi6220_dw_mmc: add driver model support

2019-01-14 Thread Shawn Guo
On Mon, Dec 17, 2018 at 05:02:31PM +0800, Shawn Guo wrote: > As requested by driver model migration plan, it adds driver model > support, i.e. CONFIG_DM_MMC, for hi6220_dw_mmc driver. > > Signed-off-by: Shawn Guo Hi Jaehoon, Any comment on this p

Re: [U-Boot] [PATCH 0/2] Enable fastboot support for Poplar board

2019-01-14 Thread Shawn Guo
On Tue, Dec 18, 2018 at 05:52:05PM +0800, Shawn Guo wrote: > It enables DWC2 OTG gadget driver and fastboot support for Poplar > board. > > Shawn Guo (2): > poplar: add DWC2 OTG gadget support > poplar_defconfig: enable fastboot support Hi Tom, Are you okay with these t

Re: [U-Boot] [PATCH] poplar: save environment at a different offset

2019-01-14 Thread Shawn Guo
Hi Tom, Can you please help apply the patch if it looks fine? Shawn On Tue, Dec 18, 2018 at 11:08:18AM +0800, Shawn Guo wrote: > From: Alex Elder > > Change CONFIG_ENV_OFFSET for Poplar to be 1MB further into the eMMC > than before. This puts it immediately prior to the

[U-Boot] [PATCH] fdt: support booting with dtb in Android image

2019-01-15 Thread Shawn Guo
Some platforms choose to store device tree blob in Android image second area. Let's try to look for dtb from there when booting an Android image, and use it for booting if found. Signed-off-by: Shawn Guo --- common/image-fdt.c | 21 + 1 file changed, 21 insertions(+)

[U-Boot] [PATCH 0/3] Enable mmc driver model for Poplar board

2019-01-16 Thread Shawn Guo
up the board level mmc initialization code, as they are not used any more. Shawn Guo (3): poplar: sync up device tree with kernel 4.20 mmc: hi6220_dw_mmc: add compatible for Poplar support poplar: clean up board level mmc initialization code arch/arm/dts/hi3798cv200-poplar.dts

[U-Boot] [PATCH 1/3] poplar: sync up device tree with kernel 4.20

2019-01-16 Thread Shawn Guo
It adds missing pinctrl headers, updates clock header and sync up Poplar device tree with kernel 4.20 release. Signed-off-by: Shawn Guo --- arch/arm/dts/hi3798cv200-poplar.dts | 68 ++-- arch/arm/dts/hi3798cv200.dtsi | 221 +++- arch/arm/dts/poplar

[U-Boot] [PATCH 2/3] mmc: hi6220_dw_mmc: add compatible for Poplar support

2019-01-16 Thread Shawn Guo
It adds compatible "hisilicon,hi3798cv200-dw-mshc" for Poplar SoC Hi3798CV200 to probe this mmc driver. Signed-off-by: Shawn Guo --- drivers/mmc/hi6220_dw_mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mmc/hi6220_dw_mmc.c b/drivers/mmc/hi6220_dw_mmc.c index cc

[U-Boot] [PATCH 3/3] poplar: clean up board level mmc initialization code

2019-01-16 Thread Shawn Guo
We have converted mmc to driver model on Poplar. So let's clean up board level mmc initialization code. Signed-off-by: Shawn Guo --- arch/arm/include/asm/arch-hi3798cv200/dwmmc.h | 12 arch/arm/include/asm/arch-hi3798cv200/hi3798cv200.h | 1 - board/hisilicon/p

Re: [U-Boot] [PATCH 1/3] poplar: sync up device tree with kernel 4.20

2019-01-17 Thread Shawn Guo
Hi Manivannan, On Thu, Jan 17, 2019 at 08:23:08PM +0530, Manivannan Sadhasivam wrote: > Hi Shawn, > > On Thu, Jan 17, 2019 at 12:09:50PM +0800, Shawn Guo wrote: > > It adds missing pinctrl headers, updates clock header and sync up Poplar > > device tree with kernel 4.20 rel

Re: [U-Boot] [PATCH v1 1/1] arm64: dt: poplar: add optee node

2019-01-17 Thread Shawn Guo
Hi Igor, On Thu, Jan 17, 2019 at 04:37:40PM +0200, Igor Opaniuk wrote: > As Poplar supports running TF-A with OP-TEE as BL32 > payload, add op-tee node in DT, which enables usage of > OP-TEE driver (which provides an interface for requesting services > from OP-TEE). > > Signed-off-by: Igor Opaniu

[U-Boot] [PATCH] odroid: Update README with correct firmware link and XU4 support

2016-04-07 Thread Shawn Guo
. While at it, the README is updated to include XU4 support, like DTB file name. [1] https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel [2] https://github.com/hardkernel/u-boot/tree/odroidxu3-v2012.07/sd_fuse/hardkernel_1mb_uboot Signed-off-by: Shawn Guo --- doc

[U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Shawn Guo
Hi Przemyslaw, Anand, I just got a Odroid-UX4 board to play. I installed firmware (bl1, bl2, tzsw, u-boot) from hardkernel using sd_fusing.sh, and the board boots fine. But when I install mainline u-boot v2016.03 by following doc/README.odroid, the board refuses to boot with nothing appearing on

Re: [U-Boot] Mainline u-boot installation on Odroid-UX4

2016-04-07 Thread Shawn Guo
On Thu, Apr 07, 2016 at 12:20:06PM +0200, Przemyslaw Marczak wrote: > There were two variants of boot chain with U-Boot for XU3/XU4, which > differs in U-Boot size - originally U-Boot was 328K, but for the > mainline we assume 1MB of size. > > So for mainline, you need a prober version of BL2, whi

[U-Boot] [PATCH] disk: part_dos: fix part_get_info_extended() function

2017-11-02 Thread Shawn Guo
From: Shawn Guo The check in part_get_info_extended() for a successful partition searching misses a condition for extended partition. In case of (ext_part_sector == 0), we should anyway mark the partition as found, even if it's an extended partition, i.e. (is_extended(pt->sys_i

Re: [U-Boot] [PATCH 1/2] mx6sabre_common: Allow building CONFIG_USB_FUNCTION_MASS_STORAGE

2018-01-28 Thread Shawn Guo
fdefery to fix the build > failure. > > Signed-off-by: Fabio Estevam For both patches on imx6q-sabresd board, Tested-by: Shawn Guo ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] mx6sabresd: Add fastboot support

2018-01-29 Thread Shawn Guo
connected via USB: > > $ sudo fastboot getvar bootloader-version -i 0x0525 > bootloader-version: U-Boot 2018.01-00550-g7517cfe > finished. total time: 0.000s > > $ sudo fastboot reboot -i 0x0525 > > (this causes the mx6sabresd to r

Re: [U-Boot] [PATCH] mx6sabresd: Add fastboot support

2018-01-29 Thread Shawn Guo
On Mon, Jan 29, 2018 at 04:38:27PM +0100, Michael Nazzareno Trimarchi wrote: > Hi > > On Mon, Jan 29, 2018 at 4:23 PM, Shawn Guo wrote: > > On Mon, Jan 29, 2018 at 11:11:57AM -0200, Fabio Estevam wrote: > >> From: Fabio Estevam > >> > >> fastboot tool

Re: [U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Shawn Guo
On Sun, Jun 16, 2019 at 07:36:08PM +0200, Andreas Färber wrote: > Hello, > > Am 11.06.19 um 03:31 schrieb Tom Rini: > > It's release day and here is v2019.07-rc4. At this point, I know we > > have some regression fixes for i.MX that are coming, and I'm expecting a > > fix to the build time failu

Re: [U-Boot] Poplar broken in U-Boot v2019.07-rc4

2019-06-16 Thread Shawn Guo
On Mon, Jun 17, 2019 at 10:19:14AM +0800, Bin Meng wrote: > Hi, > > On Mon, Jun 17, 2019 at 10:17 AM Shawn Guo wrote: > > > > On Sun, Jun 16, 2019 at 07:36:08PM +0200, Andreas Färber wrote: > > > Hello, > > > > > > Am 11.06.19 um 03:31 schrie

[U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

2019-06-16 Thread Shawn Guo
size 0x400, as pre-relocation requires more memory there. Let's increase SYS_MALLOC_F_LEN to 0x4000 to fix the regression. Thanks to Andreas Färber for reporting, and Bin Meng for trouble shooting. Reported-by: Andreas Färber Signed-off-by: Shawn Guo --- configs/poplar_defconfig | 1

Re: [U-Boot] [PATCH] poplar: increase SYS_MALLOC_F_LEN for DM_FLAG_PRE_RELOC support

2019-07-01 Thread Shawn Guo
On Mon, Jun 17, 2019 at 11:09 AM Shawn Guo wrote: > > There is a regression seen on Poplar platform, which doesn't even show > a U-Boot version banner on booting. It turns out that due to landing > of commit 3a7c45f6a772 ("simple-bus: add DM_FLAG_PRE_RELOC flag to > sim

Re: [U-Boot] [PATCH v4 0/4] Add Ethernet support for Poplar board

2019-04-23 Thread Shawn Guo
On Wed, Mar 27, 2019 at 07:00:09PM +, Joe Hershberger wrote: > On Tue, Mar 26, 2019 at 2:36 AM Shawn Guo wrote: > > > > Hi Joe, > > > > On Wed, Mar 20, 2019 at 03:32:37PM +0800, Shawn Guo wrote: > > > The series adds Ethernet support for Poplar board. It

Re: [U-Boot] [PATCH v3 0/3] Add Ethernet support for Poplar board

2019-03-19 Thread Shawn Guo
Hi Joe, On Sun, Mar 10, 2019 at 04:51:24PM +0800, Shawn Guo wrote: > The series adds Ethernet support for Poplar board. It firstly creates > a reset driver for HiSilicon platform, then introduces higmacv300 > Ethernet driver, and finally enables Ethernet support for Poplar board. >

Re: [U-Boot] [PATCH v3 1/3] reset: add reset driver for HiSilicon platform

2019-03-19 Thread Shawn Guo
Hi Joe, Thanks for the comments. On Tue, Mar 19, 2019 at 06:42:06PM +, Joe Hershberger wrote: > Hi Shawn, > > On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > > > It adds a Driver Model compatible reset driver for HiSlicon platform. > > The driver implements

Re: [U-Boot] [PATCH v3 3/3] poplar: enable Ethernet driver support

2019-03-19 Thread Shawn Guo
On Tue, Mar 19, 2019 at 06:42:17PM +, Joe Hershberger wrote: > On Sun, Mar 10, 2019 at 3:53 AM Shawn Guo wrote: > > > > The 'phy' reset of gmac device in kernel device tree is not generic > > enough for u-boot to use, so we need to overwrite the 'resets

[U-Boot] [PATCH v4 2/4] reset: add reset driver for HiSilicon platform

2019-03-20 Thread Shawn Guo
It adds a Driver Model compatible reset driver for HiSlicon platform. The driver implements a custom .of_xlate function, and uses .data field as reset register offset and .id field as bit shift. Signed-off-by: Shawn Guo --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile

  1   2   >