Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
* 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>
|
|
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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* Replace log functions calls
oenote -> bbnote
oefatal -> bbfatal
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
|
|
* Replace log functions calls
oenote -> bbnote
oefatal -> bbfatal
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
|
|
* Deploy sysace image if successfully generated
* otherwise skip.
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* Fix typo for uboot_target variables assigment
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
* Add ml405 target board configuration support
* Only tested in ml405, ml507 target boards
Signed-off-by: Adrian Alonso <aalonso@secretlab.ca>
|
|
* 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>
|
|
* 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>
|
|
Signed-off-by: Richard Purdie <richard@rex.(none)>
|