| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Enable config dependencies for DMA and PCI which are required for ZynqMP
drivers/features.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename the QEMU machines to match the <board>-<design>-<arch>
convention. QEMU only machines no longer need to be named qemu*.
Note for qemuzynq it is special in that it does not model a board, as
such it has no board in the name being just 'qemu-zynq7'.
This updates the README.md to match the new machine names.
Additional update all occurrences of the qemu* machines
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
The linux-yocto recipe and metadata tools handle branchless source.
Letting KBRANCH = "master" for nobranch checkouts is not needed any
more.
Change all uses of SRCBRANCH to KBRANCH and set KBRANCH to the branch or
empty by default.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
The PREFERRED_PROVIDER check is already done by linux-yocto.inc, avoid
doing it twice. Also linux-xlnx.inc sets the PV correctly, no need to
set it again.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Dynamically get the entry point address for the atf.ub image from the
bl31.elf based on the program headers entry point address which matches
the expected entry address (aka MEM_BASE).
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Now that their is a .bb for Xilinx's QEMU and QEMU device trees we can update
the machines to ensure this is built where applicable.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
| |
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Build Xilinx's QEMU in the qemu-xilinx direcotry.
Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
| |
This resolves some issues with unwind support needed for pthread.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Add a patch which fixes a bug in GCC regarding the usage of the r20 and
r21 registers specifically for the use in Linux.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Fix a regression in binutils where the "RELA" and "RELASZ" entries of
the .dynamic table were incorrect set to invalid values/addresses.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Update the linux-xlnx-dev recipe to the current HEAD of master. Which is
at a v4.6 kernel.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
The u-boot-xlnx-dev version of u-boot is the same as u-boot-xlnx source,
it generates with OF_EMBED=y.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
| |
Also update the default provided platform init targets.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The directory structure in U-Boot for platform init files has changed in
more recent versions of U-Boot. The new naming scheme uses the name of
the device-tree (that is provided in U-Boot) to determine the name of
the directory in board/xilinx/zynq/.
This patch changes how FORCE_PS7INIT functions, such that it is a toggle
instead of requiring the target directory name. FORCE_PS7INIT is changed
to overwrite all the ps7_init_gpl* files in the board/xilinx/zynq/*
directories. This removes the need to specify the target
directory/config and also avoids any issues with the differences in
names between older and newer U-Boot versions.
Additionally this patch adds a [doc] string for the variable.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
| |
This patch fixes the regression in QEMU 2.7.0 where the devcfg is mapped
with a memory region that is large enough to overlap the xadc device
models memory region. This resolves the bug where qemuzynq hangs during
kernel boot when it attempts to access the xadc device.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
| |
Move the QEMU appends and patches to a generic directory. This is so
that patches can be for different target SoCs/etc.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Remove the symlinking of ${KERNEL_IMAGETYPE}-${DTS}.dtb for
compatibility with runqemu. This is now handled with the machines QB_DTB
variable.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move the common setup for QEMU machines into an include call
'machine-xilinx-qemu.inc'. This include is added to any machine that has
a QEMU model. It sets up common QB_* values as well as inheriting the
qemuboot class and adding the EXTRA_IMAGEDEPENDS on qemu-native.
This include also has helper functions to automatically determine the
DTB from KERNEL_DEVICETREE/MACHINE_DEVICETREE and automatically setup the
'console=' kernel command line based on SERIAL_CONSOLE.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Add runqemu support using the 'petalogix-s3adsp1800' QEMU machine. Based
on the qemumicroblaze runqemu setup.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
The ep108-zynqmp machine already has support in QEMU however was exposed
as the qemuzynqmp machine. QEMU 2.7 introduced support for the
'xlnx-zcu102' machine model. This allows for runqemu to boot a machine
based on the ep108 or zcu102 hardware. The support added is based on the
configuration that was in qemuzynqmp.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Remove this machine due to it not being required. The runqemu tools now
support running machines base on bsp layer configuration which
ep108-zynqmp now provides.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
* Handle slirp/tap networking separately.
* Force the use of serial port and always disable graphics since the
qemuzynq and qemumicroblaze targets do not support any graphics
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
The new runqemu has removed machine knowledge, these info can set in
bsp's conf file, please see oe-core's meta/classes/qemuboot.bbclass for
more info.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
Use the deploy class and DEPLOYDIR to ensure that deploy objects are
populated into the shared state cache. This ensures that the objects are
also correctly populated into the output deploy directory regardless of
whether the do_deploy task is executed.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
Use the deploy class and DEPLOYDIR to ensure that deploy objects are
populated into the shared state cache. This ensures that the objects are
also correctly populated into the output deploy directory regardless of
whether the do_deploy task is executed.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
Use the deploy class and DEPLOYDIR to ensure that deploy objects are
populated into the shared state cache. This ensures that the objects are
also correctly populated into the output deploy directory regardless of
whether the do_deploy task is executed.
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>
|
|
|
|
|
|
|
|
|
| |
Remove the CONFIG_XILINX_AXIPCIE, this driver has been merged into
mainline and is available with the kconfig CONFIG_PCIE_XILINX. The new
config is also provided in the "bsp/xilinx/soc/drivers/xilinx-pcie.scc"
feature.
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>
|
|
|
|
|
|
| |
Add the default configuration appends for the linux-yocto 4.8 kernel.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Replace files:// to file:// in LIC_FILES_CHKSUM
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
In commit 0f698dfd1c8bbc0d53ae7977e26685a7a3df52a3 of oe-core, the
values for KCONFIG_MODE have changed, the values are no longer flags.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Rename the gcc-source recipe append so that the only the major version
is specified.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Only recommend the kernel-module-mali if the kernel provider is
currently linux-xlnx and the current machine has the 'mali' feature.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
| |
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
Only recommend the kernel-module-mali if the kernel provider is
currently linux-xlnx. This is due to linux-xlnx providing the support
for this external module, other kernels such as linux-yocto do not
support it.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
The kernel module is named "kernel-module-mali", not "kernel-module-mali-modules"
Fix this in machine-xilinx-default.inc.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
Since the recipe only actually produces a package called "kernel-module-mali",
it's logical to just name it "kernel-module-mali.bb".
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Commit fbc9fcd55a20ec2050 "zynqmp.cfg: Disable MALI in kernel"
sets CONFIG_ARM_MALI=n, which is incorrect and will not have any
actual effect on the configuration. The correct syntax to disable
the module is "# CONFIG_ARM_MALI is not set".
Fixes: fbc9fcd55a20ec205088c8026f5d25feb08430a3
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
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>
|
|
|
|
|
|
|
|
|
|
| |
The ext4 driver supports all "ext" filesystems, including ext2 and ext3,
and usually even performs better on existing ext3 partitions.
Omitting the obsolete drivers makes the kernel a bit smaller.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
|
| |
To boot with the firmware loaded, we need the binary packaged as a u-boot
image. Add the extra step to do so and output the file that u-boot SPL
expects to find on the SD card.
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
|
| |
This forces the recipe to use only the source from the target tarball,
avoiding any of the patches or sources provided by the meta/ layer
includes.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
Patch GCC 6 for addi3 and subdi3 instruction definitions
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|
|
|
|
|
|
|
| |
This patch is applied upstream, and no longer required
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
|