Skip to contentSkip to conversation

MIPS: XBurst: rzx50: enable pbl support

PATCH New Antony Pavlov 2 participants 5 messages May 26, 2013 – May 28, 2013 MIPS

lore
Share & tools
lore
#1 lore raw

PATCH 1/3 MIPS: rzx50: add trivial board_pbl_start

---
 .../boards/rzx50/include/board/board_pbl_start.h   |   34 ++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 arch/mips/boards/rzx50/include/board/board_pbl_start.h
arch/mips/boards/rzx50/include/board/board_pbl_start.h new file +34 -0
new file mode 100644
index 0000000..cba3e7f
@@ -0,0 +1,34 @@
+/*
+ * Startup Code for Ritmix RZX-50 board
+ *
+ * Copyright (C) 2013 Antony Pavlov <[email protected]>
+ *
+ * This file is part of barebox.
+ * See file CREDITS for list of people who contributed to this project.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ */
+
+#include <asm/pbl_macros.h>
+
+	.macro	board_pbl_start
+	.set	push
+	.set	noreorder
+
+	mips_disable_interrupts
+
+	/* CPU/SoC specific setup ... */
+	/* ... absent */
+
+	copy_to_link_location	pbl_start
+
+	.set	pop
+	.endm
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

PATCH 2/3 MIPS: XBurst: enable pbl support

In reply to Antony Pavlov
---
 arch/mips/Kconfig |    2 ++
 1 file changed, 2 insertions(+)
arch/mips/Kconfig +2 -0
index d58b804..555dbb2 100644
@@ -61,6 +61,8 @@ config MACH_MIPS_XBURST
 	select SYS_SUPPORTS_32BIT_KERNEL
 	select DRIVER_SERIAL_NS16550
 	select HAS_DEBUG_LL
+	select HAVE_PBL_IMAGE
+	select HAVE_IMAGE_COMPRESSION
 endchoice
 
 source arch/mips/mach-malta/Kconfig
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw

PATCH 3/3 MIPS: rzx50: enable pbl in defconfig

In reply to Antony Pavlov

Also enable the iomem and poweroff commands.

---
 arch/mips/configs/rzx50_defconfig |    3 +++
 1 file changed, 3 insertions(+)
arch/mips/configs/rzx50_defconfig +3 -0
index 722d977..5d994c7 100644
@@ -1,4 +1,5 @@
 CONFIG_MACH_MIPS_XBURST=y
+CONFIG_PBL_IMAGE=y
 CONFIG_BAUDRATE=57600
 CONFIG_GLOB=y
 CONFIG_HUSH_FANCY_PROMPT=y
@@ -14,6 +15,7 @@ CONFIG_CMD_LOADY=y
 CONFIG_CMD_LOADS=y
 CONFIG_CMD_SAVES=y
 CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_IOMEM=y
 CONFIG_CMD_MD5SUM=y
 CONFIG_CMD_BOOTM_SHOW_TYPE=y
 CONFIG_CMD_BOOTM_VERBOSE=y
@@ -22,6 +24,7 @@ CONFIG_CMD_BOOTM_OFTREE=y
 CONFIG_CMD_BOOTM_OFTREE_UIMAGE=y
 CONFIG_CMD_UIMAGE=y
 CONFIG_CMD_RESET=y
+CONFIG_CMD_POWEROFF=y
 CONFIG_CMD_GO=y
 # CONFIG_SPI is not set
 CONFIG_SHA1=y
Signature · 7 lines
1.7.10.4


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
Applied
#4 lore raw
In reply to Antony Pavlov
Quoted 5 lines · Antony Pavlov

This patch series enables trivial pbl support for Ritmix RZX-50.

[PATCH 1/3] MIPS: rzx50: add trivial board_pbl_start [PATCH 2/3] MIPS: XBurst: enable pbl support [PATCH 3/3] MIPS: rzx50: enable pbl in defconfig

Applied, thanks

Sascha

Signature · 9 lines
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
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox