xsct-tarball.bbclass: Clearing sysroots-xsct dir i...
by Jaewon Lee 6 years 9 months
xsct-tarball.bbclass: Clearing sysroots-xsct dir if xsct tarball changes

Clearing sysroots-xsct dir before extracting new xsct-tarball if tarball
checksum has changed to make sure contents of sysroots-xsct only has
artifacts from the new tarball

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
a4d806d3
xsct-tarball.bbclass: giving default blank value f...
by Jaewon Lee 6 years 9 months
xsct-tarball.bbclass: giving default blank value for chksum_tar_actual

There is a 'referenced before assignment' error because the declaration
for chksum_tar_actual is in a conditional statement. giving it a blank
default value to bypass this error

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
b69e183b
xsct-tarball.bbclass: check ext_tarball is set bef...
by Jaewon Lee 6 years 9 months
xsct-tarball.bbclass: check ext_tarball is set before copying to dl dir

This fix is required to bypass error that will happen in the esdk
creation when including xsct-trim. Upon creation, ext_tarball will not
be set for the esdk so there will be a fatal error at the shutil.copy
line. Checking to make sure ext_tarball is set before copying to dl dir

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
24a0e3b6
xsct-tarball.bbclass: Add missing quotes for flag ...
by Jaewon Lee 6 years 9 months
xsct-tarball.bbclass: Add missing quotes for flag check

Missing '' when checking for flag WITHIN_EXT_SDK as it will be a '1'
(string) when set.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
7ca731d3
device-tree.bbappend: Include MIPI specific DT nod...
by Sai Hari Chandana Kalluri 6 years 9 months
device-tree.bbappend: Include MIPI specific DT nodes if mipi enabled in
MACHINE_FEATURES

This patch checks if mipi is included under MACHINE_FEATUERS and
provides support for required mipi device tree nodes such as the camera
sensor, the video pipeline ips.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
b05965c2
xsctyaml.bbclass: Remove PMU_MIO_INPUT_PIN compile...
by Manjukumar Matha 6 years 9 months
xsctyaml.bbclass: Remove PMU_MIO_INPUT_PIN compiler flag for Ultra96

To support the board power off we only need BOARD_SHUTDOWN_PIN and
BOARD_SHUTDOWN_PIN_STATE flags enabled. The PMU_MIO_INPUT_PIN is not
needed. By including this flag, the user will notice random shutdown
triggers, especially when the board is restarted. The PMU_MIO_INPUT_PIN
triggers the PmShutdownInterruptHandler routine whenever the power
button is toggled. By removing the flag, the random shutdown issue is
fixed.

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
cb89a4a7
device-tree.bbappend: Add device-tree nodes for MI...
by Sai Hari Chandana Kalluri 6 years 9 months
device-tree.bbappend: Add device-tree nodes for MIPI support on Ultra96

To enable the MIPI camera support on Ultra96, the OV5640 and video
pipeline nodes must be included in the device tree. This patch includes
mipi_for_ultra96.dtsi containing the required nodes. At the end of
configure step, it copies the provided dtsi to build dir and appends the
file to system-top.dtsi

Signed-off-by: Sreeja Vadakattu <svadakat@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
91289e19
xsctyaml.bbclass: Enable board shutdown for Ultra9...
by Sai Hari Chandana Kalluri 6 years 9 months
xsctyaml.bbclass: Enable board shutdown for Ultra96

When user enters shutdown -h now on command line for Ultra96 boards,
only the chip turns off and not the entire board. To enable the entire
board to be powered off, the BOARD_SHUTDOWN_PIN and
BOARD_SHUTDOWN_PIN_STATE values are explicitly set through
YAML_COMPILER_FLAGS which will trigger the kill board function in pmu
firmware

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
00bf497f
fpga-manager-util_1.0.bb: check base pl.dtbo exist...
by Jaewon Lee 6 years 9 months
fpga-manager-util_1.0.bb: check base pl.dtbo exists before continuing

Check to make sure device-tree recipe succesfully generated base pl.dtbo
and populated it in /boot/devicetree/. Fatal error otherwise.

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
612e8011
fpga-manager-util_1.0.bb: Add error check for boot...
by Jaewon Lee 6 years 9 months
fpga-manager-util_1.0.bb: Add error check for bootgen command

Check to make sure bin files were correctly generated using bootgen
before continuing

Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
82ca7387
Report a bug