summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* buildset: Add minimal and everything config.Christian Mauderer2018-05-0321-33/+141
| | | | | | | | | | | | This adds two new buildset configurations: One that leaves out as much features as possible and one that enables all features. For the default configuration WiFi support is now disabled. To disable IPv6 for the minimal configuration, all -DINET6 are eliminated in libbsd.py. They are now replaced by a #ifdef that checks for RTEMS_BSD_MODULE_NETINET6 instead. Close #3351.
* tcpdump: Remove unused file.Christian Mauderer2018-05-031-182/+0
|
* waf: Generate a rtems/bsd/modules.hChristian Mauderer2018-05-031-0/+32
| | | | | | | | The generated file defines a RTEMS_BSD_MODULE_xxx for each enabled module. That is usefull for conditional compilation depending on whether a module is build not. Update #3351.
* waf: Fix source code generators.Christian Mauderer2018-05-031-6/+6
| | | | | There have been some bugs with the strings left from the transition to directly building from libbsd.py.
* waf: Fix usage of build-include from config.Christian Mauderer2018-05-031-2/+6
|
* rtems-debugger: Remove filesSebastian Huber2018-05-022-390/+0
| | | | | | They are now in the main RTEMS sources. Update #3419.
* Use network services from RTEMSSebastian Huber2018-04-3015-6336/+1
| | | | Close #3419.
* Add DHCP clientid to test default network initSebastian Huber2018-04-301-8/+12
|
* at91_mci: Simplify XDMA usageSebastian Huber2018-04-271-43/+27
|
* at91_mci: Get rid of bounce bufferSebastian Huber2018-04-271-63/+57
|
* at91_mci: Use real interruptSebastian Huber2018-04-261-0/+51
| | | | | Execute at91_mci_intr() in interrupt context. Synchronize MMC requests via RTEMS interrupt lock.
* mmc: Optimize mmc_wait_for_req()Sebastian Huber2018-04-262-0/+19
| | | | | | Use a self-contained RTEMS binary semaphore instead of msleep() and wakeup(). This is itself more efficient and in addition allows the use of mmc_wakeup() in interrupt context.
* at91_mci: Fix use of BOARD_MCKSebastian Huber2018-04-261-1/+1
|
* at91_mci: Fix use of pre-processor definesSebastian Huber2018-04-261-1/+1
|
* waf: Add configurations with different modules.Christian Mauderer2018-04-109-38/+217
| | | | Update #3351
* freebsd-to-rtems.py: Use all modules.Christian Mauderer2018-04-102-3/+7
| | | | Update #3351
* waf: Remove module without sources.Christian Mauderer2018-04-101-194/+0
| | | | | | | | | | | | | | | | There are no imported sources for a number of modules. Some of them doesn't even have the right paths for freebsd-org anymore. Therefore this patch removes the following modules: - dev_usb_add_on - dev_usb_bluetooth - dev_usb_controller_add_on - dev_usb_misc - dev_usb_storage_add_on - dev_usb_template - dev_nic_cs Update #3351
* waf: Fix freebsd-to-rtems.py.Christian Mauderer2018-04-102-156/+153
| | | | Update #3351
* waf: Refactor libbsd.py to support per module generation.Chris Johns2018-04-104-4335/+4594
| | | | | | This change allows us to control the modules we want to build. Update #3351
* waf: Support building from libbsd.py directly from waf.Chris Johns2018-04-108-4043/+917
| | | | | | | | | Remove the need to generate a waf script. Move various pieces of data from the builder code to libbsd.py and make it configuration data. Update #3351
* CRYPTO(4): Port to RTEMSSebastian Huber2018-03-285-0/+287
|
* CRYPTO(4): Import from FreeBSDSebastian Huber2018-03-271-0/+1375
|
* DEVFS(5): Fix warningSebastian Huber2018-03-271-0/+3
|
* DEVFS(5): Properly initialize fp->f_cdevprivSebastian Huber2018-03-271-0/+1
|
* vprintf: Add handler that mutes all output.Christian Mauderer2018-03-233-0/+43
| | | | | This adds a vprintf handler that can be used to suppress all outputs of the libbsd.
* Silence rtems_bsd_ifconfig()Sebastian Huber2018-03-231-0/+1
|
* config.inc: Remove unused values.Christian Mauderer2018-03-224-32/+7
|
* if_atsam: Add checksum offload.Christian Mauderer2018-03-211-8/+44
|
* openssl: Provide deprecated functions.Christian Mauderer2018-03-212-3/+2
| | | | | | | Some applications (like the civetweb web server) still use functions that are deprecated by openssl. If OPENSSL_NO_DEPRECATED is defined, openssl will not provide these functions. This patch removes the define so that the functions are available.
* mutex: Use panic() after ISR lock releaseSebastian Huber2018-03-133-7/+124
| | | | | | Using panic() with interrupts disabled could lead to an additional error (INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT) due to a potentially blocking output.
* dwc_otg: Default to USB host modeSebastian Huber2018-02-061-0/+2
| | | | | | In case no "dr_mode" property is present in the device tree, then default to USB host mode. This is necessary to support the Cyclone V SoC Development Kit.
* dwc_otg: Add compatibility string, constifySebastian Huber2018-02-061-1/+2
| | | | Support device tree of Cyclone V SoC Development Kit.
* dw_mmc: Properly init/reset DMASebastian Huber2018-02-061-12/+27
|
* dw_mmc: Add MMCBR_IVAR_TIMINGSebastian Huber2018-02-061-0/+6
|
* Add device tree support for Altera/Intel Cyclone VSebastian Huber2018-02-0610-256/+321
| | | | Close #3290.
* tests: Fix configuration dependenciesSebastian Huber2018-02-052-0/+6
|
* linux/percpu.h: Fix for uni-processor configSebastian Huber2018-02-051-2/+3
|
* SLEEPQUEUE(9): Update due to API changesSebastian Huber2018-02-051-1/+1
| | | | Update #3264.
* termios: Update due to API changesSebastian Huber2018-02-051-23/+8
| | | | Update #2843.
* sdk_dpaa: What to do with tail queue drop?Sebastian Huber2018-01-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue is this: static int dpaa_eth_macless_probe(struct platform_device *_of_dev) { [...] INIT_LIST_HEAD(&priv->dpa_fq_list); err = dpa_fq_probe_macless(dev, &priv->dpa_fq_list, RX); if (!err) err = dpa_fq_probe_macless(dev, &priv->dpa_fq_list, TX); if (err < 0) goto fq_probe_failed; [...] /* Add the FQs to the interface, and make them active */ /* For MAC-less devices we only get here for RX frame queues * initialization, which are the TX queues of the other * partition. * It is safe to rely on one partition to set the FQ taildrop * threshold for the TX queues of the other partition * because the ERN notifications will be received by the * partition doing qman_enqueue. */ err = dpa_fqs_init(dev, &priv->dpa_fq_list, true); if (err < 0) goto fq_alloc_failed; [...] The priv->dpa_fq_list contains a list of FQ_TYPE_RX_PCD and FQ_TYPE_TX items. I don't understand what the "For MAC-less devices we only get here for RX frame queues initialization" means in this context. The td_enable == true in dpa_fqs_init(). So, we have: int dpa_fq_init(struct dpa_fq *dpa_fq, bool td_enable) { [...] if (dpa_fq->fq_type == FQ_TYPE_TX || dpa_fq->fq_type == FQ_TYPE_TX_CONFIRM || dpa_fq->fq_type == FQ_TYPE_TX_CONF_MQ) { [...] initfq.we_mask |= QM_INITFQ_WE_OAC; [...] } if (td_enable) { initfq.we_mask |= QM_INITFQ_WE_TDTHRESH; qm_fqd_taildrop_set(&initfq.fqd.td, DPA_FQ_TD, 1); initfq.fqd.fq_ctrl = QM_FQCTRL_TDE; } The td_enable == true && dpa_fq->fq_type == FQ_TYPE_TX causes later: int qman_init_fq(struct qman_fq *fq, u32 flags, struct qm_mcc_initfq *opts) { [...] if (opts && (opts->we_mask & QM_INITFQ_WE_OAC)) { /* And can't be set at the same time as TDTHRESH */ if (opts->we_mask & QM_INITFQ_WE_TDTHRESH) return -EINVAL; } This aborts the initialization of the MAC-less driver. I don't understand why this path doesn't happen on the SDK Linux system. Update #3277.
* sdk_dpaa: Port to RTEMSSebastian Huber2018-01-2318-0/+545
| | | | Update #3277.
* sdk_dpaa: Import from QorIQ SDK LinuxSebastian Huber2018-01-234-0/+1042
| | | | | | | | http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git Commit 1ae843c08261402b2c35d83422e4fa1e313611f4 (fsl-sdk-v2.0-1703). Update #3277.
* dpaa: QMan portal only initializationSebastian Huber2018-01-233-40/+115
| | | | Update #3277.
* dpaa: Add and use bman_new_pool_for_bpid()Sebastian Huber2018-01-233-0/+19
| | | | Update #3277.
* dpaa: Use device tree throughout in BMan initSebastian Huber2018-01-231-36/+26
| | | | Update #3277.
* dpaa: Add and use SDK_DPAA_COMPAT_STATICSebastian Huber2018-01-233-0/+61
| | | | Update #3277.
* dpaa: Support FQ_TYPE_RX_PCDSebastian Huber2018-01-232-0/+25
| | | | Update #3277.
* dpaa: Disable unused bman_pool membersSebastian Huber2018-01-231-0/+2
| | | | Update #3277.
* dpaa: Remove unused configuration definesSebastian Huber2018-01-231-9/+0
| | | | Update #3277.
* linux/of_irq.h: Generalize of_irq_to_resource()Sebastian Huber2018-01-231-10/+51
| | | | | | Determine interrupt cells via device tree. Update #3277.