On Mon, Mar 11, 2013 at 10:45 PM, Sascha Hauer wrote:
> On Mon, Mar 11, 2013 at 12:36:07AM +0100, Vicente Bergas wrote:
>>
>> Signed-off-by: Vicente Bergas
>> ---
>> arch/arm/boards/archosg9/board.c | 25 +++
>> arch/arm/boards/archosg9/env/bin/init | 28
Done as suggested.
Thanks for the suggestion.
Signed-off-by: Vicente Bergas
---
drivers/input/Kconfig | 7 +++
drivers/input/Makefile | 1 +
drivers/input/twl6030_pwrbtn.c | 112 +
include/twl6030_pwrbtn.h | 9
4 files cha
getopt: done as suggested
bootsrc: done as suggested
IMO this command will be used 99% of the times followed by a reset.
The -r option will avoid the burden of executing always the same two commands.
Signed-off-by: Vicente Bergas
---
arch/arm/mach-omap/include/mach/omap4-silicon.h | 20 ++
> I don't see a point in obfuscating this so much. Please call only call
> the features you want to have setup in the first place. For your own
> debugging purposes it makes no difference whether you edit the C file
> above or this header file. For different tablets with different features
> you ne
On Mon, Mar 11, 2013 at 12:36:07AM +0100, Vicente Bergas wrote:
>
> Signed-off-by: Vicente Bergas
> ---
> arch/arm/boards/archosg9/board.c | 25 +++
> arch/arm/boards/archosg9/env/bin/init | 28 ++
> arch/arm/boards/archosg9/env/bo
On Mon, Mar 11, 2013 at 12:36:06AM +0100, Vicente Bergas wrote:
> On OMAP4 SoC there is a SAR memory region (Save & Rescue) where the ROM
> code reads the device to boot from.
> This patch adds a way to set this.
>
> Signed-off-by: Vicente Bergas
> ---
> arch/arm/mach-omap/include/mach/omap4-sil
On Mon, Mar 11, 2013 at 12:36:05AM +0100, Vicente Bergas wrote:
>
> +
> +static int __init twl6030_pwrbtn_probe(struct device_d *dev)
> +{
> + struct twl6030_pwrbtn_platform_data *pdata;
> + struct console_device *cdev;
> +
> + pdata = dev->platform_data;
> +
> + if (!pdata) {
> +
Hi Vicente,
On Sun, Mar 10, 2013 at 12:19:33AM +0100, Vicente Bergas wrote:
> This patch series ends up adding sd-card booting support to archosg9 boards.
> First 8 patches are improvements and minor fixes found during the process.
I applied most patches from thsi series, the rest needs some up
On Mon, Mar 11, 2013 at 01:26:31PM +0400, Alexander Shiyan wrote:
>
> Signed-off-by: Alexander Shiyan
Applied, thanks
Sascha
> ---
> arch/arm/boards/clep7212/env/config | 20
> arch/arm/boards/clep7212/env/config-board | 14 ++
> 2 files changed, 14
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/clk-imx1.c| 2 ++
arch/arm/mach-imx/clk-imx21.c | 2 ++
arch/arm/mach-imx/clk-imx25.c | 2 ++
arch/arm/mach-imx/clk-imx27.c | 2 ++
arch/arm/mach-imx/clk-imx31.c | 2 ++
arch/arm/mach-imx/clk-imx35.c | 2
Signed-off-by: Sascha Hauer
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx27-phytec-phycore.dts | 106 ++
arch/arm/dts/imx27.dtsi | 250 ++
arch/arm/mach-imx/imx27.c | 3 +
4 files changed, 360 insertions
This adds the devicetree compiler (dtc) and rules to generate dtbs
to barebox. With this devicetrees can be compiled into the barebox
binary and devices can be probed from it. Also added are i.MX27
devicetree files, these are basically meant as example, I won't apply
them eight now.
The dtc probab
Add rules to generate dtb files from dts/dtsi files,
optionally run the source files through the preprocessor.
Also add a rule to generate object files to include in
the barbox binary.
Signed-off-by: Sascha Hauer
---
include/asm-generic/barebox.lds.h | 12
scripts/Makefile.lib
- Add rules to generate dtb files in arch/arm/dts/
- add an initcall which unflattens and probes the internal devicetree
- Add skeleton devicetree
Signed-off-by: Sascha Hauer
---
Makefile | 2 +-
arch/arm/Kconfig | 4
arch/arm/Makefile | 14 +++
by reordering the entry, USB gadget support is now a menu and the
USB gadget choices are under this menu and not directly in the
driver menu.
Signed-off-by: Eric Bénard
---
drivers/usb/gadget/Kconfig | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/usb/gadget/K
On Mon, Mar 11, 2013 at 01:28:09PM -0500, Josh Cartwright wrote:
> On Mon, Mar 11, 2013 at 10:15:04AM +0100, Steffen Trumtrar wrote:
> > Signed-off-by: Steffen Trumtrar
> > ---
> > arch/arm/mach-zynq/clk-zynq7000.c | 33 -
> > 1 file changed, 32 insertions(+), 1 de
On Mon, Mar 11, 2013 at 01:29:25PM -0500, Josh Cartwright wrote:
> On Mon, Mar 11, 2013 at 10:15:03AM +0100, Steffen Trumtrar wrote:
> > Signed-off-by: Steffen Trumtrar
> > ---
> > arch/arm/mach-zynq/clk-zynq7000.c | 3 +--
> > 1 file changed, 1 insertion(+), 2 deletions(-)
> >
> > diff --git a/
On Mon, Mar 11, 2013 at 10:15:03AM +0100, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar
> ---
> arch/arm/mach-zynq/clk-zynq7000.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-zynq/clk-zynq7000.c
> b/arch/arm/mach-zynq/clk-zynq7000.c
> inde
On Mon, Mar 11, 2013 at 10:15:04AM +0100, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar
> ---
> arch/arm/mach-zynq/clk-zynq7000.c | 33 -
> 1 file changed, 32 insertions(+), 1 deletion(-)
>
> diff --git a/arch/arm/mach-zynq/clk-zynq7000.c
> b/arch/arm
> On Mon, Mar 11, 2013 at 08:22:05PM +0400, Alexander Shiyan wrote:
> > > On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe
> > > PLAGNIOL-VILLARD wrote:
> > > > > +static int clps711x_cs_probe(struct device_d *dev)
> > > > > +{
> > > > > + u32 rate;
> > > > > + struct clk *timer_c
On Mon, Mar 11, 2013 at 10:15:06AM +0100, Steffen Trumtrar wrote:
> With clkdev in place the generic arm_smp_twd can be used.
>
Oh! Hmm. So, you add the clocksource driver in a previous patch, and
remove it here. I'd recommend rebasing this patchset to remove this
intermediate state.
Josh
On Mon, Mar 11, 2013 at 10:14:59AM +0100, Steffen Trumtrar wrote:
> Add basic support for the Xilinx Zynq-7000 EPP architecture.
> The Zynq-7000 is an embedded processing platform that combines a Cortex A9
> dualcore MPSoC with an Artix-7 FPGA.
>
> Signed-off-by: Steffen Trumtrar
> ---
> arch/ar
On Mon, Mar 11, 2013 at 08:22:05PM +0400, Alexander Shiyan wrote:
> > On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD
> > wrote:
> > > > +static int clps711x_cs_probe(struct device_d *dev)
> > > > +{
> > > > + u32 rate;
> > > > + struct clk *timer_clk;
> > >
> On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > > +static int clps711x_cs_probe(struct device_d *dev)
> > > +{
> > > + u32 rate;
> > > + struct clk *timer_clk;
> > > +
> > > + timer_clk = clk_get(dev, NULL);
> > > + if (IS_ERR(timer_clk))
> > > + r
Signed-off-by: Alexander Shiyan
---
arch/arm/boards/archosg9/config.h| 1 -
arch/arm/boards/beagle/config.h | 17 -
arch/arm/boards/beaglebone/config.h | 17 -
arch/arm/boards/ccxmx51/config.h | 24 ---
Patch creates empty if this header is not needed by board.
This will allow to remove many empty config.h files from boards.
Signed-off-by: Alexander Shiyan
---
Makefile | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/Makefile b/Makefile
index b5819fc..e8d9
> On Sun, Mar 10, 2013 at 07:01:00PM +0400, Alexander Shiyan wrote:
> > > > > Patch creates empty if this header is not needed by board.
> > > > > This will allow to remove many empty config.h files from boards.
> > >
> > > How does git incorporate with this? I think git just ignores empty files
On 15:26 Mon 11 Mar , Alexander Shiyan wrote:
> Hello.
>
> > On 13:26 Mon 11 Mar , Alexander Shiyan wrote:
> > > This patch adds support for COMMON_CLK API for CLPS711X targets.
> > >
> > > Signed-off-by: Alexander Shiyan
> ...
> > > + /* Turn timers in free running mode */
> > > tmp =
Hello.
> On 13:26 Mon 11 Mar , Alexander Shiyan wrote:
> > This patch adds support for COMMON_CLK API for CLPS711X targets.
> >
> > Signed-off-by: Alexander Shiyan
...
> > + /* Turn timers in free running mode */
> > tmp = readl(SYSCON1);
> > - tmp &= ~SYSCON1_TC2M; /* Free running
On Mon, Mar 11, 2013 at 12:01:58PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> > +static int clps711x_cs_probe(struct device_d *dev)
> > +{
> > + u32 rate;
> > + struct clk *timer_clk;
> > +
> > + timer_clk = clk_get(dev, NULL);
> > + if (IS_ERR(timer_clk))
> > + return PTR_
On 18:13 Sun 10 Mar , Alexander Shiyan wrote:
>Hello All.
>
>I want to add new arch into barebox. n the kernel this arch is dt-only.
>I talking about mach-sunxi. So, how we should handle such platform
>in the barebox? We need always provide dtb to the kernel, then where
>it
On 13:26 Mon 11 Mar , Alexander Shiyan wrote:
> This patch adds support for COMMON_CLK API for CLPS711X targets.
>
> Signed-off-by: Alexander Shiyan
> ---
> arch/arm/Kconfig |1 +
> arch/arm/mach-clps711x/clock.c | 109
> ++
> arch/
On 13:26 Mon 11 Mar , Alexander Shiyan wrote:
> This patch adds clocksource driver for CLPS711X targets and adds
> support to platform to use this new driver.
>
> Signed-off-by: Alexander Shiyan
> ---
> arch/arm/Kconfig |1 +
> arch/arm/mach-clps711x/clock.c | 51
On Mon, Mar 11, 2013 at 10:15:01AM +0100, Steffen Trumtrar wrote:
> The Avnet ZedBoard is an evalboard with a Zynq-7020 based MPSoC.
> There is also a Digilent ZedBoard, that is the same but only for
> academic customers.
>
> diff --git a/arch/arm/configs/zedboard_defconfig
> b/arch/arm/configs/z
On Mon, Mar 11, 2013 at 10:15:00AM +0100, Steffen Trumtrar wrote:
> The bootrom only reads an image if the correct checksum is present in the
> header. The calculation is pretty simple:
> sum over all words from 0x20 to 0x44
> Two of this words are the image length. That is why the checksum can not
On Mon, Mar 11, 2013 at 10:14:59AM +0100, Steffen Trumtrar wrote:
> Add basic support for the Xilinx Zynq-7000 EPP architecture.
> The Zynq-7000 is an embedded processing platform that combines a Cortex A9
> dualcore MPSoC with an Artix-7 FPGA.
>
> +
> +static void __iomem *timer_base = (void *) C
On Mon, Mar 11, 2013 at 10:14:58AM +0100, Steffen Trumtrar wrote:
> Support for Cadence UART core.
>
> Signed-off-by: Steffen Trumtrar
> ---
> drivers/serial/Kconfig | 4 +
> drivers/serial/Makefile | 1 +
> drivers/serial/serial_cadence.c | 299
> ++
Signed-off-by: Alexander Shiyan
---
arch/arm/mach-clps711x/devices.c |4
drivers/serial/serial_clps711x.c | 31 +++
2 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c
index b3
Signed-off-by: Alexander Shiyan
---
arch/arm/Kconfig |1 +
arch/arm/mach-clps711x/devices.c | 16
drivers/mfd/syscon.c |3 +++
3 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index ed0b453.
Signed-off-by: Alexander Shiyan
---
arch/arm/mach-clps711x/devices.c | 108 ++---
1 files changed, 18 insertions(+), 90 deletions(-)
diff --git a/arch/arm/mach-clps711x/devices.c b/arch/arm/mach-clps711x/devices.c
index f94b584..fba0159 100644
--- a/arch/arm/mac
This patch adds support for system controller register driver (SYSCON).
Code taken from Linux Kernel and adapted for using in barebox.
Signed-off-by: Alexander Shiyan
---
drivers/mfd/Kconfig |5 +++
drivers/mfd/Makefile |1 +
drivers/mfd/syscon.c | 92 +
CS6 and CS7 is a internal CPU resources and these chipselects are
already pre configured, so avoid to rewrite this settings.
Signed-off-by: Alexander Shiyan
---
arch/arm/mach-clps711x/devices.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-clps711x/devic
This patch adds helpers to define resources, such as
DEFINE_RES_NAMED, DEFINE_RES_MEM and DEFINE_RES_MEM_NAMED.
Signed-off-by: Alexander Shiyan
---
include/linux/ioport.h | 15 +++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/include/linux/ioport.h b/include/linu
This patch adds support for CLPS711X GPIOs. Driver based on
generic GPIO driver.
Signed-off-by: Alexander Shiyan
---
arch/arm/Kconfig |1 +
arch/arm/mach-clps711x/devices.c | 82
arch/arm/mach-clps711x/include/mach/gpio.h |
This patch adds generic memory-mapped GPIO controller support.
Code taken from Linux Kernel and adopted for barebox.
Signed-off-by: Alexander Shiyan
---
drivers/gpio/Kconfig| 10 +
drivers/gpio/Makefile |5 +-
drivers/gpio/gpio-generic.c | 428 +++
This patch adds support for COMMON_CLK API for CLPS711X targets.
Signed-off-by: Alexander Shiyan
---
arch/arm/Kconfig |1 +
arch/arm/mach-clps711x/clock.c | 109 ++
arch/arm/mach-clps711x/devices.c |4 ++
3 files changed, 68 insertio
This patch adds clocksource driver for CLPS711X targets and adds
support to platform to use this new driver.
Signed-off-by: Alexander Shiyan
---
arch/arm/Kconfig |1 +
arch/arm/mach-clps711x/clock.c | 51 -
drivers/clocksource/Kconfig|4
Signed-off-by: Alexander Shiyan
---
arch/arm/boards/clep7212/lowlevel.c |8 +---
arch/arm/mach-clps711x/Kconfig | 13 ++---
2 files changed, 11 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boards/clep7212/lowlevel.c
b/arch/arm/boards/clep7212/lowlevel.c
index fcf
Signed-off-by: Alexander Shiyan
---
arch/arm/boards/clep7212/env/config | 20
arch/arm/boards/clep7212/env/config-board | 14 ++
2 files changed, 14 insertions(+), 20 deletions(-)
delete mode 100644 arch/arm/boards/clep7212/env/config
create mode 1006
Signed-off-by: Alexander Shiyan
---
arch/arm/mach-clps711x/lowlevel.c | 16 ++--
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/arch/arm/mach-clps711x/lowlevel.c
b/arch/arm/mach-clps711x/lowlevel.c
index 193f61a..58306f2 100644
--- a/arch/arm/mach-clps711x/lowleve
The Avnet ZedBoard is an evalboard with a Zynq-7020 based MPSoC.
There is also a Digilent ZedBoard, that is the same but only for
academic customers.
Signed-off-by: Steffen Trumtrar
---
arch/arm/boards/avnet-zedboard/Makefile| 1 +
arch/arm/boards/avnet-zedboard/board.c
Add basic support for the Xilinx Zynq-7000 EPP architecture.
The Zynq-7000 is an embedded processing platform that combines a Cortex A9
dualcore MPSoC with an Artix-7 FPGA.
Signed-off-by: Steffen Trumtrar
---
arch/arm/Kconfig | 5 +
arch/arm/Makefile
Support for Cadence UART core.
Signed-off-by: Steffen Trumtrar
---
drivers/serial/Kconfig | 4 +
drivers/serial/Makefile | 1 +
drivers/serial/serial_cadence.c | 299
3 files changed, 304 insertions(+)
create mode 100644 drivers/seri
From: Josh Cartwright
This adds support for the clocktree on zynq7000 SoCs.
The patch is grabed from clocks.c from the larger patch
ARM: zynq: add suppport for Zynq 7000 SoC
by Josh Cartwright and reformated a little bit.
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynq/clk-zynq7
With clkdev in place the generic arm_smp_twd can be used.
Signed-off-by: Steffen Trumtrar
---
arch/arm/configs/zedboard_defconfig | 4 +++
arch/arm/mach-zynq/Kconfig | 1 +
arch/arm/mach-zynq/Makefile | 2 +-
arch/arm/mach-zynq/clk-zynq7000.c | 3 +-
arch/arm/mach-zynq/clo
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynq/clk-zynq7000.c | 33 -
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-zynq/clk-zynq7000.c
b/arch/arm/mach-zynq/clk-zynq7000.c
index 5a8a12a..0d3c3a8 100644
--- a/arch/arm/mach-zynq
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynq/Kconfig| 2 ++
arch/arm/mach-zynq/clk-zynq7000.c | 25 ++---
arch/arm/mach-zynq/zynq.c | 1 +
3 files changed, 25 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zyn
Hi!
This series adds basic support for Xilinx Zynq based SoCs.
Atm one can boot first stage from SD card and ... that is it.
Ethernet support is on its way, but not functional as of yet.
Regards,
str
Josh Cartwright (1):
ARM: zynq: add clk support for zynq7000
Steffen Trumtrar (8):
serial:
The bootrom only reads an image if the correct checksum is present in the
header. The calculation is pretty simple:
sum over all words from 0x20 to 0x44
Two of this words are the image length. That is why the checksum can not be
calculated until barebox_image_size is known.
The easiest solution is
Signed-off-by: Steffen Trumtrar
---
arch/arm/mach-zynq/clk-zynq7000.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/mach-zynq/clk-zynq7000.c
b/arch/arm/mach-zynq/clk-zynq7000.c
index 8dbde2b..5a8a12a 100644
--- a/arch/arm/mach-zynq/clk-zynq7000.c
+++ b/arch/arm/m
Hi Sascha,
Sascha Hauer wrote:
> [...]
> Also we make the bss smaller by allocating the FILE table and
> the gpio_desc table dynamically. The bss size is may become
> a problem on boards which run from SRAM. Here the malloc pool
> is in the big SDRAM area, but the bss is in SRAM, so it makes
> sen
On Sun, Mar 10, 2013 at 11:29:17PM +0100, vj wrote:
> On Sun, Mar 10, 2013 at 2:16 PM, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
> > On 00:19 Sun 10 Mar , Vicente Bergas wrote:
> >> boot-menu-add-entry should not add menu entries to non-existent menus
> >> to solve the issue a new parameter is
On Sun, Mar 10, 2013 at 12:19:41AM +0100, Vicente Bergas wrote:
>
> Signed-off-by: Vicente Bergas
> ---
> arch/arm/boards/archosg9/archos_features.c | 414
> ++---
> arch/arm/boards/archosg9/archos_features.h | 39 +++
> 2 files changed, 412 insertions(+), 41 deletions(
changes since v1:
- use phy_register_fixup_for_uid instead of fec pdata callback
- Use regular readl/writel instead of custom functions
- update defaultenv
- use lwl-y for mmdc calibration support
- use barebox_image_size
Sascha
Sa
Signed-off-by: Sascha Hauer
---
arch/arm/Makefile | 1 +
arch/arm/boards/delphi-poc20/env/boot/mmc | 10 +
arch/arm/boards/dmo-mx6-realq7/Makefile | 2 +
arch/arm/boards/dmo-mx6-realq7/board.c| 406 ++
arch/arm
This adds support for the various DDR calibration functions in the
i.MX6 MMDC.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/Makefile | 1 +
arch/arm/mach-imx/imx6-mmdc.c | 868 +
arch/arm/mach-imx/include/mach/imx6-mmdc.h | 7 +
3
Signed-off-by: Sascha Hauer
---
arch/arm/configs/dmo-realq7_defconfig | 91 +++
1 file changed, 91 insertions(+)
create mode 100644 arch/arm/configs/dmo-realq7_defconfig
diff --git a/arch/arm/configs/dmo-realq7_defconfig
b/arch/arm/configs/dmo-realq7_defconfig
n
To get more phy ids.
Signed-off-by: Sascha Hauer
---
include/linux/micrel_phy.h | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/linux/micrel_phy.h b/include/linux/micrel_phy.h
index adfe8c0..9dbb41a 100644
--- a/include/linux/micrel_phy.h
+++ b/include/linux/m
On Sun, Mar 10, 2013 at 02:17:57PM +0100, Jean-Christophe PLAGNIOL-VILLARD
wrote:
> On 12:03 Sat 09 Mar , Sascha Hauer wrote:
> > I've never seen a board using sevenwire, so remove this from
> > the fec driver. Also, since we now have standard phy type
> > defines in include/linux/phy.h, use t
69 matches
Mail list logo