Add support for the Neuros production OSD

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2883 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-08-25 02:05:33 +00:00
parent 7c7fd8ea3e
commit 28cd48a49c
10 changed files with 95 additions and 37 deletions
+9 -1
View File
@@ -2,7 +2,9 @@ README
^^^^^^ ^^^^^^
This is the README file for the port of NuttX to the Neuros OSD This is the README file for the port of NuttX to the Neuros OSD
v1.0 Dev Board. References: v1.0 Dev Board. This port has recently been extended to V1.0
Production board (and that is now the default configuration).
References:
http://www.neurostechnology.com/neuros-developer-community http://www.neurostechnology.com/neuros-developer-community
http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home http://wiki.neurostechnology.com/index.php/OSD_1.0_Developer_Home
@@ -328,3 +330,9 @@ DM320 USB Configuration
GIO connected to D+. Support software connect/disconnect. GIO connected to D+. Support software connect/disconnect.
CONFIG_DMA320_USBDEV_DMA CONFIG_DMA320_USBDEV_DMA
Enable DM320-specific DMA support Enable DM320-specific DMA support
Neuros OSD Configuration Options
CONFIG_ARCH_NTOSD_DEVBOARD - Selects the old NTOSD development board.
The default is the production OSD board which differs in
several ways.
+7
View File
@@ -13,6 +13,13 @@ http://wiki.neurostechnology.com/index.php/The_Neuros_and_Open_Source
Status: Status:
^^^^^^^ ^^^^^^^
NOTE: These instructions are for the Neuros development board (and a
rather old version of NuttX),
http://wiki.neurostechnology.com/index.php/OSD_Developer_Board_v1
and have _not_ been updated for the Neuros OSD 1.0 consumer unit
(or for the current version of NuttX),
http://wiki.neurostechnology.com/index.php/Neuros_OSD_1.0
At present, the system only supports a serial console and timer At present, the system only supports a serial console and timer
interrupts so there is not to much that you can do with it. But I interrupts so there is not to much that you can do with it. But I
would be happy to work with anyone who is interested in using it. would be happy to work with anyone who is interested in using it.
+37 -1
View File
@@ -1,7 +1,7 @@
/************************************************************************************ /************************************************************************************
* arch/board/board.h * arch/board/board.h
* *
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@@ -44,6 +44,7 @@
* Definitions * Definitions
************************************************************************************/ ************************************************************************************/
/* Clocking *************************************************************************/
/* This platform has the ARM at 175 MHz and the DSP at 101.25 MHz */ /* This platform has the ARM at 175 MHz and the DSP at 101.25 MHz */
#define DM320_ARM_CLOCK 175500000 #define DM320_ARM_CLOCK 175500000
@@ -60,6 +61,41 @@
#define DM9000_BASE CONFIG_DM9000_BASE #define DM9000_BASE CONFIG_DM9000_BASE
/* Memory Map ***********************************************************************/
/* The Neuros development board has 16MiB RAM starting at 0x01000000 (physical) and
* 8MiB of FLASH. The Neuros OSD 1.0 consumer has 32MiB RAM starting at 0x01100000
* (physical) and 16MiB of FLASH.
*
* FIXME: Flash location may also differ on OSD 1.0 consumer unit!
*/
#ifdef CONFIG_ARCH_NTOSD_DEVBOARD
# if CONFIG_DRAM_START != 0x01000000
# error "Invalid setting for CONFIG_DRAM_START"
# endif
# if CONFIG_DRAM_SIZE != 0x01000000
# warning "Check CONFIG_DRAM_SIZE. This Neuros OSD has 0x01000000 bytes of SDRAM"
# endif
# if CONFIG_DRAM_NUTTXENTRY != 0x01008000
# warning "Check CONFIG_DRAM_NUTTXENTRY. Expected 0x01008000"
# endif
# define DM320_SDRAM_PSECTION 0x01000000 /* 496Mb many section -- */
# define DM320_SDRAM_PADDR 0x01000000 /* 496Mb many sections CW */
#else
# if CONFIG_DRAM_START != 0x01100000
# error "Invalid setting for CONFIG_DRAM_START"
# endif
# if CONFIG_DRAM_SIZE != 0x02000000
# warning "Check CONFIG_DRAM_SIZE. This Neuros OSD has 0x02000000 bytes of SDRAM"
# endif
# if CONFIG_DRAM_NUTTXENTRY != 0x01108000
# warning "Check CONFIG_DRAM_NUTTXENTRY. Expected 0x01108000"
# endif
# define DM320_SDRAM_PSECTION 0x01100000 /* 496Mb many section -- */
# define DM320_SDRAM_PADDR 0x01100000 /* 496Mb many sections CW */
#endif
/* GIO keyboard (GIO 1-5) */ /* GIO keyboard (GIO 1-5) */
#define KEY_MASK 0x003E #define KEY_MASK 0x003E
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/nettest/defconfig # configs/ntosd-dm320/nettest/defconfig
# #
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -129,7 +130,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/nsh/defconfig # configs/ntosd-dm320/nsh/defconfig
# #
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -136,7 +137,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/ostest/defconfig # configs/ntosd-dm320/ostest/defconfig
# #
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=y CONFIG_ARCH_STACKDUMP=y
@@ -136,7 +137,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/poll/defconfig # configs/ntosd-dm320/poll/defconfig
# #
# Copyright (C) 2008, 2009 Gregory Nutt. All rights reserved. # Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -129,7 +130,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/thttpd/defconfig # configs/ntosd-dm320/thttpd/defconfig
# #
# Copyright (C) 2009 Gregory Nutt. All rights reserved. # Copyright (C) 2009-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -133,7 +134,7 @@ CONFIG_UART1_2STOP=0
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_MOTOROLA_SREC=n CONFIG_MOTOROLA_SREC=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/udp/defconfig # configs/ntosd-dm320/udp/defconfig
# #
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -129,7 +130,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #
+6 -5
View File
@@ -1,7 +1,7 @@
############################################################################ ############################################################################
# configs/ntosd-dm320/uip/defconfig # configs/ntosd-dm320/uip/defconfig
# #
# Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. # Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
# Author: Gregory Nutt <spudmonkey@racsa.co.cr> # Author: Gregory Nutt <spudmonkey@racsa.co.cr>
# #
# Redistribution and use in source and binary forms, with or without # Redistribution and use in source and binary forms, with or without
@@ -65,11 +65,12 @@ CONFIG_ARCH_CHIP=dm320
CONFIG_ARCH_CHIP_DM320=y CONFIG_ARCH_CHIP_DM320=y
CONFIG_ARCH_BOARD=ntosd-dm320 CONFIG_ARCH_BOARD=ntosd-dm320
CONFIG_ARCH_BOARD_NTOSD_DM320=y CONFIG_ARCH_BOARD_NTOSD_DM320=y
CONFIG_ARCH_NTOSD_DEVBOARD=n
CONFIG_BOARD_LOOPSPERMSEC=16945 CONFIG_BOARD_LOOPSPERMSEC=16945
CONFIG_DRAM_SIZE=0x01000000 CONFIG_DRAM_SIZE=0x02000000
CONFIG_DRAM_START=0x01000000 CONFIG_DRAM_START=0x01100000
CONFIG_DRAM_VSTART=0x00000000 CONFIG_DRAM_VSTART=0x00000000
CONFIG_DRAM_NUTTXENTRY=0x01008000 CONFIG_DRAM_NUTTXENTRY=0x01108000
CONFIG_ARCH_INTERRUPTSTACK=0 CONFIG_ARCH_INTERRUPTSTACK=0
CONFIG_ARCH_STACKDUMP=n CONFIG_ARCH_STACKDUMP=n
@@ -129,7 +130,7 @@ CONFIG_UART1_2STOP=0
# #
CONFIG_RRLOAD_BINARY=n CONFIG_RRLOAD_BINARY=n
CONFIG_INTELHEX_BINARY=n CONFIG_INTELHEX_BINARY=n
CONFIG_RAW_BINARY=n CONFIG_RAW_BINARY=y
CONFIG_HAVE_LIBM=n CONFIG_HAVE_LIBM=n
# #