mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty
@ 2014-11-27 16:15 Sascha Hauer
  2014-11-27 16:15 ` [PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub Sascha Hauer
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Normally this is a configuration error, but it helps building
randconfigs.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/dts/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
index d8160fe..49c3eea 100644
--- a/arch/arm/dts/Makefile
+++ b/arch/arm/dts/Makefile
@@ -1,5 +1,7 @@
 BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_BUILTIN_DTB_NAME))
+ifneq ($(BUILTIN_DTB),)
 obj-dtb-$(CONFIG_BUILTIN_DTB) += $(BUILTIN_DTB).dtb.o
+endif
 
 # just to build a built-in.o. Otherwise compilation fails when no devicetree is
 # created.
-- 
2.1.3


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

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

* [PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 03/11] fs: uImagefs: select crc32 Sascha Hauer
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Some drivers need it, so give it to them.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/mach-nomadik/clock.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/mach-nomadik/clock.c b/arch/arm/mach-nomadik/clock.c
index 5f34a2c..f3ea958 100644
--- a/arch/arm/mach-nomadik/clock.c
+++ b/arch/arm/mach-nomadik/clock.c
@@ -22,6 +22,12 @@ unsigned long clk_get_rate(struct clk *clk)
 }
 EXPORT_SYMBOL(clk_get_rate);
 
+int clk_set_rate(struct clk *clk, unsigned long rate)
+{
+	return 0;
+}
+EXPORT_SYMBOL(clk_set_rate);
+
 /* enable and disable do nothing */
 int clk_enable(struct clk *clk)
 {
-- 
2.1.3


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

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

* [PATCH 03/11] fs: uImagefs: select crc32
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
  2014-11-27 16:15 ` [PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 04/11] net: fec_imx: remove unused includes Sascha Hauer
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

It needs it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 fs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/fs/Kconfig b/fs/Kconfig
index 64fc117..04616b0 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -76,6 +76,7 @@ config FS_BPKFS
 
 config FS_UIMAGEFS
 	bool
+	select CRC32
 	prompt "uImage FS support"
 
 endmenu
-- 
2.1.3


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

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

* [PATCH 04/11] net: fec_imx: remove unused includes
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
  2014-11-27 16:15 ` [PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub Sascha Hauer
  2014-11-27 16:15 ` [PATCH 03/11] fs: uImagefs: select crc32 Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 05/11] command: load[sbxy]: Depend on CONSOLE_FULL Sascha Hauer
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/net/fec_imx.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c
index 4ed5e8e..13f0dec 100644
--- a/drivers/net/fec_imx.c
+++ b/drivers/net/fec_imx.c
@@ -32,12 +32,6 @@
 
 #include <asm/mmu.h>
 
-#include <mach/generic.h>
-#include <mach/clock.h>
-#ifndef CONFIG_ARCH_MXS
-# include <mach/iim.h>
-#endif
-
 #include "fec_imx.h"
 
 struct fec_frame {
-- 
2.1.3


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

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

* [PATCH 05/11] command: load[sbxy]: Depend on CONSOLE_FULL
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (2 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 04/11] net: fec_imx: remove unused includes Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 06/11] video: EDID: depends on I2C Sascha Hauer
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 commands/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/commands/Kconfig b/commands/Kconfig
index 494a019..a3d8eaf 100644
--- a/commands/Kconfig
+++ b/commands/Kconfig
@@ -454,7 +454,7 @@ config CMD_GO
 	  in which case the file is memmapped and executed
 
 config CMD_LOADB
-	depends on !CONSOLE_NONE
+	depends on CONSOLE_FULL
 	select CRC16
 	tristate
 	prompt "loadb"
@@ -470,7 +470,7 @@ config CMD_LOADB
 		  -c	create file if not present
 
 config CMD_LOADS
-	depends on !CONSOLE_NONE
+	depends on CONSOLE_FULL
 	tristate
 	prompt "loads"
 	help
@@ -482,7 +482,7 @@ config CMD_LOADS
 
 config CMD_LOADY
 	select XYMODEM
-	depends on !CONSOLE_NONE
+	depends on CONSOLE_FULL
 	tristate
 	prompt "loady"
 	help
