Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The USB Armory is almost the same as the i.MX53-QSB but it uses only one of the two RAM banks available in i.MX53. Furthermore we use the USB Armory only with Trustzone enabled. Ref #1422
- Loading branch information
Showing
12 changed files
with
132 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
SPECS += foc_arm platform_imx53 | ||
|
||
REP_INC_DIR += include/platform/imx53_qsb | ||
|
||
include $(call select_from_repositories,mk/spec-platform_imx53.mk) | ||
include $(call select_from_repositories,mk/spec-foc_arm.mk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# | ||
# \brief Build configurations for 'base-hw' on USB Armory | ||
# \author Martin Stein | ||
# \date 2015-02-24 | ||
# | ||
|
||
# denote wich specs are also fullfilled by this spec | ||
SPECS += hw platform_imx53 platform_usb_armory epit trustzone | ||
|
||
# configure multiprocessor mode | ||
NR_OF_CPUS = 1 | ||
|
||
# set address where to link the text segment at | ||
LD_TEXT_ADDR ?= 0x72000000 | ||
|
||
# add repository relative include paths | ||
REP_INC_DIR += include/platform/usb_armory | ||
|
||
# include implied specs | ||
include $(call select_from_repositories,mk/spec-hw.mk) | ||
include $(call select_from_repositories,mk/spec-platform_imx53.mk) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
repos/base/include/platform/imx53_qsb/drivers/board_base.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* \brief Board definitions for the i.MX53 starter board | ||
* \author Stefan Kalkowski | ||
* \date 2012-10-24 | ||
*/ | ||
|
||
/* | ||
* Copyright (C) 2012-2013 Genode Labs GmbH | ||
* | ||
* This file is part of the Genode OS framework, which is distributed | ||
* under the terms of the GNU General Public License version 2. | ||
*/ | ||
|
||
#ifndef _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ | ||
#define _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ | ||
|
||
/* Genode includes */ | ||
#include <platform/imx53/drivers/board_base_support.h> | ||
|
||
namespace Genode | ||
{ | ||
/** | ||
* i.MX53 starter board | ||
*/ | ||
struct Board_base : Imx53::Board_base | ||
{ | ||
enum { | ||
RAM0_BASE = 0x70000000, | ||
RAM0_SIZE = 0x20000000, | ||
RAM1_BASE = 0xb0000000, | ||
RAM1_SIZE = 0x20000000, | ||
}; | ||
}; | ||
} | ||
|
||
#endif /* _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ */ | ||
|
42 changes: 42 additions & 0 deletions
42
repos/base/include/platform/usb_armory/drivers/board_base.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/* | ||
* \brief Board definitions for the i.MX53 starter board | ||
* \author Stefan Kalkowski | ||
* \date 2012-10-24 | ||
*/ | ||
|
||
/* | ||
* Copyright (C) 2012-2013 Genode Labs GmbH | ||
* | ||
* This file is part of the Genode OS framework, which is distributed | ||
* under the terms of the GNU General Public License version 2. | ||
*/ | ||
|
||
#ifndef _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ | ||
#define _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ | ||
|
||
/* Genode includes */ | ||
#include <platform/imx53/drivers/board_base_support.h> | ||
|
||
namespace Genode | ||
{ | ||
/** | ||
* i.MX53 starter board | ||
*/ | ||
struct Board_base : Imx53::Board_base | ||
{ | ||
enum { | ||
/* | ||
* These two regions are physically one RAM region but we split it | ||
* to keep the enum names compliant with other i.MX53 boards. This | ||
* way, more files can be shared between the platforms. | ||
*/ | ||
RAM0_BASE = 0x70000000, | ||
RAM0_SIZE = 0x10000000, | ||
RAM1_BASE = 0x80000000, | ||
RAM1_SIZE = 0x10000000, | ||
}; | ||
}; | ||
} | ||
|
||
#endif /* _INCLUDE__PLATFORM__IMX53_QSB__DRIVERS__BOARD_BASE_H_ */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
REPOSITORIES += $(GENODE_DIR)/repos/base-hw | ||
|
||
## | ||
## Kernel-specific run tool configuration | ||
## | ||
|
||
RUN_OPT = --include boot_dir/hw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters