On 01/06/2017 05:19 AM, Chee Tien Fong wrote:
From: Tien Fong Chee
Drivers for reset manager is restructured such that common functions,
gen5 drivers and Arria10 drivers are moved to reset_manager.c,
reset_manager_gen5.c and reset_manager_arria10.c respectively.
In Linux, I was able to use
The SPL load address changes based on boot type in HS devices,
ISW_ENTRY_ADDR is used to set this address for AM43xx based SoCs
for similar reasons. Add this same logic for AM33xx devices.
Also make the default value for ISW_ENTRY_ADDR correct for GP
devices based on SoC, HS devices already pick t
Make building EFI example less noisy.
Signed-off-by: Andrew F. Davis
---
scripts/Makefile.lib | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 13c975b8a4..81ac7eb12c 100644
--- a/scripts/Makefile.lib
+++ b/scr
When TI_SECURE_DEV_PKG is not defined we warn that the file '*_HS' was
not generated but generate an unsigned one anyway, first fix this
warning to say that it was generated but not secured.
When the user then exports TI_SECURE_DEV_PKG after getting this warning,
and tries to re-build, 'make' will
Reorder the timeout loop such that we first check if the
condition is already true, and then call udelay() so if
the condition is already true, break early.
Reviewed-by: Michal Simek
Signed-off-by: Moritz Fischer
Cc: Heiko Schocher
Cc: Michal Simek
Cc: u-boot@lists.denx.de
---
Changes from v1:
The generic probe code in dm works, so get rid of the leftover cruft.
Signed-off-by: Moritz Fischer
Cc: Heiko Schocher
Cc: Michal Simek
Cc: u-boot@lists.denx.de
---
Changes from v1:
- None
---
drivers/i2c/i2c-cdns.c | 21 -
1 file changed, 21 deletions(-)
diff --git a/driv
Revision 1.0 of this IP has a couple of issues, such as not supporting
repeated start conditions for read transfers.
So scan through the list of i2c messages for these conditions
and report an error if they are attempted.
This has been fixed for revision 1.4 of the IP, so only report the error
wh
Revision 1.0 of this IP has a quirk where if during a long read transfer
the transfer_size register will go to 0, the master will send a NACK to
the slave prematurely.
The way to work around this is to reprogram the transfer_size register
mid-transfer when the only the receive fifo is known full, i
On Fri, 2017-01-06 at 14:56 +0100, Mario Six wrote:
> To enable DM on MPC83xx, we need pre-relocation malloc, which is
> implemented in this patch.
>
Would be nice if you could avoid using r1, each time you modify r1 gdb will be
upset/confused if you ever try to debug start.S with gdb.
I guess t
Print statements in SPL depend on lib/common support, so many such
statements are ifdef'd, move the check to the common.h header and
remove these inline checks.
Signed-off-by: Andrew F. Davis
---
common/spl/spl.c | 2 --
common/spl/spl_ext.c | 8
common/spl/spl_fat.c |
These files are only included for build by the make system
when CONFIG_SPL_{EXT,FAT}_SUPPORT is enabled, remove the unneed
checks for these in the source files.
Signed-off-by: Andrew F. Davis
---
common/spl/spl_ext.c | 2 --
common/spl/spl_fat.c | 2 --
2 files changed, 4 deletions(-)
diff --gi
This is not based on the latest upstream, please ignore.
Sorry for the noise.
Andrew
On 01/06/2017 01:09 PM, Andrew F. Davis wrote:
> Print statements in SPL depend on lib/common support, so many such
> statements are ifdef'd, move the check to the common.h header and
> remove these inline check
Add support for signing with the pkcs11 engine. This allows FIT images
to be signed with keys securely stored on a smartcard, hardware security
module, etc without exposing the keys.
Support for other engines can be added in the future by modifying
rsa_engine_get_pub_key() and rsa_engine_get_priv_
These files are only included for build by the make system
when CONFIG_SPL_{EXT,FAT}_SUPPORT is enabled, remove the unneed
checks for these in the source files.
Signed-off-by: Andrew F. Davis
---
common/spl/spl_ext.c | 2 --
common/spl/spl_fat.c | 2 --
2 files changed, 4 deletions(-)
diff --gi
Print statements in SPL depend on lib/common support, so many such
statements are ifdef'd, move the check to the common.h header and
remove these inline checks.
Signed-off-by: Andrew F. Davis
---
common/spl/spl.c | 2 --
common/spl/spl_ext.c | 8
common/spl/spl_fat.c |
On 01/06/2017 05:19 AM, Chee Tien Fong wrote:
From: Tien Fong Chee
Enhanced defconfig file for Arria10 to enable SPL build and supporting
device tree build for SDMMC.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no c
On 01/06/2017 03:19 AM, Masahiro Yamada wrote:
> Hi.
>
>
> 2017-01-06 18:41 GMT+09:00 Zhiqiang Hou :
>> From: Mingkai Hu
>>
>> For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
>> set. The SMPEN bit should be set before enabling the data cache.
>> If not enabled, the cache is
On 01/06/2017 05:57 AM, Mario Six wrote:
> To enable DM on MPC83xx, we need pre-relocation malloc, which is
> implemented in this patch.
>
> Signed-off-by: Mario Six
> ---
> arch/powerpc/cpu/mpc83xx/cpu_init.c| 3 +--
> arch/powerpc/cpu/mpc83xx/spl_minimal.c | 4 +---
> arch/powerpc/cpu/mpc
On 01/06/2017 04:02 AM, Prabhakar Kushwaha wrote:
>> Prabhakar,
>>
>> My comment to your v1 still stands. You didn't use this structure for
>> lsch2. Do you have follow-up patches?
>>
>
> This structure is required while supporting Ethernet in LS1012AFRDM.
> Ethernet support will be added in future
On 01/06/2017 02:16 AM, Chenhui Zhao wrote:
> To support PSCI on LS1012A, remove the macro CONFIG_MP.
> And, do code cleanup.
>
> Signed-off-by: Chenhui Zhao
> ---
> arch/arm/cpu/armv8/cpu-dt.c | 14
> arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 33
> ++
To support PSCI on LS1012A, remove the macro CONFIG_MP.
And, do code cleanup.
Signed-off-by: Chenhui Zhao
---
arch/arm/cpu/armv8/cpu-dt.c | 14
arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 33 +--
arch/arm/cpu/armv8/sec_firmware.c
Hi Fabio
On Thu, Jan 05, 2017 at 09:33:08PM -0200, Fabio Estevam wrote:
> From: Fabio Estevam
>
> Commit 6e1f4d2652e79 ("arm: imx-common: add SECURE_BOOT option to
> Kconfig") moved the CONFIG_SECURE_BOOT option to Kconfig, so update
> the mxc_hab README file to reflect that.
>
> Signed-off-by:
To enable DM on MPC83xx, we need pre-relocation malloc, which is
implemented in this patch.
Signed-off-by: Mario Six
---
arch/powerpc/cpu/mpc83xx/cpu_init.c| 3 +--
arch/powerpc/cpu/mpc83xx/spl_minimal.c | 4 +---
arch/powerpc/cpu/mpc83xx/start.S | 23 +++
3 files
Hi -
We recently updated our U-Boot release to v2016.11 and now our USB devices
don't work. When usb start is executed with a device inserted it hangs at
'scanning bus 0 for devices...' and doesn't recover. Our product uses an NXP
T2081 and I can reproduce this issue on the T2080RDB developm
On 01/05/2017 05:28 AM, Tom Rini wrote:
>
> There were a few minor problems in this series which I fixed up. The
> only remaining "issue" here is that sbc8641d has a ~3KiB size increase.
> This is due to the issue that previously it did _not_ define
> CONFIG_SYS_FSL_DDR2 but only CONFIG_SYS_FSL_DD
Hello,
In order to create a ram disk image I'm running:
genext2fs -d /local/rootfs -b 16384 -D rootfs_devices.tab ramdisk.img
gzip -v9 ramdisk.img
mkimage -A ARM -T ramdisk -C gzip -n 'Ramdisk Image' -d ramdisk.img.gz
uRootfs.gz
Am I right ?
I'm asking because upon boot I'm getting:
/sbin/i
Commit ac337168a unified functions to flush and invalidate dcache by
range. These two functions were no-ops for SoCs other than 4xx and
MPC86xx. Adding these functions seemed to be correct but introduced
issues in some drivers when the dcache was flushed. While the root
cause was under investigatio
On 01/05/2017 05:28 AM, Tom Rini wrote:
> On Wed, Dec 28, 2016 at 08:43:26AM -0800, York Sun wrote:
>
>> In this set, more mpc85xx config options are moved into Kconfig, including
>> some shared configuration for DDR, crypto, mmc, etc.
>>
>> York Sun (24):
>> powerpc: E500: Move CONFIG_E500 and C
Hi York
> -Original Message-
> From: york sun
> Sent: Thursday, January 05, 2017 1:28 AM
> To: Prabhakar Kushwaha ; u-
> b...@lists.denx.de
> Cc: Mingkai Hu ; Pratiyush Srivastava
>
> Subject: Re: [PATCH][v3] armv8: fsl-layerscape: Add support of GPIO structure
>
> On 12/08/2016 06:58 PM
From: Tien Fong Chee
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Changes for V2
- resolved build error of undefined some functions in fpga driver for SPL
build
---
drivers/Makefile |2 +-
1 files change
From: Tien Fong Chee
The drivers is restructured such common functions, gen5 functions, and
arria10 functions are moved to clock_manager.c, clock_manager_gen5 and
clock_manager_arria10 respectively.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ching Liang See
Cc: Tien Fo
From: Tien Fong Chee
This patch adding the Arria10 critical hardware initialization before
enabling console print out in spl.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- Created common spl_boot_device() for both gen5 an
From: Tien Fong Chee
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Changes for V2
- Removed extern declaration.
---
arch/arm/mach-socfpga/include/mach/pinmux.h | 17 +
arch/arm/mach-socfpga/pinmux.c
From: Tien Fong Chee
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Changes for V2
- Separate patch, reuse socfpga_common.h
---
arch/arm/mach-socfpga/system_manager.c |4 ++-
drivers/fpga/socfpga.c
From: Tien Fong Chee
The drivers is restructured such common functions, gen5 functions. and
arria10 functions are moved to misc.c, misc_gen5 and misc_arria10
respectively.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ching Liang See
Cc: Tien Fong
---
Changes for V3
- no
From: Tien Fong Chee
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for v3
- no changes
changes for v2
- Separate patch for adding some HW base address for Arria 10.
---
arch/arm/mach-socfpga/include/mach/base_addr_a10.h |5 +++
From: Tien Fong Chee
Drivers for reset manager is restructured such that common functions,
gen5 drivers and Arria10 drivers are moved to reset_manager.c,
reset_manager_gen5.c and reset_manager_arria10.c respectively.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang
From: Tien Fong Chee
Enhanced defconfig file for Arria10 to enable SPL build and supporting
device tree build for SDMMC.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Changes for V2
- Removed boot header info s
From: Tien Fong Chee
This patch enables SPL build and implementation for Arria 10.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes.
Changes for V2
- Commit messages changed.
---
arch/arm/Kconfig |4 ++--
1 f
From: Tien Fong Chee
This is initial version of device tree for the Intel socfpga arria10
development kit with sdmmc.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Changes for V2
- modified the handoff.dtsi to
From: Tien Fong Chee
These compat macros would be used by clock manager and pin mux drivers
to look the required HW info from DTS for hardware initialization.
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
Changes for V3
- no changes
Chang
From: Tien Fong Chee
Add base address header file for Stratix10 SoC
Signed-off-by: Chin Liang See
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Ley Foon Tan
---
arch/arm/mach-socfpga/include/mach/base_addr_s10.h | 48
1 files changed, 48 insertion
From: Tien Fong Chee
On the Arria10, the EMAC phy mode configuration for each EMACs is located
in separate registers versus being in 1 register for the GEN5 devices. The
Arria10 also has 3 EMACs compared to 2 for the GEN5 devices.
Update the dwmac_deassert_reset function to support both GEN5 and
From: Tien Fong Chee
Add the Arria10 reset manager defines that is used in Linux. Change the
license to SPDX.
[commit 007bb689b3dbad83cdab0ad192bc6ed0162451e0 from the Linux kernel]
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
From: Tien Fong Chee
There is no dependency on doing a separate clrbits first in the
dwmac_deassert_reset function. Combine them into a single
clrsetbits call.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arc
From: Tien Fong Chee
These functions are already in arch/arm/mach-socfpga/board.c
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
board/altera/arria10-socdk/socfpga.c | 17 -
1 files changed, 0
From: Tien Fong Chee
On the Arria10 device, the bridges are not mapped through the interconnect.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
drivers/fpga/socfpga.c |2 ++
1 files changed, 2 insertions(+)
From: Tien Fong Chee
The system manager on Arria10 is not used for pin muxing duties, so wrap
these functions for GEN5 devices only.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arch/arm/mach-socfpga/system_m
From: Tien Fong Chee
Add the defines for the reset manager and some basic reset functionality.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arch/arm/mach-socfpga/include/mach/reset_manager.h | 65 ++
From: Tien Fong Chee
The Arria10 device will not be able to re-use the GEN5 SDRAM controller,
so we shouldn't build the driver. Move CONFIG_ALTERA_SDRAM to Kconfig
option in drivers/ddr/altera/Kconfig.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
C
From: Tien Fong Chee
On arria5/cyclone5 parts, the bsel bits are at shift 0, while for arria10,
the bsel bits are at shift 12. Add SYSMGR_BOOTINFO_BSEL_SHIFT define so that
the reading the bsel can generic.
Suggested-by: Marek Vasut
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc:
From: Tien Fong Chee
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arch/arm/Kconfig |4 ++--
arch/arm/mach-socfpga/Kconfig | 10 ++
2 files changed, 12 insertions(+), 2 deletions(-)
From: Tien Fong Chee
Add a defconfig file for Arria10, which does not include enabling SPL.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Acked-by: Marek Vasut
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
configs/socfpga_arria10_defconfig | 16 +++
From: Tien Fong Chee
Add config for the Arria10 SoC Development Kit.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Acked-by: Marek Vasut
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
include/configs/socfpga_arria10_socdk.h | 94
From: Tien Fong Chee
Add system manager defines for Arria10.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
.../arm/mach-socfpga/include/mach/system_manager.h | 122
1 files changed, 122 i
From: Tien Fong Chee
Add arch_early_init_r function. The Arria10 has a firewall protection
around the SDRAM and OCRAM. These firewalls are to be disabled in order
for U-Boot to function.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang S
From: Tien Fong Chee
Add minimal support for the Arria10 SoCDK.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
board/altera/arria10-socdk/Kconfig | 18 ++
board/altera/arria10-socdk/Makefile
From: Tien Fong Chee
Add remaining 3 I2C base addresses for the Arria10.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Reviewed-by: Stefan Roese
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arch/arm/mach-socfpga/include/mach/base_addr_a10.h |3 +++
From: Tien Fong Chee
Add the structures for the SDRAM controller on Arria10.
Signed-off-by: Dinh Nguyen
Signed-off-by: Tien Fong Chee
Cc: Marek Vasut
Cc: Dinh Nguyen
Cc: Chin Liang See
Cc: Tien Fong
---
arch/arm/mach-socfpga/include/mach/sdram_a10.h | 380
1 file
Hi.
2017-01-06 18:41 GMT+09:00 Zhiqiang Hou :
> From: Mingkai Hu
>
> For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
> set. The SMPEN bit should be set before enabling the data cache.
> If not enabled, the cache is not coherent with other cores and
> data corruption could
Add Rockchip Engineers to Cc:
Le 06/01/2017 à 11:28, Romain Perier a écrit :
Hello,
I have a strange behaviour with the SPL on rk3288.
When I build u-boot-rockchip master for the rock2 (rock2_defconfig), I
can easily start u-boot SPL and u-boot from an sdcard (the emmc boot
partition is era
Hello,
I have a strange behaviour with the SPL on rk3288.
When I build u-boot-rockchip master for the rock2 (rock2_defconfig), I
can easily start u-boot SPL and u-boot from an sdcard (the emmc boot
partition is erased so my board starts in maskrom mode by default)
without any issues.
Now,
Hi Stefano,
Thank you for the review.
> Hi Lukasz,
>
> On 02/01/2017 15:51, Lukasz Majewski wrote:
> > This patch provides u-boot support for Liebherr (LWN) mccmon6 board.
> >
> > Signed-off-by: Lukasz Majewski
> > ---
> > Changes for v4:
> > - Update board/liebherr/mccmon6/MAINTAINERS entry t
From: Mingkai Hu
For A53, data coherency is enabled only when the CPUECTLR.SMPEN bit is
set. The SMPEN bit should be set before enabling the data cache.
If not enabled, the cache is not coherent with other cores and
data corruption could occur.
For A57/A72, SMPEN bit enables the processor to rec
From: Hou Zhiqiang
Signed-off-by: Hou Zhiqiang
---
V2:
- No change
arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
b/arch/arm/cpu/armv8/fsl-layerscape/Kconfig
index cc0dc88..f71a243 100644
--- a/arch
It seems that
http://www.denx.de/wiki/publish/DULG/DULG-enbw_cmc.html#Section_9.1.5.2.
Chapter 9.1.5.3.4. Installing UBI images (if no UBI Volumes exist): is
mentioning a problem like this. Figures in error message are swapped,
though. Anyhow, the root problem could be the fact that my ubiformat
st
66 matches
Mail list logo