-- 
2.1.3


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

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

* [PATCH 06/11] video: EDID: depends on I2C
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (3 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 05/11] command: load[sbxy]: Depend on CONSOLE_FULL Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 07/11] ARM: Don't allow Thumb2 on Tegra Sascha Hauer
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/video/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 34177b3..f096a54 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -87,6 +87,7 @@ config DRIVER_VIDEO_SIMPLEFB
 	  based on the active barebox framebuffer.
 
 config DRIVER_VIDEO_EDID
+	depends on I2C
 	bool "Add EDID support"
 	help
 	  This enabled support for reading and parsing EDID data from an attached
-- 
2.1.3


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

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

* [PATCH 07/11] ARM: Don't allow Thumb2 on Tegra
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (4 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 06/11] video: EDID: depends on I2C Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 08/11] USB: Gadget: Select poller from USB_GADGET option Sascha Hauer
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Tegra builts its initial code for the v4 CPU which is not
Thumb2 capable.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 6e9e715..941a5ec 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -273,6 +273,7 @@ config AEABI
 config THUMB2_BAREBOX
 	select ARM_ASM_UNIFIED
 	select AEABI
+	depends on !ARCH_TEGRA
 	depends on CPU_V7 && !CPU_32v4T && !CPU_32v5 && !CPU_32v6
 	bool "Compile barebox in thumb-2 mode (read help)"
 	help
-- 
2.1.3


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

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

* [PATCH 08/11] USB: Gadget: Select poller from USB_GADGET option
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (5 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 07/11] ARM: Don't allow Thumb2 on Tegra Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 09/11] USB: Gadget: fastboot: depends on command support Sascha Hauer
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

The poller has been merged to the gadget core, so
now the core needs poller support, not the individual drivers.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/usb/gadget/Kconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index d75f54e..cd21ba7 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -1,5 +1,6 @@
 menuconfig USB_GADGET
 	select USB
+	select POLLER
 	bool "USB gadget support"
 
 if USB_GADGET
@@ -13,7 +14,6 @@ config USB_GADGET_DRIVER_ARC
 	depends on ARCH_IMX || ARCH_MXS
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 config USB_GADGET_DRIVER_AT91
 	bool
@@ -21,7 +21,6 @@ config USB_GADGET_DRIVER_AT91
 	depends on ARCH_AT91
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 config USB_GADGET_DRIVER_PXA27X
 	bool
@@ -29,7 +28,6 @@ config USB_GADGET_DRIVER_PXA27X
 	depends on ARCH_PXA
 	default y
 	select USB_GADGET_DUALSPEED
-	select POLLER
 
 comment "USB Gadget drivers"
 
-- 
2.1.3


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

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

* [PATCH 09/11] USB: Gadget: fastboot: depends on command support
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (6 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 08/11] USB: Gadget: Select poller from USB_GADGET option Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 10/11] ARM: PBL: Add missing pieces for xz compressed PBL image Sascha Hauer
  2014-11-27 16:15 ` [PATCH 11/11] gpio: clps711x: Add missing include Sascha Hauer
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/usb/gadget/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index cd21ba7..5d9158f 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -44,6 +44,7 @@ config USB_GADGET_SERIAL
 config USB_GADGET_FASTBOOT
 	bool
 	select BANNER
+	depends on COMMAND_SUPPORT
 	prompt "Android Fastboot support"
 
 endif
-- 
2.1.3


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

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

* [PATCH 10/11] ARM: PBL: Add missing pieces for xz compressed PBL image
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (7 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 09/11] USB: Gadget: fastboot: depends on command support Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  2014-11-27 16:15 ` [PATCH 11/11] gpio: clps711x: Add missing include Sascha Hauer
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/pbl/.gitignore     | 2 ++
 arch/arm/pbl/Makefile       | 1 +
 arch/arm/pbl/piggy.xzkern.S | 6 ++++++
 3 files changed, 9 insertions(+)
 create mode 100644 arch/arm/pbl/piggy.xzkern.S

