On 04/23/2018 07:59 AM, Alexander Graf wrote:
The linker can remove sections that are never addressed, so it makes a lot
of sense to declare every function as an individual section.
This reduces the output U-Boot code size by ~30kb for me.
Signed-off-by: Alexander Graf
---
We now have RISC-V support in U-Boot - which is great!
However, not that we're finally making progress to converge on
efi_loader and distro boot for booting on ARM platforms, we
really want to make sure there is no technical reason not to
do the same on RISC-V as well.
So this patch set
On Mon, Apr 23, 2018 at 11:40 AM, Marek Vasut wrote:
> On 04/23/2018 03:54 AM, Ley Foon Tan wrote:
>> On Thu, Apr 19, 2018 at 4:21 PM, Marek Vasut wrote:
>>> On 04/19/2018 07:26 AM, See, Chin Liang wrote:
On Thu, 2018-04-19 at 04:59 +0200, Marek Vasut wrote:
While we don't have UEFI naming conventions for RISC-V file paths yet,
we need to search for something. So let's copy the removable file paths
from the RISC-V edk2 port.
Also add the official VCI strings that contain the standardized RISC-V
architecture ID fields.
Signed-off-by: Alexander Graf
On 04/23/2018 07:59 AM, Alexander Graf wrote:
We were using our EFI_CACHELINE_SIZE define only in the runtime service
code, but left the image loader to use plain CONFIG_SYS_CACHELINE_SIZE.
This patch moves EFI_CACHELINE_SIZE into efi_loader.h and converts
the image loader to use it.
Hi Ivan,
On Fri, Apr 13, 2018 at 6:12 AM, Ivan Gorinov wrote:
> Coreboot timestamp functions and Quark memory reference code use
> get_tbclk() to get TSC frequency. This will not work if another
> early timer is selected.
>
Thanks for working on this. But get_tbclk() is
We were using our EFI_CACHELINE_SIZE define only in the runtime service
code, but left the image loader to use plain CONFIG_SYS_CACHELINE_SIZE.
This patch moves EFI_CACHELINE_SIZE into efi_loader.h and converts
the image loader to use it.
Signed-off-by: Alexander Graf
---
The linker can remove sections that are never addressed, so it makes a lot
of sense to declare every function as an individual section.
This reduces the output U-Boot code size by ~30kb for me.
Signed-off-by: Alexander Graf
---
arch/riscv/config.mk | 2 +-
1 file changed, 1
Currently, the address region, 0xf8000 - 0x10, is used for SPL
stack for the 32bit SoCs. Because the U-Boot proper image starts
from 0x7, the maximum size of the U-Boot proper image is 544KB
(0x7 - 0xf8000) for the NOR boot mode. Now uniphier_v7_defconfig
is almost hitting this size
The hello world binary and a few selftests require to build EFI target
binaries, not just the EFI host environment.
This patch adds all required files to generate an EFI binary for
RISC-V.
Signed-off-by: Alexander Graf
---
new in v2
v2 -> v3:
- Add missing crt0 source
---
To support efi_loader we need to have platform support for setjmp/longjmp.
Add it here.
Signed-off-by: Alexander Graf
---
v1 -> v2:
- Allow 32bit target
- Also save/restore ra, sp
---
arch/riscv/include/asm/setjmp.h | 26
arch/riscv/lib/Makefile |
We have almost all pieces needed to support RISC-V UEFI binaries in place
already. The only missing piece are ELF relocations for runtime code and
data.
This patch adds respective support in the linker script and the runtime
relocation code. It also allows users to enable the EFI_LOADER
On 23.4.2018 05:53, Lokesh Vutla wrote:
>
>
> On Friday 20 April 2018 07:21 PM, Michal Simek wrote:
>> This minimal support will be used by Xilinx ZynqMP R5 cpu.
>>
>> Signed-off-by: Michal Simek
>> ---
>>
>> arch/arm/Kconfig | 6 ++
>>
This patch adds an empty stub for board_quiesce_devices() which allows boards
to quiesce their devices before we boot into an OS in a platform agnostic way.
Signed-off-by: Alexander Graf
---
arch/riscv/include/asm/u-boot-riscv.h | 1 +
arch/riscv/lib/bootm.c| 4
On 23.04.18 07:54, 陳建志 wrote:
>> The hello world binary and a few selftests require to build EFI target
>> binaries, not just the EFI host environment.
>>
>> This patch adds all required files to generate an EFI binary for RISC-V.
>>
>> Signed-off-by: Alexander Graf
>>
>> ---
>>
On Mon, Apr 23, 2018 at 3:51 PM, Maxime Ripard
wrote:
> On Sat, Apr 21, 2018 at 05:49:14PM +0530, Jagan Teki wrote:
>> Filling musb_hdrc pdata using structure will unnecessary
>> add extra ifdefs, so fill them inside probe call for
>> better code understanding and get
Hi Ivan,
On Mon, Apr 23, 2018 at 3:38 PM, Bin Meng wrote:
> Hi Ivan,
>
> On Fri, Apr 13, 2018 at 6:12 AM, Ivan Gorinov wrote:
>> Coreboot timestamp functions and Quark memory reference code use
>> get_tbclk() to get TSC frequency. This will not work
On Mon, Apr 16, 2018 at 12:25 PM, Lukasz Majewski wrote:
> Hi Alex,
>
>> Hi all,
>>
>> Android Things on rpi supports fastboot over udp since most rpis don't
>> expose a suitable USB port for fastboor over USB. It also uses the A/B
>> booting mechanism similar to Pixel phones.
>>
On Sat, Apr 21, 2018 at 05:49:14PM +0530, Jagan Teki wrote:
> Filling musb_hdrc pdata using structure will unnecessary
> add extra ifdefs, so fill them inside probe call for
> better code understanding and get rid ifdefs using
> devicetree compatible.
>
> Signed-off-by: Jagan Teki
On Fri, 2018-04-20 at 11:00 -0700, Ivan Gorinov wrote:
> On Fri, Apr 20, 2018 at 06:25:08AM -0600, Andy Shevchenko wrote:
> > > - while (rdtsc() < final_tsc)
> > > - ;
> > > + while (rdtsc() - start_tsc < ticks);
> >
> > I would rather preserve existing style.
>
> OK. Existing style
On Sat, Apr 21, 2018 at 05:49:18PM +0530, Jagan Teki wrote:
> From: Chen-Yu Tsai
>
> Clock gating bits on H43/H5 were wrong, fix them.
>
> Signed-off-by: Chen-Yu Tsai
> Reviewed-by: Jagan Teki
You need to have your SoB here.
Maxime
Hi,
On Sat, Apr 21, 2018 at 05:49:17PM +0530, Jagan Teki wrote:
> Add OTG device clkgate and reset for H3/H5 through driver_data
> since the driver is already supporting dt.
You're not just doing that in your patch...
> Signed-off-by: Jagan Teki
> ---
>
Distro boot allows for a common boot path on systems that allow distributions
to easily boot from a default configuration.
This patch enables distro boot for the nx25-ae250. Hopefully this can serve
as a good example for new boards, so they enable it as well.
Signed-off-by: Alexander Graf
On Thu, Mar 29, 2018 at 6:52 PM, Maxime Ripard
wrote:
> On Tue, Mar 27, 2018 at 04:57:23PM +0300, Stefan Mavrodiev wrote:
>> U-boot driver for sunxi-mmc uses PLL6, unlike linux kernel where
>> PLL5 is used, with clock rates respectively 600MHz and 768MHz.
>> Thus there
On 04/23/2018 07:59 AM, Alexander Graf wrote:
While we don't have UEFI naming conventions for RISC-V file paths yet,
we need to search for something. So let's copy the removable file paths
from the RISC-V edk2 port.
Also add the official VCI strings that contain the standardized RISC-V
Many thanks for Chris and Alex. It was quite stupid of me not to set the
environment variable for the cross compiler. After setting it, I was able to
build it.
From: Chris Packham
Sent: Saturday, April 21, 2018 6:26 AM
To: Arunashis
We have not had CONFIG_NET_MULTI be meaningful for quite some time, drop
the last remnants.
Signed-off-by: Tom Rini
---
include/configs/draak.h | 1 -
include/configs/eagle.h | 1 -
include/configs/ls1012a2g5rdb.h | 2 --
3 files changed, 4 deletions(-)
diff
Enable support for multiple loadable images in SEC firmware FIT image.
Also add example "sec_firmware_ppa.its" file.
Signed-off-by: Sumit Garg
---
Changes in v2:
Added example "sec_firmware_ppa.its" file. Also added printf instead of
debug in case of error scenario.
On 04/23/2018 08:00 AM, Ley Foon Tan wrote:
> On Mon, Apr 23, 2018 at 11:40 AM, Marek Vasut wrote:
>> On 04/23/2018 03:54 AM, Ley Foon Tan wrote:
>>> On Thu, Apr 19, 2018 at 4:21 PM, Marek Vasut wrote:
On 04/19/2018 07:26 AM, See, Chin Liang wrote:
> On
Add support for Cortina CS4223 10G PHY
- As per the CS4223 specs, an EEPROM module is
connected to the PHY. At startup the PHY reads
the firmware line and tries to load the firmware
into the internal memory.
- This driver reads the EEPROM status
and checks if firmware has been
From: Ludovic Desroches
The drive strength has to be set to medium for the NAND data lines.
With a low drive, we can get some data corruption.
Signed-off-by: Ludovic Desroches
---
board/atmel/sama5d2_ptc_ek/sama5d2_ptc_ek.c |
powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores.
Signed-off-by: Yoshihisa Morizumi
Signed-off-by: Takuma Ueba
---
arch/powerpc/cpu/mpc85xx/release.S | 7 +++
1 file changed, 7 insertions(+)
diff --git
powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores.
Signed-off-by: Yoshihisa Morizumi
Signed-off-by: Takuma Ueba
---
arch/powerpc/cpu/mpc85xx/release.S | 7 +++
1 file changed, 7 insertions(+)
diff --git
From: Ludovic Desroches
Macros for drive strength configuration were missing.
Signed-off-by: Ludovic Desroches
---
arch/arm/mach-at91/include/mach/atmel_pio4.h | 4
1 file changed, 4 insertions(+)
diff --git
These patches are originally created by Ludovic Desroches.
For the Sama5d2_ptc_ek board, we need to set nand PIO drive strength.
Created macros for drive strength configuration.
The drive strength has to be set to medium for the NAND data lines.
With a low drive, we can get some data corruption.
Hello all,
forgot to add the list to cc ... also it seems Feng Li is
not longer availiable or EMail address changed ...
Weitergeleitete Nachricht
Betreff: drivers: spi: SPI NOR write fails since commit 6c94bd12c4ad
Datum: Mon, 23 Apr 2018 10:28:54 +0200
Von: Heiko Schocher
Add the regmap_update_bits() to simply the read/modify/write of registers
in a single command. The function is taken from Linux regmap
implementation.
Signed-off-by: Neil Armstrong
---
include/regmap.h | 23 +++
1 file changed, 23 insertions(+)
diff
Hi All,
Sorry to top-post, but could this patch go into master for next release ?
Currently all the Amlogic boards are broken on master becaus eof this issue.
Thanks,
Neil
Forwarded Message
Subject: Re: [U-Boot] [PATCH 1/1] mmc: avoid division by zero in
Hi Tom,
please pull these fixes to your tree.
Here is travis session
https://travis-ci.org/michalsimek/u-boot/builds/370046582
Thanks,
Michal
The following changes since commit 275d80a4c2fb63890f3f4c16b7ad481064e650a0:
Merge git://git.denx.de/u-boot-usb (2018-04-22 09:30:36 -0400)
are
Add a device tree node for the Allwinner R40/V40 GMAC gigabit
ethernet interface.
The R40 SoC does not use the syscon register for GMAC settings.
Signed-off-by: Lothar Felten
---
arch/arm/dts/sun8i-r40.dtsi | 21 +
1 file changed, 21 insertions(+)
Add an 'adc' cli command to get adc devices informations and read single
shots datas.
Signed-off-by: Neil Armstrong
---
cmd/Kconfig | 7
cmd/Makefile | 1 +
cmd/adc.c| 126 +++
3 files changed, 134
This patch adds the driver for the Amlogic Meson Successive Approximation
Register (SAR) A/D Converter based on the Linux IIO driver thanks to the
great work of Martin Blumenstingl.
The driver has been adapted to U-Boot and the ADC UClass.
This patch depends on the regmap "regmap: add
Add support for the GMAC found in the Allwinner R40/V40 SoC.
The R40 GMAC interface is not controlled by the syscon register but
has a separate configuration register in the CCU.
The clock gate and reset bits are in a different register compared
to the other SoCs supported by this driver.
The
Add gpio mux settings for the Allwinner R40/V40 CPU.
The gigabit ethernet interface can only be routed to a fixed set of
pins.
Signed-off-by: Lothar Felten
---
arch/arm/dts/sun8i-r40.dtsi | 9 +
1 file changed, 9 insertions(+)
diff --git
From: Ian Ray
Add winbond SPI NOR support, which is being used by newer hardware.
Signed-off-by: Ian Ray
Signed-off-by: Sebastian Reichel
---
configs/ge_b450v3_defconfig | 1 +
configs/ge_b650v3_defconfig | 1 +
Add clock control entries for the gigabit interface of the Allwinner
R40/V40 CPU
Signed-off-by: Lothar Felten
---
arch/arm/include/asm/arch-sunxi/clock_sun6i.h | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git
Enable the gigabit ethernet for the Bananapi M2 Ultra board.
Tested on BananaPi M2 Berry (R40), custom board (V40)
Signed-off-by: Lothar Felten
---
arch/arm/dts/sun8i-r40-bananapi-m2-ultra.dts | 14 ++
configs/Bananapi_M2_Ultra_defconfig | 3 +++
2
CONFIG_ENV_IS_IN_MMC must be declared in defconfig to properly
support "env save".
Signed-off-by: Sebastian Reichel
---
configs/mx53ppd_defconfig | 1 +
include/configs/mx53ppd.h | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git
On Mon, Apr 23, 2018 at 10:08 AM, Alex Kiernan wrote:
> On Mon, Apr 16, 2018 at 12:25 PM, Lukasz Majewski wrote:
>> Hi Alex,
>>
>>> Hi all,
>>>
>>> Android Things on rpi supports fastboot over udp since most rpis don't
>>> expose a suitable USB port for
2018-04-20 18:14 GMT+09:00 Masahiro Yamada :
>
> Usually, the image size tends to increase gradually.
> Finally, it is hitting the size limit for my board.
>
> One size consuming part is the clock driver, and it is only used
> by the SD/eMMC driver in SPL. By
2018-04-20 18:38 GMT+09:00 Masahiro Yamada :
> Some boards support an SD card and an eMMC device at the same time.
> Since both belong to 'mmc', they are identified by a device number.
> When the device number of the eMMC is 1 instead 0, "mmc dev" command
> must be
2018-04-23 15:10 GMT+09:00 Masahiro Yamada :
> Currently, the address region, 0xf8000 - 0x10, is used for SPL
> stack for the 32bit SoCs. Because the U-Boot proper image starts
> from 0x7, the maximum size of the U-Boot proper image is 544KB
> (0x7 -
Hi Tom,
I ended up with fixing some image size problems
to get my board (uniphier_v7_defconfig) back working.
Please pull a little more.
The following changes since commit 275d80a4c2fb63890f3f4c16b7ad481064e650a0:
Merge git://git.denx.de/u-boot-usb (2018-04-22 09:30:36 -0400)
are
2018-04-20 17:42 GMT+09:00 Masahiro Yamada :
> With the recent changes, the size of the U-Boot proper image for
> uniphier_v7_defconfig exceeded the current limit, 512KB, then SPL
> fails to load the whole of the U-Boot proper. Increase the size.
>
> Signed-off-by:
This patch enables the WoL command
Signed-off-by: Lothar Felten
---
cmd/Kconfig | 5 +
cmd/net.c | 14 ++
include/net.h | 3 ++-
net/Makefile | 1 +
net/net.c | 19 +++
5 files changed, 41 insertions(+), 1 deletion(-)
diff
This patch adds a new command 'wol': It waits for an incoming
Wake-on-LAN
packet or times out if no WoL packed is received.
If the WoL packet contains a password, it is saved in the environment
variable 'wolpassword' using the etherwake format (dot separated
decimals).
Intended use case: a
On 23.04.18 09:35, Heinrich Schuchardt wrote:
>
>
> On 04/23/2018 07:59 AM, Alexander Graf wrote:
>> The linker can remove sections that are never addressed, so it makes a
>> lot
>> of sense to declare every function as an individual section.
>>
>> This reduces the output U-Boot code size by
On Thu, 2018-04-19 at 10:41 +0200, Maxime Ripard wrote:
> On Tue, Apr 17, 2018 at 03:42:35PM +0200, Lothar Felten wrote:
> > Enable the gigabit ethernet for the Bananapi M2 Ultra board.
> > Tested on BananaPi M2 Berry (R40), custom board (V40).
> >
> > Signed-off-by: Lothar Felten
Hi Tom,
This is my current stable patch queue for efi. Please pull.
Alex
The following changes since commit 275d80a4c2fb63890f3f4c16b7ad481064e650a0:
Merge git://git.denx.de/u-boot-usb (2018-04-22 09:30:36 -0400)
are available in the git repository at:
git://github.com/agraf/u-boot.git
On Tue, Apr 24, 2018 at 01:14:30AM +0900, Masahiro Yamada wrote:
> Hi Tom,
>
> I ended up with fixing some image size problems
> to get my board (uniphier_v7_defconfig) back working.
>
> Please pull a little more.
>
>
>
> The following changes since commit
On Sun, Apr 15, 2018 at 12:36:45AM +0200, Marek Vasut wrote:
> From: Marek Vasut
>
> Staticize the function since it's only used in mmc.c .
>
> Signed-off-by: Marek Vasut
> Cc: Jaehoon Chung
> Cc: Tom Rini
Hey,
So I'm looking over my setups again at what we do and do not have build
testing and run-time testing, and I see that for nds32 I just cannot
find a good toolchain. If I try for example
Without a description they always revert to their defaults regardless
of what is in the defconfig file.
Signed-off-by: Kristian Amlie
---
env/Kconfig | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/env/Kconfig b/env/Kconfig
index
Hi Bryan,
On 18 April 2018 at 11:22, Bryan O'Donoghue wrote:
>
>
>
> On 17/04/18 23:21, Simon Glass wrote:
>>
>> Hi Bryan,
>>
>> On 17 April 2018 at 03:27, Bryan O'Donoghue
>> wrote:
>>>
>>>
>>>
>>>
>>> On 16/04/18 17:49, Simon Glass
On Mon, Apr 23, 2018 at 04:49:38PM +0200, Michal Simek wrote:
> Hi Tom,
>
> please pull these fixes to your tree.
>
> Here is travis session
> https://travis-ci.org/michalsimek/u-boot/builds/370046582
>
> Thanks,
> Michal
>
> The following changes since commit
On Sat, Mar 17, 2018 at 10:49:36PM +, Heinrich Schuchardt wrote:
> The Odroid C2 fails to read from mmc with U-Boot v2018.03.
> The change avoids a division by zero.
>
> The fix was suggested by Jaehoon in
> https://lists.denx.de/pipermail/u-boot/2018-January/318577.html
>
> Reported-by:
%s/alingment/alignment/
Signed-off-by: Heinrich Schuchardt
---
arch/powerpc/lib/kgdb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/lib/kgdb.c b/arch/powerpc/lib/kgdb.c
index aa16a00a42..f580c023e5 100644
--- a/arch/powerpc/lib/kgdb.c
+++
Hi Bin,
On Mon, Apr 23, 2018 at 01:38:05AM -0600, Bin Meng wrote:
> > Coreboot timestamp functions and Quark memory reference code use
> > get_tbclk() to get TSC frequency. This will not work if another
> > early timer is selected.
>
> Thanks for working on this. But get_tbclk() is one API
On Mon, Apr 23, 2018 at 09:38:02PM +0200, Alexander Graf wrote:
> Hi Tom,
>
> This is my current stable patch queue for efi. Please pull.
>
> Alex
>
>
> The following changes since commit 275d80a4c2fb63890f3f4c16b7ad481064e650a0:
>
> Merge git://git.denx.de/u-boot-usb (2018-04-22 09:30:36
2018-04-24 5:17 GMT+09:00 Tom Rini :
> On Tue, Apr 24, 2018 at 01:14:30AM +0900, Masahiro Yamada wrote:
>
>> Hi Tom,
>>
>> I ended up with fixing some image size problems
>> to get my board (uniphier_v7_defconfig) back working.
>>
>> Please pull a little more.
>>
>>
>>
>> The
On Tue, Apr 24, 2018 at 09:24:41AM +0900, Masahiro Yamada wrote:
> 2018-04-24 5:17 GMT+09:00 Tom Rini :
> > On Tue, Apr 24, 2018 at 01:14:30AM +0900, Masahiro Yamada wrote:
> >
> >> Hi Tom,
> >>
> >> I ended up with fixing some image size problems
> >> to get my board
Parse of data in dedicated api instead of in probe().
The clk_set_rate() may be called before the clk driver is probed,
after core support set default clock.
This patch fix system abort issue since:
f4fcba5 clk: implement clk_set_defaults()
Signed-off-by: Kever Yang
> -Original Message-
> From: Tom Rini [mailto:tr...@konsulko.com]
> Sent: Tuesday, April 24, 2018 4:17 AM
> To: u-boot@lists.denx.de; Rick Jian-Zhi Chen(陳建志)
> Subject: NDS32 toolchain?
>
> Hey,
>
> So I'm looking over my setups again at what we do and do not have build
> testing
> and
powerpc/mpc85xx: Work-around for Erratum A005125 must be applied to all cores.
Signed-off-by: Yoshihisa Morizumi
Signed-off-by: Takuma Ueba
---
arch/powerpc/cpu/mpc85xx/release.S | 7 +++
1 file changed, 7 insertions(+)
diff --git
Parse of data in dedicated api instead of in probe().
The clk_set_rate() may be called before the clk driver is probed,
after core support set default clock.
This patch fix system abort issue since:
f4fcba5 clk: implement clk_set_defaults()
Signed-off-by: Kever Yang
Parse of data in dedicated api instead of in probe().
The clk_set_rate() may be called before the clk driver is probed,
after core support set default clock.
This patch fix system abort issue since:
f4fcba5 clk: implement clk_set_defaults()
Signed-off-by: Kever Yang
Hi Michal,
On Monday 23 April 2018 11:56 AM, Michal Simek wrote:
> On 23.4.2018 05:53, Lokesh Vutla wrote:
>>
>>
>> On Friday 20 April 2018 07:21 PM, Michal Simek wrote:
>>> This minimal support will be used by Xilinx ZynqMP R5 cpu.
>>>
>>> Signed-off-by: Michal Simek
commit 8519c9c98ad6 ("tools/imximage: use 0x prefix in HAB Blocks line")
adds an 0x prefix to each HAB Block number to make it easier for host tools
to process the HAB Block output, however it neglects to apply the same
prefix to the DCD Blocks directive. You need the DCD Blocks directive if
you
On Mon, Apr 23, 2018 at 3:35 PM, Bryan O'Donoghue
wrote:
> commit 8519c9c98ad6 ("tools/imximage: use 0x prefix in HAB Blocks line")
> adds an 0x prefix to each HAB Block number to make it easier for host tools
> to process the HAB Block output, however it neglects to
79 matches
Mail list logo