summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
6 daysrecipes-bsp: barebox-targettools: Change TARGETCFLAGS to userccflagsHEADmasterYunus Bas
The TARGETCFLAGS property has been dropped from barebox, userccflags is used instead. Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
6 daysu-boot: upgrade 2020.07 -> 2020.10Wadim Egorov
Poky upgraded to u-boot 2020.10. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
6 daysdynamic-layers: freescale-layer: linux-imx: Update kernel tag to ↵Christian Hemp
v5.4.47_2.2.0-phy4 Changes since v5.4.47_2.2.0-phy3: arm64: dts: imx8mp-phyboard-pollux: Add pwm fan arm64: dts: imx8mp-phyboard-pollux: Fix pwm dtc warning arm64: dts: imx8mp-phyboard-pollux: Fix pwm dtc warning arm64: dts: imx8mp-evk: Fix pwm dtc warning arm64: dts: imx8mp: Increase pwm-cells arm64: dts: imx8mp-phyboard-pollux: Add user led support arm64: configs: imx8_phytec_platform.config: Enable PWM fan support arm64: configs: imx8_phytec_platform.config: Enable PCA9532 driver arm64: dts: imx8mp-phycore-som: Move debug uart arm64: configs: imx8_phytec_distro.config: Enable HIDRAW arm64: dts: imx8mp-phyboard-pollux: Fix i2c eeprom device tree entry arm64: dts: imx8mn-phyboard-polis: Keep usdhc1 power in suspend BACKPORT: brcmfmac: fix suspend/resume when power is cut off Signed-off-by: Christian Hemp <c.hemp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
7 daysbarebox: Provide barebox imd-header with CRC32 checksumYunus Bas
The barebox Image-Metadata now offers an additional register for CRC32 checksum values. Before updating, barebox generates the checksum of the to-be-installed barebox binary and checks it against the CRC32-value in the imd-section of the binary. This patch generates the checksum and adds it to the CRC32-register in the IMD-header after compilation. Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
12 daysdynamic-layers: freescale-layer: linux-imx: Update kernel tag to ↵Teresa Remmet
v5.4.47_2.2.0-phy3 Add backport of mcp2518fd (CAN FD) driver support for phyBOARD-Polis-i.MX8MM and include rtc rv3028 EEPROM refresh fixes. Changes since v5.4.47_2.2.0-phy2: arm64: config: imx8_phytec_platform: Enable can support arm64: dts: imx8mm-phyboard-polis: Remove assigned clock for spi arm64: dts: imx8mm-phyboard-polis: Update compatible string for mcp251xfd UPSTREAM: can: mcp251xfd: rename all remaining occurrence to mcp251xfd UPSTREAM: can: mcp251xfd: rename all user facing strings to mcp251xfd UPSTREAM: can: mcp251xfd: rename driver files and subdir to mcp251xfd UPSTREAM: can: mcp25xxfd: narrow down wildcards in device tree bindings to "microchip, mcp251xfd" UPSTREAM: can: mcp25xxfd: mcp25xxfd_irq(): add missing initialization of variable set_normal mode UPSTREAM: can: mcp25xxfd: mcp25xxfd_ring_free(): fix memory leak during cleanup UPSTREAM: can: mcp25xxfd: mcp25xxfd_probe(): add SPI clk limit related errata information UPSTREAM: can: mcp25xxfd: mcp25xxfd_handle_eccif(): add ECC related errata and update log messages UPSTREAM: can: mcp25xxfd: add listen-only mode BACKPORT: can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN UPSTREAM: can: mcp25xxfd: add regmap infrastructure UPSTREAM: spi: imx: fallback to PIO if dma setup failure UPSTREAM: can: rx-offload: can_rx_offload_add_manual(): add new initialization function rtc: rv3028: write backup reg to eeprom BACKPORT: rtc: rv3028: ensure ram configuration registers are saved ... Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-12lm_sensors: Add config for phyBOARD-PolluxTeresa Remmet
phyBOARD-Pollux has a pwm-fan connected that needs to be controlled with hwmon. The configuration is not yet fully verfied. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-12dynamic-layer: imx-mkimage: imx-boot-phytec: Fix file namesTeresa Remmet
Fix file names of imx8qm m4 binaries. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-12barebox: imx6ul: Set watchdog timeoutYunus Bas
Set the watchdog timer to activate the watchdog, when boot is initiated. Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-12barebox: boot-scripts: Change rootfs size calculationMartin Schwan
Subtract some additional space so UBI volumes can be created successfully. This is because UBI adds some overhead and does not allow for using the complete physically available flash size. For now, a fixed size is subtracted because the calculation of the exact overhead may be too complicated to implement here. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-12layer.conf: bind compat to oe-coreStefan Müller-Klieser
We use the exact same branching scheme as poky. So we can also bind the layercompat together. There is no additional information provided here. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de> Reviewed-by: Norbert Wesp <n.wesp@phytec.de>
2020-11-04stm32mp1: switch default source to our git serverStefan Müller-Klieser
During development, we should switch the SRC_URI to pull from our git server, so the latest development state can be accessed. For a release it might be useful to go the st way of providing patches, as this will considerably reduce the download volume. For our mainline BSPs, we use git shallow clones for those cases. We cannot use weak assignment here, as it is strongly assigned in meta stm. Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02barebox: imx6ul: Reduce cma size on phyboard-seginYunus Bas
On phyBOARD-Segin boards with 512 MB RAM, CMA fails to reserve 256 MB of contiguous memory. We fix this for Segin-6 and Segin-8 by reducing the CMA-size to 128 MB. Signed-off-by: Yunus Bas <y.bas@phytec.de> rebased Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02linux: Add BPF to debug config fragmentYunus Bas
Berkeley Packet Filter (BPF) is a Linux kernel functionality, which enables filtering, tracing, monitoring, performance measuring etc. Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02class: fitimage: Delete deltask for sdk and package install supportMaik Otto
The sdk and package install was not possible with the deltask for this features. Signed-off-by: Maik Otto <m.otto@phytec.de> Acked-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02barebox: boot-scripts: Style fixesMartin Schwan
Signed-off-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02barebox: Add RAUC boot scripts for phyboard-mira-imx6-13Martin Schwan
Enable RAUC related boot scripts for the machine phyboard-mira-imx6-13. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02barebox: Separate RAUC NAND boot scriptsMartin Schwan
Separate scripts for initialization of RAUC on machines with NAND flash. This way the size of the NAND flash can be specified and partitions are sized accordingly. For i.MX6UL machines the kernel partition size increases from 8 to 16 MB. Also separate setting and removing of bootchooser variables into functions. Signed-off-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: phyboard-polis-imx8mm-3: Read U-Boot SPI imageTeresa Remmet
With u-boot tag v2020.04_2.2.0-phy2, creating a u-boot image to boot from SPI-NOR flash is possible again. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Acked-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: phyboard-polis-imx8mn-1: Rename kernel device treeTeresa Remmet
Rename kernel device tree to better fit our variant management. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Acked-by: Norbert Wesp <n.wesp@phytec.de> commit msg Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: Add initial machine for phyBOARD-PolluxTeresa Remmet
Add initial support for phyBOARD-Pollux populated with an i.MX8MP. Features are still not fully tested, as this is still alpha hardware. Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Acked-by: Norbert Wesp <n.wesp@phytec.de> merge, sort machines Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02dynamic-layers: freescale-layer: linux-imx: Update kernel tag to ↵Teresa Remmet
v5.4.47_2.2.0-phy2 This changes include initial support for phyBOARD-Pollux-i.MX8MP. Changes since v5.4.47_2.2.0-phy1: arm64: dts: imx8mp-phyboard-pollux: Add camera support with VM-016 arm64: config: imx8_phytec_platform: Enable camera support media: i2c: Add support for the ON Semi AR0144 camera sensor media: imx: imx8-isi: Remove hflip and vflip v4l2-ctrl from capture media: imx: imx8-isi: Register v4l2-ctrl handler with v4l2_dev media: imx: imx8-isi: Fix setting of sizeimage and bytesperline media: imx: imx8-isi: Don't use default formats media: imx: imx8-isi: Fix format enumeration media: imx: imx8-isi: Support bayer and grey formats media: imx: imx8-mipi-csi2-sam: Set the required register settings media: imx: imx8-mipi-csi2-sam: Don't spam error messages on interrupt media: imx: imx8-mipi-csi2-sam: Don't override format for sensor media: imx: imx8-mipi-csi2-sam: Add missing bayer and grey formats drivers: regulator: pca9450-regulator: Update irq missing message gpio: of: don't warn if ignored GPIO flag matches the behavior arm64: dts: imx8mp-phyboard-pollux: Enable EEPROM arm64: dts: imx8mp-phyboard-pollux: Add flexcan support arm64: dts: imx8mp-phycore-som: Enable more i2c device arm64: configs: imx8_phytec_platform.config: Enable tmp102 arm64: dts: imx8mp-phyboard-pollux: Enable HDMI arm64: dts: imx8mp-phyboard-pollux: Enable USB support arm64: dts: imx8mp-phyboard-pollux-rdk: Add support for PEB-AV-010 ... Signed-off-by: Teresa Remmet <t.remmet@phytec.de> Acked-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02u-boot-imx: Update to v2020.04_2.2.0-phy2Christian Hemp
Changes since v2020.04_2.2.0-phy1: configs: phycore-imx8mp_defconfig: Enable EEPROM cmd configs: phycore-imx8mp_defconfig: Add watchdog support driver: net: dwc_eth_qos: Set phy oftree node correct UPSTREAM: net: dwc_eth_qos: Convert to use APIs which support live DT arm: dts: phycore-imx8mp: Add support for eqos eth interface board: phytec: Initial phyCORE-i.MX8MP support board: freescale: imx8mp_evk: Fix compile error arm: dts: phycore-imx8mm: Fix property include: configs: Add RAUC boot logic board: phytec: phycore-imx8mm: Use env from SPI flash configs: Add config for phycore-imx8mm spi boot board: phytec: phycore_imx8mn: Enable watchdog board: phytec: phycore_imx8mm: Enable watchdog board: phycore-imx8mn: Switch back to non-DM SPL board: phycore-imx8mm: Switch back to non-DM SPL board: phytec: phycore-imx8mq: Move ram detection to common phytec: common: imx8m_ddr_detection: Add non DM detection board: phytec: phycore-imx8mm: Use common imx8m ddr ram detection board: phytec: common: Move imx8m ddr detection to common Signed-off-by: Christian Hemp <c.hemp@phytec.de> Acked-by: Norbert Wesp <n.wesp@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: tf-a-stm32mp: configure recipe to use devupstreamChristophe Parant
Modify the recipe to use git mode. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: tf-a-stm32mp: add "tf-a-stm32mp-serialboot" bbappendChristophe Parant
Configure the recipe to use git mode. tf-a-stm32mp-serialboot recipe is added in meta-st to manage the TF-A for serial boot. It allows to use a dedicated TF-A binary for serial boot with STM32CubeProgrammer tool and to save size for the TF-A binary used for the product. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: linux: add config fragments to support phycore-stm32mp1Christophe Parant
Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: linux-stm32mp: update revision and use devupstreamChristophe Parant
- Rename linux-stm32mp_4.19.bbappend to linux-stm32mp_%.bbappend. - Use git mode during development. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: u-boot-stm32mp: update revision and use devupstreamChristophe Parant
- Rename u-boot-stm32mp_2018.11.bbappend to u-boot-stm32mp_%.bbappend - Use git mode. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: phycore-stm32mp1: add 512MB NAND supportChristophe Parant
Activate the NAND support and define the FLASH layout for machine equipped with 512MB NAND. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: phycore-stm32mp1-6: add EULA and extlinux configurationChristophe Parant
Those new files are necessary for each new machines. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: add support for phycore-stm32mp1-6 machineChristophe Parant
- Include new stm32mp PROVIDER config file from meta-st. - Comment Basic boot scheme (not used by default). - Remove PREFERRED_VERSION for u-boot-stm32mp and linux-stm32mp. - Use BOOTDEVICE_LABELS instead of FLASHLAYOUT_CONFIG_LABELS (used for generating flashlayout file). - Remove variables now defined in phytec-machine-common-stm32mp.inc: MULTIUBI_BUILD MKUBIFS_ARGS_nand_2_256 UBINIZE_ARGS_nand_2_256 EXTRA_UBIFS_SIZE_nand_2_256 Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: stm32mp machine: define default FDT for u-boot extlinuxChristophe Parant
As UBOOT_EXTLINUX_FDT_phycore-stm32mp1-3 is not defined, the default OpenSTLinux LABEL in extlinux.conf generated file does not point to phycore-stm32mp1-3.dtb. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: stm32mp machines: split "phytec-machine-extlinux-config-stm32mp"Christophe Parant
This config file contains configuration that are specific to each phycore-stm32mp1-x machines. This specificites are move to new config file per machine: phytec-machine-extlinux-config-phycore-stm32mp1-x.inc Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: u-boot: remove "u-boot-stm32mp-extlinux" recipeChristophe Parant
This recipe is duplicated from meta-st and can be deleted. Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02stm32mp: m4projects-stm32mp1: temporary modificationChristophe Parant
- Temporary adapt the checksum to match new STM32CubeMP1 license - Add new SRC_URI from meta-st: shutdown-stm32mp1-m4.sh Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: add support for phycore-stm32mp1-3 machineChristophe Parant
- Include new stm32mp PROVIDER config file from meta-st - Comment Basic boot scheme (not used by default) - Remove PREFERRED_VERSION for u-boot-stm32mp and linux-stm32mp - Use BOOTDEVICE_LABELS instead of FLASHLAYOUT_CONFIG_LABELS (used for generating flashlayout file) Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02classes: stm32mp1: remove unused bbclass filesChristophe Parant
- Remove extlinuxconf-stm32mp.bbclass which was not used in last BSP version (leftover from ALPHA BSP) - Remove extlinuxconf-phycore-stm32mp.bbclass, as this file does not need to be duplicated anymore from meta-st (extlinuxconf-stm32mp.bbclass from meta-st now works with phycore-stm32mp machines). Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: phycore-stm32mp1 machines: update common configuration filesChristophe Parant
- Update configuration files from OpenSTLinux v2.0.0 - Delete phytec-machine-features-stm32mp.inc (not used) - Add new config file for machine storage device configuration Signed-off-by: Christophe Parant <c.parant@phytec.fr> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02linux-common: add tpm2 activation depends on the MACHINE FEATURE tpm2Maik Otto
Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02recipes-bsp: u-boot-imx: add phygate-tauri-imx8mm boards to 2020.04_2.2.0-phy1Maik Otto
Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02dynamic-layer: linux-imx: add phygate-tauri-imx8mm boards to 5.4.47_2.2.0-phy1Maik Otto
Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-11-02conf: machine: add phygate-tauri-imx8mm boardsMaik Otto
Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-30barebox_2020.09: Set fitImage for Secure Boot and Protection Level SupportMaik Otto
Add the switch from Image the fitImage depend on the distro feature secure boot. Add the Protection level support for this barebox version. Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-30fitImage: change Kernel name from fitImage.fitimg to fitImageMaik Otto
The fitImage is a defined kernel type, which is used as name for the kernel image. Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-30class: fitimage: set default for load and entry address to emptyMaik Otto
The load and entry address was not right, but the Barebox do not parse the load and entry addresses from the fitImage. The barebox patch with commit:8666aae1db002d500ca1a9ec2cfdd7155ab0494b (2020-08-14) fix the parse error. This patch set the load and entry address to empty, so that the barebox use its default values. Signed-off-by: Maik Otto <m.otto@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-29scripts: init: Add container usage messageWadim Egorov
Provide information for container based builds and work environments. Additional container information is only printed if 'build_container' attribute is set in the manifest file. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-22wic: Add wks file for RAUC image for i.MX8MN and i.MX8MPCem Tenruh
Since i.MX8MN and i.MX8MP have a different Bootloader offset a new wic file was needed. Signed-off-by: Cem Tenruh <c.tenruh@phytec.de> Reviewed-by: Martin Schwan <m.schwan@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-15recipes-graphics: Remove proprietary driver library recipe imx-gpu-vivWadim Egorov
We used the proprietary userspace libraries with our i.MX6 platforms. Now since this platform is supported upstream, we don't have to support packages for proprietary vendor libraries. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-15recipes-kernel: Remove linux-imx_4.1.15-phy3.bbWadim Egorov
Removed because - Our i.MX6UL platform moved to vanilla kernel - Fix releases can be done on older branches - Kernel 4.1 reached EOL. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-15recipes-graphics: Remove libsdl bbappendWadim Egorov
The only user 'tuxracer' is gone from meta-yogurt. Besides that the SDL should work with mesa out of the box. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>
2020-10-15recipes-devtools: don't use trailing slash in SWadim Egorov
Fixes WARNING: Recipe <recipe> sets S variable with trailing slash. Signed-off-by: Wadim Egorov <w.egorov@phytec.de> Signed-off-by: Stefan Müller-Klieser <s.mueller-klieser@phytec.de>