Commit Graph

10827 Commits

Author SHA1 Message Date
Gregory Nutt
586eb6162c Update Changelog 2015-03-15 09:38:46 -06:00
Gregory Nutt
5fcdb09791 SAMA5: Fix a bug in SAMA5 HSMCI. The bitfield mask and shift values were reversed resulting in a trashed value for the number of blocks in the BLOCKR register. This was sufficient to prevent DMA writes from working. 2015-03-15 09:35:48 -06:00
Gregory Nutt
8783526a5f Fix some bad logic when file system debug is turned on: Arguments to syslog were missing so that garbage was being printed. 2015-03-15 09:34:07 -06:00
Gregory Nutt
7adc1b96c9 FAT cosmetic changes 2015-03-15 08:41:42 -06:00
Gregory Nutt
400451c74b Update ChangeLog 2015-03-15 07:46:49 -06:00
Gregory Nutt
9f7f258728 Add support for umount2(target, MNT_FORCE) in the FAT file system. 2015-03-15 07:45:19 -06:00
Gregory Nutt
43936a6a69 Remove an UNSED that is no longer necessary 2015-03-14 18:41:26 -06:00
Gregory Nutt
e3bffdf92d Fix a ommission in the last changes to the unbind() method prototype 2015-03-14 18:14:54 -06:00
Gregory Nutt
b886cf9f65 Update TODO list 2015-03-14 17:58:41 -06:00
Gregory Nutt
2258189a11 Update ChangeLog 2015-03-14 17:39:29 -06:00
Gregory Nutt
2be14d09a2 Fix a bug in the FAT unbind() logic. There were problems with the way certain internal list handling was implemented. The end result is that newly opened or cloned file structures were never being added to the list of open files. So when the unmount() happens, it always looked like there were not open files and a crash could ensue. 2015-03-14 17:33:48 -06:00
Gregory Nutt
8055ba4d03 Pass the umount2() flags to every unbind() implementation. That is where the the decision to umount or not will be made. 2015-03-14 17:22:02 -06:00
Gregory Nutt
f932b26db1 Add umount2(). umount() is now a macro that just calls umount2() with flags = 0. 2015-03-14 16:48:45 -06:00
Gregory Nutt
9e2587ffe9 SAMV7 XDMA: Fix a problem with invalidating the cache on RX DMA 2015-03-14 15:25:32 -06:00
Gregory Nutt
f8aa0ec741 Update ChangeLog 2015-03-14 14:48:59 -06:00
Gregory Nutt
dd342bb4a7 EFM32: Add I2C driver. From Pierre-noel Bouteville 2015-03-14 14:47:53 -06:00
Gregory Nutt
85b9a7f1a5 SAMV7: Costmetic changes to SDRAM logic 2015-03-14 13:58:34 -06:00
Gregory Nutt
3b0615ece8 SAMV7: More SDRAM logic. It does still does not work 2015-03-14 13:27:00 -06:00
Gregory Nutt
cc497202ed SAMV71-XULT: Add support for SDRAM (unverified) 2015-03-14 11:00:46 -06:00
Gregory Nutt
d5377842ea SAMV7-XULT: Build support for SDRAM (SDRAM init still missing) 2015-03-14 09:16:27 -06:00
Gregory Nutt
cbdaa0dc77 Include correct chip file 2015-03-14 09:15:11 -06:00
Gregory Nutt
4ebeeecb7b Fix some typos in comments and conditioned out code 2015-03-14 09:14:51 -06:00
Gregory Nutt
867bd20f5c SAMV7: Add SDRAMC register definition header file 2015-03-14 09:13:51 -06:00
Gregory Nutt
fbf36e2b1e Update README 2015-03-14 07:50:03 -06:00
Gregory Nutt
9c5205142f SAMV7 HSMCI: Change system bus interfaces seems to eliminate DMA failures. 2015-03-13 14:35:36 -06:00
Gregory Nutt
0b64c51a13 Minor updates from initial debugging. 2015-03-13 13:46:27 -06:00
Gregory Nutt
db786ea654 SAMV7 HSMCI: Reading response registers at the wrong time can cause loss of response data. 2015-03-13 12:46:33 -06:00
Gregory Nutt
b83cea4f99 Back out 70cb75adaf3243478276cebf367c5f47c4725715 2015-03-13 10:40:09 -06:00
Gregory Nutt
ad216583b7 SAMV7: Fix some cloning errors. SAMA5->SAM7 2015-03-13 10:38:10 -06:00
Gregory Nutt
74548a5ed4 Fix a typo in a Cortex-M7 address 2015-03-13 10:37:21 -06:00
Gregory Nutt
361d4a3fac SAMV71-XULT: Bring HSMCI and auto-mounter support from SAMA5D4-EK 2015-03-13 09:27:16 -06:00
Gregory Nutt
a45d7ca909 Update ChangeLog 2015-03-13 07:31:26 -06:00
Gregory Nutt
c5953bd0e9 Debugging and manuals (this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf
and this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf) shows that ACMD23
must be preceeded with CMD55 command as any other ACMD commands.

