| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
Having ramdisk images in FAT, rootfs extracted into EXT4 and want to
boot direct EXT4 boot without pivot is not working since the bootscript
is loading the ramdisk image from FAT. To avoid this adding env
variables to skip loading ramdisk images. These can be part of uEnv.txt
or uboot.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
This patch will add uEnv.txt support in bootscript.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
We should be using IMAGE_VERSION_SUFFIX instead, but this requires that
the user either directory or indirectly inher image-artifact-names.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
| |
Use the ramdisk.cpio.gz.u-boot image for pxeboot when INITRAMFS_IMAGE has the image
name *initramfs*.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
| |
Removed duplicate bootargs for SD bootmode and more over this was
hardcoded to SD0 controller instead we need to use SDBOOTDEV variable.
Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Add PRE_BOOTENV in uboot-zynq-scr to add boot commands into boot.scr.
Defining FIT_IMAGE_OFFSET variables for QSPI and NAND.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Adding microblaze support for boot.scr and moving the generic boot
script from petalinux to yocto layers.
The generic boot script will read the boot_target variable on uboot and
based on the bootmode it will execute the boot commands.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
This patch removes the exit from boot script which is after the boot command.
in successfull case boot command gives handoff to kernel and exit never executes.
Signed-off-by: Swagath Gadde <swagath.gadde@xilinx.com>
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Both components now have in-development changes that are incompatible with
gatesgarth 2020.2 version.
Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Previously machine override for a soc variant was SOC_VARIANT appended
to SOC_FAMILY. A '-' was included in between to align with how versal
handles machine overrides. Updating machine overrides to match this
format
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
| |
Add PRE_BOOTENV in uboot-zynq-scr to add boot commands into boot.scr.
Defining FIT_IMAGE_OFFSET variables for QSPI and NAND.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Adding microblaze support for boot.scr and moving the generic boot
script from petalinux to yocto layers.
The generic boot script will read the boot_target variable on uboot and
based on the bootmode it will execute the boot commands.
Signed-off-by: Raju Kumar Pothuraju <raju.kumar-pothuraju@xilinx.com>
|
|
|
|
|
|
|
|
| |
Signed-off-by: Philip Balister <philip@balister.org>
Adjusted where the append is added, and commented when to remove it.
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
|
|
|
|
|
|
|
|
| |
Update commitid and branch for the following components:
arm-trusted-firmware, vcu, linux-xlnx, qemu, u-boot-xlnx,xrt,zocl,bootgen
git cherry-pick 9f8d8d7
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
It is inspired by u-boot-zynq-uenv.bb
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use variable IMAGE_VERSION_SUFFIX variable instead of DATETIME. Using
IMAGE_VERSION_SUFFIX allows easier and more direct changes. The
variable is available since Yocto 2.6 and it is used also for other
name variables, e.g. IMAGE_NAME. It is set to "-${DATETIME}" per
default, so the naming does not change as long as IMAGE_VERSION_SUFFIX
is not overridden.
For more details, see:
https://www.yoctoproject.org/docs/latest/ref-manual/ref-manual.html#migration-2.6-image-kernel-artifact-naming-changes
Signed-off-by: Joerg Hofrichter <joerg.hofrichter@ni.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
In case two SD controllers are used, the user can define a proper SDBOOTDEV variable in the machine configuration.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It fixes the u-boot scripts in case a ZynqMP+ SoC comes with two SDHCI controllers.
It requires a proper enumeration in the U-Boot Device tree, i.e.
mmc0 = &sdhci0;
mmc1 = &sdhci1;
not
mmc0 = &sdhci1;
mmc1 = &sdhci0;
The second enumeration being a workaround (always boot from mmc0),
is not required anymore as u-boot for ZynqMP+ defines 'sdbootdev'
environment variable. Moreover, the proper enumeration allows to
select proper block device (mmcblk0p2 vs mmcblk1p2) passed as 'root'
parameter to kernel.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
|
|
|
|
|
|
|
|
|
| |
The solution with the relative path doesn't work if devtool is involved:
getVar returns value of S variable before it gets overwritten by devtool recipe
which cause compilation failure.
The solution is to use absolute path to the pmu firmware.
Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previous Yocto releases, builddir path was set in u-boot.inc within poky layer.
Since u-boot-xlnx.inc inherits u-boot.inc, makefile configures and compiles
u-boot-xlnx in a build directory ( set by B) that is not the source directory.
In Dunfell, build directory path is moved from u-boot.inc to u-boot-common.inc
which is not inherited in u-boot-xlnx recipes. As a result, during the build,
makefile configures and compiles u-boot-xlnx from source directory resulting in
the following error:
tmp/work/zcu102_zynqmp-xilinx-linux/u-boot-xlnx/v2020.01-xilinx-v2020.1+gitAUTOINC+86c84c0d0f-r0/git
is not clean, please run 'make mrproper'
To fix the error, set builddir path (B) explicitly within u-boot-xlnx.inc
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Update commit ids and branches for atf,u-boot,linux-xlnx,vcu
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removing dtb fatload in boot.scr and removing unnecessary image, dtb,
rootfs loading in runqemu command
dtb is being loaded through boot.bin for versal so fatload through
boot.scr and loading into memory through runqemu commands are not
necessary (before this change dtb was essentially being loaded three
times)
image will be fatloaded through boot.scr (provided in sd image)
rootfs is provided through sd image
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
The original patch is intended for kc705-trd designs.
Now xilinx is not supporting any kc705-trd designs and
yocto/petalinux is not using this patch so,
removing this patch from this layer.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
| |
This patch will remove the functionality which is adding
kc705-trd patch.
Signed-off-by: Varalaxmi Bingi <varalaxmi.bingi@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Update UBOOT MACHINE defconfig to xilinx_zynq_virt_defconfig
instead of using custom machine specifc defconfigs.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
zynqmp machines
Update UBOOT MACHINE defconfig to xilinx_zynqmp_virt_defconfig instead of using
custom machine specifc defconfigs.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
machines
Update DEVICETREE LOAD ADDRESS for zynqmp machines from 0x4000000 to at
0x100000.
Update KERNEL LOAD ADDRESS for zynqmp to 0x200000.
Modify boot.scr to not load dtb during u-boot as dtb will be loaded to
ddr directly from boot.bin.
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
| |
Update u-boot patch for kc705
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds the initrd label command to pxe config file
which is required to boot linux in pxeboot with initrd image.
initrd <path> - if this label is chosen, use tftp to retrieve the initrd
at <path>. it will be stored at the address indicated in
the initrd_addr_r environment variable, and that address
will be passed to bootm
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
|
|
|
|
|
|
| |
Upgrade u-boot, qemu, linux, atf to 2020.1
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
|
|
|
|
|
|
|
| |
Add u-boot-xlnx platform init file for zcu216-zynqmp machine
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add support to build images for vc-p-a2197-00-versal Tenzing board + SE1
board configuration
vck190-versal.conf: Rename vc-e-a2197-00-versal to vck190-versal
Rename vc-e-a2197-00-versal machine configuration to vck190-versal
with required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Setting sd as default bootmode for versal and adding default boot.scr for
versal. NOTE: the difference between zynqmp and versal boot.scr template is
versal doesn't have 'earlycon'
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Separating out sample boot.cmd file for the three supported arch (zynq,
zynqmp, versal), Updating devicetree, kernel, ramdisk load addresses for
zynq, and dynamically setting DEVICE_TREE_NAME to either system.dtb or
kernel dtb, depending on if dtg is used or not.
This u-boot-zynq-scr implementation is put in to set the default boot
and boot quicker than having to wait for the distro_bootcmd to cycle to
the correct boot medium. For example, zynq arch has boot_targets set to
"mmc mmc0 qspi usb0 pxe dhcp xilinx" and it takes about 30 seconds to
try the 'xilinx' target which will run the correct bootargs.
To use the boot.scr file, zynqmp boards must have BOOT.bin, Image,
system.dtb, and boot.scr in the boot partition and a rootfs extracted in
the second partition. Zynq boards must have BOOT.bin, uImage,
system.dtb, boot.scr, and uramdisk.image.gz in the boot partition.
(uramdisk.image.gz is the ${IMAGE}.cpio.gz.u-boot in deploy directory)
Adding u-boot-zynq-scr dependency to all zynq and zynqmp machine confs.
Conditionally adding system.dtb to IMAGE_BOOT_FILES for zcu102 to
support boot.scr in qemu flow.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds pxeboot support for versal platform by adding default
config file in pxelinux.cfg directory with below minimal mandatory
information forbooting.
label <name> - begin a label definition. labels continue until
a command not recognized as a label command is seen,
or EOF is reached.
kernel <path> - if this label is chosen, use tftp to retrieve the kernel
at <path>. it will be stored at the address indicated in
the kernel_addr_r environment variable, and that address
will be passed to bootm to boot this kernel.
fdt <path> - if this label is chosen, it will load dtb at fdt_addr
and that location of a fdt_addr will be passed
to bootm when booting a kernel.
Generally after u-boot bootup in jtag mode after autoboot time it scans
usb and then ethernet and checks for pxelinux.cfg directory with default
config file, if found it will load and boot linux.
Steps to test:
1.acquire the board
2.in systest point the tftpd <path>
3.open serial terminal and connect com0
4.load the pdi from xsdb
5.stop at uboot promt and set serverip
6.dhcp
7.pxe get
8.pxe boot
Signed-off-by: Swagath Gadde <swagathg@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
The zc1275-zynqmp board name is renamed to zcu1275-zynqmp. All
references in u-boot repository have been modified to zcu1275 from
zc1275. This patch updates the uboot platform init to use the zcu1275
name change
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Update u-boot, kernel, ATF, QEMU, pmu-firmware, multimedia recipes for
2019.2 release.
The patch also upgrades gcc microblaze, newlib and libgloss versions.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
| |
Xilinx u-boot supports distrocmd, this required u-boot.scr from distro
to provide the required default boot instead of scanning through the
list of available boot devices.
This patch enables SD boot mode by default for ZU+ and Versal devices.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Add bison-native dependency for 2019.01
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update components for 2019.1 release
- u-boot-xlnx
- linux-xlnx
- arm-trusted-firmware
- QEMU
- recipes-multimedia/vcu
- xrt and zocl
- pmu-firmware
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Update kc705-microblazeel to microblaze version v11
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
| |
Update microblaze patch to convert microblaze generic to kc705 for
2019.1 release.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
| |
Add the relevant configs available from u-boot.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
| |
Update the arm-trusted-firmware, u-boot-xlnx, linux-xlnx, qemu-xilinx
and qemu-devicetrees recipes for 2018.3 release
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Handle IMAGE_BOOT_FILES having wildcard patterns for dtbs. This requires
that the recipe depend on the deployment of the dtbs in order for the
correct file names to be expanded.
This change also improves the parsing of the IMAGE_BOOT_FILES variable
and splits out the python functions for doing this into a separate
image-wic-utils.bbclass file.
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building pmu firmware using multiconfig setup, the binaries can be
deployed in different build directory. Provide variables to set the
binaries in the required path for QEMU.
Fix SPL dependency on pmu-firmware. Since the pmu-firmware is being built
as a part of multiconfig provide variables to fetch appropriate
pmu-firmware binaries.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
components
The zynqmp-pmu class was being used to build standalone components (PMU)
for several devices, with the introduction of the meta-xilinx-standalone
layer and the xilinx-standalone distro, this is not necessary anymore.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Reviewed-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ZCU104 Evaluation Kit enables designers to jumpstart designs for
embedded vision applications such as surveillance, Advanced Driver
Assisted Systems (ADAS), machine vision, Augmented Reality (AR), drones
and medical imaging. This kit features a Zynq® UltraScale+™ MPSoC EV
device with video codec and supports many common peripherals and
interfaces for embedded vision use case. The included ZU7EV device is
equipped with a quad-core ARM® Cortex™-A53 applications processor,
dual-core Cortex-R5 real-time processor, Mali™-400 MP2 graphics
processing unit, 4KP60 capable H.264/H.265 video codec, and 16nm FinFET+
programmable logic.
This patch adds machine configuration file for ZCU104 Evaluation Kit
with required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider which will also generate SPL
boot.bin
- hwcodec is provided by libomxil-xlnx recipe, this will pull in
additional dependencies of VCU kernel modules, control software,
firmware binaries
Depending on the application need you may want to pass the appropriate
CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel.
While using SPL flow, you may need to provide additional hack to pass
the PMU config object. This is similar to all ZU+ boards, due to gap in
SPL flow unable to load PMU config object.
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The ZCU106 Evaluation Kit enables designers to jumpstart designs for
video conferencing, surveillance, Advanced Driver Assisted Systems
(ADAS) and streaming and encoding applications. This kit features a
Zynq® UltraScale+™ MPSoC EV device and supports all major peripherals
and interfaces, enabling development for a wide range of applications.
The included ZU7EV device is equipped with a quad-core ARM® Cortex™-A53
applications processor, dual-core Cortex-R5 real-time processor,
Mali™-400 MP2 graphics processing unit, 4KP60 capable H.264/H.265 video
codec, and 16nm FinFET+ programmable logic.
This patch adds machine configuration file for ZCU106 Evaluation Kit
with required setting of board specific yocto variables needed for
compilation of bootloader, kernel and device-tree.
- linux-xlnx is the kernel provider
- u-boot-xlnx is the u-boot provider which will also generate SPL boot.bin
- hwcodec is provided by libomxil-xlnx recipe, this will pull in
additional dependencies of VCU kernel modules, control software,
firmware binaries
Depending on the application need you may want to pass the appropriate
CMA size in bootargs or set CONFIG_CMA_SIZE_MBYTES in kernel.
While using SPL flow, you may need to provide additional hack to pass
the PMU config object. This is similar to all ZU+ boards, due to gap in
SPL flow unable to load PMU config object.
Signed-off-by: Devarsh Thakkar <devarsht@xilinx.com>
Tested-by: Maulik Desai <maulik.desai@xilinx.com>
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|
|
|
|
|
|
|
|
|
| |
Due to this change 54e2729ed43f82b8cfd96395fb68e447a9b60f86, zcu102
runqemu does not depend on u-boot-spl.bin. It requires just ATF and
u-boot to be present. Hence deploying of u-boot-spl.bin is no longer
required.
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
|