2014-01-07 16:06:21 +00:00
|
|
|
diff --git a/boards.cfg b/boards.cfg
|
|
|
|
index 2128996..0d9abd8 100644
|
|
|
|
--- a/boards.cfg
|
|
|
|
+++ b/boards.cfg
|
|
|
|
@@ -256,6 +256,7 @@ Active arm armv7 am33xx siemens dxr2
|
|
|
|
Active arm armv7 am33xx siemens pxm2 pxm2 - Roger Meier <r.meier@siemens.com>
|
|
|
|
Active arm armv7 am33xx siemens rut rut - Roger Meier <r.meier@siemens.com>
|
|
|
|
Active arm armv7 am33xx ti am335x am335x_boneblack am335x_evm:SERIAL1,CONS_INDEX=1,EMMC_BOOT Tom Rini <trini@ti.com>
|
|
|
|
+Active arm armv7 am33xx ti am335x am335x_bbb am335x_bbb:SERIAL1,CONS_INDEX=1 Ricardo Martins <rasm@fe.up.pt>
|
|
|
|
Active arm armv7 am33xx ti am335x am335x_evm am335x_evm:SERIAL1,CONS_INDEX=1,NAND Tom Rini <trini@ti.com>
|
|
|
|
Active arm armv7 am33xx ti am335x am335x_evm_nor am335x_evm:SERIAL1,CONS_INDEX=1,NAND,NOR Tom Rini <trini@ti.com>
|
|
|
|
Active arm armv7 am33xx ti am335x am335x_evm_norboot am335x_evm:SERIAL1,CONS_INDEX=1,NOR,NOR_BOOT Tom Rini <trini@ti.com>
|
|
|
|
diff --git a/include/configs/am335x_bbb.h b/include/configs/am335x_bbb.h
|
|
|
|
new file mode 100644
|
|
|
|
index 0000000..89c5835
|
|
|
|
--- /dev/null
|
|
|
|
+++ b/include/configs/am335x_bbb.h
|
|
|
|
@@ -0,0 +1,135 @@
|
|
|
|
+/*
|
|
|
|
+ * am335x_evm.h
|
|
|
|
+ *
|
|
|
|
+ * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
+ *
|
|
|
|
+ * This program is free software; you can redistribute it and/or
|
|
|
|
+ * modify it under the terms of the GNU General Public License as
|
|
|
|
+ * published by the Free Software Foundation version 2.
|
|
|
|
+ *
|
|
|
|
+ * This program is distributed "as is" WITHOUT ANY WARRANTY of any
|
|
|
|
+ * kind, whether express or implied; without even the implied warranty
|
|
|
|
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
+ * GNU General Public License for more details.
|
|
|
|
+ */
|
|
|
|
+
|
|
|
|
+#ifndef __CONFIG_AM335X_EVM_H
|
|
|
|
+#define __CONFIG_AM335X_EVM_H
|
|
|
|
+
|
|
|
|
+#include <configs/ti_am335x_common.h>
|
|
|
|
+
|
|
|
|
+#ifdef CONFIG_BOOTDELAY
|
|
|
|
+# undef CONFIG_BOOTDELAY
|
|
|
|
+#endif
|
|
|
|
+#define CONFIG_BOOTDELAY 0
|
|
|
|
+#define CONFIG_ZERO_BOOTDELAY_CHECK 1
|
|
|
|
+
|
|
|
|
+#undef CONFIG_BOOTM_NETBSD
|
|
|
|
+#undef CONFIG_BOOTM_PLAN9
|
|
|
|
+#undef CONFIG_BOOTM_RTEMS
|
|
|
|
+#undef CONFIG_BOOTM_VXWORKS
|
|
|
|
+#undef CONFIG_BOOTP_DNS
|
|
|
|
+#undef CONFIG_BOOTP_DNS2
|
|
|
|
+#undef CONFIG_BOOTP_SEND_HOSTNAME
|
|
|
|
+#undef CONFIG_CMD_ASKENV
|
|
|
|
+#undef CONFIG_CMD_BDI
|
|
|
|
+#undef CONFIG_CMD_BOOTD
|
|
|
|
+#undef CONFIG_CMD_CRC32
|
|
|
|
+#undef CONFIG_CMD_DFU
|
|
|
|
+#undef CONFIG_CMD_DHCP
|
|
|
|
+#undef CONFIG_CMD_EDITENV
|
|
|
|
+#undef CONFIG_CMD_EDITENV
|
|
|
|
+#undef CONFIG_CMD_EXPORTENV
|
|
|
|
+#undef CONFIG_CMD_FPGA
|
|
|
|
+#undef CONFIG_CMD_ITEST
|
|
|
|
+#undef CONFIG_CMD_LOADB
|
|
|
|
+#undef CONFIG_CMD_LOADS
|
|
|
|
+#undef CONFIG_CMD_MEMORY
|
|
|
|
+#undef CONFIG_CMD_MISC
|
|
|
|
+#undef CONFIG_CMD_NET
|
|
|
|
+#undef CONFIG_CMD_NFS
|
|
|
|
+#undef CONFIG_CMD_PING
|
|
|
|
+#undef CONFIG_CMD_SETGETDCR
|
|
|
|
+#undef CONFIG_CMD_SPI
|
|
|
|
+#undef CONFIG_DRIVER_TI_CPSW
|
|
|
|
+#undef CONFIG_MII
|
|
|
|
+#undef CONFIG_MUSB_GADGET
|
|
|
|
+#undef CONFIG_MUSB_HOST
|
|
|
|
+#undef CONFIG_NAND
|
|
|
|
+#undef CONFIG_OMAP3_SPI
|
|
|
|
+#undef CONFIG_SPI
|
|
|
|
+#undef CONFIG_SPI_BOOT
|
|
|
|
+#undef CONFIG_SPL_ETH_SUPPORT
|
|
|
|
+#undef CONFIG_SPL_NAND_LOAD
|
|
|
|
+#undef CONFIG_SPL_NAND_SUPPORT
|
|
|
|
+#undef CONFIG_SPL_SPI_FLASH_SUPPORT
|
|
|
|
+#undef CONFIG_SPL_SPI_LOAD
|
|
|
|
+#undef CONFIG_SPL_SPI_SUPPORT
|
|
|
|
+#undef CONFIG_SPL_YMODEM_SUPPORT
|
|
|
|
+#undef CONFIG_SYS_LONGHELP
|
|
|
|
+
|
|
|
|
+#define MACH_TYPE_TIAM335EVM 3589 /* Until the next sync */
|
|
|
|
+#define CONFIG_MACH_TYPE MACH_TYPE_TIAM335EVM
|
|
|
|
+
|
|
|
|
+/* Clock Defines */
|
|
|
|
+#define V_OSCK 24000000 /* Clock output from T2 */
|
|
|
|
+#define V_SCLK (V_OSCK)
|
|
|
|
+
|
|
|
|
+/* Custom script for NOR */
|
|
|
|
+#define CONFIG_SYS_LDSCRIPT "board/ti/am335x/u-boot.lds"
|
|
|
|
+
|
|
|
|
+/* Always 128 KiB env size */
|
|
|
|
+#define CONFIG_ENV_SIZE (128 << 10)
|
|
|
|
+
|
|
|
|
+#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
|
|
|
|
+
|
|
|
|
+#ifndef CONFIG_SPL_BUILD
|
|
|
|
+#define CONFIG_EXTRA_ENV_SETTINGS \
|
|
|
|
+ "loadaddr=0x80200000\0" \
|
|
|
|
+ "fdtaddr=0x80F80000\0" \
|
|
|
|
+ "console=ttyO0,115200n8\0" \
|
|
|
|
+ "mmcroot=/dev/mmcblk0p2\0" \
|
|
|
|
+ "mmcrootfstype=ext4\0"
|
|
|
|
+
|
|
|
|
+#define CONFIG_BOOTCOMMAND \
|
|
|
|
+ "setenv bootargs \"console=${console} root=${mmcroot} rootfstype=${mmcrootfstype} rootwait ro quiet\"; " \
|
|
|
|
+ "mmc dev 0; " \
|
2014-01-21 00:24:42 +00:00
|
|
|
+ "ext4load mmc0 0:2 ${loadaddr} /boot/kernel; " \
|
|
|
|
+ "ext4load mmc0 0:2 ${fdtaddr} /boot/board.dtb; " \
|
2014-01-07 16:06:21 +00:00
|
|
|
+ "bootz ${loadaddr} - ${fdtaddr}; "
|
|
|
|
+
|
|
|
|
+#endif
|
|
|
|
+
|
|
|
|
+/* NS16550 Configuration */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM1 0x44e09000 /* Base EVM has UART0 */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM2 0x48022000 /* UART1 */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM3 0x48024000 /* UART2 */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM4 0x481a6000 /* UART3 */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM5 0x481a8000 /* UART4 */
|
|
|
|
+#define CONFIG_SYS_NS16550_COM6 0x481aa000 /* UART5 */
|
|
|
|
+#define CONFIG_BAUDRATE 115200
|
|
|
|
+
|
|
|
|
+#define CONFIG_CMD_EEPROM
|
|
|
|
+#define CONFIG_ENV_EEPROM_IS_ON_I2C
|
|
|
|
+#define CONFIG_SYS_I2C_EEPROM_ADDR 0x50 /* Main EEPROM */
|
|
|
|
+#define CONFIG_SYS_I2C_EEPROM_ADDR_LEN 2
|
|
|
|
+#define CONFIG_SYS_I2C_MULTI_EEPROMS
|
|
|
|
+
|
|
|
|
+/* PMIC support */
|
|
|
|
+#define CONFIG_POWER_TPS65217
|
|
|
|
+#define CONFIG_POWER_TPS65910
|
|
|
|
+
|
|
|
|
+/* SPL */
|
|
|
|
+#define CONFIG_SPL_POWER_SUPPORT
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+/* Bootcount using the RTC block */
|
|
|
|
+#define CONFIG_BOOTCOUNT_LIMIT
|
|
|
|
+#define CONFIG_BOOTCOUNT_AM33XX
|
|
|
|
+
|
|
|
|
+/* SPI flash. */
|
|
|
|
+#define CONFIG_SPL_LDSCRIPT "$(CPUDIR)/am33xx/u-boot-spl.lds"
|
|
|
|
+
|
|
|
|
+#define CONFIG_ENV_IS_NOWHERE
|
|
|
|
+
|
|
|
|
+#endif /* ! __CONFIG_AM335X_EVM_H */
|