diff --git a/arch/arm/pbl/.gitignore b/arch/arm/pbl/.gitignore
index 1b7f618..be604a8 100644
--- a/arch/arm/pbl/.gitignore
+++ b/arch/arm/pbl/.gitignore
@@ -1,6 +1,8 @@
 piggy.gzip
 piggy.lzo
 piggy.lz4
+piggy.xzkern
+piggy.shipped
 zbarebox
 zbarebox.bin
 zbarebox.lds
diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile
index 1741090..1b90b37 100644
--- a/arch/arm/pbl/Makefile
+++ b/arch/arm/pbl/Makefile
@@ -2,6 +2,7 @@
 suffix_$(CONFIG_IMAGE_COMPRESSION_GZIP) = gzip
 suffix_$(CONFIG_IMAGE_COMPRESSION_LZO)	= lzo
 suffix_$(CONFIG_IMAGE_COMPRESSION_LZ4)	= lz4
+suffix_$(CONFIG_IMAGE_COMPRESSION_XZKERN)	= xzkern
 suffix_$(CONFIG_IMAGE_COMPRESSION_NONE)	= shipped
 
 OBJCOPYFLAGS_zbarebox.bin = -O binary
diff --git a/arch/arm/pbl/piggy.xzkern.S b/arch/arm/pbl/piggy.xzkern.S
new file mode 100644
index 0000000..a7c0259
--- /dev/null
+++ b/arch/arm/pbl/piggy.xzkern.S
@@ -0,0 +1,6 @@
+	.section .piggydata,#alloc
+	.globl	input_data
+input_data:
+	.incbin	"arch/arm/pbl/piggy.xzkern"
+	.globl	input_data_end
+input_data_end:
-- 
2.1.3


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

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

* [PATCH 11/11] gpio: clps711x: Add missing include
  2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
                   ` (8 preceding siblings ...)
  2014-11-27 16:15 ` [PATCH 10/11] ARM: PBL: Add missing pieces for xz compressed PBL image Sascha Hauer
@ 2014-11-27 16:15 ` Sascha Hauer
  9 siblings, 0 replies; 11+ messages in thread
From: Sascha Hauer @ 2014-11-27 16:15 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 drivers/gpio/gpio-clps711x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpio/gpio-clps711x.c b/drivers/gpio/gpio-clps711x.c
index 7d3f1ff..43268b6 100644
--- a/drivers/gpio/gpio-clps711x.c
+++ b/drivers/gpio/gpio-clps711x.c
@@ -10,7 +10,7 @@
 #include <init.h>
 #include <common.h>
 #include <malloc.h>
-
+#include <linux/err.h>
 #include <linux/basic_mmio_gpio.h>
 
 static int clps711x_gpio_probe(struct device_d *dev)
-- 
2.1.3


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

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

end of thread, other threads:[~2014-11-27 16:19 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-27 16:15 [PATCH 01/11] ARM: dts: only build internal dtb when the name is not empty Sascha Hauer
2014-11-27 16:15 ` [PATCH 02/11] ARM: Nomadik: Implement a clk_set_rate stub Sascha Hauer
2014-11-27 16:15 ` [PATCH 03/11] fs: uImagefs: select crc32 Sascha Hauer
2014-11-27 16:15 ` [PATCH 04/11] net: fec_imx: remove unused includes Sascha Hauer
2014-11-27 16:15 ` [PATCH 05/11] command: load[sbxy]: Depend on CONSOLE_FULL Sascha Hauer
2014-11-27 16:15 ` [PATCH 06/11] video: EDID: depends on I2C Sascha Hauer
2014-11-27 16:15 ` [PATCH 07/11] ARM: Don't allow Thumb2 on Tegra Sascha Hauer
2014-11-27 16:15 ` [PATCH 08/11] USB: Gadget: Select poller from USB_GADGET option Sascha Hauer
2014-11-27 16:15 ` [PATCH 09/11] USB: Gadget: fastboot: depends on command support Sascha Hauer
2014-11-27 16:15 ` [PATCH 10/11] ARM: PBL: Add missing pieces for xz compressed PBL image Sascha Hauer
2014-11-27 16:15 ` [PATCH 11/11] gpio: clps711x: Add missing include Sascha Hauer

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