Commit Graph

824 Commits

Author SHA1 Message Date
patacongo 96e143f568 Need to set global power
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3180 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 04:20:55 +00:00
patacongo ebccf53570 Add start of USB host controller
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3176 42af7a65-404d-4744-a932-0658087f49c3
2010-12-15 02:03:21 +00:00
patacongo 5c1b9f0cd5 Create include/nuttx/usb directory
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3170 42af7a65-404d-4744-a932-0658087f49c3
2010-12-14 03:33:39 +00:00
patacongo 950f02ef11 LCD bug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3166 42af7a65-404d-4744-a932-0658087f49c3
2010-12-07 03:06:19 +00:00
patacongo 2971ed66c0 Add NX configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3165 42af7a65-404d-4744-a932-0658087f49c3
2010-12-06 05:15:14 +00:00
patacongo 8be8139d19 USB class drivers need to call DEV_CONNECT
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3159 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 17:35:19 +00:00
patacongo 59d25457d1 P14201 driver now uses new SPI cmddata method
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3158 42af7a65-404d-4744-a932-0658087f49c3
2010-12-04 01:56:50 +00:00
patacongo 45434cd49d Add cmddata method to the SPI interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3157 42af7a65-404d-4744-a932-0658087f49c3
2010-12-03 01:37:56 +00:00
patacongo 8ffd2fe4ef Fix dma-related register definitions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3152 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 22:31:28 +00:00
patacongo b9437abff4 Back out last change
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3151 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 21:20:21 +00:00
patacongo a92f128b34 Minor usb-related
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3150 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 19:35:24 +00:00
patacongo 8822ca3aba Misc USB fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3149 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 16:52:07 +00:00
patacongo 42c9324644 Debuggin SPI-based MicroSD card
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3147 42af7a65-404d-4744-a932-0658087f49c3
2010-11-30 01:55:22 +00:00
patacongo 5ce035e199 Enable network and SD/MMC card support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3145 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 17:26:08 +00:00
patacongo dcf1a752c4 Make size of LPC1766 EMAC RAM configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3142 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 13:37:41 +00:00
patacongo e3d544b780 Files needed to make LPC17xx EMAC RAM more configurable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3141 42af7a65-404d-4744-a932-0658087f49c3
2010-11-28 01:04:11 +00:00
patacongo c4482055d2 uip_arp_ipin needs a struct uip_driver_s as an input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3132 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 20:55:46 +00:00
patacongo 2978ada510 Enable Broadcast RX unconditionally
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3127 42af7a65-404d-4744-a932-0658087f49c3
2010-11-25 02:44:23 +00:00
patacongo f56992821c Misc receive improvements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3125 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 01:47:22 +00:00
patacongo 82519b509d Now get RX message
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3124 42af7a65-404d-4744-a932-0658087f49c3
2010-11-24 00:43:08 +00:00
patacongo 02cd4e9afc expand a comment
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3123 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 15:48:25 +00:00
patacongo 7a8f6fd6fd Fix final PHY configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3122 42af7a65-404d-4744-a932-0658087f49c3
2010-11-21 14:49:48 +00:00
patacongo 753e871807 Dumping wrong GPIO regs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3121 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 19:18:59 +00:00
patacongo 9dbc296256 Fixed debug logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3120 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 18:32:37 +00:00
patacongo a031ddc39f Fix Cortex-M3 nested interrupt hard fault
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3119 42af7a65-404d-4744-a932-0658087f49c3
2010-11-20 00:39:29 +00:00
patacongo 8c0e236c6f Add logic to clear pending EMAC interrupts
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3118 42af7a65-404d-4744-a932-0658087f49c3
2010-11-18 01:36:04 +00:00
patacongo 26687ad87f misc updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3116 42af7a65-404d-4744-a932-0658087f49c3
2010-11-17 03:16:26 +00:00
patacongo b003840d5d cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3115 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 03:48:55 +00:00
patacongo cb9ded19c7 Initial debug fixes for LPC1766 ethernet
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3114 42af7a65-404d-4744-a932-0658087f49c3
2010-11-16 02:50:52 +00:00
patacongo c43ead1a49 Fix bugs/typos from code review
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3113 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 22:58:48 +00:00
patacongo 72a5fdfdd9 Fix some cloning errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3112 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 21:12:59 +00:00
patacongo 99e6693dc4 Fix compile errors with debug on
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3111 42af7a65-404d-4744-a932-0658087f49c3
2010-11-15 02:25:06 +00:00
patacongo 3bbbecd347 Clean-up and document LP17xx ethernet driver configuration settings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3109 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 17:33:45 +00:00
patacongo 06ab352a16 Finishes first cut of lpc17xx Ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3108 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 15:32:48 +00:00
patacongo 5c508e5f15 Add Rx logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3107 42af7a65-404d-4744-a932-0658087f49c3
2010-11-14 14:33:47 +00:00
patacongo 22d47d2263 Add ethernet interrupt handler
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3106 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 19:31:01 +00:00
patacongo ab6ca23572 Finish Ethernet initialization logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3105 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 18:35:30 +00:00
patacongo 1f423c1c68 Add tx/rx descriptor initialization
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3104 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 17:55:38 +00:00
patacongo e5e5d8f404 ifup() is partially complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3103 42af7a65-404d-4744-a932-0658087f49c3
2010-11-13 03:53:14 +00:00
patacongo 451bfc3f93 mostly cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3102 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 23:15:30 +00:00
patacongo a63db19e0e Tinkering with PHY init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3101 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 05:48:28 +00:00
patacongo c4d8a83238 Add PHY init logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3100 42af7a65-404d-4744-a932-0658087f49c3
2010-11-12 04:21:23 +00:00
patacongo 2736f2b650 minor fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3096 42af7a65-404d-4744-a932-0658087f49c3
2010-11-11 11:33:21 +00:00
patacongo 52030ca3d5 Add nettest and begining of lpc17xx ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3095 42af7a65-404d-4744-a932-0658087f49c3
2010-11-11 02:19:40 +00:00
patacongo 2a02450c46 update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3057 42af7a65-404d-4744-a932-0658087f49c3
2010-10-29 22:56:00 +00:00
patacongo 2442dafe60 Add skeleton for LPC17xx ethernet driver
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3056 42af7a65-404d-4744-a932-0658087f49c3
2010-10-29 15:02:22 +00:00
patacongo 13ac4eb82d Fix a signal trampoline bug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3053 42af7a65-404d-4744-a932-0658087f49c3
2010-10-27 01:46:08 +00:00
patacongo 4fe893346c More context switching logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3016 42af7a65-404d-4744-a932-0658087f49c3
2010-10-15 01:05:15 +00:00
patacongo 198db02acd Add stubs for AVR32 IRQ controls
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2988 42af7a65-404d-4744-a932-0658087f49c3
2010-10-09 22:02:25 +00:00
patacongo 497c4187d2 Add skeleton of AVR32 init
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2975 42af7a65-404d-4744-a932-0658087f49c3
2010-10-08 01:34:16 +00:00
patacongo 63d189c52a Make better use of these deep FIFOs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2958 42af7a65-404d-4744-a932-0658087f49c3
2010-10-01 03:28:41 +00:00
patacongo 11440645f9 cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2955 42af7a65-404d-4744-a932-0658087f49c3
2010-10-01 00:12:59 +00:00
patacongo 52fc532126 SPI debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2953 42af7a65-404d-4744-a932-0658087f49c3
2010-09-30 02:39:20 +00:00
patacongo b4346ff7bd Corrections to the LM3S8962 port
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2950 42af7a65-404d-4744-a932-0658087f49c3
2010-09-29 00:55:09 +00:00
patacongo f3d2696bfd Still debugging AT45DB and SPI
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2944 42af7a65-404d-4744-a932-0658087f49c3
2010-09-12 16:38:02 +00:00
patacongo e52cd4f959 Early AT45DB debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2943 42af7a65-404d-4744-a932-0658087f49c3
2010-09-12 14:35:25 +00:00
patacongo e28f395393 Add support for SPI NOR chip select
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2938 42af7a65-404d-4744-a932-0658087f49c3
2010-09-11 02:53:07 +00:00
patacongo 3146413533 Fix heap layout issue
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2925 42af7a65-404d-4744-a932-0658087f49c3
2010-09-06 20:48:39 +00:00
patacongo 68971c68ca This is the correct fix to the problem
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2924 42af7a65-404d-4744-a932-0658087f49c3
2010-09-06 19:45:28 +00:00
patacongo 4ea893b52a Fix clearing of SRAM when clocks reset
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2923 42af7a65-404d-4744-a932-0658087f49c3
2010-09-06 16:21:54 +00:00
patacongo 379fc8e548 paging debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2922 42af7a65-404d-4744-a932-0658087f49c3
2010-09-05 19:13:48 +00:00
patacongo e52f5bdfb3 APB0 and APB1 must be in same MMU section
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2921 42af7a65-404d-4744-a932-0658087f49c3
2010-09-05 14:31:46 +00:00
patacongo 154cb1ecdf boardinit call doesn't depend on CONFIG_ARCH_LEDs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2920 42af7a65-404d-4744-a932-0658087f49c3
2010-09-05 02:05:33 +00:00
patacongo 5ab4ef9008 Basic MMU setup seems ok now
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2919 42af7a65-404d-4744-a932-0658087f49c3
2010-09-05 01:22:04 +00:00
patacongo c5c7249061 Remove unused lpc17_usbinitialize()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2915 42af7a65-404d-4744-a932-0658087f49c3
2010-09-03 15:36:09 +00:00
patacongo dafdc89f5f Add LM3S8962 support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2914 42af7a65-404d-4744-a932-0658087f49c3
2010-09-03 15:14:28 +00:00
patacongo 6aa5aa20e1 Missed definition for 4Kb page case
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2910 42af7a65-404d-4744-a932-0658087f49c3
2010-09-02 17:43:52 +00:00
patacongo 7c4b74e4f6 Initial allocated page must be read/write/non-cacheable
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2909 42af7a65-404d-4744-a932-0658087f49c3
2010-09-01 23:52:38 +00:00
patacongo b4559a2fcb Fix units used in page table address calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2908 42af7a65-404d-4744-a932-0658087f49c3
2010-09-01 21:28:14 +00:00
patacongo 60b5d914d1 Fix virtual address of page table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2907 42af7a65-404d-4744-a932-0658087f49c3
2010-09-01 20:20:07 +00:00
patacongo 900c075c8f Misc. paging fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2906 42af7a65-404d-4744-a932-0658087f49c3
2010-09-01 17:41:12 +00:00
patacongo b5c7d19d35 Pointless debug changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2905 42af7a65-404d-4744-a932-0658087f49c3
2010-09-01 03:59:38 +00:00
patacongo da0bf28ef5 Fix error in conditional compilation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2903 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 22:19:40 +00:00
patacongo d494bce42b Handle the case of an identity phys-to-virt mapping
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2902 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 19:57:41 +00:00
patacongo 41e5689c0c Fix page table size calculation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2901 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 04:05:28 +00:00
patacongo 080076454e page tables must be aligned
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2900 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 03:51:19 +00:00
patacongo e6c5fbef2e Add paging debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2899 42af7a65-404d-4744-a932-0658087f49c3
2010-08-31 02:21:12 +00:00
patacongo dbbc4214ae typo
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2894 42af7a65-404d-4744-a932-0658087f49c3
2010-08-28 18:43:24 +00:00
patacongo 55f0a5590a Fix missing parentheses in macros
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2891 42af7a65-404d-4744-a932-0658087f49c3
2010-08-28 02:41:45 +00:00
patacongo b111e57685 Add support for 2-pass link
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2890 42af7a65-404d-4744-a932-0658087f49c3
2010-08-28 02:30:50 +00:00
patacongo 061d9b5f88 Extend CodeSourcery & production OSD support to other configs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2884 42af7a65-404d-4744-a932-0658087f49c3
2010-08-25 11:03:59 +00:00
patacongo 3dc2b95632 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
2010-08-25 02:05:33 +00:00
patacongo 0e68a21421 Fix heap/page table overlap; Switch to 1Kb pages
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2881 42af7a65-404d-4744-a932-0658087f49c3
2010-08-24 02:03:45 +00:00
patacongo e7f7ca17a4 First round of changes made during debug
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2880 42af7a65-404d-4744-a932-0658087f49c3
2010-08-22 16:46:42 +00:00
patacongo 019ddd2b3b Fix demand-paging compilation errors
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2879 42af7a65-404d-4744-a932-0658087f49c3
2010-08-22 03:44:18 +00:00
patacongo e99ced06e5 simplification
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2878 42af7a65-404d-4744-a932-0658087f49c3
2010-08-22 01:35:53 +00:00
patacongo 315b7c521a Update On-demand paging documentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2877 42af7a65-404d-4744-a932-0658087f49c3
2010-08-22 00:48:43 +00:00
patacongo 944e132e95 Finishes basic paging support
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2876 42af7a65-404d-4744-a932-0658087f49c3
2010-08-21 22:27:42 +00:00
patacongo 11dc28963d Fix issues of virtual vs physical sizes of regions
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2875 42af7a65-404d-4744-a932-0658087f49c3
2010-08-21 21:53:41 +00:00
patacongo 3f4da59045 Basic page allocation logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2874 42af7a65-404d-4744-a932-0658087f49c3
2010-08-21 19:17:39 +00:00
patacongo bb2918d418 Add mapping for the page table
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2872 42af7a65-404d-4744-a932-0658087f49c3
2010-08-21 02:09:12 +00:00
patacongo 15254662e9 Fix data region mappin
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2871 42af7a65-404d-4744-a932-0658087f49c3
2010-08-20 12:42:34 +00:00
patacongo 84690e556e More paging changed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2870 42af7a65-404d-4744-a932-0658087f49c3
2010-08-20 03:01:57 +00:00
patacongo d56c9db264 Paging update
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2869 42af7a65-404d-4744-a932-0658087f49c3
2010-08-19 15:43:20 +00:00
patacongo a394b443d4 More paging changes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2868 42af7a65-404d-4744-a932-0658087f49c3
2010-08-19 12:57:16 +00:00
patacongo 1ea1e6a0c8 Added comments
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2865 42af7a65-404d-4744-a932-0658087f49c3
2010-08-18 16:15:37 +00:00
patacongo 2b68bc05f5 Fix various compile issues
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2864 42af7a65-404d-4744-a932-0658087f49c3
2010-08-18 00:35:53 +00:00
patacongo e057af9a47 Skeletons for remaining paging files to be implemented
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2863 42af7a65-404d-4744-a932-0658087f49c3
2010-08-17 19:28:51 +00:00
patacongo f2ca6424cc First cut at data abort page handling logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2862 42af7a65-404d-4744-a932-0658087f49c3
2010-08-17 15:41:09 +00:00
patacongo 5c588c9329 Start data abort handler (not finished)
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2861 42af7a65-404d-4744-a932-0658087f49c3
2010-08-17 13:45:45 +00:00