- Jun 23, 2021
-
-
Michal Simek authored
Historically dpdma and dpsub are placed at the end of files. Move nodes there for easier comparison among dts files. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
dp_aclk is not used anywhere that's why remove it. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Trivial patch. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
dwc3 can be used only for higher speeds than super-speed that's why explicitly set it up. This is also aligned with other ZynqMP dts files. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Remove unused phy.h from zc1232 DTS. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Uarts already have u-boot,dm-pre-reloc via zynqmp.dtsi that's why there is no need to have them in platform DT files too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
There is need to pass entry about secure OS when bl32_entry is defined. Currently only 64bit support is added but /fit-images node have been extended to also record if this is 32bit or 64bit secure OS. When this is tested the code will be update to support this configuration too. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The first change is to trying to find out TF-A load address based on reading elf file. Expectation is that bl31.bin is in the same folder as bl31.elf. It brings new flexibility to place TF-A to any address (DDR included). And also enable TEE generation also with TEE configuration. Expecation is the same as above that tee.bin and tee.elf are in the same folder. User has to just define link to BL31/BL32 binary files and the rest should be handled by the script. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
TF-A and SecureOS can allocate the part of DDR for self but U-Boot is not handling this configuration that the part of memory is reserved and shouldn't be used by U-Boot. That's why read all reserved memory locations and don't use it. The code was taken from commit 4a1b975d ("board: stm32mp1: reserve memory for OP-TEE in device tree") and commit 1419e5b5 ("stm32mp: update MMU config before the relocation") which is used by stm32 and does the job properly. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enable command and fixed regulators. XDP platform is using them. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Trivial change for all files I have touched recently. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add label which is used by bootloader for adding bootloader specific flag. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/3dc8416abdd3498e61edcd83830a12af295c5c6d.1611224800.git.michal.simek@xilinx.com
-
Michal Simek authored
Just sync it with others for easier comparison. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Sata needs to get reset before configuration that's why add property for it there. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Stefano Stabellini authored
The SMMU is disabled in device tree so this change has no impact. The benefit is that this way it is in sync with xen.dtsi. Xen enables the SMMU and makes use of it. Signed-off-by:
Stefano Stabellini <stefano.stabellini@xilinx.com>
-
Michal Simek authored
There is no reason to have CCI no enabled by default. Enable it when your system configuration requires it. In Xilinx configuration flow this is work for Device Tree Generator which reads information from HW Design configuration. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Update the psgtr clock indexing for couple of zynqmp boards. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
K26 has EMMC and SD and default 0 is not working when system is booting out of SD which is controller 1. Add controller autodetection via mmc_get_env_dev(). The same code is used for distro_boot selection done in board_late_init(). bootseq variable can't be reused because this is called so late. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add psu_init_gpl file for getting SPL to work directly from the tree. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Rename amba to AXI. Based on Xilinx Zynq TRM (Chapter 5) chip is "AXI point-to-point channels for communicating addresses, data, and response transactions between master and slave clients. This ARM AMBA 3.0..." Issues are reported as: .. amba: $nodename:0: 'amba' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$' >From schema: ../github.com/devicetree-org/dt-schema/dtschema/schemas/simple-bus.yaml Similar change has been done for Xilinx ZynqMP SoC. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/8a4bc80debfbb79c296e76fc1e4c173e62657286.1606397101.git.michal.simek@xilinx.com
-
Michal Simek authored
Enable gpio driver on these boards. GPIOs can be used on any board. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
SVDs are using different name which can't be handled via zynqmp_devices structure. That's why introduce zynqmp_detect_svd_name() which checks ID code for these devices and show proper name for them. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Enabling EFI secure boot which is required for EBBR specification. Enabling this will fix "RT.SetVariable - Create one Time Base Auth Variable, the expect return status should be EFI_SUCCESS" Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
T Karthik Reddy authored
CONFIG_ZYNQMP_FIRMWARE enables zynqmp firmware driver. Signed-off-by:
T Karthik Reddy <t.karthik.reddy@xilinx.com>
-
Ashok Reddy Soma authored
From U-Boot, loading application on RPU core 0 is fine but loading on core 1 is not handled properly. Lock-step mode needs both the R5 cores to be initialized and it is working fine. Whereas in SPLIT mode individual R5 cores needs to be initialized as they need to execute differenet applications. Handle both these lock-step and split modes by propagating mode and RPU core number(4 for RPU0 and 5 for RPU1) for various functions and by adding conditions in those functions. Signed-off-by:
Ashok Reddy Soma <ashok.reddy.soma@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
The Linux commit f69629919942 ("dt-bindings: sram: Convert SRAM bindings to json-schema") converted binding to yaml and some missing required properties started to be reported. Align binding based on it. The patch is fixing these warnings: .../zynq-zc702.dt.yaml: sram@fffc0000: '#address-cells' is a required property .../zynq-zc702.dt.yaml: sram@fffc0000: '#size-cells' is a required property .../zynq-zc702.dt.yaml: sram@fffc0000: 'ranges' is a required property >From schema: .../Documentation/devicetree/bindings/sram/sram.yaml Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/87c02786ccd8d7827827a9d95a8737bb300caeb0.1606397101.git.michal.simek@xilinx.com
-
Michal Simek authored
The Linux commit f8f79fa6bb25 ("dt-bindings: at25: convert the binding document to yaml") converted binding to yaml and 3 deprecated properties pop up. The patch is fixing these warnings: .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'pagesize' is a required property .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'size' is a required property .../zynq-zc770-xm013.dt.yaml: eeprom@2: 'address-width' is a required property >From schema: .../Documentation/devicetree/bindings/eeprom/at25.yaml by converting them to new binding. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Link: https://lore.kernel.org/r/be2c1125d98386033e182012eb08986924707a76.1606397101.git.michal.simek@xilinx.com
-
Jorge Ramirez-Ortiz authored
Use the ZDMA channel 0 to initialize the DRAM banks. This avoid spurious ECC errors that can occur when accessing unitialized memory. The feature is enabled by setting the option CONFIG_SPL_ZYNQMP_DRAM_ECC_INIT and providing the following data: SPL_ZYNQMP_DRAM_BANK1_BASE: start of memory to initialize SPL_ZYNQMP_DRAM_BANK1_LEN : len of memory to initialize (hex) SPL_ZYNQMP_DRAM_BANK2_BASE: start of memory to initialize SPL_ZYNQMP_DRAM_BANK2_LEN : len of memory to initialize (hex) Setting SPL_ZYNQMP_DRAM_BANK_LEN to 0 takes no action. Signed-off-by:
Jorge Ramirez-Ortiz <jorge@foundries.io> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
pca953x also depends on i2c that's why add dependency to Kconfig. Where GPIO is enabled but I2C compilation error pops up. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Reviewed-by:
Heiko Schocher <hs@denx.de>
-
- Jun 22, 2021
-
-
MSYS2 Windows build started to fail since yesterday (Jun 21): checking keyring... checking package integrity... error: gcc-libs: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-libs-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: gcc: signature from "David Macek <david.macek.0@gmail.com>" is unknown trust :: File /var/cache/pacman/pkg/gcc-10.2.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). error: failed to commit transaction (invalid or corrupted package) Errors occurred, no packages were upgraded. Switching to the latest installer (version 20210604) seems to fix it. Signed-off-by:
Bin Meng <bmeng.cn@gmail.com> Reviewed-by:
Tom Rini <trini@konsulko.com> Tested-by:
Tom Rini <trini@konsulko.com>
-
- Jun 18, 2021
-
-
clean up octeontx_smi_probe by using the live-tree API. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Stefan Roese <sr@denx.de> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
If the environment does not have "soc" or "board" set, and fdtdir option is specified in extlinux.conf, the bootloader will crash whilst dereferencing a null pointer. Add a guard against null soc or board. Fixes a crash of qemu-riscv64_smode configuration, which does not have CONFIG_SYS_SOC defined. Signed-off-by:
Dimitri John Ledkov <xnox@ubuntu.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Linux uses the prefix "ethernet" whereas u-boot uses "eth". This is from the linux tree: $ grep "eth[0-9].*=.*&" arch/**/*dts{,i}|wc -l 0 $ grep "ethernet[0-9].*=.*&" arch/**/*dts{,i}|wc -l 633 In u-boot device trees both prefixes are used. Until recently the only user of the ethernet alias was the sandbox test device tree. This changed with commit fc054d56 ("net: Introduce DSA class for Ethernet switches"). There, the MAC addresses are inherited based on the devices sequence IDs which is in turn given by the device tree. Before there are more users in u-boot and both worlds will differ even more, rename the alias prefix to "ethernet" to match the linux ones. Also adapt the test cases and rename any old aliases in the u-boot device trees. Cc: David Wu <david.wu@rock-chips.com> Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Fabio Estevam <festevam@gmail.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
-
If the environment variable "ethact" is not set, the first device in the uclass is returned. This depends on the probing order of the ethernet devices. Moreover it is not not configurable at all. Try to return the ethernet device with sequence id 0 first which then can be configured by the aliases in a device tree. Fall back to the old mechanism in case of an error. Signed-off-by:
Michael Walle <michael@walle.cc> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Commit 4f0278da ("net: sun8i-emac: Lower MDIO frequency") leads to network failure on the OrangePi PC. => dhcp sun8i_emac_eth_start: Timeout According to the commit message the change of the MDIO frequency is only required for external PHYs. Fixes: 4f0278da ("net: sun8i-emac: Lower MDIO frequency") Signed-off-by:
Heinrich Schuchardt <xypron.glpk@gmx.de>
-
Add SynQuacer's NETSEC GbE controller driver. Since this driver will load the firmware from SPI NOR flash, this depends on CONFIG_SYNQUACER_SPI=y. Signed-off-by:
Jassi Brar <jaswinder.singh@linaro.org> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Revert some changes of commit 3a97da12 ("net: dwc_eth_qos: add dwc eqos for imx support") that were probably added by mistake. One of these changes can lead to received data corruption (enabling FUP and FEP bits). Another causes invalid register rxq_ctrl0 settings for some platforms. And another makes some writes at unknown memory location. Fixes: 3a97da12 ("net: dwc_eth_qos: add dwc eqos for imx support") Signed-off-by:
Daniil Stas <daniil.stas@posteo.net> Cc: Ye Li <ye.li@nxp.com> Cc: Fugang Duan <fugang.duan@nxp.com> Cc: Peng Fan <peng.fan@nxp.com> Cc: Ramon Fried <rfried.dev@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
Disabling clk_ck clock leads to link up status loss in phy, which leads to auto-negotiation restart before each network command execution. This issue is especially big for PXE boot protocol because of auto-negotiation restarts before each configuration filename trial. To avoid this issue don't disable clk_ck clock after it was enabled. Signed-off-by:
Daniil Stas <daniil.stas@posteo.net> Cc: Ramon Fried <rfried.dev@gmail.com> Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Patrick Delaunay <patrick.delaunay@foss.st.com> Cc: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>
-
commit f1bcad22 ("net: e1000: add support for writing to EEPROM") adds support for storing hwaddr in EEPROM however i210 devices do not support this and thus results in errors such as: Warning: e1000#0 failed to set MAC address' Check if a flash device is present and if not return -ENOSYS indicating this is not supported. Signed-off-by:
Tim Harvey <tharvey@gateworks.com> Reviewed-by:
Ramon Fried <rfried.dev@gmail.com>