Commit Graph

254 Commits

Author SHA1 Message Date
Gregory Nutt
ec47914cf8 Convert existing board specific PHY interrupt interfaces to use newly defined standard interface 2014-08-16 08:35:31 -06:00
Gregory Nutt
d79c311508 SAMA5 setenv.sh: Add another CodeSourcery install path 2014-08-16 08:33:20 -06:00
Gregory Nutt
eef608b942 Update README files 2014-08-12 10:01:12 -06:00
Gregory Nutt
1787b3e600 SAMA5: Enable the 32.768 crystal if SCHED_TICKLESS is selected 2014-08-11 14:29:43 -06:00
Gregory Nutt
c6273d083d Updated README files 2014-08-10 20:02:45 -06:00
Gregory Nutt
c7a51f4ef1 Cosmetic changed, updated README files, improved comments 2014-08-10 13:11:31 -06:00
Gregory Nutt
b39b227e2a Update README files 2014-08-10 11:34:20 -06:00
Gregory Nutt
0aa7209765 Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK. This gives more options for system timers in general, but more importantly, let's us realize higher resolution for the case of CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new interger overvflow problems 2014-08-07 13:42:47 -06:00
Gregory Nutt
caba61999a Remove CONFIG_DISABLE_CLOCK 2014-08-07 12:35:24 -06:00
Gregory Nutt
5e045c26c2 Updated README 2014-08-06 12:30:35 -06:00
Gregory Nutt
0e134b5233 Update some defconfig files; enable network initialization thread 2014-08-06 12:22:51 -06:00
Gregory Nutt
b33beb3e20 NSH Networking: Also add an option to let platform-specific logic select the MAC address. 2014-08-06 10:12:10 -06:00
Gregory Nutt
23024b2d6a SAMA5: Some usage documents for media players 2014-08-04 19:23:20 -06:00
Gregory Nutt
cc5c1b6539 WM8904: Update READMEs and defconfigs to last tested configuration 2014-08-04 15:36:16 -06:00
Gregory Nutt
e30d31367a WM8904 interface enable method now returns the previous interrupt state. Correct ordering of some WM8904: Need to provide MCLK before initializing the WM8904, not after 2014-08-04 14:56:20 -06:00
Gregory Nutt
eebdae30b2 Correct the WM8904 interrupt configuration, active high level. Fix that and don't pull-up 2014-08-04 14:54:20 -06:00
Gregory Nutt
1f213064e0 SAMA5 WM8904: Add option to use MAINCK as WM8904 MCLK 2014-08-03 11:01:02 -06:00
Gregory Nutt
159bcc255d SAMA5 PCK: Add Main clock as an option for the PCK clock source 2014-08-03 10:17:50 -06:00
Gregory Nutt
1f2428c087 WM8904: Ad the MCLK frequency to the interface definition. The WM8904 driver needs to know this frequency in order to configure the FLL to generate the correct bitrate 2014-08-01 18:37:56 -06:00
Gregory Nutt
83dab03576 SAMA5 WM8904: Fix errors in programmable clock output configuration 2014-08-01 15:18:58 -06:00
Gregory Nutt
805a02965c SAMA5 SSC: Start Delay is now configurable 2014-08-01 14:10:37 -06:00
Gregory Nutt
50bd2ba46c SAMA5 SSC: Frame Synch Delay is now configurable 2014-08-01 12:25:31 -06:00
Gregory Nutt
c657139b30 SAMA5D3X-EK: Add support for the WM8904 audio CODEC 2014-07-31 11:14:57 -06:00
Gregory Nutt
0ad5d9f85d Add short document for running the NxWM demo 2014-07-31 08:18:07 -06:00
Gregory Nutt
2bdb126d2c SAMA5D4-EK NxWM: The USB keyboard is now the default input device 2014-07-30 17:37:02 -06:00
Gregory Nutt
f91c608d4c dd support for a USB keyboard as the NxConsole and text widget input. Not fully functional as of this initial check-in. Basic functionality is there, but there are conditions were the keyboard gets lost. 2014-07-30 17:01:51 -06:00
Gregory Nutt
376a7bcc12 Costmetic: Update TODO list, README files, refreshed configuration, updated comments 2014-07-30 14:26:50 -06:00
Gregory Nutt
276cc44878 SAMA5 HSMCI: e-enable TX DMA and verify that DMA writes to the SD card are functional. They are so now TX DMA is re-enabled in the driver. This might affect the SAMA5D3 platforms where the TX DMA problem was found. The SAMA4D3 and 4 use the same HSMCI driver. Much has change since then and it is not surprising that DMA is now functional. However, the has not be re-verified on the SAMA5D3 which has a different DMA controller. 2014-07-30 11:20:06 -06:00
Gregory Nutt
9c80dfb31c Updated README file, cosmetic changes to comments and debug output 2014-07-30 10:19:09 -06:00
Gregory Nutt
941df0945a Update TODO listi and README 2014-07-29 20:02:34 -06:00
Gregory Nutt
a826adb679 The SAMA5D4-EK NSH and NxWM configurations now have the auto-mounter configured to automatically mount the FAT file system on HSMCI0 at /mnt/sdcard 2014-07-29 16:36:15 -06:00
Gregory Nutt
3d49eadc80 Cosmetic updates to comments and README files and some naming 2014-07-29 16:35:47 -06:00
Gregory Nutt
d547e59767 Minor warning/latent bug clean-up of auto-mounter logic 2014-07-29 16:35:17 -06:00
Gregory Nutt
7b1b915226 SAMA5D4: Add auto-mounter support for HSMCI0 2014-07-29 15:34:31 -06:00
Gregory Nutt
35d8e3bfcb Update ChangeLog 2014-07-29 12:52:21 -06:00
Gregory Nutt
551b106e2b SAMA5: Poll USB keyboard at a higher rate for better response 2014-07-29 08:57:35 -06:00
Gregory Nutt
53930d5531 SAMA5D-EK: Correct system timer frequency. Input clock is MCK/2, not MCK 2014-07-29 07:12:36 -06:00
Gregory Nutt
1b6eec572d Cosmetic changes to comments 2014-07-29 07:11:16 -06:00
Gregory Nutt
a428bb753f SAMA5D4-EK: Disable PMIC workaround... it does not work 2014-07-28 17:48:55 -06:00
Gregory Nutt
8c2b458d75 Fixes to last SAMA5 PMIC checkin 2014-07-28 17:09:37 -06:00
Gregory Nutt
950a6979ec SAMA5D4-EK: Add logic to disable the faulty PMIC. This must be done with JP23 open. It is perfomed only from the DRAMBOOT loader 2014-07-28 16:34:19 -06:00
Gregory Nutt
d09ee81320 Change naming from cp_XYZ_cache() to arch_XYP_cache() so that all cache operations will pick up L2 support if it is enabled 2014-07-26 18:47:33 -06:00
Gregory Nutt
16eef02eec Updated README 2014-07-25 10:03:01 -06:00
Gregory Nutt
2b07f11c69 AMA5D4-EK NxWM: Configuration refreshed 2014-07-24 15:06:19 -06:00
Gregory Nutt
82aa010083 NxWM: Beginning integration of NxPlayer into Nxwm::MediaPlayer. Gets handle, sets device, and releases handle. Lots more to be done 2014-07-23 18:19:00 -06:00
Gregory Nutt
4e96cacc80 SAMA5D4-EK NSH: Enable the command line media player in the NSH configuration as well (still does not work, however). 2014-07-23 15:33:54 -06:00
Gregory Nutt
8621769516 SAMA5D4 NxWM: Configuration now has the audio subsystem and the NxPlayer enabled 2014-07-23 15:20:54 -06:00
Gregory Nutt
ca7d7c34ce Audio: Add a NULL audio device that can be used to simply unit-level testing of audio decoders 2014-07-23 10:12:32 -06:00
Gregory Nutt
c79f86c72c SAMA5D3/4: All configurations. I suspect a MMC/SD multi-block DMA transfer issue. So for name, this feature is disabled in all configurations 2014-07-23 07:58:10 -06:00
Gregory Nutt
d7a9633dcd Rename pcm_decode.h to pcm.h since it will hold more than just decoding definitions. Fix some porting errors like idbg should auddbg, etc. Add wav file header and a few low-level wav utilities. 2014-07-22 15:54:56 -06:00
Gregory Nutt
a4dcd690bb Add new framework for the PCM decoder. It is now a 'front end' for lower-level drivers like the WM8904 that performs the PCM decoding from end 2014-07-22 11:54:13 -06:00
Gregory Nutt
9c30888fd6 Update README 2014-07-22 09:25:38 -06:00
Gregory Nutt
3d384de76f Updated README 2014-07-21 18:38:41 -06:00
Gregory Nutt
5b659a0987 SAMA5D4-EK: HSMCI0 must use XDMAC0 (or made unsecure) 2014-07-21 17:54:37 -06:00
Gregory Nutt
f4bcb730d2 WM8904 w/NxPlayer: Fix some compile errors and warnings with debug enabled 2014-07-20 09:17:36 -06:00
Gregory Nutt
4f6625380b The WM8904 audio driver is mostly code complete and ready to begin initial testing 2014-07-19 18:52:58 -06:00
Gregory Nutt
f0b94617b2 SAMA5D4-EK: Add PCK pin disambiguation 2014-07-19 13:56:29 -06:00
Gregory Nutt
d8f85d1caa SAMA5 PCK: Add support for the slow clock as the PCK clock source 2014-07-19 13:55:08 -06:00
Gregory Nutt
bad3ad58cb SAMA5: Add slow clock support 2014-07-19 13:07:55 -06:00
Gregory Nutt
6d9f9e37bf SAMA5D4-EK: Add WM8904 initialization logic 2014-07-19 11:58:53 -06:00
Gregory Nutt
916729578e WM8904: A few initial definitions for for the SAMA5D4-EK 2014-07-17 17:57:57 -06:00
Gregory Nutt
59d0be1b96 SAMA5D4-EK NxWM Configuration: Increase number of preallocated watchdogs and don't save child status (it is not being reaped) 2014-07-17 17:56:36 -06:00
Gregory Nutt
c7d8b6414f NxWM: Increase default priority of mouse and keyboard listener threads. Does not seem to make any difference but still seems like a good idea 2014-07-17 15:06:05 -06:00
Gregory Nutt
288fd4c1e7 NxWM::CApplicationWindow: Created the custom font for the toolbar title, but never used it. 2014-07-17 13:38:37 -06:00
Gregory Nutt
ee3ea73671 NxWidgets::CGlyphSliderHorizontal: No longer uses a hard-coded slider height; the slider height is now provided as a parameter, replacing the widget height which is now calculated from the glip image height 2014-07-17 12:12:02 -06:00
Gregory Nutt
8182037783 Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN 2014-07-16 16:31:31 -06:00
Gregory Nutt
d70769a832 NxWM::CMediaPlayer: Convert CLabel to a CListBox 2014-07-16 14:11:02 -06:00
Gregory Nutt
e8a458d723 NxWM::CMediaPlayer: Fix of state related bugs + Size if CLabel is increased (in preparation for becoming a CListBox) 2014-07-16 11:11:55 -06:00
Gregory Nutt
b9fa6f9a3c SAMA5D4-EK: Use borders around buttons 2014-07-14 17:01:59 -06:00
Gregory Nutt
11a297a881 SAMA4D3/4-EK NxWM: Use larger fonts 2014-07-14 11:23:41 -06:00
Gregory Nutt
d2605a5dde SAMA5D4-EK: Media player is enabled in the NxWM configuration 2014-07-14 09:38:04 -06:00
Gregory Nutt
8bd08ea180 Minor update to README 2014-07-13 18:22:34 -06:00
Gregory Nutt
d063128a79 SAMA5D4-EK: NxWM configuration uses large fonts by default 2014-07-13 18:22:18 -06:00
Gregory Nutt
03517717a0 SAMA5D4-EK: Valid MXT interrupts should only occur on the falling edge of the ~CHG signal 2014-07-12 14:03:08 -06:00
Gregory Nutt
6818fd0d8f SAMA5D4-EK: The MXT should be able to handle an I2C frequency of 400KHz 2014-07-12 14:02:24 -06:00
Gregory Nutt
3a6ea3642f SAMA5 LCDC: Back out the delay kludge. Increase the LCDC input clock from MCK to 2*MCK was sufficient for all timing instbility problems 2014-07-12 11:24:14 -06:00
Gregory Nutt
8d1feb7a54 SAMA5D4-EK LCDC: Change source clock to 2*Mck seems to solve stability issues 2014-07-12 09:45:05 -06:00
Gregory Nutt
253110bbf1 SAMA5D4-EK LCDC: Adding a delay after enabling the LCD solves lots of start-up timing issues 2014-07-12 08:05:22 -06:00
Gregory Nutt
39c6f74966 SAMA5D4x-EK NxWM: Update background colors to match the calibration screen 2014-07-11 21:25:18 -06:00
Gregory Nutt
ba22619749 NX: Don't change the background if the color has not really changed 2014-07-11 20:47:12 -06:00
Gregory Nutt
2dd9ce50c8 Clean-up up some warning 2014-07-11 11:58:46 -06:00
Gregory Nutt
b2af7399b3 Fixes for clean NxWM build; Updated README files 2014-07-10 15:29:41 -06:00
Gregory Nutt
72dcd81552 Update README's to document the new SAMA5D4-EK NxWM configuration 2014-07-10 14:10:36 -06:00
Gregory Nutt
1ca4fee7a9 SAMA5D4-EK: Add an NxWM configuration 2014-07-10 14:00:56 -06:00
Gregory Nutt
7dd6d3d588 SAMA5D4-EK: The NX graphics example is now enabled by default 2014-07-10 12:38:18 -06:00
Gregory Nutt
95df6bd3de SAMA5D4-EK LCD: Actual hardware with appears to be RGB888 2014-07-10 12:23:41 -06:00
Gregory Nutt
89024f3698 SAMA5D4-EK: LCDC works (with a few color problems) 2014-07-10 12:03:10 -06:00
Gregory Nutt
f97113c5ef SAMA5D4-EK: The maXTouch controller and test is now enabled by default in the NSH configuration 2014-07-10 08:42:25 -06:00
Gregory Nutt
74cf0a90b0 SAMA5D44-EK: Cosmetic changes 2014-07-09 07:18:43 -06:00
Gregory Nutt
695d1d933c Some cosmetic typo fixes 2014-07-09 07:12:16 -06:00
Gregory Nutt
e4da8fee6f SAMA5D4-EK: Add options to support an LCD 2014-07-08 12:46:18 -06:00
Gregory Nutt
28d23da04a SAMA5D4-EK: Add the button test to the NSH configuration 2014-07-07 17:06:25 -06:00
Gregory Nutt
befcb1c961 Fix some cloned errors in SAM GPIO interrupt setup 2014-07-07 15:54:37 -06:00
Gregory Nutt
ab8506163a maXTouch: Fix some issues with interrupt handling 2014-07-07 13:25:20 -06:00
Gregory Nutt
e70a5ad3b0 SAMAa5D4-EK: Updated README 2014-07-06 09:43:26 -06:00
Gregory Nutt
b4d3cebc2f maXTouch: Fix I2C address, errors when debug enable, reorganize some data 2014-07-06 08:03:34 -06:00
Gregory Nutt
560409c912 MXT interface does not need an IRQ number; SAMA5D4-EK setup omitted I2C frequency 2014-07-05 17:47:17 -06:00
Gregory Nutt
6f4a218c84 Clean-up some comments 2014-07-05 17:15:38 -06:00
Gregory Nutt
816e48bf39 SAMA5D4-EK: Add board support for the maXTouch 2014-07-05 17:12:14 -06:00
Gregory Nutt
44988c6ca6 Rename apps/examples/uip to apps/examples/webserver 2014-07-03 17:31:17 -06:00
Gregory Nutt
f6456f6d0d NSH Keyboard: Close stdin before trying to reopen. Otherwise, driver will persist 2014-07-03 17:08:59 -06:00
Gregory Nutt
ef839c1436 NSH: Add an option to take stdin from a USB keyboard device 2014-07-03 16:25:02 -06:00
Gregory Nutt
a5538e3431 SAMA5D3/4: UPLL divisor to generate 48MHz for OHCI is different from the two families. No idea why. 2014-07-03 12:28:11 -06:00
Gregory Nutt
d5d12d6e55 SAMA5D4-EK: Add support for USB host 2014-07-03 11:22:15 -06:00
Gregory Nutt
ab3d499be8 Merge remote-tracking branch 'origin/master' into netiob 2014-07-02 16:05:32 -06:00
Gregory Nutt
0eb1666cb0 NET: Rename uiplib/UIPLIB to netlib/NETLIB 2014-07-02 16:04:25 -06:00
Gregory Nutt
a7933cc22b SAMA5D4-EK: NSH should run at 528MHz 2014-07-02 15:31:52 -06:00
Gregory Nutt
ee2725c146 SAMA5D4-EK: NSH configuration now has TWI0 enabled and supports the I2C tool 2014-07-02 13:51:57 -06:00
Gregory Nutt
19f66cd92b SAMA5D3-EK: Enable the procfs file system in the NSH configuration 2014-07-02 13:08:39 -06:00
Gregory Nutt
1c198f6a86 SAMA5D4 EMAC: Add a kludge to work around a suspected hardware issue 2014-07-02 12:17:01 -06:00
Gregory Nutt
a2741940f9 SAMA54D-EK: Don't disable any features in the NSH configuration. Comments updated in several files 2014-07-02 08:54:53 -06:00
Gregory Nutt
3b31e1ac80 SAMA5D4-EK: NSH configuration now has the RAMLOG enabled by default 2014-07-01 15:09:47 -06:00
Gregory Nutt
23e4d7db0a SAMA5D4: Fix error in EMAC driver (plus related EMAC/GMAC drivers) 2014-07-01 11:22:19 -06:00
Gregory Nutt
41c8479635 Cosmetic changes, updates to README files, updates to some comments 2014-06-30 17:52:59 -06:00
Gregory Nutt
6b5f20cdc6 Fix typo/compile error introduced with last HSMCI changes 2014-06-30 16:08:29 -06:00
Gregory Nutt
c005ac91d7 SAM3/4: Important bugfix. Values read from PIO input pins do not change unless clocking to the PIO block is enabled 2014-06-30 14:26:09 -06:00
Gregory Nutt
67d77ba776 SAMA5 HSMCI: Dump GPIO configuration if DEBUG enabled 2014-06-29 17:47:25 -06:00
Gregory Nutt
9767eccb71 SAMA5D4-EK: Fix HSMCI card-detect pin selections 2014-06-29 11:26:41 -06:00
Gregory Nutt
63276f5864 SAMA5D: Don't use explicit DMACH_FLAG_MEMPID_SHIFT; it does not exist in the SAMA5D4 2014-06-29 09:52:07 -06:00
Gregory Nutt
8c7ce147d1 Updated ChangeLog 2014-06-29 09:36:15 -06:00
Gregory Nutt
339c8edf0e SAMA5D4-EK: NSH configuration now supports the RTC 2014-06-29 07:40:37 -06:00
Gregory Nutt
0443aa9947 SAMA5D4-EK: NSH confuration now has FAT/ROMFS, /dev/zero, /dev/random via TRNG, an NSH startup script, and a RAM disk at /tmp 2014-06-28 16:11:41 -06:00
Gregory Nutt
7294d8a549 Updated README 2014-06-28 13:27:19 -06:00
Gregory Nutt
2dad150289 Minor update to AT25BOOT; Updated README file 2014-06-28 12:38:41 -06:00
Gregory Nutt
2fb61ad15d SAMA5D4-EK: Fix some AT25BOOT bugs 2014-06-28 11:15:02 -06:00
Gregory Nutt
54d988ad55 Updated README 2014-06-28 09:57:00 -06:00
Gregory Nutt
668f50e116 SAMA5D4-EK: Updates to get the at25boot configuration building correctly 2014-06-28 09:39:50 -06:00
Gregory Nutt
cd7b1e00f3 SAMA5D4-EK: Add a configuration to load a boot program into AT25 FLASH 2014-06-28 08:40:11 -06:00
Gregory Nutt
c509cd55b2 SAMA5D4: Bootloader needs to flush D-Cache to memory before disabling the caches 2014-06-27 14:09:02 -06:00
Gregory Nutt
c8fd7b4670 Cosmetic update to comments 2014-06-27 11:55:33 -06:00
Gregory Nutt
3f78ddb2fa Fix Kconfig typo 2014-06-27 07:07:59 -06:00
Gregory Nutt
d3c4e412b6 Setup the SAMA5D4-EK NSH configuration to use the DRAMBOOT loader by default 2014-06-26 17:04:53 -06:00
Gregory Nutt
3fb8023bdf SAMA5D4-EK: Add bootloader that runs from ISRAM and loads an Intel HEX file into DRAM 2014-06-26 16:42:06 -06:00
Gregory Nutt
665f487ed3 SAMA5D4: Add configuration to redirect all interrupts to the AIC 2014-06-26 11:51:39 -06:00
Gregory Nutt
3f6b1642ca SAMA5D4: Add support for secure/FIQ interrupts; SAIC supports need to be be enabled unconditionally 2014-06-20 18:16:41 -06:00
Gregory Nutt
fb25ba907c SAMA5D4: Add partial support for secure interrupt controller (SAIC) 2014-06-20 15:22:00 -06:00
Gregory Nutt
083986e814 SAMA5D4: USART peripheral clock appears to be MCK/2 2014-06-20 11:40:36 -06:00
Gregory Nutt
3a3af8a5dd SAMA5D4-EK: Get ramtest clocking up to 528MHz 2014-06-20 11:37:06 -06:00
Gregory Nutt
a55457b175 SAMA5D4-EK: Make sure that the H32MX divider is set; correct sense of bit driver red LED 2014-06-20 10:33:33 -06:00
Gregory Nutt
231fd1b5c8 SAMA5D4: Initial bring-up fixes 2014-06-19 14:16:36 -06:00
Gregory Nutt
acf42e2ce4 Costmetic update to comments/README file 2014-06-18 17:40:06 -06:00
Gregory Nutt
4f06b2c32d SAMA5D4: Fix ISRAM base address: 0x00200000, not like the SAMA5D3 SRAM at 0x00300000 2014-06-18 13:03:10 -06:00
Gregory Nutt
67630a1112 SAMA5D4-EK: Add an SDRAM test configuration 2014-06-14 13:11:42 -06:00
Gregory Nutt
37d06c7444 SAMA5D4: Implement SDRAM initialization 2014-06-14 10:42:26 -06:00
Gregory Nutt
d80c55e8b6 SAMA5D4: Fix some memory remapping issues; updates to comments and README files 2014-06-14 08:02:58 -06:00
Gregory Nutt
7d7693acb3 Cosmetic update to comments 2014-06-11 14:57:14 -06:00
Gregory Nutt
d55865b97a SAMA5D4: Add support for HSMCI1 power control pin 2014-06-11 14:55:51 -06:00
Gregory Nutt
2cf637692a SAMA5D4-EK: Update pins used by HSMCI 2014-06-11 14:45:01 -06:00
Gregory Nutt
e0a07125c8 SAMA5D3/4: More renaming. Change SAMA5D3 EMAC to EMACA and SAMA5D4 to EMACB so that the configuration and build system can configure them. I might come up with something better later 2014-06-10 17:40:25 -06:00
Gregory Nutt
92d6883a71 SAMA5D4: Completes PMC modifications for the SAMA5D4 2014-06-09 07:55:51 -06:00