Chris Johns
d8e6b4c170
rc.conf: Add the net directives by default.
2016-05-18 19:03:39 +10:00
Chris Johns
84665b5cef
rc.conf: Fix the wild card regex for ifconfig_
2016-05-18 19:03:20 +10:00
Chris Johns
f9fa038c94
Fix memory leak in rc.conf processing.
2016-05-18 15:21:09 +10:00
Chris Johns
05d47ae865
Clean up whitespace.
2016-05-18 15:20:36 +10:00
Chris Johns
c67debb2db
Add rc.conf documentation.
2016-05-18 14:17:20 +10:00
Chris Johns
f5c6651da8
Add support for rc.conf(5) initialisation.
...
Provide user support for rc.conf(5) so a user can create a suitable
/etc/rc.conf file to initialise libbsd.
This patch by default adds basic networking support:
cloned_interfaces
ifconfig_'interface'
defaultrouter
hostname
Refer to FreeBSD documentation for examples.
Users can make a single call to have /etc/rc.conf processed, or pass a
file name to a specific configuration file or a text string with line
feeds can be passed to the scripting version of the interface.
The rc.conf support is implemented in terms of directive handlers that
are called based on a regular expression. The design allows new handlers
to be added as needed.
Line concatenation is still to be implemented.
2016-05-18 13:49:17 +10:00
Chris Johns
ac7b68cd84
Get rtems_waf fix for command expansion.
2016-05-11 12:22:29 +10:00
Chris Johns
44a82d0162
Update rtems_waf with the latest fixes.
2016-05-07 15:34:48 +10:00
Sebastian Huber
5b4394f3c8
Add namespace support for kvm
2016-05-06 21:41:21 +02:00
Sebastian Huber
5b1f20b73f
Rename files for kernel namespace script
...
This makes it easier to create the kernel namespace header.
2016-05-06 21:41:20 +02:00
Sebastian Huber
81e5ff4be6
Add kernel namespace exception for mbstat
2016-05-06 14:49:15 +02:00
Sebastian Huber
edb5e4b023
Add kernel namespace exceptions
...
These names correspond to sysctls.
2016-05-06 14:40:02 +02:00
Sebastian Huber
f9a697a750
media01: Add sysctl command
2016-05-06 14:34:41 +02:00
Sebastian Huber
b8f127e64a
Update kernel namespace
2016-05-06 14:10:40 +02:00
Sebastian Huber
356f59c898
kvprintf: Add support for %m
2016-05-06 14:07:34 +02:00
Sebastian Huber
54a577d44f
subr_prf.c: Port to RTEMS
2016-05-06 14:07:31 +02:00
Sebastian Huber
d4402ddbc8
bcd.c: Import from FreeBSD
2016-05-06 13:44:43 +02:00
Sebastian Huber
469db421d3
subr_prf.c: Import from FreeBSD
2016-05-06 13:44:43 +02:00
Sebastian Huber
cf72971169
README.waf: Make set-up steps self contained
2016-05-06 13:44:39 +02:00
Sebastian Huber
b39854a862
README.waf: Add steps to clone and bootstrap RTEMS
2016-05-06 11:10:12 +02:00
Sebastian Huber
ff6534bb83
README.waf: Master branch must use 4.12
2016-05-06 10:26:04 +02:00
Sebastian Huber
4835d26459
README.waf: Typo
2016-05-06 10:25:31 +02:00
Sebastian Huber
28c973a9b4
Add "How to import code from FreeBSD"
2016-05-06 09:32:12 +02:00
Sebastian Huber
0f5dd1cc38
Add script to create the kernel namespace header
2016-05-06 08:56:03 +02:00
Sebastian Huber
ee9991f4c6
Partially revert 27aedffc1bd8e41f4e06a3326a5b95c54ca38b79
2016-05-06 08:56:03 +02:00
Sebastian Huber
ffbac33988
Revert "Move network-config.h to the top of the testsuite include path."
...
This reverts commit a51d0fea6880046300fcf466a767f88eab9a6f9a.
2016-05-06 08:04:51 +02:00
Sebastian Huber
542c981ae6
ZONE(9): Fix mp_maxid definition
2016-05-06 07:57:46 +02:00
Chris Johns
a51d0fea68
Move network-config.h to the top of the testsuite include path.
2016-05-06 15:44:21 +10:00
Chris Johns
83eb07c4d6
Add sbin/sysctl
2016-05-06 15:07:56 +10:00
Chris Johns
c60deba242
Fix sysctl support.
2016-05-06 15:07:56 +10:00
Chris Johns
7a79eec6fc
The maxid is not the number of cpus.
2016-05-06 15:07:56 +10:00
Sebastian Huber
27aedffc1b
default-network-init.h: Fix warnings
2016-05-04 11:49:44 +02:00
Sebastian Huber
e58b898d69
telnetd: Use syslog() instead of printk()
2016-05-04 11:49:34 +02:00
Chris Johns
533808975e
Fix coding to be CamelCase.
2016-05-04 16:24:11 +10:00
Chris Johns
4b127e7cec
Add RealTek Gig PHY.
2016-05-04 16:02:06 +10:00
Chris Johns
a1a2e10d98
Add tcpdump to the test shell commands.
2016-05-04 16:00:15 +10:00
Chris Johns
1e8c93c987
Add some doco on reverse and forward movement of the code.
2016-05-04 15:59:16 +10:00
Chris Johns
f478e3c6e5
Add sys/rpc so it is installed.
2016-05-04 15:58:25 +10:00
Chris Johns
f3f816cc76
Add nexus devices for default-init.
2016-04-28 13:49:40 +10:00
Chris Johns
b8d1fe069b
pc386: Add RealTek network driver to the nexus bus.
2016-04-28 13:49:40 +10:00
Chris Johns
7b8f3362ae
Remove debug output.
2016-04-28 13:49:40 +10:00
Sebastian Huber
4e07ea5063
Prevent invalid optimizations for linker sets
2016-04-27 14:20:22 +02:00
Sebastian Huber
33724a268f
Delete unused services directory
2016-04-27 09:56:15 +02:00
Sebastian Huber
23c7ab408b
Delete dummy IRQ support
...
Architectures and BSPs which want to use libbsd must provide the
required interfaces.
2016-04-27 09:52:58 +02:00
Sebastian Huber
5784e6d9c7
rtems/bsd/bsd.h: Documentation
2016-04-27 09:45:26 +02:00
Chris Johns
3c7fdb2e5a
libbsd: Remove sys/select.h and sys/_sigset.h.
2016-04-27 12:11:31 +10:00
Chris Johns
f1fcdba863
waf: Refector the builder to work with Python3 and UTF-8 source files.
...
Python 3 requires better UTF-8 handling of files and FreeBSD has UTF-8
characters in some files.
Refactor builder.py to clean up the code and remove the need to have
a temporary file. Update other scripts to use the new code.
2016-04-27 12:08:23 +10:00
Sebastian Huber
5b93cc84b4
Add root bus support functions
2016-04-26 15:20:59 +02:00
Sebastian Huber
5edcb9ecd2
media01: Add telnetd
2016-04-26 15:20:59 +02:00
Sebastian Huber
00c87925a9
Initialize interrupt server early
...
This enables its use before the Nexus device exists.
2016-04-26 15:20:59 +02:00