mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/4] MIPS: misc patches
@ 2019-06-21  5:21 Antony Pavlov
  2019-06-21  5:21 ` [PATCH 1/4] MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file Antony Pavlov
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  5:21 UTC (permalink / raw)
  To: barebox

Antony Pavlov (4):
  MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file
  Documentation: user manual: update MIPS-specific targets
  serial: ar933x: set linux_console_name
  MIPS: dts: tplink-mr3020: add missing stdout-path property

 Documentation/user/barebox.rst  | 7 ++++---
 arch/mips/Kconfig               | 4 ++++
 arch/mips/dts/tplink-mr3020.dts | 2 ++
 arch/mips/mach-ar231x/Kconfig   | 4 ----
 arch/mips/mach-ath79/Kconfig    | 4 ----
 arch/mips/mach-bcm47xx/Kconfig  | 4 ----
 arch/mips/mach-loongson/Kconfig | 4 ----
 arch/mips/mach-malta/Kconfig    | 4 ----
 arch/mips/mach-xburst/Kconfig   | 4 ----
 drivers/serial/serial_ar933x.c  | 1 +
 10 files changed, 11 insertions(+), 27 deletions(-)

-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 1/4] MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file
  2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
@ 2019-06-21  5:21 ` Antony Pavlov
  2019-06-21  5:21 ` [PATCH 2/4] Documentation: user manual: update MIPS-specific targets Antony Pavlov
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  5:21 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/Kconfig               | 4 ++++
 arch/mips/mach-ar231x/Kconfig   | 4 ----
 arch/mips/mach-ath79/Kconfig    | 4 ----
 arch/mips/mach-bcm47xx/Kconfig  | 4 ----
 arch/mips/mach-loongson/Kconfig | 4 ----
 arch/mips/mach-malta/Kconfig    | 4 ----
 arch/mips/mach-xburst/Kconfig   | 4 ----
 7 files changed, 4 insertions(+), 24 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 936e56fa27..728295d486 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -29,6 +29,10 @@ config GENERIC_LINKER_SCRIPT
 config PHYS_ADDR_T_64BIT
 	bool
 
+config ARCH_TEXT_BASE
+	hex
+	default 0xa0800000
+
 menu "Machine selection"
 
 config MIPS_RELOCATION_TABLE_SIZE
diff --git a/arch/mips/mach-ar231x/Kconfig b/arch/mips/mach-ar231x/Kconfig
index 5f9e24377f..f920f300bd 100644
--- a/arch/mips/mach-ar231x/Kconfig
+++ b/arch/mips/mach-ar231x/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_AR231X
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 choice
 	prompt "Board type"
 
diff --git a/arch/mips/mach-ath79/Kconfig b/arch/mips/mach-ath79/Kconfig
index 4bc1d88b4e..b1b49b0005 100644
--- a/arch/mips/mach-ath79/Kconfig
+++ b/arch/mips/mach-ath79/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_ATH79
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 config SOC_QCA_AR9331
 	bool
 
diff --git a/arch/mips/mach-bcm47xx/Kconfig b/arch/mips/mach-bcm47xx/Kconfig
index f7522b79d6..c4791901af 100644
--- a/arch/mips/mach-bcm47xx/Kconfig
+++ b/arch/mips/mach-bcm47xx/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_BCM47XX
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 choice
 	prompt "Board type"
 
diff --git a/arch/mips/mach-loongson/Kconfig b/arch/mips/mach-loongson/Kconfig
index c9f19025eb..ab7ccd0cb5 100644
--- a/arch/mips/mach-loongson/Kconfig
+++ b/arch/mips/mach-loongson/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_LOONGSON
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 choice
 	prompt "Board type"
 
diff --git a/arch/mips/mach-malta/Kconfig b/arch/mips/mach-malta/Kconfig
index 70799808f9..4671075140 100644
--- a/arch/mips/mach-malta/Kconfig
+++ b/arch/mips/mach-malta/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_MALTA
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 config BOARD_QEMU_MALTA
 	bool "qemu malta"
 	select HAVE_PBL_IMAGE
diff --git a/arch/mips/mach-xburst/Kconfig b/arch/mips/mach-xburst/Kconfig
index b3790210dd..ae8093d1a3 100644
--- a/arch/mips/mach-xburst/Kconfig
+++ b/arch/mips/mach-xburst/Kconfig
@@ -1,9 +1,5 @@
 if MACH_MIPS_XBURST
 
-config ARCH_TEXT_BASE
-	hex
-	default 0xa0800000
-
 config CPU_JZ4755
 	bool
 	select SYS_HAS_CPU_MIPS32_R1
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 2/4] Documentation: user manual: update MIPS-specific targets
  2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
  2019-06-21  5:21 ` [PATCH 1/4] MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file Antony Pavlov
