and it will return the encrypted data in the black memory space and
vice versa.
The API for this driver are the functions
- mxc_scc_cbc_des_encrypt
- mxc_scc_cbc_des_decrypt
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/crypto/Kconfig | 17 ++
drivers/crypto/Ma
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/imx25.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/imx25.dtsi b/arch/arm/dts/imx25.dtsi
index 13fbcc4f8da6..1f3cdf0fe6ba 100644
--- a/arch/arm/dts/imx25.dtsi
+++ b/arch/arm/dts
Convert the i.MX6 CAAM RNG to the HWRNG "framework".
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
- this patch depends on next and the series
"HWRNG: add support for HW Random Number Generators"
drivers/crypto/caam/Kconfig | 1 +
drivers/
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-imx/clk-imx25.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-imx/clk-imx25.c b/arch/arm/mach-imx/clk-imx25.c
index 7d100783763c..8fe60e354af9 100644
--- a/arch/arm/mach-i
Instead of generating pseudo random numbers, get random bytes
from an optional HW generator, if enabled and registered.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
lib/random.c | 19 +++
1 file changed, 19 insertions(+)
diff --git a/lib/random.c
as it turns out, the driver for the RNGC
works fine on the (at least) i.MX25. So, they seem to be somewhat
compatible.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/hw_random/Kconfig| 11 ++
drivers/hw_random/Makefile | 1 +
drivers/hw_random/mxc-rngc.c
Hi!
This series adds support for registering a /dev/hwrng like in a
linux system.
Tested with the i.MX25 RNG, that is also added.
Regards,
Steffen
Steffen Trumtrar (5):
drivers: add simple hw_random implementation
lib: random: get_random_bytes from HWRNG if present
ARM: imx25: clk: add
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/imx25.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm/dts/imx25.dtsi b/arch/arm/dts/imx25.dtsi
index 13fbcc4f8da6..612b6c99d226 100644
--- a/arch/arm/dts/imx25.dtsi
+++ b/arch/arm/dts
Add a simple hw_random implementation based on code from
Linux v4.5-rc5.
All the entropypool initialization stuff is left out and
the obsolete data_read/data_present calls are omitted.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
drivers/Kconfig| 1 +
d
Hi Tim!
On Thu, Feb 25, 2016 at 11:29:42AM +0100, Tim Sander wrote:
> v7: eof whitespace fixes
>
FYI changelogs actually don't belong in the patch description, but ...
> A Patch for supporting the Terasic DE0 NANO-SoC with barebox.
> The pretty similar Socrates Board was taken as a starting
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/linux/circ_buf.h | 36
1 file changed, 36 insertions(+)
create mode 100644 include/linux/circ_buf.h
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
new file mode
is enabled.
- merge old patch 4/5 into new 3/3
- get rid of superfluous old patch 5/5
Tested with a riotboard.
Regards,
Steffen
Steffen Trumtrar (3):
include: linux: add circular buffers
ARM: imx6: add caam clks
crypto: add i.MX6 CAAM support
arch/arm/mach-imx/clk-imx6.c |4
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-imx/clk-imx6.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c
index 597e50205038..8568258644d5 100644
--- a/arch/arm/mach-imx/clk-imx6.c
+++
"error" (e); if the fields are set, the respective channel
> is
> +activated on the network console.
> +
> +On the PC side, the ``scripts/netconsole`` script can be used to remote
> control
> +barebox:
>
> .. code-block:: sh
>
>scripts/netconsole
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/linux/circ_buf.h | 36
1 file changed, 36 insertions(+)
create mode 100644 include/linux/circ_buf.h
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
new file mode
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-imx/clk-imx6.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/clk-imx6.c
index 597e50205038..8568258644d5 100644
--- a/arch/arm/mach-imx/clk-imx6.c
+++
Hi!
This series adds basic support for the i.MX6
Cryptographic Acceleration and Assurance Module (CAAM).
The CAAM supports multiple hashing/encryption engines,
this series only supports the included hardware random
number generator.
Tested with a riotboard.
Regards,
Steffen
Steffen Trumtrar
The code is based on the Linux v4.1 driver of the same name.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>
---
Changes since v2:
- change cdev parent from jobring device to rng device
drivers/crypto/
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/imx6s-riotboard.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/imx6s-riotboard.dts b/arch/arm/dts/imx6s-riotboard.dts
index e14363f9af0c..cf3a86d29bb8 100644
--- a/arch/arm/dts
Fixup the DryIce Non-Non-Volatile-Memory GPR register.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-imx/imx25.c | 26 ++
1 file changed, 26 insertions(+)
diff --git a/arch/arm/mach-imx/imx25.c b/arch/arm/mach-imx/imx25.c
On Mon, Feb 01, 2016 at 01:51:31PM +0100, Tim Sander wrote:
> Am Montag, 1. Februar 2016, 15:48:03 schrieb Antony Pavlov:
> > On Mon, 01 Feb 2016 13:06:22 +0100
> >
> > Steffen Trumtrar <s.trumt...@pengutronix.de> wrote:
> > > Tim Sander writes:
> > >
gt;
(...)
> diff --git a/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
> b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
> new file mode 100644
> index ..5d1840451382
> --- /dev/null
> +++ b/arch/arm/dts/socfpga_cyclone5_de0_nano_soc.dts
> @@ -0,0 +1,136 @@
>
Hi!
As I just noticed, the ctrl.c has a bug in one of the timeout loops.
Seems like I will have to send a v3.
Regards,
Steffen
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str.
Add suport for the i.MX6 CAAM RNG module.
The device is registered as a char-device under /dev/hwrng to mimic the
linux userspace interface.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>
---
drivers/crypto/caam/Kco
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/linux/circ_buf.h | 36
1 file changed, 36 insertions(+)
create mode 100644 include/linux/circ_buf.h
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
new file mode
Hi!
This series adds basic support for the i.MX6
Cryptographic Acceleration and Assurance Module (CAAM).
- see notes in 2/3 for what changed in the caam driver.
- 3/3 was not included in v1 of the series.
Regards,
Steffen
Steffen Trumtrar (3):
include: linux: add circular buffers
crypto
Hi!
On Wed, Oct 14, 2015 at 04:16:30PM +0200, Lucas Stach wrote:
> Am Mittwoch, den 14.10.2015, 15:39 +0200 schrieb Steffen Trumtrar:
> > Add the i.MX6 crypto core CAAM.
> >
> > The core itself works with jobrings in which descriptors can be
> > queued/dequeued for
Hi!
On Mon, Oct 19, 2015 at 08:21:58AM +0200, Sascha Hauer wrote:
> On Wed, Oct 14, 2015 at 03:39:37PM +0200, Steffen Trumtrar wrote:
> > Add the i.MX6 crypto core CAAM.
> >
> > The core itself works with jobrings in which descriptors can be
> > queued/dequeued
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/linux/circ_buf.h | 36
1 file changed, 36 insertions(+)
create mode 100644 include/linux/circ_buf.h
diff --git a/include/linux/circ_buf.h b/include/linux/circ_buf.h
new file mode
Import the busybox-1.23.1 uuencode/base64 helper functions.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
include/base64.h | 9
lib/Kconfig | 3 ++
lib/Makefile | 1 +
lib/base64.c | 154 +++
4
The blob_gen driver allows generating and reading of red blobs on the
i.MX6 CAAM crypto core.
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <m...@pengutronix.de>
---
drivers/crypto/caam/Kconfig| 9 +
drivers/crypto/caam/Make
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/mach-imx/clk-imx6.c | 4
dts/include/dt-bindings/clock/imx6qdl-clock.h | 5 -
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-imx/clk-imx6.c b/arch/arm/mach-imx/cl
Signed-off-by: Steffen Trumtrar <s.trumt...@pengutronix.de>
---
arch/arm/dts/imx6qdl.dtsi | 23 +++
1 file changed, 23 insertions(+)
diff --git a/arch/arm/dts/imx6qdl.dtsi b/arch/arm/dts/imx6qdl.dtsi
index 828be9ce0dbb..d5e7ee2fe547 100644
--- a/arch/arm/dts/imx6qd
The gpio-driver was developed when the bindings where not stable.
As these have changed in the meantime, the driver has to be updated to
the status quo.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/gpio/gpio-dw.c | 79 +++---
1
This is a DW driver not IMX; fix variable name.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/gpio/gpio-dw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-dw.c b/drivers/gpio/gpio-dw.c
index e582eb6d91ca..362f365fa6a1 100644
Instead of using internal devicetree files, use the official ones from
/dts/src/arm.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga.dtsi | 659 +
arch/arm/dts/socfpga_cyclone5.dtsi | 78
arch/arm/dts
Change the set_parent/get_parent functions for clock-gates to work
with the Linux kernel DT bindings.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/clk/socfpga.c | 73 ---
1 file changed, 52 insertions(+), 21 deletions
Hi!
On Thu, Aug 13, 2015 at 09:58:51AM -0700, Raj Swaminathan wrote:
Hi Lucas,
I am using Altera's cyclone 5 SoCFPGA.
Barebox version 2015.04.0
Linux is rocketboards version 3.18.0
Why are you using exactly these versions? Just curious.
I put some debug statements into the code at
/clkmgr@ffd04000/clocks/f2s_periph_ref_clk: 1
clk_register clk osc1 is already registered, skipping!
of_clk_init: failed to init clock for /soc/clkmgr@ffd04000/clocks/osc1:
1
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/clk/socfpga.c | 13 +
1
On Thu, Jul 16, 2015 at 08:07:23AM +0200, Sascha Hauer wrote:
On Tue, Jul 14, 2015 at 06:16:35PM +0200, Steffen Trumtrar wrote:
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 15 +++
1 file changed, 15 insertions
On Thu, Jul 16, 2015 at 09:01:54AM +0200, Sascha Hauer wrote:
On Thu, Jul 16, 2015 at 08:12:08AM +0200, Sascha Hauer wrote:
On Tue, Jul 14, 2015 at 06:16:37PM +0200, Steffen Trumtrar wrote:
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/Kconfig
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index ccb940584b5b..f0af9fac954e 100644
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/boards/ebv-socrates/board.c | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boards/ebv-socrates/board.c
b/arch/arm/boards/ebv-socrates/board.c
index 5d2d61991431..20998682a389 100644
--- a/arch/arm/boards/ebv
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 125ad1b8502d..ccb940584b5b
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/configs/socfpga-xload_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/socfpga-xload_defconfig
b/arch/arm/configs/socfpga-xload_defconfig
index 9f64adfd7438..413fcc319d3c 100644
--- a/arch/arm
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/Kconfig | 8 +++
arch/arm/mach-socfpga/Makefile | 1 +
arch/arm/mach-socfpga/include/mach/bbu.h| 15 +
arch/arm/mach-socfpga/socfpga_bbu_spi_nor.c | 86
.
The m25p80 was tested as m25p80 on a Phycore AM335x SOM.
Regards,
Steffen
Steffen Trumtrar (8):
mtd: spi-nor: add SPI-NOR framework
mtd: spi-nor: add cadence quadspi driver
ARM: dts: socfpga: add qspi node
ARM: socfpga: socdk add qspi flash
ARM: socfpga: socrates: add qspi flash
ARM
Import the SPI-NOR framework from linux kernel v3.19.
Signed-off-by: Enrico Jorns e...@pengutronix.de
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/mtd/Kconfig |1 +
drivers/mtd/Makefile|1 +
drivers/mtd/spi-nor/Kconfig |6
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/mtd/spi-nor/Kconfig |9 +
drivers/mtd/spi-nor/Makefile |1 +
drivers/mtd/spi-nor/cadence-quadspi.c | 1211 +
include/platform_data/cadence_qspi.h |9 +
4 files
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
Documentation/boards/socfpga.rst | 56 --
arch/arm/mach-socfpga/include/mach/generic.h | 5 ++
arch/arm/mach-socfpga/include/mach/socfpga-regs.h | 2 +
arch/arm/mach-socfpga/xload.c
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index afac867c991d..251d87ed4ea2 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_sockit.dts | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_sockit.dts
b/arch/arm/dts/socfpga_cyclone5_sockit.dts
index e8e00aedfc10..1c3fb4d39c0b
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 7fa5e63076d4
Use the spi-nor framework for the m25p80 driver to de-duplicate the code base
and follow along with the linux kernel version, so bugfixes or features can be
easier integrated.
Based on the Linux v4.1-rc3 version of m25p80.c.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socdk.dts | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts
b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index 025d07c18c02..d123bf679ecc
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/include/mach/sequencer.c | 293 +
arch/arm/mach-socfpga/include/mach/sequencer.h | 2 +
2 files changed, 61 insertions(+), 234 deletions(-)
diff --git a/arch/arm/mach-socfpga/include
Hi!
This updates the socfpga_get_sequencer script to handle the new
Quartus 15.0 generated sources.
Luckily the real changes in the code are very minor, so the patch
mostly just removes TCL/ALTERA macros that are useless for barebox.
(Boot)Tested on Sockit/Socrates.
Regards,
Steffen
Steffen
Hi!
On Mon, May 04, 2015 at 09:32:19AM +0200, Sascha Hauer wrote:
On Tue, Apr 28, 2015 at 12:32:27PM +0200, Steffen Trumtrar wrote:
Change the setenv error message from
set parameter: Invalid argument
to a more helpful
net: cannot set parameter 'nameserver': Invalid
and replace all occurences of
`USB_CNTL_TIMEOUT * x`
with just
`USB_CNTL_TIMEOUT`,
as the timeout is now large enough without it.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/usb/core/usb.c | 4 ++--
include/usb/usb.h | 2 +-
2 files changed, 3 insertions
Change the setenv error message from
set parameter: Invalid argument
to a more helpful
net: cannot set parameter 'nameserver': Invalid argument
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
common/env.c | 6 --
1 file changed, 4 insertions(+), 2 deletions
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socrates.dts | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socrates.dts
b/arch/arm/dts/socfpga_cyclone5_socrates.dts
index 7fa5e63076d4
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/mtd/spi-nor/Kconfig |9 +
drivers/mtd/spi-nor/Makefile |1 +
drivers/mtd/spi-nor/cadence-quadspi.c | 1193 +
include/platform_data/cadence_qspi.h |9 +
4 files
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/mtd/spi-nor/spi-nor.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
index d914a5bac17e..69b1c7a3a840 100644
--- a/drivers/mtd/spi-nor/spi
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga.dtsi | 15 +++
1 file changed, 15 insertions(+)
diff --git a/arch/arm/dts/socfpga.dtsi b/arch/arm/dts/socfpga.dtsi
index afac867c991d..251d87ed4ea2 100644
--- a/arch/arm/dts/socfpga.dtsi
+++ b/arch/arm
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_socdk.dts | 21 +
1 file changed, 21 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_socdk.dts
b/arch/arm/dts/socfpga_cyclone5_socdk.dts
index 025d07c18c02..d123bf679ecc
- disable mc13xxx
- enable bootstrap_devfs
- enable cadence qspi
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/configs/socfpga-xload_defconfig | 3 +-
arch/arm/configs/socfpga_defconfig | 77 +---
2 files changed, 42 insertions(+), 38
successfully by the Boot ROM
code.
If there ever is any other user of the Cadence QSPI core, that does not have a
devicetree to probe from, platform code might have to be added for this
initialization.
As there isn't at the moment, I chose to not bother with this.
Regards,
Steffen
Steffen Trumtrar
Import the SPI-NOR framework from the linux kernel.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
drivers/mtd/Kconfig |1 +
drivers/mtd/Makefile|1 +
drivers/mtd/spi-nor/Kconfig |6 +
drivers/mtd/spi-nor/Makefile|1 +
drivers/mtd
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/dts/socfpga_cyclone5_sockit.dts | 20
1 file changed, 20 insertions(+)
diff --git a/arch/arm/dts/socfpga_cyclone5_sockit.dts
b/arch/arm/dts/socfpga_cyclone5_sockit.dts
index e8e00aedfc10..1c3fb4d39c0b
Add qspi as a new recognized bootsource and load barebox from the
256KB offset. (The boot ROM supports up to 4 preloaders with 64KB each.)
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
Documentation/boards/socfpga.rst | 56 --
arch/arm/mach
The preloader import-script misses the sys_mgr_init_table variable.
When multiple boards are build, this will lead to compile errors,
because the variable exists multiple times.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
scripts/socfpga_import_preloader | 1 +
1 file changed
The socdk can't be build in a multiboard environment, i.e. when other
socfgpa boards are also build.
Fix this.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/boards/altera-socdk/pinmux_config.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm
On Mon, Feb 23, 2015 at 10:28:09AM +0100, Jan Lübbe wrote:
On Mo, 2015-02-23 at 10:15 +0100, Steffen Trumtrar wrote:
--- /dev/null
+++ b/arch/arm/boards/altera-socdk/board.c
@@ -0,0 +1,38 @@
+static int ksz9021rn_phy_fixup(struct phy_device *dev)
+{
+ phy_write(dev, 0x09, 0x0f00
Add script to automatically import and fixup the autogenerated handoff files
into the board folder.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
Documentation/boards/socfpga.rst | 10 --
scripts/socfpga_import_preloader | 68
2 files
Regards,
Steffen
Steffen Trumtrar (3):
scripts: add socfpga preloader-files importer
scripts: socfpga: add coccinelle magic
ARM: socfpga: add Altera SoCFPGA Development Kit support
Documentation/boards/socfpga.rst | 10 +-
arch/arm/boards/Makefile
Hi!
Sascha Hauer writes:
On Wed, Feb 18, 2015 at 12:54:18PM +0100, Steffen Trumtrar wrote:
Add support for the Altera SoCFPGA Development Kit.
The setup is based on the GHRD from Altera.
index ..73a5a7481924
--- /dev/null
+++ b/arch/arm/boards/altera-socdk/board.c
@@ -0,0
Add support for the Altera SoCFPGA Development Kit.
The setup is based on the GHRD from Altera.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/boards/Makefile | 1 +
arch/arm/boards/altera-socdk/Makefile | 2 +
arch/arm/boards
Use coccinelle to cleanup the imported u-boot code some more.
This will remove:
- debugging macros (TCL_RPT, BFM_STAGE, ALTERA_ASSERT)
- empty if/else/for blocks resulting from macro deletion
- some unused functions (scc_mgr_xxx)
Signed-off-by: Steffen Trumtrar s.trumt
Hi!
This series adds a new script to import and fixup the autogenerated handoff
files from Altera Quartus.
This is useful for Preloader development.
The script is used for importing the files for the Altera SoCDK support.
Regards,
Steffen
Steffen Trumtrar (3):
scripts: add socfpga preloader
Add script to automatically import and fixup the autogenerated handoff files
into the board folder.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
Documentation/boards/socfpga.rst | 10 --
scripts/socfpga_import_preloader | 69
2 files
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/boards/ebv-socrates/lowlevel.c| 5 ++---
arch/arm/boards/terasic-sockit/lowlevel.c | 5 ++---
arch/arm/mach-socfpga/include/mach/sequencer.c | 10 ++
arch/arm/mach-socfpga/include/mach/sequencer.h | 5
From: Markus Pargmann m...@pengutronix.de
This script extracts the socfpga sequencer from a generated u-boot
automagically. The resulting changes of the barebox tree should be
enough to compile with the new sequencer.
Signed-off-by: Markus Pargmann m...@pengutronix.de
Signed-off-by: Steffen
From Altera U-Boot:
FogBugz #210587: Fixing PLL HW configuration issue
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 20 +---
arch/arm/mach-socfpga/include/mach/clock-manager.h | 5 +
2 files
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 4
arch/arm/mach-socfpga/include/mach/clock-manager.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/mach-socfpga/clock-manager.c
b/arch/arm/mach-socfpga/clock
scripts: socfpga sequencer extraction tool
ARM: boards: socfpga new mem calibration function
Steffen Trumtrar (7):
ARM: socfpga: avoid using external regulator for PLL
ARM: socfpga: clkmgr: set alteragrp clocks
ARM: socfpga: clkmgr: bypass debug root clock
ARM: socfpga: clock-manager: set
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/include/mach/sequencer.c | 26 ++
arch/arm/mach-socfpga/include/mach/sequencer.h | 9 -
2 files changed, 10 insertions(+), 25 deletions(-)
diff --git a/arch/arm/mach-socfpga
From: Markus Pargmann m...@pengutronix.de
Signed-off-by: Markus Pargmann m...@pengutronix.de
---
arch/arm/boards/terasic-sockit/sequencer_auto_inst_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/terasic-sockit/sequencer_auto_inst_init.c
Update defconfig by running
make socfpga_defconfig make savedefconfig
and enable firmware support.
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/configs/socfpga_defconfig | 69 +++---
1 file changed, 34 insertions(+), 35
Altera's U-Boot tree has following commit
FogBugz #159721: Enhance Arria V MPU clock to 1050MHz
It writes to the two undocumented registers
CLKMGR_ALTERAGRP_MPUCLK
and
CLKMGR_ALTERAGRP_MAINCLK
to setup the SoC for higher clocks.
Signed-off-by: Steffen Trumtrar s.trumt
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/clock-manager.c
b/arch/arm/mach-socfpga/clock-manager.c
index 5196f08b09af..f17371365fe4 100644
--- a/arch/arm/mach
From: Markus Pargmann m...@pengutronix.de
This script extracts the socfpga sequencer from a generated u-boot
automagically. The resulting changes of the barebox tree should be
enough to compile with the new sequencer.
Signed-off-by: Markus Pargmann m...@pengutronix.de
Signed-off-by: Steffen
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-socfpga/clock-manager.c
b/arch/arm/mach-socfpga/clock-manager.c
index 5196f08b09af..f17371365fe4 100644
--- a/arch/arm/mach
):
ARM: sockit: Define inst_rom_init static
scripts: socfpga sequencer extraction tool
ARM: boards: socfpga new mem calibration function
ARM: socfpga: Import sequencer code from generated uboot
Steffen Trumtrar (5):
ARM: socfpga: avoid using external regulator for PLL
ARM: socfpga: clkmgr
Altera's U-Boot tree has following commit
FogBugz #159721: Enhance Arria V MPU clock to 1050MHz
It writes to the two undocumented registers
CLKMGR_ALTERAGRP_MPUCLK
and
CLKMGR_ALTERAGRP_MAINCLK
to setup the SoC for higher clocks.
Signed-off-by: Steffen Trumtrar s.trumt
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/include/mach/sequencer.c | 233 +
arch/arm/mach-socfpga/include/mach/sequencer.h | 10 +-
2 files changed, 10 insertions(+), 233 deletions(-)
diff --git a/arch/arm/mach-socfpga/include
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 4
arch/arm/mach-socfpga/include/mach/clock-manager.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/arch/arm/mach-socfpga/clock-manager.c
b/arch/arm/mach-socfpga/clock
From: Markus Pargmann m...@pengutronix.de
Signed-off-by: Markus Pargmann m...@pengutronix.de
---
arch/arm/boards/terasic-sockit/sequencer_auto_inst_init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boards/terasic-sockit/sequencer_auto_inst_init.c
From Altera U-Boot:
FogBugz #210587: Fixing PLL HW configuration issue
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/mach-socfpga/clock-manager.c | 20 +---
arch/arm/mach-socfpga/include/mach/clock-manager.h | 5 +
2 files
Signed-off-by: Steffen Trumtrar s.trumt...@pengutronix.de
---
arch/arm/boards/ebv-socrates/lowlevel.c | 5 ++---
arch/arm/boards/terasic-sockit/lowlevel.c | 5 ++---
2 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boards/ebv-socrates/lowlevel.c
b/arch/arm/boards/ebv
Hi!
Masahiro Yamada writes:
Hello Steffen Trumtrar,
I am seeing arch/arm/boards/avnet-zedboard/board.c
written by you.
Sadly it's been a while since I touched this :(
Is this file equivalent to ps7_init.c spit by Xilinx tool?
Or did you write it by hand from scratch ? (I doubt it.)
I
401 - 500 of 637 matches
Mail list logo