summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.rootfs3
-rw-r--r--target/cris/kernel/foxboard-lx83249
-rw-r--r--target/cris/systems/foxboard-lx8329
-rw-r--r--target/linux/config/Config.in.flash14
4 files changed, 74 insertions, 1 deletions
diff --git a/target/config/Config.in.rootfs b/target/config/Config.in.rootfs
index 4c26cad1b..d5618bedb 100644
--- a/target/config/Config.in.rootfs
+++ b/target/config/Config.in.rootfs
@@ -96,7 +96,8 @@ config ADK_TARGET_ROOTFS_NFSROOT
!ADK_TARGET_SIM && \
!ADK_TARGET_VBOX && \
!ADK_TARGET_SYSTEM_ARANYM_M68K && \
- !ADK_TARGET_SYSTEM_ARM_FM
+ !ADK_TARGET_SYSTEM_ARM_FM && \
+ !ADK_TARGET_SYSTEM_FOXBOARD_LX832
help
Root filesystem mounted via NFS. (DHCP)
diff --git a/target/cris/kernel/foxboard-lx832 b/target/cris/kernel/foxboard-lx832
new file mode 100644
index 000000000..c62303a05
--- /dev/null
+++ b/target/cris/kernel/foxboard-lx832
@@ -0,0 +1,49 @@
+CONFIG_ETRAX_CMDLINE="root=/dev/mtdblock1"
+CONFIG_ETRAX_WATCHDOG=y
+CONFIG_ETRAX_FAST_TIMER=y
+CONFIG_ETRAX100LX_V2=y
+CONFIG_ETRAX_ARCH_V10=y
+CONFIG_ETRAX_DRAM_SIZE=8
+CONFIG_ETRAX_FLASH_BUSWIDTH=2
+CONFIG_ETRAX_FLASH1_SIZE=0
+CONFIG_ETRAX_DEBUG_PORT0=y
+CONFIG_ETRAX_DRAM_VIRTUAL_BASE=c0000000
+CONFIG_ETRAX_PA_LEDS=y
+CONFIG_ETRAX_LED1G=2
+CONFIG_ETRAX_LED1R=3
+CONFIG_ETRAX_LED2G=4
+CONFIG_ETRAX_LED2R=5
+CONFIG_ETRAX_LED3G=2
+CONFIG_ETRAX_LED3R=2
+CONFIG_ETRAX_RESCUE_SER0=y
+CONFIG_ETRAX_DEF_R_WAITSTATES=95a6
+CONFIG_ETRAX_DEF_R_BUS_CONFIG=104
+CONFIG_ETRAX_DEF_R_DRAM_CONFIG=1a200040
+CONFIG_ETRAX_DEF_R_DRAM_TIMING=5611
+CONFIG_ETRAX_DEF_R_PORT_PA_DIR=1c
+CONFIG_ETRAX_DEF_R_PORT_PA_DATA=00
+CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG=00
+CONFIG_ETRAX_DEF_R_PORT_PB_DIR=00
+CONFIG_ETRAX_DEF_R_PORT_PB_DATA=ff
+CONFIG_ETRAX_SERIAL=y
+CONFIG_ETRAX_SERIAL_FLUSH_DMA_FAST=y
+CONFIG_ETRAX_SERIAL_PORT0=y
+CONFIG_ETRAX_SER0_DTR_RI_DSR_CD_ON_NONE=y
+CONFIG_ETRAX_SER0_DTR_ON_PA_BIT=-1
+CONFIG_ETRAX_SER0_RI_ON_PA_BIT=-1
+CONFIG_ETRAX_SER0_DSR_ON_PA_BIT=-1
+CONFIG_ETRAX_SER0_CD_ON_PA_BIT=-1
+CONFIG_ETRAX_SER0_DTR_ON_PB_BIT=-1
+CONFIG_ETRAX_SER0_RI_ON_PB_BIT=-1
+CONFIG_ETRAX_SER0_DSR_ON_PB_BIT=-1
+CONFIG_ETRAX_SER0_CD_ON_PB_BIT=-1
+CONFIG_ETRAX_PTABLE_SECTOR=65536
+CONFIG_ETRAX_I2C=y
+CONFIG_ETRAX_GPIO=y
+CONFIG_ETRAX_PA_CHANGEABLE_DIR=00
+CONFIG_ETRAX_PA_CHANGEABLE_BITS=FF
+CONFIG_ETRAX_PB_CHANGEABLE_DIR=00
+CONFIG_ETRAX_PB_CHANGEABLE_BITS=FF
+CONFIG_ETRAX_SERIAL_PORT0_NO_DMA_OUT=y
+CONFIG_ETRAX_SERIAL_PORT0_NO_DMA_IN=y
+CONFIG_SECTION_MISMATCH_WARN_ONLY=y
diff --git a/target/cris/systems/foxboard-lx832 b/target/cris/systems/foxboard-lx832
new file mode 100644
index 000000000..057e0627d
--- /dev/null
+++ b/target/cris/systems/foxboard-lx832
@@ -0,0 +1,9 @@
+config ADK_TARGET_SYSTEM_FOXBOARD_LX832
+ bool "Foxboard LX832"
+ select ADK_TARGET_CPU_CRIS_CRISV10
+ select ADK_TARGET_WITH_MTD
+ select ADK_TARGET_KERNEL_IMAGE
+ select ADK_TARGET_KERNEL_WITH_COMPRESSION
+ help
+ Foxboard LX832 support
+
diff --git a/target/linux/config/Config.in.flash b/target/linux/config/Config.in.flash
index 89ed7e63f..070e5cabe 100644
--- a/target/linux/config/Config.in.flash
+++ b/target/linux/config/Config.in.flash
@@ -77,6 +77,20 @@ config ADK_KERNEL_MTD_CFI_STAA
config ADK_KERNEL_MTD_OF_PARTS
bool
+config ADK_KERNEL_ETRAX_AXISFLASHMAP
+ bool "Axis Flashmap driver"
+ select ADK_KERNEL_BLOCK
+ select ADK_KERNEL_MTD
+ select ADK_KERNEL_MTD_PARTITIONS
+ select ADK_KERNEL_MTD_CHAR
+ select ADK_KERNEL_MTD_BLKDEVS
+ select ADK_KERNEL_MTD_BLOCK
+ select ADK_KERNEL_MTD_ROOTFS_ROOT_DEV
+ select ADK_KERNEL_MTD_CFI
+ select ADK_KERNEL_MTD_CFI_INTELEXT
+ depends on ADK_TARGET_SYSTEM_FOXBOARD_LX832
+ default y if ADK_TARGET_SYSTEM_FOXBOARD_LX832
+
config ADK_KERNEL_MTD_M25P80
bool "MTD M25P80 driver"
select ADK_KERNEL_BLOCK