Also, after the block reading wait loop must be inserted before writing the next block of data to
the sd card

From Dmitry Nikolaev via Jussi Kivilinna
2015-03-13 07:26:16 -06:00
Gregory Nutt
3473bb1635 drivers/serial: Report correct number of bytes free in serial buffer with FIONWRITE. From Jussi Kivilinna. 2015-03-13 07:22:43 -06:00
Gregory Nutt
0a939ff218 Pipes: Fix zero-lenth writes. From Jussi Kivilinna 2015-03-13 07:21:06 -06:00
Gregory Nutt
ce0021e753 STM32 serial: Make input hardware flow-control work with RX DMA. From Jussi Kivilinna 2015-03-13 07:18:21 -06:00
Gregory Nutt
6cb5b48300 STM32: Fix RX DMA setup for UART5. From Jussi Kivilinna. 2015-03-13 07:06:46 -06:00
Gregory Nutt
639a2c7fd2 Update to PIC32MZ README from David Sidrane 2015-03-13 06:57:58 -06:00
Gregory Nutt
4580af6d0b SAMV7: Quick'n'dirty port of the SAMA5 HSMCI driver to the SAMV7 2015-03-12 18:03:41 -06:00
Gregory Nutt
743fd5ac50 SAMV71: Quick'n'dirty port of the SAMA5 SSC driver to the SAM7. The IP is compatible but there are still some DMA- and Cache-related issues that need to be worked out. 2015-03-12 16:00:38 -06:00
Gregory Nutt
b4b59f928f Minor update to README 2015-03-12 13:43:54 -06:00
Gregory Nutt
da3233a527 SAMV71-XULT: Enable I2C and the I2C tool in the NSH configuration 2015-03-12 12:27:06 -06:00
Gregory Nutt
109b9910f6 SAMV7: Add TWI/I2C driver (untested) 2015-03-12 10:58:11 -06:00
Gregory Nutt
00a841c417 SAMV7: Add SPI header files and driver 2015-03-12 09:12:37 -06:00
Gregory Nutt
a614fd8d6e Update ChangeLog 2015-03-12 08:14:26 -06:00
Gregory Nutt
3ba9dda227 socket: net_dupsd: Do not call sockfd_socket() twice. From Juha Niskanen 2015-03-12 08:11:08 -06:00
Gregory Nutt
0b8248b33c stm32: usbdev: Fix stale initialization invalidating later NULL check. From Juha Niskanen 2015-03-12 08:08:50 -06:00
Gregory Nutt
9997fa77ad ARMv7-M MPU. Bad syntax will cause failure to write the correct value to the MPU_RASR register. From Juha Niskanen 2015-03-12 08:00:53 -06:00
Gregory Nutt
dba41a7048 chdev_driver: Avoid NULL pointer dereference when bch->refs == 255. From Juha Niskanen 2015-03-12 07:58:36 -06:00
Gregory Nutt
26b9b5a252 usbdev: usbmsc_scsi: Add NULL pointer check. From Juha Niskanen 2015-03-12 07:55:53 -06:00