summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* zynqmp: Update the machines to take advantage of Xilinx's QEMUAlistair Francis2016-10-112-0/+8
| | | | | | | | 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>
* qemu-devicetrees: Build the Xilinx QEMU device treesAlistair Francis2016-10-111-0/+33
| | | | | Signed-off-by: Alistair Francis <alistair.francis@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* qemu: Build Xilinx's QEMUAlistair Francis2016-10-111-0/+54
| | | | | | | 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>
* machine-xilinx-default.inc: Update default linux-yocto version to 4.8Nathan Rossi2016-10-111-1/+1
| | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gcc-source: Add MicroBlaze DWARF exception supportNathan Rossi2016-10-112-0/+168
| | | | | | This resolves some issues with unwind support needed for pthread. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* gcc-source: Add patch to fix MicroBlaze ABI bugNathan Rossi2016-10-112-0/+49
| | | | | | | 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>
* binutils: Fix bug in binutils for MicroBlazeNathan Rossi2016-10-112-0/+104
| | | | | | | 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>
* linux-xlnx-dev: Update kernel to current master version at 4.6+Nathan Rossi2016-10-111-2/+2
| | | | | | | 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>
* machine-xilinx-default.inc: Set UBOOT_OFEMBED for u-boot-xlnx-devNathan Rossi2016-10-111-1/+1
| | | | | | | 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>
* u-boot-xlnx-dev: Update the default revisionNathan Rossi2016-10-111-1/+2
| | | | | | Also update the default provided platform init targets. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-spl-zynq-init.inc: Enable the FORCE_PS7INIT for new U-BootNathan Rossi2016-10-111-4/+9
| | | | | | | | | | | | | | | | | | 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>
* qemu: Add patch to fix XADC access on Zynq targetsNathan Rossi2016-10-112-0/+56
| | | | | | | | | | 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>
* recipes-{zynqmp -> devtools}: Move the QEMU appends to generic dirNathan Rossi2016-10-112-0/+0
| | | | | | | | 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>
* recipes-zynqmp/qemu: Update append to QEMU 2.7%Nathan Rossi2016-10-111-0/+0
| | | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Reviewed-by: Alistair Francis <alistair.francis@xilinx.com>
* device-tree: Remove old runqemu compatibility outputsNathan Rossi2016-10-111-14/+0
| | | | | | | | | 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>
* machine-xilinx-qemu.inc: Move common runqemu setup to includeNathan Rossi2016-10-116-40/+45
| | | | | | | | | | | | | 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>
* qemumicroblaze-s3adsp1800: Add runqemu supportNathan Rossi2016-09-301-0/+11
| | | | | | | | 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>
* ep108-zynqmp, zcu102-zynqmp: Add runqemu supportNathan Rossi2016-09-303-2/+28
| | | | | | | | | | 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>
* qemuzynqmp: Remove this machineNathan Rossi2016-09-301-19/+0
| | | | | | | | 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>
* qemuzynq, qemumicroblaze: Improve runqemu supportNathan Rossi2016-09-302-4/+10
| | | | | | | | | * 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>
* conf/machine: update for new runqemuRobert Yang2016-09-283-0/+29
| | | | | | | | | 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>
* device-tree: Use deploy class to handle shared stateNathan Rossi2016-09-281-3/+5
| | | | | | | | | 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>
* kc705-bitstream: Use deploy class to handle shared stateNathan Rossi2016-09-281-2/+4
| | | | | | | | | 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>
* zybo-linux-bd: Use deploy class to handle shared stateNathan Rossi2016-09-281-4/+5
| | | | | | | | | 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>
* linux/config: Clean up soc/microblaze.cfgNathan Rossi2016-09-281-4/+1
| | | | | | | | | * 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>
* linux/config: CONFIG_VT is not broken for MicroBlaze anymoreNathan Rossi2016-09-281-2/+0
| | | | | | Allow CONFIG_VT to be enabled for MicroBlaze. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Update linux-xlnx config fragmentNathan Rossi2016-09-201-4/+0
| | | | | | | | | 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>
* linux/config: When enabling USB_GADGET_XILINX also enable USB_GADGETNathan Rossi2016-09-201-0/+1
| | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux/config: Clean up common zynq7.cfgNathan Rossi2016-09-201-5/+1
| | | | | | Add dependent configs and remove unused configs. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-yocto_4.8: Add appends for linux-yocto 4.8Nathan Rossi2016-09-201-0/+4
| | | | | | Add the default configuration appends for the linux-yocto 4.8 kernel. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* platform-init: Replace files to file in LIC_FILES_CHKSUMSujith Haridasan2016-09-101-1/+1
| | | | | | | | 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>
* linux-xlnx: KCONFIG_MODE values have changed, update to 'alldefconfig'Nathan Rossi2016-09-011-1/+1
| | | | | | | 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>
* gcc-source_6.%.bbappend: Rename to use a wildcard versionNathan Rossi2016-08-221-0/+0
| | | | | | | Rename the gcc-source recipe append so that the only the major version is specified. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-default.inc: Only recommend mali when machine has featureNathan Rossi2016-08-171-1/+1
| | | | | | | 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>
* zcu102-zynqmp: Add the 'mali' machine featureNathan Rossi2016-08-171-1/+1
| | | | Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* machine-xilinx-default.inc: Only recommend mali module for linux-xlnxNathan Rossi2016-08-071-1/+3
| | | | | | | | | 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>
* machine-xilinx-default.inc: Fix misspelled "kernel-module-mali"Mike Looijmans2016-08-071-1/+1
| | | | | | | | 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>
* Rename "mali-modules.bb" to "kernel-module-mali.bb"Mike Looijmans2016-08-072-0/+0
| | | | | | | | 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>
* zynqmp.cfg: Actually disable MALI in kernelMike Looijmans2016-07-311-1/+1
| | | | | | | | | | | 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>
* board-common.cfg: Disable 4K sectors on QSPI NOR flashMike Looijmans2016-07-311-0/+1
| | | | | | | | | | | | 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>
* linux standard.cfg: Replace ext2/ext3 drivers with ext4Mike Looijmans2016-07-311-2/+1
| | | | | | | | | | 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>
* arm-trusted-firmware: Create and deploy the "atf.ub" fileMike Looijmans2016-07-231-0/+3
| | | | | | | | | 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>
* gdb-7.7.1.inc: Setup the SRC_URI to point to a specific tarballNathan Rossi2016-07-171-0/+1
| | | | | | | | 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>
* gcc-source_6.1.bbappend: Include MB patchManjukumar Matha2016-07-171-0/+7
| | | | | | | 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>
* Remove this patch as it is no longer requiredManjukumar Matha2016-07-171-44/+0
| | | | | | | 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>
* Remove old references to GCC 4.9 and 5.3Manjukumar Matha2016-07-172-15/+0
| | | | | | | Remove older GCC support Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* Add GCC6 patch for compiler-gcc6.h file missingManjukumar Matha2016-07-171-0/+92
| | | | | | | | Copy compiler-gcc5.h as compiler-gcc6.h to fix compilation error This is a temporary fix till Xilinx u-boot gets updated Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Add patch for GCC 6Manjukumar Matha2016-07-161-0/+2
| | | | | | | Include the patch to fix compilation error due to missing header file Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* u-boot-xlnx_2016.01.bb: Update tag to v2016.2Manjukumar Matha2016-07-161-2/+2
| | | | | | | Update Xilinx u-boot to xilinx-v2016.2 tag Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
* linux-xlnx_4.4.bb: Update kernel to v2016.2 tagManjukumar Matha2016-07-161-2/+2
| | | | | | | Update Xilinx kernel recipe to xilinx-v2016.2 tag Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>