From 63834b91cb84dc181bc02095c23f799a07b5f5f4 Mon Sep 17 00:00:00 2001 From: Jarielle Catbagan Date: Fri, 21 Aug 2015 10:05:59 -0700 Subject: BBB: Add proper attributions to the files modified --- ports/beagleboneblack/config.h | 10 ++++---- ports/beagleboneblack/config_header.S | 10 +++++++- ports/beagleboneblack/cpuio.c | 19 ++++++++++++++++ ports/beagleboneblack/cpuio.h | 15 ++++++++++++ ports/beagleboneblack/gp_header.S | 11 ++++++++- ports/beagleboneblack/rom_reset.S | 7 +++--- ports/beagleboneblack/xcmddcl.h | 43 ++++++++++++++++++++++++----------- ports/beagleboneblack/xcmdtbl.h | 39 +++++++++++++++++++++++-------- 8 files changed, 120 insertions(+), 34 deletions(-) diff --git a/ports/beagleboneblack/config.h b/ports/beagleboneblack/config.h index 1475a8e..2592fdf 100644 --- a/ports/beagleboneblack/config.h +++ b/ports/beagleboneblack/config.h @@ -1,9 +1,5 @@ /* - * Monitor configuration file for the Beaglebone Black - * - * Adapted by Jarielle Catbagan - * email: jcatbagan93@gmail.com - * + * Monitor configuration file * * General notice: * This code is part of a boot-monitor package developed as a generic base @@ -17,6 +13,10 @@ * Author: Ed Sutter * email: esutter@lucent.com * phone: 908-582-2351 + * + * + * Adapted by Jarielle Catbagan for the Beaglebone Black + * email: jcatbagan93@gmail.com */ #include "am335x.h" diff --git a/ports/beagleboneblack/config_header.S b/ports/beagleboneblack/config_header.S index dbf6ff0..79da601 100644 --- a/ports/beagleboneblack/config_header.S +++ b/ports/beagleboneblack/config_header.S @@ -1,6 +1,14 @@ .file "config_header.S" -/* This is the Configuration Header TOC Structure that must be prepended to a GP Header followed +/* + * Copyright (c) 2015 Jarielle Catbagan + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * + * This is the Configuration Header TOC Structure that must be prepended to a GP Header followed * by the uMon image in order to boot from non-XIP devices such as an SD card using "raw" mode. * Please refer to the AM335x TRM, Section 26.1.7.5.5.1 "Configuration Header" for more information. */ diff --git a/ports/beagleboneblack/cpuio.c b/ports/beagleboneblack/cpuio.c index 22afb37..f6289fe 100644 --- a/ports/beagleboneblack/cpuio.c +++ b/ports/beagleboneblack/cpuio.c @@ -1,3 +1,22 @@ +/* + * General notice: + * This code is part of a boot-monitor package developed as a generic base + * platform for embedded system designs. As such, it is likely to be + * distributed to various projects beyond the control of the original + * author. Please notify the author of any enhancements made or bugs found + * so that all may benefit from the changes. In addition, notification back + * to the author will allow the new user to pick up changes that may have + * been made by other users after this version of the code was distributed. + * + * Author: Ed Sutter + * email: esutter@lucent.com + * phone: 908-582-2351 + * + * + * Adapted by Jarielle Catbagan for the Beaglebone Black + * email: jcatbagan93@gmail.com + */ + #include "config.h" #include "stddefs.h" #include "cpuio.h" diff --git a/ports/beagleboneblack/cpuio.h b/ports/beagleboneblack/cpuio.h index 0e64a09..d18d19d 100644 --- a/ports/beagleboneblack/cpuio.h +++ b/ports/beagleboneblack/cpuio.h @@ -1,3 +1,18 @@ +/* + * General notice: + * This code is part of a boot-monitor package developed as a generic base + * platform for embedded system designs. As such, it is likely to be + * distributed to various projects beyond the control of the original + * author. Please notify the author of any enhancements made or bugs found + * so that all may benefit from the changes. In addition, notification back + * to the author will allow the new user to pick up changes that may have + * been made by other users after this version of the code was distributed. + * + * Author: Ed Sutter + * email: esutter@lucent.com + * phone: 908-582-2351 + */ + #define DEFAULT_BAUD_RATE 115200 #define HWREAD32(a) *(volatile unsigned long *)(a) diff --git a/ports/beagleboneblack/gp_header.S b/ports/beagleboneblack/gp_header.S index 3efceae..fd463b5 100644 --- a/ports/beagleboneblack/gp_header.S +++ b/ports/beagleboneblack/gp_header.S @@ -1,7 +1,16 @@ .file "gp_header.S" -/* This GP header is prepended to uMon images when booting from non-XIP devices (e.g. SD). +/* + * Copyright (c) 2015 Jarielle Catbagan + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * + * This GP header is prepended to uMon images when booting from non-XIP devices (e.g. SD). * Refer to the AM335x TRM, Section 26.1.9 for more information. */ + .word BIN_SIZE + 8 .word 0x402f0400 diff --git a/ports/beagleboneblack/rom_reset.S b/ports/beagleboneblack/rom_reset.S index 98701a4..10c0ce2 100644 --- a/ports/beagleboneblack/rom_reset.S +++ b/ports/beagleboneblack/rom_reset.S @@ -15,10 +15,9 @@ * phone: 908-582-2351 * * - * Modified for the CSB740 - OMAP3530 Single Board - * - * rom_reset.s: - */ + * Adapted by Jarielle Catbagan for the Beaglebone Black + * email: jcatbagan93@gmail.com + */ #include "warmstart.h" #include "am335x.h" diff --git a/ports/beagleboneblack/xcmddcl.h b/ports/beagleboneblack/xcmddcl.h index 771e1da..9670fef 100644 --- a/ports/beagleboneblack/xcmddcl.h +++ b/ports/beagleboneblack/xcmddcl.h @@ -1,16 +1,33 @@ -/* xcmddcl.h: */ -/* This file must exist even if it is empty because it is #included in the */ -/* common file cmdtbl.c. The purpose is to keep the common comand table */ -/* file (common/cmdtbl.c) from being corrupted with non-generic commands */ -/* that may be target specific. */ -/* It is the declaration portion of the code that must be at the top of */ -/* the cmdtbl[] array. */ -/* For example: - -extern int dummycmd(); Function declaration. -extern char *dummyHelp[]; Command help array declaration. - -*/ +/* + * xcmddcl.h + * + * This file must exist even if it is empty because it is #included in the + * common file cmdtbl.c. The purpose is to keep the common comand table + * file (common/cmdtbl.c) from being corrupted with non-generic commands + * that may be target specific. + * It is the declaration portion of the code that must be at the top of + * the cmdtbl[] array. + * For example: + * extern int dummycmd(); Function declaration. + * extern char *dummyHelp[]; Command help array declaration. + * + * General notice: + * This code is part of a boot-monitor package developed as a generic base + * platform for embedded system designs. As such, it is likely to be + * distributed to various projects beyond the control of the original + * author. Please notify the author of any enhancements made or bugs found + * so that all may benefit from the changes. In addition, notification back + * to the author will allow the new user to pick up changes that may have + * been made by other users after this version of the code was distributed. + * + * Author: Ed Sutter + * email: esutter@lucent.com + * phone: 908-582-2351 + * + * + * Adapted by Jarielle Catbagan for the Beaglebone Black + * email: jcatbagan93@gmail.com + */ extern int mmc(); extern char *mmcHelp[]; diff --git a/ports/beagleboneblack/xcmdtbl.h b/ports/beagleboneblack/xcmdtbl.h index 70cc54f..6f74586 100644 --- a/ports/beagleboneblack/xcmdtbl.h +++ b/ports/beagleboneblack/xcmdtbl.h @@ -1,12 +1,31 @@ -/* xcmdtbl.h: */ -/* This file must exist even if it is empty because it is #included in the */ -/* common file cmdtbl.c. The purpose is to keep the common comand table */ -/* file (common/cmdtbl.c) from being corrupted with non-generic commands */ -/* that may be target specific. */ -/* It is the entry in the command table representing the new command being */ -/* added to the cmdtbl[] array. */ -/* For example: - { "dummy", dummycmd, dummyHelp, 0 }, -*/ +/* + * xcmdtbl.h + * + * This file must exist even if it is empty because it is #included in the + * common file cmdtbl.c. The purpose is to keep the common comand table + * file (common/cmdtbl.c) from being corrupted with non-generic commands + * that may be target specific. + * It is the entry in the command table representing the new command being + * added to the cmdtbl[] array. + * For example: + * { "dummy", dummycmd, dummyHelp, 0 }, + * + * General notice: + * This code is part of a boot-monitor package developed as a generic base + * platform for embedded system designs. As such, it is likely to be + * distributed to various projects beyond the control of the original + * author. Please notify the author of any enhancements made or bugs found + * so that all may benefit from the changes. In addition, notification back + * to the author will allow the new user to pick up changes that may have + * been made by other users after this version of the code was distributed. + * + * Author: Ed Sutter + * email: esutter@lucent.com + * phone: 908-582-2351 + * + * + * Adapted by Jarielle Catbagan for the Beaglebone Black + * email: jcatbagan93@gmail.com + */ {"mmc", mmc, mmcHelp, 0}, -- cgit v1.2.3