> -Original Message-
> From: york sun
> Sent: Monday, April 03, 2017 9:01 PM
> To: Ruchika Gupta ; u-boot@lists.denx.de
> Cc: Vini Pillai ; Sumit Garg
> Subject: Re: [PATCH 3/3][v3] [RESEND] arm: ls1046ardb: Add SD secure boot
> target
>
> On 04/03/2017 12:00 AM, Ruchika Gupta wrote:
> >
On 3.4.2017 13:38, Jean-Francois Dagenais wrote:
>
>> On Apr 3, 2017, at 02:55, Michal Simek wrote:
>>
>> This is not only one way how to configure system. You can use
>> psu_init*.tcl and configure chip through jtag and then you don't need
>> this .c/.h files.
>> You should be able to see warnin
Hi,
On Sun, Apr 02, 2017 at 12:59:02PM +0200, Mylène Josserand wrote:
> This a V3 for my patchset that removes the SYS_EXTRA_OPTIONS from all
> sunxi defconfigs.
> The values in this variable are converted to Kconfig or simply removed.
>
> Based on u-boot sunxi repository: git://git.denx.de/u-boo
On Mon, 2017-04-03 at 22:17 +0200, Wolfgang Denk wrote:
> Dear Joakim,
Dear Wolfgang,
>
> In message <1491221969.4177.81.ca...@infinera.com> you wrote:
> > I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR as
> > we need to replace out flash but we don't want to create a new u
Hi Stefan,
> Hi Lukasz,
>
> On 2017-04-03 04:20, Lukasz Majewski wrote:
> > Hi Stefan,
> >
> > Thanks for your patch. Please allow me to share some ideas for
> > improvements.
> >
> >> From: Stefan Agner
> >>
> >> This patchset enables to boot elf binaries on secondary Cortex-M
> >> class core
Hi Marek, Stefan,
> On 04/03/2017 11:36 PM, Stefan Agner wrote:
> > Hi Lukasz,
> >
> > On 2017-04-03 04:20, Lukasz Majewski wrote:
> >> Hi Stefan,
> >>
> >> Thanks for your patch. Please allow me to share some ideas for
> >> improvements.
> >>
> >>> From: Stefan Agner
> >>>
> >>> This patchset e
Hi Stefan,
> On 2017-04-03 16:34, Marek Vasut wrote:
> > On 04/04/2017 12:42 AM, Stefan Agner wrote:
> >> On 2017-04-03 15:07, Marek Vasut wrote:
> >>> On 04/03/2017 11:36 PM, Stefan Agner wrote:
> Hi Lukasz,
>
> On 2017-04-03 04:20, Lukasz Majewski wrote:
> > Hi Stefan,
> >
Hi Stefan,
On 03/04/2017 23:02, Stefan Agner wrote:
> But then, I don't expect that "/usr/bin/env python" is looking at
> PYTHON.
>
> As far as I understand env, it just looks up the current environment to
> run its COMMAND argument.
Agree, this is also mz understanding.
> It is helpful as a s
On Tuesday 04 April 2017 01:42 PM, Maxime Ripard wrote:
Hi,
On Sun, Apr 02, 2017 at 12:59:02PM +0200, Mylène Josserand wrote:
This a V3 for my patchset that removes the SYS_EXTRA_OPTIONS from all
sunxi defconfigs.
The values in this variable are converted to Kconfig or simply removed.
Based on
Hi Joakim,
> I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR
> as we need to replace out flash but we don't want to create a new
> u-boot binairy just for this simple change.
Please correct me if I did not understand your use case correctly.
Other boards have separate region
On 04/04/2017 02:02 AM, Stefan Agner wrote:
[...]
Admitedly, I didn't look at the patch, but if you want to boot ad-hoc
cores, you can very well also boot secondary cores on the current CPU
complex with the same command. Why not ?
>>>
>>> Sure, it could be done. I just feel it is not
Am Sonntag, 2. April 2017, 09:50:27 CEST schrieb Simon Glass:
> With the rockchip 'rock' board some build and code size problems have come
> to light with TPL. This series provides a few ideas to improve things.
great stuff!
With these patches applied, rk3188-rock still boots and the TPL has
come
Am Sonntag, 2. April 2017, 09:50:28 CEST schrieb Simon Glass:
> Most of the time the optimised memset() is what we want. For extreme
> situations such as TPL it may be too large. For example on the 'rock'
> board, using a simple loop saves a useful 48 bytes. With gcc 4.9 and
> the rodata bug, this
On Tue, Apr 04, 2017 at 02:25:09PM +0530, Jagan Teki wrote:
> On Tuesday 04 April 2017 01:42 PM, Maxime Ripard wrote:
> > Hi,
> >
> > On Sun, Apr 02, 2017 at 12:59:02PM +0200, Mylène Josserand wrote:
> > > This a V3 for my patchset that removes the SYS_EXTRA_OPTIONS from all
> > > sunxi defconfigs
On Tue, Apr 4, 2017 at 3:11 PM, Maxime Ripard
wrote:
> On Tue, Apr 04, 2017 at 02:25:09PM +0530, Jagan Teki wrote:
>> On Tuesday 04 April 2017 01:42 PM, Maxime Ripard wrote:
>> > Hi,
>> >
>> > On Sun, Apr 02, 2017 at 12:59:02PM +0200, Mylène Josserand wrote:
>> > > This a V3 for my patchset that r
On Tue, 2017-04-04 at 10:55 +0200, Lukasz Majewski wrote:
> Hi Joakim,
>
> > I am looking at adding support for runtime sizing of CONFIG_ENV_ADDR
> > as we need to replace out flash but we don't want to create a new
> > u-boot binairy just for this simple change.
>
> Please correct me if I did no
Dear Joakim,
In message <1491293863.4177.92.ca...@infinera.com> you wrote:
>
> After a brief look I think we are good. Let me explain, I am only
> making it possible to #define CONFIG_ENV_ADDR, CONFIG_ENV_SECT_SIZE etc.
> as non constant data by moving the assignment of flash_addr etc. to runtime
Dear Joakim,
In message <1491301459.28343.1.ca...@infinera.com> you wrote:
>
> Use case is when CONFIG_ENV_SECT_SIZE and/or CONFIG_ENV_ADDR are non
> constants.
That is my exact question - when would this happen? Flash sectors
do now wander around in memory or change size :-)
So you attempt to
On 01/04/2017 06:21, Simon Glass wrote:
Hi,
On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote:
From: Mugunthan V N
Prepare sata driver for DM conversion by abstracting sata phy
init to seperate function.
Signed-off-by: Mugunthan V N
Signed-off-by: Jean-Jacques Hiblot
---
arch/arm/m
Am Dienstag, 4. April 2017, 11:34:52 CEST schrieb Heiko Stübner:
> Am Sonntag, 2. April 2017, 09:50:27 CEST schrieb Simon Glass:
> > With the rockchip 'rock' board some build and code size problems have come
> > to light with TPL. This series provides a few ideas to improve things.
>
> great stuff
On Tue, 2017-04-04 at 12:31 +0200, Wolfgang Denk wrote:
> Dear Joakim,
>
> In message <1491301459.28343.1.ca...@infinera.com> you wrote:
> >
> > Use case is when CONFIG_ENV_SECT_SIZE and/or CONFIG_ENV_ADDR are non
> > constants.
>
> That is my exact question - when would this happen? Flash sec
On 01/04/2017 06:22, Simon Glass wrote:
Hi Jean-Jacques,
On 24 March 2017 at 06:24, Jean-Jacques Hiblot wrote:
With DM_SCSI enabled, scsi scan suffers 2 problems:
* blk_create_devicef is called with blkz = 0, leading to a divide-by-0
exception
* new blk devices are created at each scan.
Dear Joakim,
In message <1491302640.30240.1.ca...@infinera.com> you wrote:
>
> > That is my exact question - when would this happen? Flash sectors
> > do now wander around in memory or change size :-)
>
> No, but they happens when you are forced to update you HW with new type of
> flashes
> with
On Tue, Apr 04, 2017 at 03:26:55PM +0530, Jagan Teki wrote:
> On Tue, Apr 4, 2017 at 3:11 PM, Maxime Ripard
> wrote:
> > On Tue, Apr 04, 2017 at 02:25:09PM +0530, Jagan Teki wrote:
> >> On Tuesday 04 April 2017 01:42 PM, Maxime Ripard wrote:
> >> > Hi,
> >> >
> >> > On Sun, Apr 02, 2017 at 12:59:0
On Tue, 2017-04-04 at 13:27 +0200, Wolfgang Denk wrote:
> Dear Joakim,
>
> In message <1491302640.30240.1.ca...@infinera.com> you wrote:
> >
> > > That is my exact question - when would this happen? Flash sectors
> > > do now wander around in memory or change size :-)
> >
> > No, but they happe
On Mon, 2017-03-27 at 21:40 +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2017-03-22 at 07:05 -0600, Simon Glass wrote:
> > On 16 March 2017 at 15:36, Maxim Sloyko wrote:
> > > Add Device Model based I2C driver for ast2500/ast2400 SoCs.
> > > The driver is very limited, it only supports master mo
Use CONFIG_ARCH_LS1043A instead.
Signed-off-by: York Sun
---
arch/arm/cpu/armv8/fsl-layerscape/Makefile| 2 +-
arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 +-
arch/arm/include/asm/fsl_secure_boot.h| 4 ++--
drivers/net/fm/Makefile | 2 +-
Use CONFIG_ARCH_LS2080A instead.
Signed-off-by: York Sun
---
arch/arm/cpu/armv8/fsl-layerscape/Makefile| 2 +-
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 6 +++---
arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 +-
arch/arm/cpu/armv8/fsl-layerscape/spl.c
Use CONFIG_ARCH_LS1021A instead.
Signed-off-by: York Sun
---
arch/arm/cpu/armv7/Makefile | 2 +-
arch/arm/dts/Makefile | 2 +-
arch/arm/include/asm/arch-ls102xa/config.h | 2 +-
arch/arm/include/asm/config.h | 2 +-
board/freescale/common/arm
I just started learning about U-Boot and being able to write applications
that can be run with U-Boot, so please be patient and if possible add more
details to help me learn.
I wanted to ask for help, as I am trying to connect USB flash drive to my
Arm Cortex A9 device, which then connects to my l
> -Original Message-
> From: Jagan Teki [mailto:jagannadh.t...@gmail.com]
> Sent: Tuesday, March 28, 2017 1:57 AM
> To: york sun
> Cc: Jagan Teki ; u-boot@lists.denx.de; Mingkai Hu
>
> Subject: Re: [U-Boot] sf: Remove spansion_s25fss_disable_4KB_erase
>
> On Mon, Mar 27, 2017 at 11:05 P
On 03/31/2017 07:40 AM, Simon Glass wrote:
> At present we cannot use this function as an init sequence call without a
> wrapper, since it returns the RAM size. Adjust it to set the RAM size in
> global_data instead, and return 0 on success.
>
> Signed-off-by: Simon Glass
> ---
>
This is a _lot_
On 03/31/2017 07:40 AM, Simon Glass wrote:
> This allows us to use the same DRAM init function on all archs.
>
> Signed-off-by: Simon Glass
> ---
>
Reviewed-by: York Sun
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
On 03/31/2017 07:40 AM, Simon Glass wrote:
> It looks like only cm5200 and tqm8xx use this feature, so we don't really
> need it in generic code. Drop it and have the users access gd->board_type
> directly.
>
> Signed-off-by: Simon Glass
> ---
Reviewed-by: York Sun
_
From: Marcel Ziswiler
This patch adds board support for the Toradex Apalis TK1 a computer on
module which can be used on different carrier boards.
The module consists of a Tegra TK1 SoC, a PMIC solution, 2 GB of DDR3L
RAM, a bunch of level shifters, an eMMC, a TMP451 temperature sensor
chip, an
> -Original Message-
> From: york sun [mailto:york@nxp.com]
> Sent: Monday, March 27, 2017 2:44 AM
> To: yuan linyu; u-boot@lists.denx.de
> Cc: YUAN Linyu
> Subject: Re: [PATCHV2] tools: plbimage support generate rcw file
>
>
> Only minor cosmetic issues. I will fix them for you thi
From: Ziping Chen
Sometimes we need to read back the status of a LED.
Add a led_get_status function for DM LED support, and add a get_status
function for the driver to implement this function.
Signed-off-by: Ziping Chen
---
drivers/led/led-uclass.c | 10 ++
include/led.h|
Hi,
u-boot 2016.11 & newer doesn't set the mac address on my raspberry pi
any more, so the linux kernel picks a random mac address. Bisected to
this commit:
commit b91c6a1209e7da1a7f989d9ac35d0d8be0b7b710
Author: Simon Glass
Date: Wed Oct 5 20:42:11 2016 -0600
Fix return value in trail
On Wed, 2017-03-22 at 07:05 -0600, Simon Glass wrote:
> On 16 March 2017 at 15:36, Maxim Sloyko wrote:
> > Add Device Model based I2C driver for ast2500/ast2400 SoCs.
> > The driver is very limited, it only supports master mode and
> > synchronous byte-by-byte reads/writes, no DMA or Pool Buffers.
From: Ziping Chen
The status of a GPIO-connected LED can be read back by reading the GPO
value.
Add the support for get_status function in led_gpio driver.
Signed-off-by: Ziping Chen
---
drivers/led/led_gpio.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/led/led_gp
Dear Wolfgang.
2017-03-23 16:13 GMT+01:00 Wolfgang Denk :
> Dear Mirza,
>
> In message
> you
> wrote:
>>
>> I am running U-boot 2015.04 and experiencing some issues with "fatls"
>> command.
> ...
>> Normally "fatls" returns "0" when it does a successful list. But we
>> have found a case where
Hi,
I reported this to Olimex, but it seems related to u-boot.
I have this board, A20-OLinuXino-MICRO-4GB, running for about 4 years. I
use it rarely to build executables in ARM format.
Some months ago, I found it down. I tried to boot it without success.
Then I connected a monitor to the HD
Add the configuration options for display initialization in case we need to
do the display initialization in kernel to support different timing settings
Signed-off-by: Ken Lin
---
board/advantech/dms-ba16/dms-ba16.c | 3 +++
include/configs/advantech_dms-ba16.h | 2 ++
2 files changed, 5 insert
Add the delay (10ms) to ensure the clock is stable and to meet the
clock-to-reset(1ms) requirement recommended in the AR8033 datasheet
Signed-off-by: Ken Lin
---
board/advantech/dms-ba16/dms-ba16.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/board/advantech/dms-ba16/dm
> Subject: [PATCH 3/3] armv7: ls1021a: Drop macro CONFIG_LS102XA
>
> Use CONFIG_ARCH_LS1021A instead.
>
> Signed-off-by: York Sun
> ---
>
> arch/arm/cpu/armv7/Makefile | 2 +-
> arch/arm/dts/Makefile | 2 +-
> arch/arm/include/asm/arch-ls102xa/config.h |
From: Ziping Chen
The "LED_OFF" constant conflicts with the constant with the same name in
include/linux/compat.h.
Rename all command constants' name prefix from LED_ to LED_CMD_.
Signed-off-by: Ziping Chen
---
cmd/led.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
From: Ziping Chen
Add command "led list" to list all led(s) can be operated.
Signed-off-by: Ziping Chen
---
cmd/led.c | 27 ++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/cmd/led.c b/cmd/led.c
index 3849a79..3f70666 100644
--- a/cmd/led.c
+++ b/cmd/le
Hey Andre,
On 01-03-17 03:25, Andre Przywara wrote:
mksunxiboot limits the size of the resulting SPL binaries to pretty
conservative values to cover all SoCs and all boot media (NAND).
It turns out that we have limit checks in place in the build process,
so mksunxiboot can be relaxed and allow p
>
> -Original Message-
> From: york sun
> Sent: Wednesday, March 22, 2017 3:13 AM
> To: Mingkai Hu
> Cc: Prabhakar Kushwaha ; u-
> b...@lists.denx.de
> Subject: Please separated FMan from generate NET config
>
> Mingkai,
>
> I noticed during recent debug on LS1043ARDB and LS1046ARDB tha
Hi Kever
> -Original Message-
> From: Kever Yang [mailto:kever.y...@rock-chips.com]
> Sent: 28 March 2017 08:23
>
> Hi Andre,
>
>
> On 03/23/2017 05:22 PM, Andre Przywara wrote:
> > Hi Kever,
> >
> > I was wondering if we really need to copy in all those ATF definitions.
> > I think this i
Apply the proper setting for the reserved bits in SetDes Test and System Mode
Control register
to avoid the voltage peak issue while we do the IEEE PHY comformance test
Signed-off-by: Ken Lin
---
board/advantech/dms-ba16/dms-ba16.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff -
On Wed, Mar 29, 2017 at 5:03 PM, Marek Vasut wrote:
> On 03/29/2017 05:49 AM, tien.fong.c...@intel.com wrote:
> > From: "Chee, Tien Fong"
> >
> > Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, include whole
> > header file") miss out cleaning macro in this header file, and this
> > has bro
From: Ziping Chen
Currently the "led" command only supports the old API without DM.
Add DM-based implementation of this command.
Also allow this command to be select with Kconfig.
Signed-off-by: Ziping Chen
---
cmd/Kconfig | 6
cmd/Makefile | 4 +++
cmd/led.c| 113 +
2017年3月29日 19:17于 Andre Przywara 写道:
>
> Hi,
>
> On 29/03/17 07:57, Maxime Ripard wrote:
> > On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote:
> >> The Pine64 (and all other 64-bit Allwinner boards) need to load an
> >> ARM Trusted Firmware image beside the actual U-Boot proper.
From: Ziping Chen
Add enum led_cmd member LED_CMD_ERROR, so that the enum can contain
the error code -1.
Signed-off-by: Ziping Chen
---
cmd/led.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/cmd/led.c b/cmd/led.c
index ef0ab1a..d50938a 100644
--- a/cmd/led.c
+++ b
It looks like only cm5200 and tqm8xx use this feature, so we don't really
need it in generic code. Drop it and have the users access gd->board_type
directly.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +-
arch/mips/mach-ath79/dram.c
This function is called just before checkcpu() on MPX83xx. Move it to the
code for that arch.
Signed-off-by: Simon Glass
---
arch/powerpc/cpu/mpc83xx/cpu.c | 5 +
arch/powerpc/cpu/mpc83xx/cpu_init.c | 1 +
arch/powerpc/include/asm/processor.h | 2 ++
common/board_f.c
From: "eric.gao"
if we enable PMIC rk808,the system will halt at very early stage
,log is shown as bellow.
INFO:plat_rockchip_pmu_init(1211): pd status 3e
INFO:BL31: Initializing runtime services
INFO:BL31: Preparing for EL3 exit to normal world
INFO:Entry point address = 0x2
From: "eric.gao"
This serial patchs enable mipi dsi display for rk3399,and let the
system log print to lcd. The function of each patch is decribe in
the following.Thank you.
Patch 1: Fix system halt when we enable bucks of PMIC rk808.
Patch 2: Enable i2c for rk3399.
Patch 3: Enable PMIC rk808 f
By making dram_init_banksize() return an error code we can drop the
wrapper. Adjust this and clean up all implementations.
Signed-off-by: Simon Glass
---
arch/arm/cpu/arm926ejs/armada100/dram.c | 4 +++-
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 4 +++-
arch/arm/incl
At present we cannot use this function as an init sequence call without a
wrapper, since it returns the RAM size. Adjust it to set the RAM size in
global_data instead, and return 0 on success.
Signed-off-by: Simon Glass
---
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 2 +-
arch/mips/
This allows us to use the same DRAM init function on all archs.
Signed-off-by: Simon Glass
---
arch/mips/mach-ath79/dram.c | 2 +-
arch/mips/mach-pic32/cpu.c | 2 +-
arch/mips/mach-pic32/include/mach/ddr.h | 2 +-
arch/powerpc/cpu/
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399-evb.dts | 108 +++
configs/evb-rk3399_defconfig | 5 ++
2 files changed, 113 insertions(+)
diff --git a/arch/arm/dts/rk3399-evb.dts b/arch/arm/dts/rk3399-evb.dts
index a959989..7a889c7
This series continues the effort to remove #ifdefs from the board_f init
sequence. It follows on from the first series.
With both series applied the number of references to CONFIG in board_f.c
drops from 178 to 137:
strings common/board_f.c |grep -c CONFIG
Simon Glass (16):
board_f: Drop b
Change the PMIC bulk configuration from auto mode to sync mode to avoid the
voltage shutdown issue
Signed-off-by: Ken Lin
---
board/advantech/dms-ba16/dms-ba16.c | 51 +
1 file changed, 51 insertions(+)
diff --git a/board/advantech/dms-ba16/dms-ba16.c
b/boa
On 31.03.2017 16:40, Simon Glass wrote:
It looks like only cm5200 and tqm8xx use this feature, so we don't really
need it in generic code. Drop it and have the users access gd->board_type
directly.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
_
2017-03-27 10:51 GMT+02:00 Wolfgang Denk :
> Dear Mirza,
>
> In message
> you
> wrote:
>>
>> > Please update to a recent versionof the code. The return code
>> > handling has probably been fixed by this commit:
>> >
>> > 0a04ed8 2015-09-11 17:15:21 -0400 FIX: fat: Provide correct return co=
2017年3月29日 14:57于 Maxime Ripard 写道:
>
> On Tue, Mar 28, 2017 at 01:45:22AM +0100, Andre Przywara wrote:
> > The Pine64 (and all other 64-bit Allwinner boards) need to load an
> > ARM Trusted Firmware image beside the actual U-Boot proper.
> > This can now be easily achieved by using the just ex
From: "eric.gao"
This serial patchs enable mipi dsi display for rk3399,and let the
system log print to lcd. The function of each patch is decribe in
the following.Thank you.
Patch 1: Fix system halt when we enable bucks of PMIC rk808.
Patch 2: Enable i2c for rk3399.
Patch 3: Enable PMIC rk808 f
From: "eric.gao"
Signed-off-by: eric.gao
---
drivers/clk/rockchip/clk_rk3399.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/clk/rockchip/clk_rk3399.c
b/drivers/clk/rockchip/clk_rk3399.c
index 922ce7e..cfcd1e4 100644
--- a/drivers/clk/rockchip/clk_rk3399.c
+++ b/drivers/clk/
From: "eric.gao"
Signed-off-by: eric.gao
---
configs/evb-rk3399_defconfig| 1 +
include/configs/rk3399_common.h | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/configs/evb-rk3399_defconfig b/configs/evb-rk3399_defconfig
index b9cb0e8..89b2e17 100644
--- a/configs/e
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399.dtsi | 16
configs/evb-rk3399_defconfig | 1 +
drivers/i2c/rk_i2c.c | 1 +
3 files changed, 18 insertions(+)
diff --git a/arch/arm/dts/rk3399.dtsi b/arch/arm/dts/rk3399.dtsi
index 456fdb6..93e3bf4
When experimenting with fastboot from U-Boot on the Raspberry Pi 3 we
found that the writes to the sdcard are much more slow than when
accessing it from the userspace. These two patches speed up the write
and allow us to reliably write the sdcard from U-Boot.
Alex Deymo (1):
mmc: sdhci: Wait for
From: Nicolas Le Bayon
Instead of using a fixed-size array to store variable name, preferring a
dynamic allocation treats correctly all variable name lengths.
Variable names are growing through releases and features. By this way, name
clipping is prevented.
Signed-off-by: Nicolas Le Bayon
Revie
Hey Joe,
On 26-03-17 16:10, Joe Hershberger wrote:
Hi Oliver,
On Sun, Dec 11, 2016 at 3:27 PM, Simon Glass wrote:
Hi Oliver,
On 9 December 2016 at 02:25, Olliver Schinagl wrote:
Hey simon
On December 8, 2016 11:21:32 PM CET, Simon Glass wrote:
Hi Oliver,
On 7 December 2016 at 02:26, Ol
From: "eric.gao"
if we enable PMIC rk808,the system will halt at very early stage
,log is shown as bellow.
INFO:plat_rockchip_pmu_init(1211): pd status 3e
INFO:BL31: Initializing runtime services
INFO:BL31: Preparing for EL3 exit to normal world
INFO:Entry point address = 0x2
From: Jocelyn Bohr
The linux kernel driver for this module does not use a delay when
writing to the SDHCI_BUFFER register. This patch mimics that behavior
in order to speed up the mmc writes on the Raspberry Pi.
Signed-off-by: Alex Deymo
---
drivers/mmc/bcm2835_sdhci.c | 8 ++--
1 file cha
sdhci_transfer_data() function transfers the blocks passed up to the
number of blocks defined in mmc_data, but returns immediately once all
the blocks are transferred, even if the loop exit condition is not met
(bit SDHCI_INT_DATA_END set in the STATUS word).
When doing multiple writes to mmc, ret
The new "boot_android" command simply executes the Android Bootloader
flow. This receives the location (interface, dev, partition) of the
Android "misc" partition which is then used to lookup and infer the
kernel and system images that should be booted from the passed slot.
Test: Booted a rpi3 bui
From: "eric.gao"
Signed-off-by: eric.gao
---
arch/arm/dts/rk3399-evb.dts | 33 ++
arch/arm/dts/rk3399.dtsi | 72 +
arch/arm/include/asm/arch-rockchip/cru_rk3399.h | 2 +-
arch/arm/include/asm/arch-rockchip/mipi_rk3399.h | 203 +
Hi York,
On 22 March 2017 at 10:00, york sun wrote:
> On 03/19/2017 11:59 AM, Simon Glass wrote:
>> At present we have a lot of ad-hoc init functions related to boards, for
>> example board_early_init_f(), board_misc_init_f() and dram_init().
>>
>> There are used in different ways by different bo
From: "eric.gao"
After enable log printing to lcd,when the screen start scroll,the
system crash.And the log is shown as bellow.
"Synchronous Abort" handler, esr 0x9645
"Synchronous Abort" handler, esr 0x9645
Checking the source code, we found that the variate "pixels"
get a wrong value.
When doing the SPL build, not finding the psu_init files yields an
unuseable spl binary. Time is wasted as the build is carried through dev
ops all the way to trying to boot the DUD build.
A failure immediately alerts developers that something is wrong in the
configuration of the u-boot tree, thus
The Raspberry Pi 3 has two UART interfaces that can be pinmuxed to the
header pins. The PL011 is by default muxed to the Bluetooth chip and
the mini-UART can be muxed to the pin headers passing "enabled_uart=1"
in the config.txt file.
Passing "enable_uart=1" has other implications, since the baudr
On 31.03.2017 16:40, Simon Glass wrote:
By making dram_init_banksize() return an error code we can drop the
wrapper. Adjust this and clean up all implementations.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot maili
In some boards like the Raspberry Pi the initial bootloader will pass
a DT to the kernel. When using U-boot as such kernel, the board code in
U-Boot should be able to provide U-boot with this, already assembled
device tree blob.
This patch introduces a new config option CONFIG_OF_BOARD to use inst
Similar to what blk_get_device_part_str() does, this patch makes
part_get_info_by_name() return the partition number in case of a match.
This is useful when the partition number is needed and not just the
descriptor.
Signed-off-by: Alex Deymo
---
common/fb_mmc.c | 6 +++---
disk/part.c | 2 +
When debugging dual SDHCI controller setup, printing strings and bank info
is very helpful.
Signed-off-by: Jean-Francois Dagenais
---
drivers/mmc/zynq_sdhci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/zynq_sdhci.c b/drivers/mmc/zynq_sdhci.c
index 089a424
This patch implements the logic needed to load an Android boot image
from storage, since the size and kernel address in Android images is
defined in its header.
Signed-off-by: Alex Deymo
---
common/image-android.c | 51 ++
include/image.h|
> On Apr 3, 2017, at 02:55, Michal Simek wrote:
>
> This is not only one way how to configure system. You can use
> psu_init*.tcl and configure chip through jtag and then you don't need
> this .c/.h files.
> You should be able to see warning already about it if you miss that files.
Mmh. I had t
Update the Android image header format to the latest version published
in AOSP. The original code moved to a new repository, so this patch also
updates the reference to that path.
Signed-off-by: Alex Deymo
---
common/image-android.c | 9 +
include/android_image.h | 24 +
On Mar 31, 2017 7:13 PM, "Marek Vasut" wrote:
On 03/30/2017 03:22 AM, chee skywind wrote:
> On Wed, Mar 29, 2017 at 5:03 PM, Marek Vasut wrote:
>
>> On 03/29/2017 05:49 AM, tien.fong.c...@intel.com wrote:
>>> From: "Chee, Tien Fong"
>>>
>>> Commit ce62e57fc571 ("ARM: boot0 hook: remove macro, i
An "Android Bootloader" has a lot of requirements about how it should
behave which Android partners must implement. In particular, the new
A/B updates [1] added more requirements and flows to the bootloader
which are not common, on top of the existing flows.
For example, a few uncommon requirement
Hi,
I have followed steps in the readme.x86 to build Uboot.rom for
minnowboard. but i got a error message as:
CHK include/config/uboot.release
CHK include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestam
Hello,
I was trying to compile u-boot for an OrangePi zero (AllWinner H2+) on
my up to date Arch Linux machine. In contrary to other distributions,
the standard Python version on Arch is Python3. To get a successful
build, I had to append the "2.7" to the "python" in line 123 of
tools/Makefile.
E
Android kernel images include a header that specifies addresses and
kernel size. This patch adds a command to load these images from
storage without specifying the size or address of them, and parsing
them from the header instead.
---
cmd/Kconfig| 9 +
cmd/Makefile | 1 +
c
On 31.03.2017 16:40, Simon Glass wrote:
This allows us to use the same DRAM init function on all archs.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thanks,
Stefan
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo
On 31.03.2017 16:40, Simon Glass wrote:
At present we cannot use this function as an init sequence call without a
wrapper, since it returns the RAM size. Adjust it to set the RAM size in
global_data instead, and return 0 on success.
Signed-off-by: Simon Glass
Reviewed-by: Stefan Roese
Thank
An Android Bootloader must comply with certain boot modes and change
the kernel command line accordingly. This patch introduces the Android
boot mode concept which determines whether the device should boot to
one of the following:
* recovery: which should boot to the recovery image,
* bootloader:
The .read_rom_hwaddr net_ops hook does not check the return value, which
is why it was never caught that we are currently returning 0 if the
read_rom_hwaddr function return -ENOSYS and -ENOSYS otherwise.
In this case we can simplify this by just returning the result of the
function.
Signed-off-by
1 - 100 of 221 matches
Mail list logo