[PATCH] Updated console base address for BBB, added .gitignore
Jarielle Catbagan
jcatbagan93 at gmail.com
Wed Jun 17 08:29:39 UTC 2015
This patch includes the addition of .gitignore.
The console base address for BBB has been updated to reflect the
default UART, which is UART0.
---
.gitignore | 1 +
ports/beagleboneblack/Makefile | 2 +-
ports/beagleboneblack/config.h | 12 +++---------
3 files changed, 5 insertions(+), 10 deletions(-)
create mode 100644 .gitignore
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a01ee28
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+.*.swp
diff --git a/ports/beagleboneblack/Makefile b/ports/beagleboneblack/Makefile
index ca0e60c..61f2df6 100644
--- a/ports/beagleboneblack/Makefile
+++ b/ports/beagleboneblack/Makefile
@@ -23,7 +23,7 @@ CUSTOM_CFLAGS = -mcpu=arm1136j-s -O2 -isystem
$(ABIDIR)/include -Wno-char-subscr
# Memory map configuration:
# The following variables are used to establish the system's memory map.
#
-BOOTROMBASE=0x08000000
+BOOTROMBASE=0x402F0400
BOOTROMLEN=0x100000
BOOTRAMBASE=0x80000000
BOOTRAMLEN=0x100000
diff --git a/ports/beagleboneblack/config.h b/ports/beagleboneblack/config.h
index 8a05ff1..be92801 100644
--- a/ports/beagleboneblack/config.h
+++ b/ports/beagleboneblack/config.h
@@ -1,5 +1,5 @@
/*
- * Monitor configuration file for CSB740
+ * Monitor configuration file for the Beaglebone Black
*
* Adapted by Luis Torrico, Cogent Computer Systems, Inc.
* email: luis at cogcomp.com
@@ -19,13 +19,7 @@
* phone: 908-582-2351
*/
-/*
- * The target_putchar() function also drops the character at the
- * LCD...
- */
-//#define MORE_PUTCHAR lcd_putchar
-//#define CONSOLE_UART_BASE (OMAP35XX_L4_IO_BASE+0x6C000)
-#define CONSOLE_UART_BASE 0x4806C000
+#define CONSOLE_UART_BASE 0x44E09000
#define SIO_STEP 4
#define IEN_DEFAULT 0x40
@@ -39,7 +33,7 @@
* DEFAULT_IPADD could be set to "DHCP" or "BOOTP" as well.
*/
#define DEFAULT_ETHERADD "00:30:23:40:00:" // Cogent Block
-#define DEFAULT_IPADD "192.168.254.110"
+#define DEFAULT_IPADD "192.168.1.137"
#define CPU_LE
--
2.3.3
More information about the umon-devel
mailing list