Gregory Nutt
6b9c0c7c72
Fix an error commit with last changes
2015-11-29 12:12:43 -06:00
Gregory Nutt
463637f474
All SAMA5 configurations: Refresh configurations, enable PROCFS in all configurations that have CONFIG_NSH_LIBRARY=y, add logic to automatically mount the procfs if it is enabled
2015-11-29 11:34:09 -06:00
Gregory Nutt
7a551aed6e
STM32F4-Discovery: Refresh all configurations; enable PROCFS in all NSH configurations
2015-11-29 10:02:21 -06:00
Gregory Nutt
9701e66e5c
SAMV71-XULT and STM32F4Discovery: Automatically mount procfs on startup
2015-11-29 09:47:36 -06:00
Gregory Nutt
dad8b0fde9
Clarify some terminology
2015-11-29 07:17:10 -06:00
Gregory Nutt
1fceb9463e
Update and enable procfs in all SAMV71-XULT configurations
2015-11-29 07:16:14 -06:00
Gregory Nutt
5f13de8f48
Update NSH documentation. Update ps examples
2015-11-28 17:51:34 -06:00
Gregory Nutt
8ac588f602
Update TODO
2015-11-28 17:28:25 -06:00
Gregory Nutt
c16c46c20e
Update NSH documentation. 'ps' now depends on procfs support
2015-11-28 17:27:53 -06:00
Gregory Nutt
49a34656b2
Fix spelling of Ken's last name in ChangeLog
2015-11-28 15:06:35 -06:00
Gregory Nutt
64247fee15
Update TODO list
2015-11-28 15:04:11 -06:00
Gregory Nutt
2e7d139cd3
fs/procfs: Process status now includes task flags. Some strings modified to improved 'ps' command output
2015-11-28 14:58:56 -06:00
Gregory Nutt
48da5aa496
sched/pthread/: CRITICAL BUGFIX: Logic was wiping out the indication that of the type of a pthread. Hence, it could be confused as a task. Found because this was causing a crash when /proc/nnn/cmdline was printed.
2015-11-28 10:05:36 -06:00
Ken Pettit
5821af1bbe
drivers/mtd: Add support for /dev/smart loop device. From Ken Petit
2015-11-28 09:00:26 -06:00
Gregory Nutt
1f8f097783
procfs: Use dirent.h macros when testing directory entry type
2015-11-28 08:52:21 -06:00
Gregory Nutt
2eff9aa773
Enable procfs file system in sim/nsh configuration
2015-11-28 07:01:31 -06:00
Gregory Nutt
1f0754b763
Update NuttShell.html
2015-11-27 17:53:49 -06:00
Gregory Nutt
25f48e5829
Update TODO file
2015-11-27 17:48:40 -06:00
Gregory Nutt
eb8668b0f7
net/: Add procfs support for network device status
2015-11-27 16:39:14 -06:00
Gregory Nutt
9d8462aa23
net/: Move net_procfs.c to net/procfs/. Partition logic a little better to make space to support net device procfs as well
2015-11-27 13:53:33 -06:00
Gregory Nutt
e4236941c6
net/net_procfs.c: Add basic support for networking procfs entries
2015-11-27 12:33:58 -06:00
Gregory Nutt
509028aa46
SAMV7-XULT: Enable procfs in the netnsh configuration
2015-11-27 12:31:51 -06:00
Gregory Nutt
4d2299896e
SAMV7: Add support to network device statistics to the Ethernet driver
2015-11-27 12:30:15 -06:00
Gregory Nutt
d2f11015aa
Refresh (and fix) defconfig file
2015-11-26 17:29:44 -06:00
Gregory Nutt
5d1557b28d
Fix an error in a network device statistics macro
2015-11-26 14:44:07 -06:00
Gregory Nutt
f41ad9caa1
netdev.h: Fix a typo in a type name
2015-11-26 13:41:57 -06:00
Gregory Nutt
edbb5ec328
arch-specific build needs to include __KERNEL__ flags
2015-11-26 13:17:32 -06:00
Gregory Nutt
c5e097f6d2
Refresh configuration
2015-11-26 13:16:46 -06:00
Gregory Nutt
8075a67803
include/nuttx/net/netdef.h: Add a missing macro
2015-11-26 12:51:45 -06:00
Gregory Nutt
4e10465541
Eliminate a warning
2015-11-26 12:51:13 -06:00
Gregory Nutt
8ce454a584
Remove some warnings; eliminate unused variables
2015-11-26 12:46:53 -06:00
Gregory Nutt
2a93c66948
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:08:09 -06:00
Gregory Nutt
e5e631e57f
include/nuttx/net/netdev.h and several Ethernet drivers in arch/: Most network drivers to not support statistics. Those that do only support them when DEBUG is enabled. Each driver collects an architecture specific set of statistics and there is no mechanism in place to view those statistics. Thus, the driver feature was mostly useless. This change standardizes the driver statistics and puts the definition in the common network device structure defined in netdev.h where they can be accessed by network applications. All Ethernet drivers that collect statistics have been adapted to use these common statistics.
2015-11-26 12:07:18 -06:00
Gregory Nutt
2afd4595e4
Re-think how __KERNEL__ option is set in architecture Makefiles. Should be passed in EXTRADEFINES
2015-11-26 06:59:35 -06:00
Gregory Nutt
87530bf910
Enable /dev/zero and /dev/loop in sim/nsh configuration
2015-11-26 06:58:09 -06:00
Gregory Nutt
470784d8ca
Update submodules
2015-11-25 18:36:29 -06:00
Gregory Nutt
7a1e4ae5f2
Update NSH documentatino
2015-11-25 18:35:58 -06:00
Gregory Nutt
22b4932a4f
__KERNEL__ should be defined when compiler architecture specific logic
2015-11-25 18:06:56 -06:00
Gregory Nutt
4aa3dcb51a
__KERNEL__ should be defined when compiler architecture specific logic
2015-11-25 18:05:36 -06:00
Gregory Nutt
603f3afd6d
Some minor clean-up from last changes
2015-11-25 17:52:47 -06:00
Gregory Nutt
f4e8f84887
__KERNEL__ should be defined when compiler architecture specific logic
2015-11-25 17:52:14 -06:00
Gregory Nutt
ed35eb0f8d
drivers/loop: Add a loop character device that can be used to setup and teardown loop devices
2015-11-25 17:13:56 -06:00
Gregory Nutt
651bd9e8ad
Rename CONFIG_LOOP to CONFIG_DEV_LOOP
2015-11-25 17:11:27 -06:00
Gregory Nutt
14d7ede265
All instances of up_initialize() should call loop_register() is CONFIG_DEV_LOOP=y
2015-11-25 17:10:41 -06:00
Gregory Nutt
b84da6e696
drivers/loop: Move drivers/loop.c to drivers/loop/losetup.c
2015-11-25 16:23:19 -06:00
Gregory Nutt
e665b3dba8
Update TODO list
2015-11-25 15:41:43 -06:00
Gregory Nutt
6ff67d3061
Minor changes from code review
2015-11-25 14:57:25 -06:00
Ken Pettit
d4a58af380
drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an interface to un-regiser an MTD procfs entry.
...
drivers/mtd/filemtd.c: New new MTD conversion layer that will convert a regular file (or driver file) to an MTD device. This is useful for testing on the simulation using the hostfs.
From Ken Petit
2015-11-25 14:46:28 -06:00
Gregory Nutt
9d1404e06d
Fix an error introduced in last commit
2015-11-25 14:38:10 -06:00
Lok Tep
dd4ef7b2e9
rename to offset
2015-11-25 21:07:14 +01:00