@ 2019-06-21  5:21 ` Antony Pavlov
  2019-06-21  5:21 ` [PATCH 3/4] serial: ar933x: set linux_console_name Antony Pavlov
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  5:21 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 Documentation/user/barebox.rst | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Documentation/user/barebox.rst b/Documentation/user/barebox.rst
index d82163a886..c021a4c743 100644
--- a/Documentation/user/barebox.rst
+++ b/Documentation/user/barebox.rst
@@ -112,11 +112,12 @@ targets, followed by the MIPS-specific ones:
   Architecture specific targets (mips):
     No architecture specific help defined for mips
 
+    ath79_defconfig          - Build for ath79
+    bcm47xx_defconfig        - Build for bcm47xx
+    gxemul-malta_defconfig   - Build for gxemul-malta
     loongson-ls1b_defconfig  - Build for loongson-ls1b
-    ritmix-rzx50_defconfig   - Build for ritmix-rzx50
-    tplink-mr3020_defconfig  - Build for tplink-mr3020
-    dlink-dir-320_defconfig  - Build for dlink-dir-320
     qemu-malta_defconfig     - Build for qemu-malta
+    xburst_defconfig         - Build for xburst
 
 barebox supports building for multiple boards with a single config. If you
 can't find your board in the list, it may be supported by one of the multi-board
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 3/4] serial: ar933x: set linux_console_name
  2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
  2019-06-21  5:21 ` [PATCH 1/4] MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file Antony Pavlov
  2019-06-21  5:21 ` [PATCH 2/4] Documentation: user manual: update MIPS-specific targets Antony Pavlov
