summaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2012-09-10xilinx-boot.bbclass: Add support for selecting the xilinx hardware bitstream ↵Elvis Dowson
file. * Remove hard-coded references to the xilinx hardware bitstream file, and allow selection via a variable XILINX_BITSTREAM_FILE . Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com>
2012-07-16xilinx-kernel.bbclass: Fix support for binary device tree generationAdrian Alonso
This commit fixes support for binary device tree generation, which was broken as a result of commit 8c904eb643ad8ca1bc29cb2d870a80b355dcb341 in oe-core: linux-dtb: add multi-dtb build support including following enhancement: * support multi-dtb build * skip dtb build and install when KERNEL_DEVICETREE is empty * print a warning message when specified dts file is not available Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> Acked-by: Adrian Alonso <aalonso00@gmail.com>
2012-06-26xilinx-boot: Refactor recipe to add support for Xilinx ISE 14.1.Adrian Alonso
* Refactor recipe to add support for Xilinx ISE 14.1. * Fix minor spelling mistakes. * Add additional log messages. Ensure that you reconfigure your shell to use bash instead of dash while building with Ubuntu 12.04 LTS. Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> Acked-by: Adrian Alonso <aalonso00@gmail.com>
2012-06-10xilinx-kernel: Change string comparision checks to use strict POSIX complianceAdrian Alonso
This commit fixes an issue with string comparision checks failing because of not using strict POSIX compliance, therby failing to copy the device tree from the hardware model to the linux kernel device tree. Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> Acked-by: Adrian Alonso <aalonso00@gmail.com>
2012-06-03xilinx-boot: Change string comparision checks to use strict POSIX compliance.Adrian Alonso
This commit fixes an issue with string comparision checks failing because of not using strict POSIX compliance, therby resulting in wrong definitions being generated into the ${xparam} file. Signed-off-by: Elvis Dowson <elvis.dowson@gmail.com> Acked-by: Adrian Alonso <aalonso00@gmail.com>
2011-07-05xilinx-kernel: reorder devicetree substitution for microblazeAdrian Alonso
* Reorder device tree substitution for microblaze arch * Place in the correct location the devicetree generated from Xilinx XPS project to Linux source code. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-06-07xilinx-boot: remove find_xparam functionAdrian Alonso
* Fix random error: run.do_configure.3710: line 87: find_xparam: command not found * Integrate core functionality in do_configure_prepend function. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-06-07xilinx-boot: update target dir layout infoAdrian Alonso
* Update uboot layout dir information used in do_mk_xparam function; Which replaces xparameters.mk configuration file to reflect the hardware model settings. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-06-07xilinx-boot: remove target configuration functionAdrian Alonso
* Remove target configuration information for uboot settings, this function cause a random unassigment of UBOOT_MACHINE causing that recipe parsing being skip. * UBOOT_MACHINE is set in machine config file and can be overrided by user. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-05-05xilinx-kernel: update to use bb log functionsAdrian Alonso
* Replace log functions calls oenote -> bbnote oefatal -> bbfatal Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-05-05xilinx-boot: update to use bb log functionsAdrian Alonso
* Replace log functions calls oenote -> bbnote oefatal -> bbfatal Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-05-05xilinx-boot: deploy sysace image if generatedAdrian Alonso
* Deploy sysace image if successfully generated * otherwise skip. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-04-19xilinx-boot: notify user if sysace cannot be generatedAdrian Alonso
* Notify user if system ace image cannot be generated * User needs to define Xilinx EDK installation path by setting XILINX_LOC to use EDK tools to produce a system ace image, other wise skip. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-04-19xilinx-kernel: fail safe abort executionAdrian Alonso
* Use XILINX_BOARD "unknown" value to abort build execution in order to ensure that user set a valid Xilinx XPS project to build the custom kernel image to a particular hardware base configuration. * Update fail message to reflect that user needs to set a valid Xilinx XPS project. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-04-19xilinx-boot: fail safe abort executionAdrian Alonso
* Use XILINX_BOARD "unknown" value to abort build execution in order to ensure that user set a valid Xilinx XPS project to build the custom uboot image to a particular configuration of the hardware base platform. * Update fail message to reflect that user needs to set a valid Xilinx XPS project. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-04-19xilinx-utils: rewrite find_board functionAdrian Alonso
* Rewrite find_board helper function * Improve file exception handling * Return Xilinx board model "unknown" if not a valid board descriptor is found. * xilinx-boot and xilinx-kernel use this information to abort build execution of uboot and linux kernel preventing a potential mistmach between the hardware/software models. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-04-08xilinx-boot: fix typo for uboot_targetAdrian Alonso
* Fix typo for uboot_target variables assigment Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-31xilinx-utils: helper functionsAdrian Alonso
* Xilinx EDK integration helper functions * find_board helper function Given a xps project path return the target board model used. Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-31xilinx-boot: merge uboot helper functionsAdrian Alonso
* Merge uboot_machine and uboot_target helper functions into a function that sets UBOOT_TARGET and UBOOT_MACHINE * UBOOT_MACHINE set based on user settings on user settings. TARGET_ARCH XILINX_BOARD UBOOT_MACHINE ------------------------------------------- powerpc ml507 ml507_config powerpc ml510 ml507_config powerpc ml403 ml405_config powerpc ml405 ml405_config microblaze * micrioblaze-generic_config * Notes: * Microblaze support untested! * ml507 - ml510 same hardware diffrent fpga density * ml403 - ml405 same hardware diffrent fpga density Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-31xilinx-kernel: device tree helper functionAdrian Alonso
* Add device_tree helper function * This helper function maps the corresponding device tree source file based on arch and board defined by user TARGET_ARCH XILINX_BOARD DTS ------------------------------------------------- Powerpc ml507 virtex440-ml507.dts Powerpc ml405 virtex405-ml504.dts Powerpc * virtex<cpu>-<board>.dts Microblase * system.dts * Microblaze support untested! Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-22xilinx-boot: xmd add u-boot start addressAdrian Alonso
* Xilinx XMD u-boot missing start address append as paramater for generating ACE image * Xmd complains about missing target and u-boot start address Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-22xilinx-boot: fix xparameter header lookupAdrian Alonso
* Remove prefixed xparameter header lookup location for xparameter header * Implement find_xparam helper function for integrating xparameter in u-boot source code Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-16xilinx-boot: additional board support for ml403 ml510Adrian Alonso
* Additional board support for ml403 and ml507 targets * ML403 configured as ML405 same processor core only changes FPGA density * ML510 configured as ML507 Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-03-16xilinx-boot: add system ace image generationAdrian Alonso
* Add system ace image generation * do_mk_sysace function uses Xilinx EDK host tools to generate system ace image (fpga bitstream + uboot); if the bitstream file is missing this is created. * XILINX_LOC envoriment variable points to the location of the Xilinx EDK host tools tipycally located at /opt/Xilinx/12.4/ISE_DS/ /opt/Xilinx/13.1/ISE_DS/ * Xilinx EDK version is striped from the path location and sources the corresponding settings scripts from EDK tools. * Deploy all components to bring Poky Linux in a single place Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-02-04xilinx-boot: add do_mk_xparam functionAdrian Alonso
* do_mk_xparam function enables building i2c, sysace, lltemac xilinx drivers based on hardware setting, if hardware modules are present in the hwd project then are drivers build is enabled * Add do_mk_xparam function call in configure_prepend stage Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-02-04xilinx-boot: split configure functionAdrian Alonso
* Split configure_prepend function * New do_export_xparam function handles the export process of xparameter header file from hardware project directory to u-boot source code Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-02-04xilinx-boot: add ml405 in default target configAdrian Alonso
* Add ml405 target board configuration support * Only tested in ml405, ml507 target boards Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-02-04xilinx-boot: handles u-boot hw/sw integrationAdrian Alonso
* xilinx-boot handles the hw/sw codesign integration from Xilinx XPS hardware project importing from hw project the 'xparameters' header; file used in u-boot to find platform attributes * Simplify the configure target options for several Xilinx target boards using u-boot generic support for similar targets * Only tested on ml405, ml507 targets Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2011-02-04xilinx-kernel: handle linux kernel hw/sw integrationAdrian Alonso
* This bbclass handles the Xilinx hardware project introinspection for exporting the device-tree blob to match hardware/software co-design in Xilinx FPGA's * xilinx-bsp class delated to split the kernel/u-boot hw/sw introinspection in two separate classes for easier maintenance Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
2010-08-13Fix layout after initial repo creationRichard Purdie
Signed-off-by: Richard Purdie <richard@rex.(none)>