Signed-off-by: Andrey Panov
---
Documentation/boards/rockchip.rst | 47 +++
1 file changed, 47 insertions(+)
create mode 100644 Documentation/boards/rockchip.rst
diff --git a/Documentation/boards/rockchip.rst
b/Documentation/boards/rockchip.rst
new file mode
Hello!
I've discovered that on recent next commit
"acc69bdddc50262b8f91034c248279d8dc734284 defaultenv-2: init: don't call
timeout again if the user intervened"
caused barebox to enter shell without asking for pressing a key.
On Radxa Rock board. It's just me?
--
Андрей
__
Signed-off-by: Andrey Panov
---
include/linux/barebox-wrapper.h | 6 ++
1 file changed, 6 insertions(+)
diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h
index d34d1d1..3859185 100644
--- a/include/linux/barebox-wrapper.h
+++ b/include/linux/barebox-wrapper.h
@@
It is required for Rockchip SoCs where clock settings registers have
write-enable mask in high word.
Signed-off-by: Andrey Panov
---
drivers/clk/clk-divider.c | 4
include/linux/clk.h | 2 ++
2 files changed, 6 insertions(+)
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-di
Signed-off-by: Andrey Panov
---
arch/arm/boards/radxa-rock/board.c | 35 ++
arch/arm/boards/radxa-rock/env/boot/mshc1 | 9 +++
arch/arm/boards/radxa-rock/env/boot/mshc1-old | 8 ++
arch/arm/boards/radxa-rock/env/init/bootsource | 7 ++
arch
Signed-off-by: Andrey Panov
---
drivers/clk/Makefile | 3 +-
drivers/clk/clk-fractional-divider.c | 152 +++
include/linux/clk.h | 9 +++
3 files changed, 163 insertions(+), 1 deletion(-)
create mode 100644 drivers/clk/clk-frac
Signed-off-by: Andrey Panov
---
drivers/clk/rockchip/Makefile | 2 +-
drivers/clk/rockchip/clk-cpu.c | 160 +++
drivers/clk/rockchip/clk-pll.c | 368 +++
drivers/clk/rockchip/clk-rk3188.c | 872
drivers/clk/rockchip/clk-rock
Signed-off-by: Andrey Panov
---
drivers/clk/Makefile| 2 +-
drivers/clk/clk-composite.c | 145
include/linux/clk.h | 6 ++
3 files changed, 152 insertions(+), 1 deletion(-)
create mode 100644 drivers/clk/clk-composite.c
diff --git
Signed-off-by: Andrey Panov
---
drivers/clk/clk-divider.c | 27 ++-
include/linux/clk.h | 3 +++
2 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c
index eb48334..cedcdda 100644
--- a/drivers/clk/clk
Signed-off-by: Andrey Panov
---
arch/arm/configs/radxa_rock_defconfig | 110 ++
1 file changed, 110 insertions(+)
create mode 100644 arch/arm/configs/radxa_rock_defconfig
diff --git a/arch/arm/configs/radxa_rock_defconfig
b/arch/arm/configs/radxa_rock_defconfig
Signed-off-by: Andrey Panov
---
drivers/clk/clk.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c
index 584e2f3..b77d022 100644
--- a/drivers/clk/clk.c
+++ b/drivers/clk/clk.c
@@ -212,6 +212,16 @@ struct clk *clk_get_parent(struct clk *clk)
Signed-off-by: Andrey Panov
---
arch/arm/dts/rk3188-clocks.dtsi | 289 ---
arch/arm/dts/rk3188-radxarock.dts | 32 ++--
arch/arm/dts/rk3188.dtsi | 306 --
arch/arm/dts/rk3xxx.dtsi | 139 -
4 f
Signed-off-by: Andrey Panov
---
drivers/mci/Kconfig | 6 ++
drivers/mci/dw_mmc.c | 174 ---
2 files changed, 173 insertions(+), 7 deletions(-)
diff --git a/drivers/mci/Kconfig b/drivers/mci/Kconfig
index dbcc38d..17bf0d3 100644
--- a/drivers/mci
Signed-off-by: Andrey Panov
---
drivers/net/arc_emac.c | 24 +---
1 file changed, 17 insertions(+), 7 deletions(-)
diff --git a/drivers/net/arc_emac.c b/drivers/net/arc_emac.c
index 1770506..06c3376 100644
--- a/drivers/net/arc_emac.c
+++ b/drivers/net/arc_emac.c
@@ -23,6 +23
Signed-off-by: Andrey Panov
---
arch/arm/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 527a913..50f3095 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -160,6 +160,7 @@ config ARCH_ROCKCHIP
select PINCTRL_ROCKCHIP
sel
Signed-off-by: Andrey Panov
---
arch/arm/mach-rockchip/Makefile| 1 -
arch/arm/mach-rockchip/include/mach/rockchip-pll.h | 26 --
arch/arm/mach-rockchip/pll.c | 102 -
3 files changed, 129 deletions(-)
delete mode 100644 arch/a
It is required for Rockchip SoCs where clock settings registers have
write-enable mask in high word.
Signed-off-by: Andrey Panov
---
drivers/clk/clk-mux.c | 3 +++
include/linux/clk.h | 2 ++
2 files changed, 5 insertions(+)
diff --git a/drivers/clk/clk-mux.c b/drivers/clk/clk-mux.c
index 4ce
Signed-off-by: Andrey Panov
---
drivers/clk/clk-divider.c | 9 +
include/linux/clk.h | 1 +
2 files changed, 10 insertions(+)
diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c
index cedcdda..646e5b0 100644
--- a/drivers/clk/clk-divider.c
+++ b/drivers/clk/clk-divid
It calculates greatest common divisor.
Signed-off-by: Andrey Panov
---
include/linux/gcd.h| 8
include/linux/kernel.h | 5 +
lib/Makefile | 1 +
lib/gcd.c | 18 ++
4 files changed, 32 insertions(+)
create mode 100644 include/linux/gcd.h
This series will update support for Radxa Rock board, allowing it
to boot from SD card with Barebox as first-stage loader.
Based on next branch.
v2: Rebased on more recent sources, fixed patches.
___
barebox mailing list
barebox@lists.infradead.org
h
Hello!
04.03.2015, 13:26, "Erwin Rol" :
> Hey all,
>
> I saw some mails and patches passing by for the Rockchip RK3188. Since I
> am just starting a project with a RK3188 I was wondering if there are
> ppl that have more info than the pathetic databook from Rochchip.
All known documents are on ht
> On Mar 4, 2015, at 6:45 PM, Sascha Hauer wrote:
>
> On Wed, Mar 04, 2015 at 04:43:13PM +0800, Jean-Christophe PLAGNIOL-VILLARD
> wrote:
>>
>>> On Mar 4, 2015, at 3:49 PM, Sascha Hauer wrote:
>>>
>>> The struct device_d * argument is not necessary, it can be retrieved from
>>> the FILE *. T
On Wed, Mar 04, 2015 at 04:43:13PM +0800, Jean-Christophe PLAGNIOL-VILLARD
wrote:
>
> > On Mar 4, 2015, at 3:49 PM, Sascha Hauer wrote:
> >
> > The struct device_d * argument is not necessary, it can be retrieved from
> > the FILE *. This adds a convenience function for doing this and removes
>
On Wed, Mar 04, 2015 at 10:52:04AM +0100, Hubert Feurstein wrote:
> This patch adds support for the default-state device tree property.
>
> Signed-off-by: Hubert Feurstein
> ---
> drivers/led/led-gpio.c | 8
> 1 file changed, 8 insertions(+)
Nice, as it happens I can just make use of t
On Tue, Mar 03, 2015 at 01:14:46PM +0100, Marc Kleine-Budde wrote:
> Hello Sascha,
>
> these are the remaining patches that bring OF support to the sandbox so that
> enables testing of framworks which need the device tree.
>
> changes since v2:
> - build sandbox with oftree support always, select
On Tue, Mar 03, 2015 at 08:46:13PM +0100, Lucas Stach wrote:
> of_alias_get assumed that a DT path is always the full node path,
> whic is not necessarily the case, as there are other valid path
> descriptions. All of them are handled by of_find_node_by_path.
>
> As there is already a preparsed li
Hey all,
I saw some mails and patches passing by for the Rockchip RK3188. Since I
am just starting a project with a RK3188 I was wondering if there are
ppl that have more info than the pathetic databook from Rochchip.
Also it seems large parts (even essential things like the NAND
controller) are
This patch adds support for the default-state device tree property.
Signed-off-by: Hubert Feurstein
---
drivers/led/led-gpio.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/led/led-gpio.c b/drivers/led/led-gpio.c
index a1a6617..ae3f13f 100644
--- a/drivers/led/led-gpio.c
++
On Mi, 2015-03-04 at 10:29 +0100, Jan Luebbe wrote:
> This adds support for device tree overlays as supported by Linux 4.0-rc1.
> Patches 2-4 update the included DTC with overlay support.
Sorry, I forgot to mention that this depends on Marc's sandbox-of
series.
Regards,
Jan
--
Pengutronix e.K.
The original script was written by Grant Likely .
The version for barebox also imports some libfdt sources, so that we are
able to compile the fdtget host tool. Also remove the unused non-kconfig
makefiles.
Signed-off-by: Jan Luebbe
---
scripts/dtc/Makefile.dtc | 18 ---
script
This is based on Pantelis Antoniou's overlay support for the kernel. It
has been simplified by leaving out transaction support, locking and
other details required by the Linux DT support.
It should support all features of the overlay file format as implemented
in linux 4.0-rc1.
Signed-off-by: Jan
This adds support for device tree overlays as supported by Linux 4.0-rc1.
Patches 2-4 update the included DTC with overlay support.
Jan Luebbe (4):
drivers: of: implement overlay support
scripts/dtc: import update-dtc-source.sh from kernel v4.0-rc1
scripts/dtc: Update to upstream version 1.4
This contains Pantelis Antoniou's "dynamic DT support" v4:
* dtc: Symbol and local fixup generation support
* dtc: Plugin (object) device tree support.
* dtc: Document the dynamic plugin internals
Signed-off-by: Jan Luebbe
---
scripts/dtc/checks.c | 107 -
scripts/dtc/dtc-lex
> On Mar 4, 2015, at 3:49 PM, Sascha Hauer wrote:
>
> The struct device_d * argument is not necessary, it can be retrieved from
> the FILE *. This adds a convenience function for doing this and removes
> the struct device_d * argument from the the filesystem drivers functions.
if you do so you
Since the stack is already configured when entering imx*_barebox_entry
we can remove the __naked attribute. This fixes some compilation issues
when some of the imx*_barebox_entry got too complicated to compile without
stack.
Signed-off-by: Sascha Hauer
---
arch/arm/mach-imx/esdctl.c
This allows imx*_barebox_entry to use the stack.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/eukrea_cpuimx25/lowlevel.c | 9 -
arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S| 5 ++---
arch/arm/boards/eukrea_cpuimx35/lowlevel.c | 5 ++---
arch/arm/boards/eukrea
The environment on the QSB is configured via devicetree, but in
the code there's also a /dev/env0 registered which is unused. Remove
it.
Signed-off-by: Sascha Hauer
---
arch/arm/boards/freescale-mx53-qsb/board.c | 4
1 file changed, 4 deletions(-)
diff --git a/arch/arm/boards/freescale-mx5
37 matches
Mail list logo