@ 2019-06-21  5:21 ` Antony Pavlov
  2019-06-21  5:21 ` [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property Antony Pavlov
  2019-06-26  6:55 ` [PATCH 0/4] MIPS: misc patches Sascha Hauer
  4 siblings, 0 replies; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  5:21 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 drivers/serial/serial_ar933x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/serial/serial_ar933x.c b/drivers/serial/serial_ar933x.c
index 676b9fadf8..dda604652b 100644
--- a/drivers/serial/serial_ar933x.c
+++ b/drivers/serial/serial_ar933x.c
@@ -175,6 +175,7 @@ static int ar933x_serial_probe(struct device_d *dev)
 	cdev->putc = ar933x_serial_putc;
 	cdev->getc = ar933x_serial_getc;
 	cdev->setbrg = ar933x_serial_setbaudrate;
+	cdev->linux_console_name = "ttyATH";
 
 	priv->clk = clk_get(dev, NULL);
 	if (IS_ERR(priv->clk)) {
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property
  2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
                   ` (2 preceding siblings ...)
  2019-06-21  5:21 ` [PATCH 3/4] serial: ar933x: set linux_console_name Antony Pavlov
@ 2019-06-21  5:21 ` Antony Pavlov
  2019-06-21  6:06   ` Oleksij Rempel
  2019-06-26  6:55 ` [PATCH 0/4] MIPS: misc patches Sascha Hauer
  4 siblings, 1 reply; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  5:21 UTC (permalink / raw)
  To: barebox

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
---
 arch/mips/dts/tplink-mr3020.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
index 982cffc250..e30eae1578 100644
--- a/arch/mips/dts/tplink-mr3020.dts
+++ b/arch/mips/dts/tplink-mr3020.dts
@@ -7,6 +7,8 @@
 	};
 
 	chosen {
+		stdout-path = &uart;
+
 		environment {
 			compatible = "barebox,environment";
 			device-path = &spiflash, "partname:barebox-environment";
-- 
2.20.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property
  2019-06-21  5:21 ` [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property Antony Pavlov
@ 2019-06-21  6:06   ` Oleksij Rempel
  2019-06-21  6:36     ` Antony Pavlov
  0 siblings, 1 reply; 8+ messages in thread
From: Oleksij Rempel @ 2019-06-21  6:06 UTC (permalink / raw)
  To: Antony Pavlov, barebox

Hi Antony,

since you are playing with MR3020, you probably wont to test this kernel
with nfs boot:
https://github.com/olerem/linux-2.6/commits/v5.2/topic/ath79-upstream

The network driver is already in linux-next. The switch driver is on TODO.

Am 21.06.19 um 07:21 schrieb Antony Pavlov:
> Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> ---
>  arch/mips/dts/tplink-mr3020.dts | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
> index 982cffc250..e30eae1578 100644
> --- a/arch/mips/dts/tplink-mr3020.dts
> +++ b/arch/mips/dts/tplink-mr3020.dts
> @@ -7,6 +7,8 @@
>  	};
>
>  	chosen {
> +		stdout-path = &uart;
> +
>  		environment {
>  			compatible = "barebox,environment";
>  			device-path = &spiflash, "partname:barebox-environment";
>


--
Regards,
Oleksij

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property
  2019-06-21  6:06   ` Oleksij Rempel
@ 2019-06-21  6:36     ` Antony Pavlov
  0 siblings, 0 replies; 8+ messages in thread
From: Antony Pavlov @ 2019-06-21  6:36 UTC (permalink / raw)
  To: Oleksij Rempel; +Cc: barebox

On Fri, 21 Jun 2019 08:06:53 +0200
Oleksij Rempel <linux@rempel-privat.de> wrote:

> Hi Antony,
> 
> since you are playing with MR3020, you probably wont to test this kernel
> with nfs boot:
> https://github.com/olerem/linux-2.6/commits/v5.2/topic/ath79-upstream
> 
> The network driver is already in linux-next. The switch driver is on TODO.

Thanks for the tip!

At the moment I use OpenWrt Linux 4.14.88+ with Debian Jessie nfsroot.

> Am 21.06.19 um 07:21 schrieb Antony Pavlov:
> > Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
> > ---
> >  arch/mips/dts/tplink-mr3020.dts | 2 ++
> >  1 file changed, 2 insertions(+)
> >
> > diff --git a/arch/mips/dts/tplink-mr3020.dts b/arch/mips/dts/tplink-mr3020.dts
> > index 982cffc250..e30eae1578 100644
> > --- a/arch/mips/dts/tplink-mr3020.dts
> > +++ b/arch/mips/dts/tplink-mr3020.dts
> > @@ -7,6 +7,8 @@
> >  	};
> >
> >  	chosen {
> > +		stdout-path = &uart;
> > +
> >  		environment {
> >  			compatible = "barebox,environment";
> >  			device-path = &spiflash, "partname:barebox-environment";
> >
> 
> 
> --
> Regards,
> Oleksij


-- 
Best regards,
  Antony Pavlov

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [PATCH 0/4] MIPS: misc patches
  2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
                   ` (3 preceding siblings ...)
  2019-06-21  5:21 ` [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property Antony Pavlov
@ 2019-06-26  6:55 ` Sascha Hauer
  4 siblings, 0 replies; 8+ messages in thread
From: Sascha Hauer @ 2019-06-26  6:55 UTC (permalink / raw)
  To: Antony Pavlov; +Cc: barebox

On Fri, Jun 21, 2019 at 08:21:34AM +0300, Antony Pavlov wrote:
> Antony Pavlov (4):
>   MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file
>   Documentation: user manual: update MIPS-specific targets
>   serial: ar933x: set linux_console_name
>   MIPS: dts: tplink-mr3020: add missing stdout-path property

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-26  6:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21  5:21 [PATCH 0/4] MIPS: misc patches Antony Pavlov
2019-06-21  5:21 ` [PATCH 1/4] MIPS: Kconfig: move ARCH_TEXT_BASE to top mips Kconfig file Antony Pavlov
2019-06-21  5:21 ` [PATCH 2/4] Documentation: user manual: update MIPS-specific targets Antony Pavlov
2019-06-21  5:21 ` [PATCH 3/4] serial: ar933x: set linux_console_name Antony Pavlov
2019-06-21  5:21 ` [PATCH 4/4] MIPS: dts: tplink-mr3020: add missing stdout-path property Antony Pavlov
2019-06-21  6:06   ` Oleksij Rempel
2019-06-21  6:36     ` Antony Pavlov
2019-06-26  6:55 ` [PATCH 0/4] MIPS: misc patches Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox