* [PATCH] panda and beagle update
@ 2012-11-01 7:55 Sascha Hauer
2012-11-01 7:55 ` [PATCH 1/6] ARM OMAP4: Turn puts into debug Sascha Hauer
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
The following puts some efforts into the OMAP3/4 beagle and panda
boards. The boards are switched to the new environment, MMU is enabled,
Thumb2 and compilation of OMAP3 boards with PBL enabled is fixed.
----------------------------------------------------------------
Sascha Hauer (6):
ARM OMAP4: Turn puts into debug
ARM OMAP4 panda: switch to new environment
ARM OMAP4 panda xload: Enable MMU and Thumb2 support
ARM OMAP3 beagle: switch to new environment
ARM OMAP3 boards: Call omap3_core_init only from SRAM
ARM OMAP3: Put reset() into its own section
arch/arm/boards/beagle/board.c | 3 +-
arch/arm/boards/beagle/env/boot/mmc | 10 +++++
arch/arm/boards/beagle/env/init/bootargs-base | 8 ++++
arch/arm/boards/beagle/env/init/hostname | 8 ++++
arch/arm/boards/beagle/env/network/eth0-discover | 5 +++
arch/arm/boards/omap343xdsp/board.c | 3 +-
arch/arm/boards/panda/env/boot/mmc | 10 +++++
arch/arm/boards/panda/env/config | 40 ------------------
arch/arm/boards/panda/env/init/bootargs-base | 8 ++++
arch/arm/boards/panda/env/init/hostname | 8 ++++
arch/arm/boards/panda/env/network/eth0-discover | 5 +++
arch/arm/boards/phycard-a-l1/pca-a-l1.c | 3 +-
arch/arm/configs/omap3530_beagle_defconfig | 49 ++++++++++++++++------
arch/arm/configs/panda_defconfig | 34 +++++++++++----
arch/arm/configs/panda_xload_defconfig | 5 +--
arch/arm/mach-omap/Kconfig | 2 +
arch/arm/mach-omap/omap3_core.S | 1 +
arch/arm/mach-omap/omap4_clock.c | 2 +-
18 files changed, 137 insertions(+), 67 deletions(-)
create mode 100644 arch/arm/boards/beagle/env/boot/mmc
create mode 100644 arch/arm/boards/beagle/env/init/bootargs-base
create mode 100644 arch/arm/boards/beagle/env/init/hostname
create mode 100644 arch/arm/boards/beagle/env/network/eth0-discover
create mode 100644 arch/arm/boards/panda/env/boot/mmc
delete mode 100644 arch/arm/boards/panda/env/config
create mode 100644 arch/arm/boards/panda/env/init/bootargs-base
create mode 100644 arch/arm/boards/panda/env/init/hostname
create mode 100644 arch/arm/boards/panda/env/network/eth0-discover
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/6] ARM OMAP4: Turn puts into debug
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
2012-11-01 7:55 ` [PATCH 2/6] ARM OMAP4 panda: switch to new environment Sascha Hauer
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
When compiled with pbl support puts is not available, so turn it
into debug.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-omap/omap4_clock.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap/omap4_clock.c b/arch/arm/mach-omap/omap4_clock.c
index 1481f16..b489d59 100644
--- a/arch/arm/mach-omap/omap4_clock.c
+++ b/arch/arm/mach-omap/omap4_clock.c
@@ -410,5 +410,5 @@ void omap4_do_scale_tps62361(u32 reg, u32 volt_mv)
writel(temp, OMAP44XX_PRM_VC_VAL_BYPASS);
if (!wait_on_value(OMAP44XX_PRM_VC_VAL_BYPASS_VALID_BIT, 0,
OMAP44XX_PRM_VC_VAL_BYPASS, LDELAY))
- puts("Scaling voltage failed for vdd_mpu from TPS\n");
+ debug("Scaling voltage failed for vdd_mpu from TPS\n");
}
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/6] ARM OMAP4 panda: switch to new environment
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
2012-11-01 7:55 ` [PATCH 1/6] ARM OMAP4: Turn puts into debug Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
2012-11-01 7:55 ` [PATCH 3/6] ARM OMAP4 panda xload: Enable MMU and Thumb2 support Sascha Hauer
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
Switch to new environment and add the bootscripts needed for mmc. Also,
update defconfig for new environment.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/panda/env/boot/mmc | 10 ++++++
arch/arm/boards/panda/env/config | 40 -----------------------
arch/arm/boards/panda/env/init/bootargs-base | 8 +++++
arch/arm/boards/panda/env/init/hostname | 8 +++++
arch/arm/boards/panda/env/network/eth0-discover | 5 +++
arch/arm/configs/panda_defconfig | 34 ++++++++++++++-----
arch/arm/mach-omap/Kconfig | 1 +
7 files changed, 58 insertions(+), 48 deletions(-)
create mode 100644 arch/arm/boards/panda/env/boot/mmc
delete mode 100644 arch/arm/boards/panda/env/config
create mode 100644 arch/arm/boards/panda/env/init/bootargs-base
create mode 100644 arch/arm/boards/panda/env/init/hostname
create mode 100644 arch/arm/boards/panda/env/network/eth0-discover
diff --git a/arch/arm/boards/panda/env/boot/mmc b/arch/arm/boards/panda/env/boot/mmc
new file mode 100644
index 0000000..58bd557
--- /dev/null
+++ b/arch/arm/boards/panda/env/boot/mmc
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ boot-menu-add-entry "$0" "MMC (ext3)"
+ exit
+fi
+
+global.bootm.image="/boot/zImage"
+#global.bootm.oftree="/boot/oftree"
+global.linux.bootargs.dyn.root="root=mmcblk0p2 rootfstype=ext3 rootwait"
diff --git a/arch/arm/boards/panda/env/config b/arch/arm/boards/panda/env/config
deleted file mode 100644
index 1cd7eaa..0000000
--- a/arch/arm/boards/panda/env/config
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-
-global.hostname=panda
-user=
-
-# use 'dhcp' to do dhcp in barebox and in kernel
-# use 'none' if you want to skip kernel ip autoconfiguration
-ip=dhcp
-
-# or set your networking parameters here
-#eth0.ipaddr=a.b.c.d
-#eth0.netmask=a.b.c.d
-#eth0.gateway=a.b.c.d
-#eth0.serverip=a.b.c.d
-
-# can be either 'nfs', 'tftp', 'nor' or 'nand'
-kernel_loc=tftp
-# can be either 'net', 'nor', 'nand' or 'initrd'
-rootfs_loc=net
-
-kernelimage=zImage-${global.hostname}
-#kernelimage=uImage-${global.hostname}
-#kernelimage=Image-${global.hostname}
-#kernelimage=Image-${global.hostname}.lzo
-
-if [ -n $user ]; then
- kernelimage="$user"-"$kernelimage"
- nfsroot="$eth0.serverip:/home/$user/nfsroot/${global.hostname}"
- rootfsimage="$user"-"$rootfsimage"
-else
- nfsroot="$eth0.serverip:/path/to/nfs/root"
-fi
-
-autoboot_timeout=3
-
-bootargs="console=ttyO2,115200"
-
-# set a fancy prompt (if support is compiled in)
-PS1="\e[1;32mbarebox@\e[1;31m\h:\w\e[0m "
-
diff --git a/arch/arm/boards/panda/env/init/bootargs-base b/arch/arm/boards/panda/env/init/bootargs-base
new file mode 100644
index 0000000..442cce3
--- /dev/null
+++ b/arch/arm/boards/panda/env/init/bootargs-base
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ init-menu-add-entry "$0" "Base bootargs"
+ exit
+fi
+
+global.linux.bootargs.base="console=ttyO2,115200"
diff --git a/arch/arm/boards/panda/env/init/hostname b/arch/arm/boards/panda/env/init/hostname
new file mode 100644
index 0000000..996c2d9
--- /dev/null
+++ b/arch/arm/boards/panda/env/init/hostname
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ init-menu-add-entry "$0" "hostname"
+ exit
+fi
+
+global.hostname=panda
diff --git a/arch/arm/boards/panda/env/network/eth0-discover b/arch/arm/boards/panda/env/network/eth0-discover
new file mode 100644
index 0000000..77552d3
--- /dev/null
+++ b/arch/arm/boards/panda/env/network/eth0-discover
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Panda has a network adapter on USB
+
+usb
diff --git a/arch/arm/configs/panda_defconfig b/arch/arm/configs/panda_defconfig
index 5f53ff9..7be86ac 100644
--- a/arch/arm/configs/panda_defconfig
+++ b/arch/arm/configs/panda_defconfig
@@ -1,38 +1,51 @@
CONFIG_ARCH_OMAP=y
CONFIG_ARCH_OMAP4=y
-CONFIG_AEABI=y
+CONFIG_THUMB2_BAREBOX=y
+CONFIG_CMD_ARM_MMUINFO=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_ARM_UNWIND=y
+CONFIG_PBL_IMAGE=y
CONFIG_MMU=y
CONFIG_TEXT_BASE=0x8f000000
CONFIG_MALLOC_SIZE=0x2000000
+CONFIG_MALLOC_TLSF=y
CONFIG_KALLSYMS=y
CONFIG_PROMPT="barebox> "
CONFIG_LONGHELP=y
-CONFIG_GLOB=y
CONFIG_HUSH_FANCY_PROMPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
+CONFIG_MENU=y
# CONFIG_TIMESTAMP is not set
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/panda/env"
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
+CONFIG_CMD_MSLEEP=y
CONFIG_CMD_SAVEENV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_READLINE=y
+CONFIG_CMD_MENU=y
+CONFIG_CMD_MENU_MANAGEMENT=y
CONFIG_CMD_TIME=y
+CONFIG_CMD_DIRNAME=y
+CONFIG_CMD_LN=y
+CONFIG_CMD_READLINK=y
+CONFIG_CMD_TFTP=y
CONFIG_CMD_ECHO_E=y
-CONFIG_CMD_LOADB=y
+CONFIG_CMD_MEMINFO=y
CONFIG_CMD_IOMEM=y
+CONFIG_CMD_CRC=y
+CONFIG_CMD_CRC_CMP=y
+CONFIG_CMD_MD5SUM=y
CONFIG_CMD_FLASH=y
CONFIG_CMD_BOOTM_SHOW_TYPE=y
CONFIG_CMD_BOOTM_VERBOSE=y
CONFIG_CMD_BOOTM_INITRD=y
CONFIG_CMD_BOOTM_OFTREE=y
CONFIG_CMD_BOOTM_OFTREE_UIMAGE=y
-# CONFIG_CMD_BOOTZ is not set
+CONFIG_CMD_UIMAGE=y
# CONFIG_CMD_BOOTU is not set
CONFIG_CMD_RESET=y
CONFIG_CMD_GO=y
@@ -44,12 +57,13 @@ CONFIG_CMD_GPIO=y
CONFIG_CMD_UNCOMPRESS=y
CONFIG_CMD_I2C=y
CONFIG_CMD_LED=y
+CONFIG_CMD_LED_TRIGGER=y
+CONFIG_CMD_MIITOOL=y
CONFIG_NET=y
CONFIG_NET_DHCP=y
-CONFIG_NET_NFS=y
CONFIG_NET_PING=y
-CONFIG_CMD_TFTP=y
-CONFIG_FS_TFTP=y
+CONFIG_NET_NETCONSOLE=y
+CONFIG_NET_RESOLV=y
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
CONFIG_NET_USB=y
@@ -65,6 +79,10 @@ CONFIG_MCI_OMAP_HSMMC=y
CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_LED_TRIGGERS=y
+CONFIG_FS_TFTP=y
+CONFIG_FS_NFS=y
CONFIG_FS_FAT=y
CONFIG_FS_FAT_WRITE=y
CONFIG_FS_FAT_LFN=y
+CONFIG_ZLIB=y
+CONFIG_LZO_DECOMPRESS=y
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index aa31633..c4a88ab 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -118,6 +118,7 @@ config MACH_PANDA
bool "Texas Instrument's Panda Board"
select HAVE_NOSHELL
select MACH_HAS_LOWLEVEL_INIT
+ select HAVE_DEFAULT_ENVIRONMENT_NEW
depends on ARCH_OMAP4
help
Say Y here if you are using OMAP4 Panda board
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 3/6] ARM OMAP4 panda xload: Enable MMU and Thumb2 support
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
2012-11-01 7:55 ` [PATCH 1/6] ARM OMAP4: Turn puts into debug Sascha Hauer
2012-11-01 7:55 ` [PATCH 2/6] ARM OMAP4 panda: switch to new environment Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
2012-11-01 7:55 ` [PATCH 4/6] ARM OMAP3 beagle: switch to new environment Sascha Hauer
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
MMU for the speed and Thumb2 for the size.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/configs/panda_xload_defconfig | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm/configs/panda_xload_defconfig b/arch/arm/configs/panda_xload_defconfig
index f8f0ae9..fec09ce 100644
--- a/arch/arm/configs/panda_xload_defconfig
+++ b/arch/arm/configs/panda_xload_defconfig
@@ -2,8 +2,9 @@ CONFIG_ARCH_OMAP=y
CONFIG_ARCH_OMAP4=y
# CONFIG_OMAP_GPMC is not set
CONFIG_OMAP_BUILD_IFT=y
-CONFIG_AEABI=y
+CONFIG_THUMB2_BAREBOX=y
# CONFIG_CMD_ARM_CPUINFO is not set
+CONFIG_MMU=y
CONFIG_TEXT_BASE=0x40300000
CONFIG_MEMORY_LAYOUT_FIXED=y
CONFIG_STACK_BASE=0x8f000000
@@ -14,9 +15,7 @@ CONFIG_SHELL_NONE=y
# CONFIG_ERRNO_MESSAGES is not set
# CONFIG_TIMESTAMP is not set
# CONFIG_CONSOLE_FULL is not set
-CONFIG_PARTITION=y
# CONFIG_DEFAULT_ENVIRONMENT is not set
-# CONFIG_COMMAND_SUPPORT is not set
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
# CONFIG_SPI is not set
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 4/6] ARM OMAP3 beagle: switch to new environment
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
` (2 preceding siblings ...)
2012-11-01 7:55 ` [PATCH 3/6] ARM OMAP4 panda xload: Enable MMU and Thumb2 support Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
2012-11-01 7:55 ` [PATCH 5/6] ARM OMAP3 boards: Call omap3_core_init only from SRAM Sascha Hauer
2012-11-01 7:55 ` [PATCH 6/6] ARM OMAP3: Put reset() into its own section Sascha Hauer
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/beagle/env/boot/mmc | 10 +++++
arch/arm/boards/beagle/env/init/bootargs-base | 8 ++++
arch/arm/boards/beagle/env/init/hostname | 8 ++++
arch/arm/boards/beagle/env/network/eth0-discover | 5 +++
arch/arm/configs/omap3530_beagle_defconfig | 49 ++++++++++++++++------
arch/arm/mach-omap/Kconfig | 1 +
6 files changed, 69 insertions(+), 12 deletions(-)
create mode 100644 arch/arm/boards/beagle/env/boot/mmc
create mode 100644 arch/arm/boards/beagle/env/init/bootargs-base
create mode 100644 arch/arm/boards/beagle/env/init/hostname
create mode 100644 arch/arm/boards/beagle/env/network/eth0-discover
diff --git a/arch/arm/boards/beagle/env/boot/mmc b/arch/arm/boards/beagle/env/boot/mmc
new file mode 100644
index 0000000..58bd557
--- /dev/null
+++ b/arch/arm/boards/beagle/env/boot/mmc
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ boot-menu-add-entry "$0" "MMC (ext3)"
+ exit
+fi
+
+global.bootm.image="/boot/zImage"
+#global.bootm.oftree="/boot/oftree"
+global.linux.bootargs.dyn.root="root=mmcblk0p2 rootfstype=ext3 rootwait"
diff --git a/arch/arm/boards/beagle/env/init/bootargs-base b/arch/arm/boards/beagle/env/init/bootargs-base
new file mode 100644
index 0000000..442cce3
--- /dev/null
+++ b/arch/arm/boards/beagle/env/init/bootargs-base
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ init-menu-add-entry "$0" "Base bootargs"
+ exit
+fi
+
+global.linux.bootargs.base="console=ttyO2,115200"
diff --git a/arch/arm/boards/beagle/env/init/hostname b/arch/arm/boards/beagle/env/init/hostname
new file mode 100644
index 0000000..996c2d9
--- /dev/null
+++ b/arch/arm/boards/beagle/env/init/hostname
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+if [ "$1" = menu ]; then
+ init-menu-add-entry "$0" "hostname"
+ exit
+fi
+
+global.hostname=panda
diff --git a/arch/arm/boards/beagle/env/network/eth0-discover b/arch/arm/boards/beagle/env/network/eth0-discover
new file mode 100644
index 0000000..77552d3
--- /dev/null
+++ b/arch/arm/boards/beagle/env/network/eth0-discover
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# Panda has a network adapter on USB
+
+usb
diff --git a/arch/arm/configs/omap3530_beagle_defconfig b/arch/arm/configs/omap3530_beagle_defconfig
index 0d83a4f..1807e04 100644
--- a/arch/arm/configs/omap3530_beagle_defconfig
+++ b/arch/arm/configs/omap3530_beagle_defconfig
@@ -1,44 +1,67 @@
CONFIG_ARCH_OMAP=y
-# CONFIG_OMAP3_COPY_CLOCK_SRAM is not set
CONFIG_MACH_BEAGLE=y
-CONFIG_AEABI=y
+CONFIG_THUMB2_BAREBOX=y
+CONFIG_CMD_ARM_MMUINFO=y
CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
CONFIG_ARM_UNWIND=y
-CONFIG_TEXT_BASE=0x81000000
+CONFIG_PBL_IMAGE=y
+CONFIG_MMU=y
+CONFIG_TEXT_BASE=0x87e00000
+CONFIG_MALLOC_SIZE=0x2000000
+CONFIG_MALLOC_TLSF=y
+CONFIG_KALLSYMS=y
CONFIG_PROMPT="barebox> "
CONFIG_LONGHELP=y
-CONFIG_GLOB=y
CONFIG_HUSH_FANCY_PROMPT=y
-CONFIG_HUSH_GETOPT=y
CONFIG_CMDLINE_EDITING=y
CONFIG_AUTO_COMPLETE=y
-# CONFIG_TIMESTAMP is not set
-CONFIG_PARTITION=y
-CONFIG_DEFAULT_ENVIRONMENT_GENERIC=y
+CONFIG_MENU=y
+CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW=y
+CONFIG_DEFAULT_ENVIRONMENT_PATH="arch/arm/boards/beagle/env"
CONFIG_CMD_EDIT=y
CONFIG_CMD_SLEEP=y
+CONFIG_CMD_MSLEEP=y
CONFIG_CMD_SAVEENV=y
-CONFIG_CMD_LOADENV=y
CONFIG_CMD_EXPORT=y
CONFIG_CMD_PRINTENV=y
CONFIG_CMD_READLINE=y
+CONFIG_CMD_MENU=y
+CONFIG_CMD_MENU_MANAGEMENT=y
+CONFIG_CMD_TIME=y
+CONFIG_CMD_DIRNAME=y
+CONFIG_CMD_LN=y
+CONFIG_CMD_READLINK=y
+CONFIG_CMD_TFTP=y
CONFIG_CMD_ECHO_E=y
CONFIG_CMD_LOADB=y
+CONFIG_CMD_MEMINFO=y
+CONFIG_CMD_IOMEM=y
+CONFIG_CMD_CRC=y
+CONFIG_CMD_CRC_CMP=y
+CONFIG_CMD_MD5SUM=y
CONFIG_CMD_FLASH=y
-# CONFIG_CMD_BOOTM is not set
+CONFIG_CMD_BOOTM_SHOW_TYPE=y
+CONFIG_CMD_BOOTM_VERBOSE=y
+CONFIG_CMD_BOOTM_INITRD=y
+CONFIG_CMD_BOOTM_OFTREE=y
+CONFIG_CMD_BOOTM_OFTREE_UIMAGE=y
+# CONFIG_CMD_BOOTU is not set
CONFIG_CMD_RESET=y
CONFIG_CMD_GO=y
CONFIG_CMD_TIMEOUT=y
CONFIG_CMD_PARTITION=y
+CONFIG_CMD_MAGICVAR=y
+CONFIG_CMD_MAGICVAR_HELP=y
CONFIG_CMD_GPIO=y
CONFIG_CMD_UNCOMPRESS=y
CONFIG_CMD_I2C=y
+CONFIG_CMD_MIITOOL=y
CONFIG_NET=y
CONFIG_NET_DHCP=y
CONFIG_NET_NFS=y
CONFIG_NET_PING=y
-CONFIG_CMD_TFTP=y
-CONFIG_FS_TFTP=y
+CONFIG_NET_NETCONSOLE=y
+CONFIG_NET_RESOLV=y
CONFIG_DRIVER_SERIAL_NS16550=y
CONFIG_DRIVER_SERIAL_NS16550_OMAP_EXTENSIONS=y
CONFIG_NET_USB=y
@@ -58,6 +81,8 @@ CONFIG_MCI=y
CONFIG_MCI_STARTUP=y
CONFIG_MCI_OMAP_HSMMC=y
CONFIG_I2C_TWL4030=y
+CONFIG_FS_TFTP=y
+CONFIG_FS_NFS=y
CONFIG_FS_FAT=y
CONFIG_FS_FAT_WRITE=y
CONFIG_FS_FAT_LFN=y
diff --git a/arch/arm/mach-omap/Kconfig b/arch/arm/mach-omap/Kconfig
index c4a88ab..3315d1c 100644
--- a/arch/arm/mach-omap/Kconfig
+++ b/arch/arm/mach-omap/Kconfig
@@ -103,6 +103,7 @@ config MACH_OMAP343xSDP
config MACH_BEAGLE
bool "Texas Instrument's Beagle Board"
select HAVE_NOSHELL
+ select HAVE_DEFAULT_ENVIRONMENT_NEW
depends on ARCH_OMAP3
help
Say Y here if you are using Beagle Board
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 5/6] ARM OMAP3 boards: Call omap3_core_init only from SRAM
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
` (3 preceding siblings ...)
2012-11-01 7:55 ` [PATCH 4/6] ARM OMAP3 beagle: switch to new environment Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
2012-11-01 7:55 ` [PATCH 6/6] ARM OMAP3: Put reset() into its own section Sascha Hauer
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/boards/beagle/board.c | 3 ++-
arch/arm/boards/omap343xdsp/board.c | 3 ++-
arch/arm/boards/phycard-a-l1/pca-a-l1.c | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boards/beagle/board.c b/arch/arm/boards/beagle/board.c
index 19bf740..ec26528 100644
--- a/arch/arm/boards/beagle/board.c
+++ b/arch/arm/boards/beagle/board.c
@@ -220,7 +220,8 @@ static int beagle_board_init(void)
{
int in_sdram = running_in_sdram();
- omap3_core_init();
+ if (!in_sdram)
+ omap3_core_init();
mux_config();
/* Dont reconfigure SDRAM while running in SDRAM! */
diff --git a/arch/arm/boards/omap343xdsp/board.c b/arch/arm/boards/omap343xdsp/board.c
index 2343dc0..692cf9a 100644
--- a/arch/arm/boards/omap343xdsp/board.c
+++ b/arch/arm/boards/omap343xdsp/board.c
@@ -76,7 +76,8 @@ static int sdp343x_board_init(void)
{
int in_sdram = running_in_sdram();
- omap3_core_init();
+ if (!in_sdram)
+ omap3_core_init();
mux_config();
if (!in_sdram)
diff --git a/arch/arm/boards/phycard-a-l1/pca-a-l1.c b/arch/arm/boards/phycard-a-l1/pca-a-l1.c
index f2d10f2..6652242 100644
--- a/arch/arm/boards/phycard-a-l1/pca-a-l1.c
+++ b/arch/arm/boards/phycard-a-l1/pca-a-l1.c
@@ -297,7 +297,8 @@ static int pcaal1_board_init(void)
{
int in_sdram = running_in_sdram();
- omap3_core_init();
+ if (!in_sdram)
+ omap3_core_init();
pcaal1_mux_config();
/* Dont reconfigure SDRAM while running in SDRAM! */
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 6/6] ARM OMAP3: Put reset() into its own section
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
` (4 preceding siblings ...)
2012-11-01 7:55 ` [PATCH 5/6] ARM OMAP3 boards: Call omap3_core_init only from SRAM Sascha Hauer
@ 2012-11-01 7:55 ` Sascha Hauer
5 siblings, 0 replies; 7+ messages in thread
From: Sascha Hauer @ 2012-11-01 7:55 UTC (permalink / raw)
To: barebox
Needed so that the linker can throw it away when unused. This is needed
at least on current master for being able to enable pbl support for omap3
boards.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
arch/arm/mach-omap/omap3_core.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap/omap3_core.S b/arch/arm/mach-omap/omap3_core.S
index df7c5b4..c3e4086 100644
--- a/arch/arm/mach-omap/omap3_core.S
+++ b/arch/arm/mach-omap/omap3_core.S
@@ -39,6 +39,7 @@
#include <asm/barebox-arm-head.h>
#ifdef CONFIG_MACH_DO_LOWLEVEL_INIT
+.section .text.__reset
ENTRY(reset)
/* Invalidate all Dcaches */
#ifndef CONFIG_CPU_V7_DCACHE_SKIP
--
1.7.10.4
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-11-01 7:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-01 7:55 [PATCH] panda and beagle update Sascha Hauer
2012-11-01 7:55 ` [PATCH 1/6] ARM OMAP4: Turn puts into debug Sascha Hauer
2012-11-01 7:55 ` [PATCH 2/6] ARM OMAP4 panda: switch to new environment Sascha Hauer
2012-11-01 7:55 ` [PATCH 3/6] ARM OMAP4 panda xload: Enable MMU and Thumb2 support Sascha Hauer
2012-11-01 7:55 ` [PATCH 4/6] ARM OMAP3 beagle: switch to new environment Sascha Hauer
2012-11-01 7:55 ` [PATCH 5/6] ARM OMAP3 boards: Call omap3_core_init only from SRAM Sascha Hauer
2012-11-01 7:55 ` [PATCH 6/6] ARM OMAP3: Put reset() into its own section Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox