| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Collapse the existing xilinx-* kmeta directories into a single kmeta
directory.
At the same time remove all linux-xlnx specific kmeta, it is no longer
required as linux-xlnx is using defconfigs as baseline kernel
configuration.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A large portion of the kmeta in xilinx-common and xilinx-machine was
upstreamed into the linux-yocto kernel-cache and is no longer needed in
the meta-xilinx layer.
This change removes any fragments that are in the yocto-kernel-cache,
and reworks remaining configs for use with linux-yocto. Compatibly with
linux-xlnx is dropped due to favouring defconfigs.
This includes Zynq and MicroBlaze machine configs (excluding kc705 and
Zybo Linux-BD BSP), board common bsp/ fragments and a number of feature
fragments that are already available in the yocto kernel cache.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Update the zynqmp config fragments, adding new drivers available in
linux-xlnx as well as some mainline available drivers.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Update the zynq7 fragments to include new configs available in
linux-xlnx and mainline kernels.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Some boards use USB PHYs that need to be communicated with via ULPI.
Enable CONFIG_USB_ULPI.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch resolves a previous commit (ea4ca65aaf) which only mitigated
the issue caused due to CONFIG_DEBUG_RODATA for Zynq.
This issue has been properly fixed in the next version of the kernel
(v4.10) and this change backports the patch to the v4.8 kernel for
linux-yocto(-tiny).
Additionally this change removes the forced disabling of
CONFIG_DEBUG_RODATA allowing for Zynq platforms to use the feature
without issue.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update and add new config fragments to enable newer features that are
now in the newer kernels (e.g. Zynq and ZynqMP drivers/features). This
update also attempts to cover ZynqMP configuration that is normally
provided by the ZynqMP defconfig in linux-xlnx, this allows for better
consistency between the Zynq/ZynqMP/MicroBlaze configuration for
linux-xlnx as well as enabling better configuration setup for the
linux-yocto* kernels.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
CONFIG_DEBUG_RODATA was switched to default yes in v4.6+ kernels. Whilst
the feature works correctly it causes changes with how the kernel
.head.text and .text sections are padded which allows for memory below
0x80000 (512KB) to be non-reserved and used as memory for DMA
allocations which do not work on Zynq due to devices not being allowed
to access DDR below 0x80000. Disabling CONFIG_DEBUG_RODATA prevents the
padding between .head.text/.text.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
This adds support for building linux-yocto-tiny 4.8 kernel for the 3
main meta-xilinx architectures.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Add specific config options that are normally defaulted to yes when the
kernel is configured with defaulting to yes. This allows for kernels
that default no to be correctly configured.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
* CONFIG_SERIAL_OF_PLATFORM is already configured with serial drivers
in soc/drivers/xilinx.cfg
* Use the syntax "# CONFIG_FTRACE is not set" so that it when the
kernel config check is run it matches the value set in the .config
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
| |
Allow CONFIG_VT to be enabled for MicroBlaze.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
| |
Add dependent configs and remove unused configs.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The 4K sector support makes erasing much slower and prevents using
wear-levelling filesystems like UBI, which needs erase sectors to be
at least 16k in size. Until this situation has been properly resolved
in the kernel, disable the setting.
For a discussion on the topic, and the reason the config exists, see:
https://patchwork.ozlabs.org/patch/380565/
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
This also uses the drm-xilinx.scc
Signed-off-by: Jason Wu <jason.wu.misc@gmail.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
SERIAL_OF_PLATFORM needs to be set in order for the serial 8250 driver
to parse and probe device tree configuration for 8250 nodes. This is
needed so that the uart 16550 instances are probed correctly.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
* Fix up GPIOLIB to enable GPIO driver support
* Fix up USB configs
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The PCIe drivers for the Xilinx AXI PCIe bridge are only available on
Zynq targets when have the soft core loaded, for all other targets this
driver is not required.
To optimized the kernel for general use make the PCIe driver a seperate
fragment which can be enabled by adding
'bsp/xilinx/soc/drivers/xilinx-pcie.scc' to KERNEL_FEATURES.
Also add to the config fragment the required kernel options to enable
PCI.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
| |
Update and refactor config fragments to work with newer kernels as well
as supporting new features that are now available.
This changeset also moves a large number of 'linux-xlnx' only drivers
into seperate config fragments for cleaner maintainence.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Nest the driver config fragments in soc/drivers whilst keeping the SoC
config fragments at the soc/ level. Also rename 'zynq' to 'zynq7' where
applicable.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
| |
* This fragment is now only valid for linux-xlnx kernels
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
* Enable RTC devices by default with the board-commong fragment, however
disable the HCTOSYS and SYSTOHC configs
* The rtc feature enables the HCTOSYS and SYSTOHC so that the kernel can
manage time with the rtc for systems that explicitly have rtc
functionality
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
| |
* Remove configs that are not required
* Clean up '=n' with 'not set'
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
* Organize configs into bsp/xilinx/ and bsp/xilinx/soc/
* Split some of the linux-xlnx only configs into a seperate fragment
* Clean up some of the configs to be in common and specific config
fragment files
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
* Based on mainline v3.19 kernel
* Patches added to support EP108 and QEMU, some patches are not intended
for upstream submission (and are only required for QEMU support)
* Specify device trees for EP108 and QEMU
* Add config fragments for ZynqMP
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
|
|
|
|
| |
* features/blk/dev-ram-32mb.scc: Increases BLK_DEV_RAM_SIZE to 32768 for
a 32MB RAM block device, whilst reducing the count of devices to 4
* Use the feature fragment as default for Zynq
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|
|
* Added kernel config fragments for Zynq and MicroBlaze
* Includes config fragments specifically for the architecture/SoC and
drivers
* Feature fragments for features commonly used with Zynq and MicroBlaze
platforms that are not yet part of the default yocto kernel configs
* Setup the linux-yocto append recipes to add the in layers config/*
kernel cache
* Remove the use of MACHINE_KCONFIG and MACHINE_DEVICETREE from the
linux-yocto recipes
Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
|