* [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console
@ 2010-04-05 9:07 Anand Gadiyar
2010-04-05 9:07 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Anand Gadiyar
2010-04-05 10:47 ` [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Nishanth Menon
0 siblings, 2 replies; 8+ messages in thread
From: Anand Gadiyar @ 2010-04-05 9:07 UTC (permalink / raw)
To: barebox; +Cc: Anand Gadiyar
The OMAP3 SDPs have both UART1 and UART3 available.
Historically, UART1 has been used for the console.
Add a config option to select between these UARTs
(along the lines of what has been done for OMAP3 EVM)
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
board/omap/Kconfig | 16 ++++++++++++++++
board/omap/board-sdp343x.c | 4 ++++
2 files changed, 20 insertions(+)
Index: barebox/board/omap/Kconfig
===================================================================
--- barebox.orig/board/omap/Kconfig
+++ barebox/board/omap/Kconfig
@@ -61,6 +61,22 @@ config MACH_OMAP3EVM
endchoice
+if MACH_OMAP343xSDP
+ choice
+ prompt "Select UART"
+
+ config OMAP343xSDP_UART1
+ bool "Use UART1"
+ help
+ Say Y here if you would like to use UART1 as console.
+
+ config OMAP343xSDP_UART3
+ bool "Use UART3"
+ help
+ Say Y here if you would like to use UART1 as console.
+ endchoice
+endif
+
if MACH_OMAP3EVM
choice
prompt "Select UART"
Index: barebox/board/omap/board-sdp343x.c
===================================================================
--- barebox.orig/board/omap/board-sdp343x.c
+++ barebox/board/omap/board-sdp343x.c
@@ -611,7 +611,11 @@ static struct NS16550_plat serial_plat =
static struct device_d sdp3430_serial_device = {
.name = "serial_ns16550",
+#if defined(CONFIG_OMAP343xSDP_UART1)
+ .map_base = OMAP_UART1_BASE,
+#elif defined(CONFIG_OMAP343xSDP_UART3)
.map_base = OMAP_UART3_BASE,
+#endif
.size = 1024,
.platform_data = (void *)&serial_plat,
};
_______________________________________________
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/3] omap3: rename defconfigs to align with kernel
2010-04-05 9:07 [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Anand Gadiyar
@ 2010-04-05 9:07 ` Anand Gadiyar
2010-04-05 9:07 ` [PATCH 3/3] omap3: 3430sdp: Update defconfig Anand Gadiyar
2010-04-05 10:41 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Nishanth Menon
2010-04-05 10:47 ` [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Nishanth Menon
1 sibling, 2 replies; 8+ messages in thread
From: Anand Gadiyar @ 2010-04-05 9:07 UTC (permalink / raw)
To: barebox; +Cc: Anand Gadiyar
Rename 3430SDP and beagleboard defconfigs to align with the
names used in the Linux kernel
No functional change
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
Not sure if I need to send a git-diff for this. I can resend one
with -M if needed. Let me know
arch/arm/configs/omap3430_sdp3430_per_uart_defconfig | 216 -------------------
arch/arm/configs/omap3530_beagle_per_uart_defconfig | 215 ------------------
arch/arm/configs/omap3_beagle_defconfig | 215 ++++++++++++++++++
arch/arm/configs/omap_3430sdp_defconfig | 216 +++++++++++++++++++
4 files changed, 431 insertions(+), 431 deletions(-)
Index: barebox/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
===================================================================
--- barebox.orig/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
+++ /dev/null
@@ -1,216 +0,0 @@
-#
-# Automatically generated make config: don't edit
-# barebox version: 2.0.0-rc10
-# Fri Dec 18 11:48:53 2009
-#
-# CONFIG_BOARD_LINKER_SCRIPT is not set
-CONFIG_GENERIC_LINKER_SCRIPT=y
-CONFIG_ARM=y
-
-#
-# System Type
-#
-# CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_AT91RM9200 is not set
-# CONFIG_ARCH_IMX is not set
-# CONFIG_ARCH_NETX is not set
-CONFIG_ARCH_OMAP=y
-# CONFIG_ARCH_S3C24xx is not set
-
-#
-# Processor Type
-#
-CONFIG_CPU_32=y
-CONFIG_CPU_V7=y
-CONFIG_CPU_32v7=y
-
-#
-# processor features
-#
-CONFIG_ARCH_TEXT_BASE=0x80e80000
-CONFIG_BOARDINFO="Texas Instrument's SDP343x"
-
-#
-# OMAP Features
-#
-CONFIG_ARCH_OMAP3=y
-CONFIG_OMAP_CONFIG_STACKSIZE=0x00008000
-CONFIG_OMAP_MALLOC_LEN=0x00008000
-CONFIG_OMAP_CLOCK_ALL=y
-CONFIG_OMAP_CLOCK_SOURCE_S32K=y
-CONFIG_OMAP3_CLOCK_CONFIG=y
-# CONFIG_OMAP3_COPY_CLOCK_SRAM is not set
-CONFIG_GPMC=y
-
-#
-# OMAP Platform Features
-#
-CONFIG_MACH_OMAP343xSDP=y
-# CONFIG_MACH_BEAGLE is not set
-# CONFIG_MACH_OMAP3EVM is not set
-# CONFIG_MACH_OMAP_ADVANCED_MUX is not set
-CONFIG_HAS_OMAP_NAND=y
-# CONFIG_MACH_OMAP_GPMC_NAND is not set
-# CONFIG_AEABI is not set
-
-#
-# Arm specific settings
-#
-CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMDLINE_TAG=y
-CONFIG_SETUP_MEMORY_TAGS=y
-# CONFIG_INITRD_TAG is not set
-# CONFIG_CPU_V7_DCACHE_SKIP is not set
-CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
-CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_MODULES=y
-# CONFIG_CMD_MEMORY is not set
-
-#
-# General Settings
-#
-CONFIG_LOCALVERSION_AUTO=y
-
-#
-# memory layout
-#
-CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
-CONFIG_TEXT_BASE=0x40200000
-CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
-# CONFIG_MEMORY_LAYOUT_DEFAULT is not set
-CONFIG_MEMORY_LAYOUT_FIXED=y
-CONFIG_STACK_BASE=0x87BF7F10
-CONFIG_STACK_SIZE=0x8000
-CONFIG_MALLOC_BASE=0x87BFFF10
-CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_BROKEN is not set
-# CONFIG_EXPERIMENTAL is not set
-CONFIG_MACH_HAS_LOWLEVEL_INIT=y
-CONFIG_MACH_DO_LOWLEVEL_INIT=y
-CONFIG_ARCH_HAS_LOWLEVEL_INIT=y
-CONFIG_PROMPT="X-load 343x> "
-CONFIG_BAUDRATE=115200
-CONFIG_SIMPLE_READLINE=y
-CONFIG_LONGHELP=y
-CONFIG_CBSIZE=1024
-CONFIG_MAXARGS=16
-# CONFIG_SHELL_HUSH is not set
-CONFIG_SHELL_SIMPLE=y
-# CONFIG_CMDLINE_EDITING is not set
-# CONFIG_ERRNO_MESSAGES is not set
-# CONFIG_TIMESTAMP is not set
-CONFIG_CONSOLE_FULL=y
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
-# CONFIG_OF_FLAT_TREE is not set
-# CONFIG_PARTITION is not set
-# CONFIG_DEFAULT_ENVIRONMENT is not set
-
-#
-# Debugging
-#
-CONFIG_DEBUG_INFO=y
-# CONFIG_ENABLE_FLASH_NOISE is not set
-# CONFIG_ENABLE_PARTITION_NOISE is not set
-# CONFIG_ENABLE_DEVICE_NOISE is not set
-
-#
-# Commands
-#
-
-#
-# scripting
-#
-# CONFIG_CMD_EDIT is not set
-# CONFIG_CMD_EXEC is not set
-# CONFIG_CMD_SLEEP is not set
-# CONFIG_CMD_SAVEENV is not set
-# CONFIG_CMD_LOADENV is not set
-# CONFIG_CMD_EXPORT is not set
-# CONFIG_CMD_PRINTENV is not set
-# CONFIG_CMD_READLINE is not set
-CONFIG_CMD_TRUE=y
-CONFIG_CMD_FALSE=y
-
-#
-# file commands
-#
-# CONFIG_CMD_LS is not set
-# CONFIG_CMD_RM is not set
-# CONFIG_CMD_CAT is not set
-# CONFIG_CMD_MKDIR is not set
-# CONFIG_CMD_RMDIR is not set
-# CONFIG_CMD_CP is not set
-# CONFIG_CMD_PWD is not set
-# CONFIG_CMD_CD is not set
-# CONFIG_CMD_MOUNT is not set
-# CONFIG_CMD_UMOUNT is not set
-
-#
-# console
-#
-# CONFIG_CMD_CLEAR is not set
-# CONFIG_CMD_ECHO is not set
-
-#
-# memory
-#
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMINFO is not set
-# CONFIG_CMD_CRC is not set
-# CONFIG_CMD_MTEST is not set
-
-#
-# flash
-#
-# CONFIG_CMD_FLASH is not set
-
-#
-# booting
-#
-# CONFIG_CMD_BOOTM is not set
-CONFIG_CMD_BOOTZ=y
-CONFIG_CMD_BOOTU=y
-# CONFIG_CMD_RESET is not set
-CONFIG_CMD_GO=y
-# CONFIG_CMD_TIMEOUT is not set
-# CONFIG_CMD_PARTITION is not set
-CONFIG_CMD_VERSION=y
-# CONFIG_CMD_HELP is not set
-CONFIG_CMD_DEVINFO=y
-# CONFIG_NET is not set
-
-#
-# Drivers
-#
-
-#
-# serial drivers
-#
-# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
-CONFIG_DRIVER_SERIAL_NS16550=y
-CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
-
-#
-# SPI drivers
-#
-# CONFIG_SPI is not set
-# CONFIG_I2C is not set
-
-#
-# flash drivers
-#
-# CONFIG_DRIVER_CFI is not set
-# CONFIG_DRIVER_CFI_OLD is not set
-# CONFIG_NAND is not set
-# CONFIG_USB is not set
-# CONFIG_USB_GADGET is not set
-# CONFIG_VIDEO is not set
-
-#
-# Filesystem support
-#
-# CONFIG_FS_CRAMFS is not set
-CONFIG_FS_RAMFS=y
-CONFIG_FS_DEVFS=y
-CONFIG_CRC16=y
-# CONFIG_GENERIC_FIND_NEXT_BIT is not set
Index: barebox/arch/arm/configs/omap3530_beagle_per_uart_defconfig
===================================================================
--- barebox.orig/arch/arm/configs/omap3530_beagle_per_uart_defconfig
+++ /dev/null
@@ -1,215 +0,0 @@
-#
-# Automatically generated make config: don't edit
-# barebox version: 2.0.0-rc10
-# Fri Dec 18 11:49:08 2009
-#
-# CONFIG_BOARD_LINKER_SCRIPT is not set
-CONFIG_GENERIC_LINKER_SCRIPT=y
-CONFIG_ARM=y
-
-#
-# System Type
-#
-# CONFIG_ARCH_AT91 is not set
-# CONFIG_ARCH_AT91RM9200 is not set
-# CONFIG_ARCH_IMX is not set
-# CONFIG_ARCH_NETX is not set
-CONFIG_ARCH_OMAP=y
-# CONFIG_ARCH_S3C24xx is not set
-
-#
-# Processor Type
-#
-CONFIG_CPU_32=y
-CONFIG_CPU_V7=y
-CONFIG_CPU_32v7=y
-
-#
-# processor features
-#
-CONFIG_ARCH_TEXT_BASE=0x80e80000
-CONFIG_BOARDINFO="Texas Instrument's Beagle"
-
-#
-# OMAP Features
-#
-CONFIG_ARCH_OMAP3=y
-CONFIG_OMAP_CONFIG_STACKSIZE=0x00008000
-CONFIG_OMAP_MALLOC_LEN=0x00008000
-CONFIG_OMAP_CLOCK_ALL=y
-CONFIG_OMAP_CLOCK_SOURCE_S32K=y
-CONFIG_OMAP3_CLOCK_CONFIG=y
-# CONFIG_OMAP3_COPY_CLOCK_SRAM is not set
-CONFIG_GPMC=y
-
-#
-# OMAP Platform Features
-#
-# CONFIG_MACH_OMAP343xSDP is not set
-CONFIG_MACH_BEAGLE=y
-# CONFIG_MACH_OMAP3EVM is not set
-CONFIG_HAS_OMAP_NAND=y
-# CONFIG_MACH_OMAP_GPMC_NAND is not set
-# CONFIG_AEABI is not set
-
-#
-# Arm specific settings
-#
-CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMDLINE_TAG=y
-CONFIG_SETUP_MEMORY_TAGS=y
-# CONFIG_INITRD_TAG is not set
-# CONFIG_CPU_V7_DCACHE_SKIP is not set
-# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
-CONFIG_HAS_KALLSYMS=y
-CONFIG_HAS_MODULES=y
-CONFIG_CMD_MEMORY=y
-
-#
-# General Settings
-#
-CONFIG_LOCALVERSION_AUTO=y
-
-#
-# memory layout
-#
-CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
-CONFIG_TEXT_BASE=0x40200000
-CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
-# CONFIG_MEMORY_LAYOUT_DEFAULT is not set
-CONFIG_MEMORY_LAYOUT_FIXED=y
-CONFIG_STACK_BASE=0x87BF7F10
-CONFIG_STACK_SIZE=0x8000
-CONFIG_MALLOC_BASE=0x87BFFF10
-CONFIG_MALLOC_SIZE=0x400000
-# CONFIG_BROKEN is not set
-# CONFIG_EXPERIMENTAL is not set
-CONFIG_MACH_HAS_LOWLEVEL_INIT=y
-CONFIG_MACH_DO_LOWLEVEL_INIT=y
-CONFIG_ARCH_HAS_LOWLEVEL_INIT=y
-CONFIG_PROMPT="X-load Beagle>"
-CONFIG_BAUDRATE=115200
-CONFIG_SIMPLE_READLINE=y
-CONFIG_LONGHELP=y
-CONFIG_CBSIZE=1024
-CONFIG_MAXARGS=16
-# CONFIG_SHELL_HUSH is not set
-CONFIG_SHELL_SIMPLE=y
-# CONFIG_CMDLINE_EDITING is not set
-# CONFIG_ERRNO_MESSAGES is not set
-# CONFIG_TIMESTAMP is not set
-CONFIG_CONSOLE_FULL=y
-CONFIG_CONSOLE_ACTIVATE_FIRST=y
-# CONFIG_OF_FLAT_TREE is not set
-# CONFIG_PARTITION is not set
-# CONFIG_DEFAULT_ENVIRONMENT is not set
-
-#
-# Debugging
-#
-# CONFIG_DEBUG_INFO is not set
-# CONFIG_ENABLE_FLASH_NOISE is not set
-# CONFIG_ENABLE_PARTITION_NOISE is not set
-# CONFIG_ENABLE_DEVICE_NOISE is not set
-
-#
-# Commands
-#
-
-#
-# scripting
-#
-# CONFIG_CMD_EDIT is not set
-# CONFIG_CMD_EXEC is not set
-# CONFIG_CMD_SLEEP is not set
-# CONFIG_CMD_SAVEENV is not set
-# CONFIG_CMD_LOADENV is not set
-# CONFIG_CMD_EXPORT is not set
-# CONFIG_CMD_PRINTENV is not set
-# CONFIG_CMD_READLINE is not set
-CONFIG_CMD_TRUE=y
-CONFIG_CMD_FALSE=y
-
-#
-# file commands
-#
-# CONFIG_CMD_LS is not set
-# CONFIG_CMD_RM is not set
-# CONFIG_CMD_CAT is not set
-# CONFIG_CMD_MKDIR is not set
-# CONFIG_CMD_RMDIR is not set
-# CONFIG_CMD_CP is not set
-# CONFIG_CMD_PWD is not set
-# CONFIG_CMD_CD is not set
-# CONFIG_CMD_MOUNT is not set
-# CONFIG_CMD_UMOUNT is not set
-
-#
-# console
-#
-# CONFIG_CMD_CLEAR is not set
-# CONFIG_CMD_ECHO is not set
-
-#
-# memory
-#
-CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMINFO is not set
-# CONFIG_CMD_CRC is not set
-# CONFIG_CMD_MTEST is not set
-
-#
-# flash
-#
-# CONFIG_CMD_FLASH is not set
-
-#
-# booting
-#
-# CONFIG_CMD_BOOTM is not set
-CONFIG_CMD_BOOTZ=y
-CONFIG_CMD_BOOTU=y
-# CONFIG_CMD_RESET is not set
-CONFIG_CMD_GO=y
-# CONFIG_CMD_TIMEOUT is not set
-# CONFIG_CMD_PARTITION is not set
-CONFIG_CMD_VERSION=y
-# CONFIG_CMD_HELP is not set
-CONFIG_CMD_DEVINFO=y
-# CONFIG_NET is not set
-
-#
-# Drivers
-#
-
-#
-# serial drivers
-#
-# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
-CONFIG_DRIVER_SERIAL_NS16550=y
-CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
-
-#
-# SPI drivers
-#
-# CONFIG_SPI is not set
-# CONFIG_I2C is not set
-
-#
-# flash drivers
-#
-# CONFIG_DRIVER_CFI is not set
-# CONFIG_DRIVER_CFI_OLD is not set
-# CONFIG_NAND is not set
-# CONFIG_USB is not set
-# CONFIG_USB_GADGET is not set
-# CONFIG_VIDEO is not set
-
-#
-# Filesystem support
-#
-# CONFIG_FS_CRAMFS is not set
-CONFIG_FS_RAMFS=y
-CONFIG_FS_DEVFS=y
-CONFIG_CRC16=y
-# CONFIG_GENERIC_FIND_NEXT_BIT is not set
Index: barebox/arch/arm/configs/omap3_beagle_defconfig
===================================================================
--- /dev/null
+++ barebox/arch/arm/configs/omap3_beagle_defconfig
@@ -0,0 +1,215 @@
+#
+# Automatically generated make config: don't edit
+# barebox version: 2.0.0-rc10
+# Fri Dec 18 11:49:08 2009
+#
+# CONFIG_BOARD_LINKER_SCRIPT is not set
+CONFIG_GENERIC_LINKER_SCRIPT=y
+CONFIG_ARM=y
+
+#
+# System Type
+#
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_AT91RM9200 is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_NETX is not set
+CONFIG_ARCH_OMAP=y
+# CONFIG_ARCH_S3C24xx is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+
+#
+# processor features
+#
+CONFIG_ARCH_TEXT_BASE=0x80e80000
+CONFIG_BOARDINFO="Texas Instrument's Beagle"
+
+#
+# OMAP Features
+#
+CONFIG_ARCH_OMAP3=y
+CONFIG_OMAP_CONFIG_STACKSIZE=0x00008000
+CONFIG_OMAP_MALLOC_LEN=0x00008000
+CONFIG_OMAP_CLOCK_ALL=y
+CONFIG_OMAP_CLOCK_SOURCE_S32K=y
+CONFIG_OMAP3_CLOCK_CONFIG=y
+# CONFIG_OMAP3_COPY_CLOCK_SRAM is not set
+CONFIG_GPMC=y
+
+#
+# OMAP Platform Features
+#
+# CONFIG_MACH_OMAP343xSDP is not set
+CONFIG_MACH_BEAGLE=y
+# CONFIG_MACH_OMAP3EVM is not set
+CONFIG_HAS_OMAP_NAND=y
+# CONFIG_MACH_OMAP_GPMC_NAND is not set
+# CONFIG_AEABI is not set
+
+#
+# Arm specific settings
+#
+CONFIG_CMD_ARM_CPUINFO=y
+CONFIG_CMDLINE_TAG=y
+CONFIG_SETUP_MEMORY_TAGS=y
+# CONFIG_INITRD_TAG is not set
+# CONFIG_CPU_V7_DCACHE_SKIP is not set
+# CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS is not set
+CONFIG_HAS_KALLSYMS=y
+CONFIG_HAS_MODULES=y
+CONFIG_CMD_MEMORY=y
+
+#
+# General Settings
+#
+CONFIG_LOCALVERSION_AUTO=y
+
+#
+# memory layout
+#
+CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
+CONFIG_TEXT_BASE=0x40200000
+CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
+# CONFIG_MEMORY_LAYOUT_DEFAULT is not set
+CONFIG_MEMORY_LAYOUT_FIXED=y
+CONFIG_STACK_BASE=0x87BF7F10
+CONFIG_STACK_SIZE=0x8000
+CONFIG_MALLOC_BASE=0x87BFFF10
+CONFIG_MALLOC_SIZE=0x400000
+# CONFIG_BROKEN is not set
+# CONFIG_EXPERIMENTAL is not set
+CONFIG_MACH_HAS_LOWLEVEL_INIT=y
+CONFIG_MACH_DO_LOWLEVEL_INIT=y
+CONFIG_ARCH_HAS_LOWLEVEL_INIT=y
+CONFIG_PROMPT="X-load Beagle>"
+CONFIG_BAUDRATE=115200
+CONFIG_SIMPLE_READLINE=y
+CONFIG_LONGHELP=y
+CONFIG_CBSIZE=1024
+CONFIG_MAXARGS=16
+# CONFIG_SHELL_HUSH is not set
+CONFIG_SHELL_SIMPLE=y
+# CONFIG_CMDLINE_EDITING is not set
+# CONFIG_ERRNO_MESSAGES is not set
+# CONFIG_TIMESTAMP is not set
+CONFIG_CONSOLE_FULL=y
+CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_OF_FLAT_TREE is not set
+# CONFIG_PARTITION is not set
+# CONFIG_DEFAULT_ENVIRONMENT is not set
+
+#
+# Debugging
+#
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_ENABLE_FLASH_NOISE is not set
+# CONFIG_ENABLE_PARTITION_NOISE is not set
+# CONFIG_ENABLE_DEVICE_NOISE is not set
+
+#
+# Commands
+#
+
+#
+# scripting
+#
+# CONFIG_CMD_EDIT is not set
+# CONFIG_CMD_EXEC is not set
+# CONFIG_CMD_SLEEP is not set
+# CONFIG_CMD_SAVEENV is not set
+# CONFIG_CMD_LOADENV is not set
+# CONFIG_CMD_EXPORT is not set
+# CONFIG_CMD_PRINTENV is not set
+# CONFIG_CMD_READLINE is not set
+CONFIG_CMD_TRUE=y
+CONFIG_CMD_FALSE=y
+
+#
+# file commands
+#
+# CONFIG_CMD_LS is not set
+# CONFIG_CMD_RM is not set
+# CONFIG_CMD_CAT is not set
+# CONFIG_CMD_MKDIR is not set
+# CONFIG_CMD_RMDIR is not set
+# CONFIG_CMD_CP is not set
+# CONFIG_CMD_PWD is not set
+# CONFIG_CMD_CD is not set
+# CONFIG_CMD_MOUNT is not set
+# CONFIG_CMD_UMOUNT is not set
+
+#
+# console
+#
+# CONFIG_CMD_CLEAR is not set
+# CONFIG_CMD_ECHO is not set
+
+#
+# memory
+#
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMINFO is not set
+# CONFIG_CMD_CRC is not set
+# CONFIG_CMD_MTEST is not set
+
+#
+# flash
+#
+# CONFIG_CMD_FLASH is not set
+
+#
+# booting
+#
+# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_BOOTU=y
+# CONFIG_CMD_RESET is not set
+CONFIG_CMD_GO=y
+# CONFIG_CMD_TIMEOUT is not set
+# CONFIG_CMD_PARTITION is not set
+CONFIG_CMD_VERSION=y
+# CONFIG_CMD_HELP is not set
+CONFIG_CMD_DEVINFO=y
+# CONFIG_NET is not set
+
+#
+# Drivers
+#
+
+#
+# serial drivers
+#
+# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
+CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
+
+#
+# SPI drivers
+#
+# CONFIG_SPI is not set
+# CONFIG_I2C is not set
+
+#
+# flash drivers
+#
+# CONFIG_DRIVER_CFI is not set
+# CONFIG_DRIVER_CFI_OLD is not set
+# CONFIG_NAND is not set
+# CONFIG_USB is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_VIDEO is not set
+
+#
+# Filesystem support
+#
+# CONFIG_FS_CRAMFS is not set
+CONFIG_FS_RAMFS=y
+CONFIG_FS_DEVFS=y
+CONFIG_CRC16=y
+# CONFIG_GENERIC_FIND_NEXT_BIT is not set
Index: barebox/arch/arm/configs/omap_3430sdp_defconfig
===================================================================
--- /dev/null
+++ barebox/arch/arm/configs/omap_3430sdp_defconfig
@@ -0,0 +1,216 @@
+#
+# Automatically generated make config: don't edit
+# barebox version: 2.0.0-rc10
+# Fri Dec 18 11:48:53 2009
+#
+# CONFIG_BOARD_LINKER_SCRIPT is not set
+CONFIG_GENERIC_LINKER_SCRIPT=y
+CONFIG_ARM=y
+
+#
+# System Type
+#
+# CONFIG_ARCH_AT91 is not set
+# CONFIG_ARCH_AT91RM9200 is not set
+# CONFIG_ARCH_IMX is not set
+# CONFIG_ARCH_NETX is not set
+CONFIG_ARCH_OMAP=y
+# CONFIG_ARCH_S3C24xx is not set
+
+#
+# Processor Type
+#
+CONFIG_CPU_32=y
+CONFIG_CPU_V7=y
+CONFIG_CPU_32v7=y
+
+#
+# processor features
+#
+CONFIG_ARCH_TEXT_BASE=0x80e80000
+CONFIG_BOARDINFO="Texas Instrument's SDP343x"
+
+#
+# OMAP Features
+#
+CONFIG_ARCH_OMAP3=y
+CONFIG_OMAP_CONFIG_STACKSIZE=0x00008000
+CONFIG_OMAP_MALLOC_LEN=0x00008000
+CONFIG_OMAP_CLOCK_ALL=y
+CONFIG_OMAP_CLOCK_SOURCE_S32K=y
+CONFIG_OMAP3_CLOCK_CONFIG=y
+# CONFIG_OMAP3_COPY_CLOCK_SRAM is not set
+CONFIG_GPMC=y
+
+#
+# OMAP Platform Features
+#
+CONFIG_MACH_OMAP343xSDP=y
+# CONFIG_MACH_BEAGLE is not set
+# CONFIG_MACH_OMAP3EVM is not set
+# CONFIG_MACH_OMAP_ADVANCED_MUX is not set
+CONFIG_HAS_OMAP_NAND=y
+# CONFIG_MACH_OMAP_GPMC_NAND is not set
+# CONFIG_AEABI is not set
+
+#
+# Arm specific settings
+#
+CONFIG_CMD_ARM_CPUINFO=y
+CONFIG_CMDLINE_TAG=y
+CONFIG_SETUP_MEMORY_TAGS=y
+# CONFIG_INITRD_TAG is not set
+# CONFIG_CPU_V7_DCACHE_SKIP is not set
+CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
+CONFIG_HAS_KALLSYMS=y
+CONFIG_HAS_MODULES=y
+# CONFIG_CMD_MEMORY is not set
+
+#
+# General Settings
+#
+CONFIG_LOCALVERSION_AUTO=y
+
+#
+# memory layout
+#
+CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
+CONFIG_TEXT_BASE=0x40200000
+CONFIG_HAVE_CONFIGURABLE_MEMORY_LAYOUT=y
+# CONFIG_MEMORY_LAYOUT_DEFAULT is not set
+CONFIG_MEMORY_LAYOUT_FIXED=y
+CONFIG_STACK_BASE=0x87BF7F10
+CONFIG_STACK_SIZE=0x8000
+CONFIG_MALLOC_BASE=0x87BFFF10
+CONFIG_MALLOC_SIZE=0x400000
+# CONFIG_BROKEN is not set
+# CONFIG_EXPERIMENTAL is not set
+CONFIG_MACH_HAS_LOWLEVEL_INIT=y
+CONFIG_MACH_DO_LOWLEVEL_INIT=y
+CONFIG_ARCH_HAS_LOWLEVEL_INIT=y
+CONFIG_PROMPT="X-load 343x> "
+CONFIG_BAUDRATE=115200
+CONFIG_SIMPLE_READLINE=y
+CONFIG_LONGHELP=y
+CONFIG_CBSIZE=1024
+CONFIG_MAXARGS=16
+# CONFIG_SHELL_HUSH is not set
+CONFIG_SHELL_SIMPLE=y
+# CONFIG_CMDLINE_EDITING is not set
+# CONFIG_ERRNO_MESSAGES is not set
+# CONFIG_TIMESTAMP is not set
+CONFIG_CONSOLE_FULL=y
+CONFIG_CONSOLE_ACTIVATE_FIRST=y
+# CONFIG_OF_FLAT_TREE is not set
+# CONFIG_PARTITION is not set
+# CONFIG_DEFAULT_ENVIRONMENT is not set
+
+#
+# Debugging
+#
+CONFIG_DEBUG_INFO=y
+# CONFIG_ENABLE_FLASH_NOISE is not set
+# CONFIG_ENABLE_PARTITION_NOISE is not set
+# CONFIG_ENABLE_DEVICE_NOISE is not set
+
+#
+# Commands
+#
+
+#
+# scripting
+#
+# CONFIG_CMD_EDIT is not set
+# CONFIG_CMD_EXEC is not set
+# CONFIG_CMD_SLEEP is not set
+# CONFIG_CMD_SAVEENV is not set
+# CONFIG_CMD_LOADENV is not set
+# CONFIG_CMD_EXPORT is not set
+# CONFIG_CMD_PRINTENV is not set
+# CONFIG_CMD_READLINE is not set
+CONFIG_CMD_TRUE=y
+CONFIG_CMD_FALSE=y
+
+#
+# file commands
+#
+# CONFIG_CMD_LS is not set
+# CONFIG_CMD_RM is not set
+# CONFIG_CMD_CAT is not set
+# CONFIG_CMD_MKDIR is not set
+# CONFIG_CMD_RMDIR is not set
+# CONFIG_CMD_CP is not set
+# CONFIG_CMD_PWD is not set
+# CONFIG_CMD_CD is not set
+# CONFIG_CMD_MOUNT is not set
+# CONFIG_CMD_UMOUNT is not set
+
+#
+# console
+#
+# CONFIG_CMD_CLEAR is not set
+# CONFIG_CMD_ECHO is not set
+
+#
+# memory
+#
+CONFIG_CMD_LOADB=y
+# CONFIG_CMD_MEMINFO is not set
+# CONFIG_CMD_CRC is not set
+# CONFIG_CMD_MTEST is not set
+
+#
+# flash
+#
+# CONFIG_CMD_FLASH is not set
+
+#
+# booting
+#
+# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_BOOTZ=y
+CONFIG_CMD_BOOTU=y
+# CONFIG_CMD_RESET is not set
+CONFIG_CMD_GO=y
+# CONFIG_CMD_TIMEOUT is not set
+# CONFIG_CMD_PARTITION is not set
+CONFIG_CMD_VERSION=y
+# CONFIG_CMD_HELP is not set
+CONFIG_CMD_DEVINFO=y
+# CONFIG_NET is not set
+
+#
+# Drivers
+#
+
+#
+# serial drivers
+#
+# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
+CONFIG_DRIVER_SERIAL_NS16550=y
+CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
+
+#
+# SPI drivers
+#
+# CONFIG_SPI is not set
+# CONFIG_I2C is not set
+
+#
+# flash drivers
+#
+# CONFIG_DRIVER_CFI is not set
+# CONFIG_DRIVER_CFI_OLD is not set
+# CONFIG_NAND is not set
+# CONFIG_USB is not set
+# CONFIG_USB_GADGET is not set
+# CONFIG_VIDEO is not set
+
+#
+# Filesystem support
+#
+# CONFIG_FS_CRAMFS is not set
+CONFIG_FS_RAMFS=y
+CONFIG_FS_DEVFS=y
+CONFIG_CRC16=y
+# CONFIG_GENERIC_FIND_NEXT_BIT is not set
_______________________________________________
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/3] omap3: 3430sdp: Update defconfig
2010-04-05 9:07 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Anand Gadiyar
@ 2010-04-05 9:07 ` Anand Gadiyar
2010-04-05 10:48 ` Nishanth Menon
2010-04-05 10:41 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Nishanth Menon
1 sibling, 1 reply; 8+ messages in thread
From: Anand Gadiyar @ 2010-04-05 9:07 UTC (permalink / raw)
To: barebox; +Cc: Anand Gadiyar
Update the defconfig to enable some useful options
- Use UART1 by default
- Change the prompt to barebox:
- Enable help
- Enable some useful commands (not all, as they are not yet tested)
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
This is a safe config, tested and working on the SDP.
Need to play some more before enabling other options.
So we'll do that later.
arch/arm/configs/omap_3430sdp_defconfig | 82 +++++++++++++++++---------------
1 files changed, 44 insertions(+), 38 deletions(-)
Index: barebox/arch/arm/configs/omap_3430sdp_defconfig
===================================================================
--- barebox.orig/arch/arm/configs/omap_3430sdp_defconfig
+++ barebox/arch/arm/configs/omap_3430sdp_defconfig
@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
-# barebox version: 2.0.0-rc10
-# Fri Dec 18 11:48:53 2009
+# barebox version: 2010.03.0
+# Mon Apr 5 14:21:20 2010
#
# CONFIG_BOARD_LINKER_SCRIPT is not set
CONFIG_GENERIC_LINKER_SCRIPT=y
@@ -12,6 +12,7 @@ CONFIG_ARM=y
#
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_AT91RM9200 is not set
+# CONFIG_ARCH_EP93XX is not set
# CONFIG_ARCH_IMX is not set
# CONFIG_ARCH_NETX is not set
CONFIG_ARCH_OMAP=y
@@ -48,18 +49,17 @@ CONFIG_GPMC=y
CONFIG_MACH_OMAP343xSDP=y
# CONFIG_MACH_BEAGLE is not set
# CONFIG_MACH_OMAP3EVM is not set
+CONFIG_OMAP343xSDP_UART1=y
+# CONFIG_OMAP343xSDP_UART3 is not set
# CONFIG_MACH_OMAP_ADVANCED_MUX is not set
CONFIG_HAS_OMAP_NAND=y
# CONFIG_MACH_OMAP_GPMC_NAND is not set
# CONFIG_AEABI is not set
#
-# Arm specific settings
+# Arm specific settings
#
CONFIG_CMD_ARM_CPUINFO=y
-CONFIG_CMDLINE_TAG=y
-CONFIG_SETUP_MEMORY_TAGS=y
-# CONFIG_INITRD_TAG is not set
# CONFIG_CPU_V7_DCACHE_SKIP is not set
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_HAS_KALLSYMS=y
@@ -67,12 +67,12 @@ CONFIG_HAS_MODULES=y
# CONFIG_CMD_MEMORY is not set
#
-# General Settings
+# General Settings
#
CONFIG_LOCALVERSION_AUTO=y
#
-# memory layout
+# memory layout
#
CONFIG_HAVE_CONFIGURABLE_TEXT_BASE=y
CONFIG_TEXT_BASE=0x40200000
@@ -88,15 +88,16 @@ CONFIG_MALLOC_SIZE=0x400000
CONFIG_MACH_HAS_LOWLEVEL_INIT=y
CONFIG_MACH_DO_LOWLEVEL_INIT=y
CONFIG_ARCH_HAS_LOWLEVEL_INIT=y
-CONFIG_PROMPT="X-load 343x> "
+CONFIG_PROMPT="barebox:"
CONFIG_BAUDRATE=115200
-CONFIG_SIMPLE_READLINE=y
CONFIG_LONGHELP=y
CONFIG_CBSIZE=1024
CONFIG_MAXARGS=16
# CONFIG_SHELL_HUSH is not set
CONFIG_SHELL_SIMPLE=y
-# CONFIG_CMDLINE_EDITING is not set
+CONFIG_CMDLINE_EDITING=y
+# CONFIG_AUTO_COMPLETE is not set
+CONFIG_DYNAMIC_CRC_TABLE=y
# CONFIG_ERRNO_MESSAGES is not set
# CONFIG_TIMESTAMP is not set
CONFIG_CONSOLE_FULL=y
@@ -106,7 +107,7 @@ CONFIG_CONSOLE_ACTIVATE_FIRST=y
# CONFIG_DEFAULT_ENVIRONMENT is not set
#
-# Debugging
+# Debugging
#
CONFIG_DEBUG_INFO=y
# CONFIG_ENABLE_FLASH_NOISE is not set
@@ -114,11 +115,11 @@ CONFIG_DEBUG_INFO=y
# CONFIG_ENABLE_DEVICE_NOISE is not set
#
-# Commands
+# Commands
#
#
-# scripting
+# scripting
#
# CONFIG_CMD_EDIT is not set
# CONFIG_CMD_EXEC is not set
@@ -126,91 +127,96 @@ CONFIG_DEBUG_INFO=y
# CONFIG_CMD_SAVEENV is not set
# CONFIG_CMD_LOADENV is not set
# CONFIG_CMD_EXPORT is not set
-# CONFIG_CMD_PRINTENV is not set
+CONFIG_CMD_PRINTENV=y
# CONFIG_CMD_READLINE is not set
CONFIG_CMD_TRUE=y
CONFIG_CMD_FALSE=y
#
-# file commands
+# file commands
#
-# CONFIG_CMD_LS is not set
+CONFIG_CMD_LS=y
# CONFIG_CMD_RM is not set
-# CONFIG_CMD_CAT is not set
+CONFIG_CMD_CAT=y
# CONFIG_CMD_MKDIR is not set
# CONFIG_CMD_RMDIR is not set
-# CONFIG_CMD_CP is not set
-# CONFIG_CMD_PWD is not set
-# CONFIG_CMD_CD is not set
-# CONFIG_CMD_MOUNT is not set
-# CONFIG_CMD_UMOUNT is not set
+CONFIG_CMD_CP=y
+CONFIG_CMD_PWD=y
+CONFIG_CMD_CD=y
+CONFIG_CMD_MOUNT=y
+CONFIG_CMD_UMOUNT=y
#
-# console
+# console
#
-# CONFIG_CMD_CLEAR is not set
-# CONFIG_CMD_ECHO is not set
+CONFIG_CMD_CLEAR=y
+CONFIG_CMD_ECHO=y
#
-# memory
+# memory
#
CONFIG_CMD_LOADB=y
-# CONFIG_CMD_MEMINFO is not set
+CONFIG_CMD_MEMINFO=y
# CONFIG_CMD_CRC is not set
# CONFIG_CMD_MTEST is not set
#
-# flash
+# flash
#
# CONFIG_CMD_FLASH is not set
#
-# booting
+# booting
#
-# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_BOOTM=y
+# CONFIG_CMD_BOOTM_ZLIB is not set
+# CONFIG_CMD_BOOTM_BZLIB is not set
+# CONFIG_CMD_BOOTM_SHOW_TYPE is not set
CONFIG_CMD_BOOTZ=y
CONFIG_CMD_BOOTU=y
+# CONFIG_CMD_LINUX16 is not set
# CONFIG_CMD_RESET is not set
CONFIG_CMD_GO=y
# CONFIG_CMD_TIMEOUT is not set
# CONFIG_CMD_PARTITION is not set
CONFIG_CMD_VERSION=y
-# CONFIG_CMD_HELP is not set
+CONFIG_CMD_HELP=y
CONFIG_CMD_DEVINFO=y
# CONFIG_NET is not set
#
-# Drivers
+# Drivers
#
#
-# serial drivers
+# serial drivers
#
# CONFIG_DRIVER_SERIAL_ARM_DCC is not set
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
#
-# SPI drivers
+# SPI drivers
#
# CONFIG_SPI is not set
# CONFIG_I2C is not set
#
-# flash drivers
+# flash drivers
#
# CONFIG_DRIVER_CFI is not set
-# CONFIG_DRIVER_CFI_OLD is not set
# CONFIG_NAND is not set
+# CONFIG_ATA is not set
# CONFIG_USB is not set
# CONFIG_USB_GADGET is not set
# CONFIG_VIDEO is not set
#
-# Filesystem support
+# Filesystem support
#
# CONFIG_FS_CRAMFS is not set
CONFIG_FS_RAMFS=y
CONFIG_FS_DEVFS=y
+CONFIG_CRC32=y
CONFIG_CRC16=y
# CONFIG_GENERIC_FIND_NEXT_BIT is not set
_______________________________________________
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 3/3] omap3: 3430sdp: Update defconfig
2010-04-05 9:07 ` [PATCH 3/3] omap3: 3430sdp: Update defconfig Anand Gadiyar
@ 2010-04-05 10:48 ` Nishanth Menon
0 siblings, 0 replies; 8+ messages in thread
From: Nishanth Menon @ 2010-04-05 10:48 UTC (permalink / raw)
To: Anand Gadiyar; +Cc: barebox
On 04/05/2010 04:07 AM, Anand Gadiyar wrote:
> Update the defconfig to enable some useful options
> - Use UART1 by default
> - Change the prompt to barebox:
> - Enable help
> - Enable some useful commands (not all, as they are not yet tested)
>
> Signed-off-by: Anand Gadiyar<gadiyar@ti.com>
> ---
> This is a safe config, tested and working on the SDP.
> Need to play some more before enabling other options.
> So we'll do that later.
>
> arch/arm/configs/omap_3430sdp_defconfig | 82 +++++++++++++++++---------------
> 1 files changed, 44 insertions(+), 38 deletions(-)
>
please see previous comment - i think this is mostly a good thing to do,
but as a seperate defconfig without loosing the old per_download
defconfigs..
Regards,
Nishanth Menon
_______________________________________________
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 1/3] omap3: rename defconfigs to align with kernel
2010-04-05 9:07 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Anand Gadiyar
2010-04-05 9:07 ` [PATCH 3/3] omap3: 3430sdp: Update defconfig Anand Gadiyar
@ 2010-04-05 10:41 ` Nishanth Menon
2010-04-05 11:45 ` Gadiyar, Anand
1 sibling, 1 reply; 8+ messages in thread
From: Nishanth Menon @ 2010-04-05 10:41 UTC (permalink / raw)
To: Anand Gadiyar; +Cc: barebox
On 04/05/2010 04:07 AM, Anand Gadiyar wrote:
> Rename 3430SDP and beagleboard defconfigs to align with the
> names used in the Linux kernel
>
> No functional change
>
> Signed-off-by: Anand Gadiyar<gadiyar@ti.com>
> ---
> Not sure if I need to send a git-diff for this. I can resend one
> with -M if needed. Let me know
>
> arch/arm/configs/omap3430_sdp3430_per_uart_defconfig | 216 -------------------
> arch/arm/configs/omap3530_beagle_per_uart_defconfig | 215 ------------------
> arch/arm/configs/omap3_beagle_defconfig | 215 ++++++++++++++++++
> arch/arm/configs/omap_3430sdp_defconfig | 216 +++++++++++++++++++
> 4 files changed, 431 insertions(+), 431 deletions(-)
>
> Index: barebox/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
> ===================================================================
> --- barebox.orig/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
> +++ /dev/null
NAK. The reason for using UART3 was to allow barebox to be used for
peripheral downloads over uart3. barebox builds are tiny enough to use
it as 2nd images. there are recovery tools that use this configuration.
I would recommend creating a new defconfig and adding additional help
modes in them instead.
Regards,
Nishanth Menon
_______________________________________________
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 1/3] omap3: rename defconfigs to align with kernel
2010-04-05 10:41 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Nishanth Menon
@ 2010-04-05 11:45 ` Gadiyar, Anand
0 siblings, 0 replies; 8+ messages in thread
From: Gadiyar, Anand @ 2010-04-05 11:45 UTC (permalink / raw)
To: Nishanth Menon; +Cc: barebox
Nishanth Menon wrote:
> On 04/05/2010 04:07 AM, Anand Gadiyar wrote:
> > Rename 3430SDP and beagleboard defconfigs to align with the
> > names used in the Linux kernel
> >
> > No functional change
> >
> > Signed-off-by: Anand Gadiyar<gadiyar@ti.com>
> > ---
> > Not sure if I need to send a git-diff for this. I can resend one
> > with -M if needed. Let me know
> >
> > arch/arm/configs/omap3430_sdp3430_per_uart_defconfig | 216 -------------------
> > arch/arm/configs/omap3530_beagle_per_uart_defconfig | 215 ------------------
> > arch/arm/configs/omap3_beagle_defconfig | 215 ++++++++++++++++++
> > arch/arm/configs/omap_3430sdp_defconfig | 216 +++++++++++++++++++
> > 4 files changed, 431 insertions(+), 431 deletions(-)
> >
> > Index: barebox/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
> > ===================================================================
> > --- barebox.orig/arch/arm/configs/omap3430_sdp3430_per_uart_defconfig
> > +++ /dev/null
>
>
> NAK. The reason for using UART3 was to allow barebox to be used for
> peripheral downloads over uart3. barebox builds are tiny enough to use
> it as 2nd images. there are recovery tools that use this configuration.
> I would recommend creating a new defconfig and adding additional help
> modes in them instead.
>
Ah, I see. I did not know that.
Will resend as one separate patch introducing the new config.
- Anand
_______________________________________________
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 2/3] omap3: 3430sdp: add choice of UARTs for console
2010-04-05 9:07 [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Anand Gadiyar
2010-04-05 9:07 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Anand Gadiyar
@ 2010-04-05 10:47 ` Nishanth Menon
2010-04-05 11:46 ` Gadiyar, Anand
1 sibling, 1 reply; 8+ messages in thread
From: Nishanth Menon @ 2010-04-05 10:47 UTC (permalink / raw)
To: Anand Gadiyar; +Cc: barebox
On 04/05/2010 04:07 AM, Anand Gadiyar wrote:
> The OMAP3 SDPs have both UART1 and UART3 available.
> Historically, UART1 has been used for the console.
>
> Add a config option to select between these UARTs
> (along the lines of what has been done for OMAP3 EVM)
>
> Signed-off-by: Anand Gadiyar<gadiyar@ti.com>
> ---
> board/omap/Kconfig | 16 ++++++++++++++++
> board/omap/board-sdp343x.c | 4 ++++
> 2 files changed, 20 insertions(+)
>
> Index: barebox/board/omap/Kconfig
> ===================================================================
> --- barebox.orig/board/omap/Kconfig
> +++ barebox/board/omap/Kconfig
> @@ -61,6 +61,22 @@ config MACH_OMAP3EVM
>
> endchoice
>
> +if MACH_OMAP343xSDP
> + choice
> + prompt "Select UART"
> +
> + config OMAP343xSDP_UART1
> + bool "Use UART1"
> + help
> + Say Y here if you would like to use UART1 as console.
> +
> + config OMAP343xSDP_UART3
> + bool "Use UART3"
> + help
> + Say Y here if you would like to use UART1 as console.
> + endchoice
> +endif
> +
> if MACH_OMAP3EVM
> choice
> prompt "Select UART"
> Index: barebox/board/omap/board-sdp343x.c
> ===================================================================
> --- barebox.orig/board/omap/board-sdp343x.c
> +++ barebox/board/omap/board-sdp343x.c
> @@ -611,7 +611,11 @@ static struct NS16550_plat serial_plat =
>
> static struct device_d sdp3430_serial_device = {
> .name = "serial_ns16550",
> +#if defined(CONFIG_OMAP343xSDP_UART1)
> + .map_base = OMAP_UART1_BASE,
> +#elif defined(CONFIG_OMAP343xSDP_UART3)
> .map_base = OMAP_UART3_BASE,
> +#endif
> .size = 1024,
> .platform_data = (void *)&serial_plat,
> };
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
I dont see a major reason for supporting UART1 other than historical
reasons, as UART3 seems capable of doing more than just debug terminal
alone (includes download aswell).. overall I dont see an issue, but
might be better to choose the terminal in a generic manner accross
platforms - as in, CONFIG_OMAP_SERIAL_UART1,2,3... for all platforms -
just my 2 cents.
Regards,
Nishanth Menon
_______________________________________________
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 2/3] omap3: 3430sdp: add choice of UARTs for console
2010-04-05 10:47 ` [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Nishanth Menon
@ 2010-04-05 11:46 ` Gadiyar, Anand
0 siblings, 0 replies; 8+ messages in thread
From: Gadiyar, Anand @ 2010-04-05 11:46 UTC (permalink / raw)
To: Nishanth Menon; +Cc: barebox
Nishanth Menon wrote:
> On 04/05/2010 04:07 AM, Anand Gadiyar wrote:
> > The OMAP3 SDPs have both UART1 and UART3 available.
> > Historically, UART1 has been used for the console.
> >
> > Add a config option to select between these UARTs
> > (along the lines of what has been done for OMAP3 EVM)
> >
> I dont see a major reason for supporting UART1 other than historical
> reasons, as UART3 seems capable of doing more than just debug terminal
> alone (includes download aswell).. overall I dont see an issue, but
> might be better to choose the terminal in a generic manner accross
> platforms - as in, CONFIG_OMAP_SERIAL_UART1,2,3... for all platforms -
> just my 2 cents.
Yup, sounds good. Let me see if I can make this generic.
- Anand
_______________________________________________
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:[~2010-04-05 11:46 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-05 9:07 [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Anand Gadiyar
2010-04-05 9:07 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Anand Gadiyar
2010-04-05 9:07 ` [PATCH 3/3] omap3: 3430sdp: Update defconfig Anand Gadiyar
2010-04-05 10:48 ` Nishanth Menon
2010-04-05 10:41 ` [PATCH 1/3] omap3: rename defconfigs to align with kernel Nishanth Menon
2010-04-05 11:45 ` Gadiyar, Anand
2010-04-05 10:47 ` [PATCH 2/3] omap3: 3430sdp: add choice of UARTs for console Nishanth Menon
2010-04-05 11:46 ` Gadiyar, Anand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox