Enable erasing environment with eraseenv command.
Signed-off-by: Yannic Moog
---
configs/phycore-imx8mp_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore-imx8mp_defconfig b/configs/phycore-imx8mp_defconfig
index 8dd4963bdc0..3ddceecf205 100644
--- a/configs/phycore
Enable erasing environment with eraseenv command.
Signed-off-by: Yannic Moog
---
configs/phycore-imx8mm_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/phycore-imx8mm_defconfig b/configs/phycore-imx8mm_defconfig
index f9fd7255df7..868770ea949 100644
--- a/configs/phycore
Enable erasing environment with eraseenv command.
Signed-off-by: Yannic Moog
---
configs/imx8mm-phygate-tauri-l_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/imx8mm-phygate-tauri-l_defconfig
b/configs/imx8mm-phygate-tauri-l_defconfig
index 41765f1ddc5..16ba7d4b4f1
Enable CMD_ERASEENV config option for
imx8mm-phygate-tauri-l,
phycore-imx8mm,
phycore-imx8mp.
---
Yannic Moog (3):
configs: imx8mm-phygate-tauri-l_defconfig: enable CMD_ERASEENV
configs: phycore-imx8mm_defconfig: enable CMD_ERASEENV
configs: phycore-imx8mp_defconfig: enable
On Tue, 2024-07-09 at 15:47 +0200, Wadim Egorov wrote:
>
>
> Am 09.07.24 um 15:31 schrieb Daniel Schultz:
> > Hi Yannic,
> >
> > On 09.07.24 08:49, Yannic Moog wrote:
> > > Hello Daniel,
> > >
> > > On Sun, 2024-07-07 at 23:07 -0700, Danie
Hello Daniel,
On Sun, 2024-07-07 at 23:07 -0700, Daniel Schultz wrote:
> Add a new environment routine to apply extensions. Our SOM detection
> adds overlays via the extension framework to alter the kernel
> device-tree according to the flashed EEPROM image.
>
> Signed-off-by: Daniel Schultz
> -
The PHYCORE_IMX8MM is used by the phyBOARD-Polis and the
phyGATE-Tauri-L. Migrate both boards to OF_UPSTREAM. Linux kernel device
trees for both boards can be used as is, corresponding U-Boot device
tree files are removed. U-Boot tweaks are kept unchanged.
Signed-off-by: Yannic Moog
---
arch
The PHYCORE_IMX8MP is used by the phyBOARD-Pollux. Migrate board to
OF_UPSTREAM. Linux kernel device tree for the board can be used as is,
corresponding U-Boot device tree files are removed. U-Boot tweaks are
kept unchanged.
Signed-off-by: Yannic Moog
---
arch/arm/dts/Makefile
- update MAINTAINERS
- delete synced dt files
- imply OF_UPSTREAM
- update default device tree
---
Yannic Moog (2):
arm: imx8mm-phycore: move to OF_UPSTREAM
arm: imx8mp-phycore: move to OF_UPSTREAM
arch/arm/dts/Makefile | 3 -
arch/arm/dts/imx8mm-phyboard
Hi Fabio, hi Marek,
On Sun, 2024-03-24 at 15:00 -0300, Fabio Estevam wrote:
> On Thu, Mar 21, 2024 at 4:17 PM Marek Vasut wrote:
>
> > $ git grep -i usb.*phytec configs
> > configs/phycore_pcl063_defconfig:CONFIG_USB_GADGET_MANUFACTURER="Phytec"
> > configs/phycore_pcl063_ull_defconfig:CONFIG_US
inux FHS 3.0, change the nfsroot default directory
to /srv/nfs.
Fixes: 60f64bec414e ("board: phytec: phycore_imx8mp: Add fec support")
Signed-off-by: Yannic Moog
---
Depends on [1] which is on next already.
[1]
https://lore.kernel.org/u-boot/20240312085957.902398-1-l.anderw..
- watchdog
>
> Signed-off-by: Mathieu Othacehe
Reviewed-by: Yannic Moog
> ---
> Hello,
>
> This new revision fixes the remarks of Primoz. The configuration is now
> aligned on the savedefconfig output. The FEC Ethernet is also tested to be
> working if this patch
On Wed, 2024-01-24 at 14:30 +0100, Mathieu Othacehe wrote:
>
> Hello Yannic,
>
> > As a heads-up: you need to rebase as am62 (doc) got applied by Tom.
>
> Noted.
>
> > Is the trusted-firmware-a upstream version working? If so, please use that
> > instead.
>
> It is but only on the master bran
Hello Mathieu
As a heads-up: you need to rebase as am62 (doc) got applied by Tom.
On Wed, 2024-01-17 at 08:52 +0100, Mathieu Othacehe wrote:
> Add support for the Phytec i.MX93 Segin evaluation kit. The SoM consists
> of an NXP i.MX93 dual A55 CPU. The SoM is mounted on a Phytec Segin SBC.
>
> S
Hi Mathieu
On Thu, 2024-01-18 at 12:04 +0100, Mathieu Othacehe wrote:
>
> Hi,
>
> Thanks for the review!
>
> > s/imx93_phycore/phycore_imx93
> >
> > To fit into existing PHYTEC boards already in tree.
>
> I deliberately picked that order so that it is aligned with most imx
> boards already su
ludes that cause build failures on arm 32bit
boards. SoM detection shall support 32bit boards as well, but arch
specific code should not be included in the generic module.
Fixes: aa7858fe5e2e ("board: phytec: som_detection: move definitions to source
file")
Signed-off-by: Yannic Moo
Hi Fabio
On Fri, 2024-01-12 at 14:55 -0300, Fabio Estevam wrote:
> Hi Yannic,
>
> On Thu, Jan 11, 2024 at 5:27 AM Yannic Moog wrote:
> >
> > Commit aa7858fe5e2e ("board: phytec: som_detection: move definitions to
> > source file") moved function d
t;board: phytec: som_detection: move definitions to source
file")
Signed-off-by: Yannic Moog
---
board/phytec/common/Makefile | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/board/phytec/common/Makefile b/board/phytec/common/Makefile
index fe28964ce21..5f8e8435413 100644
--- a
Add brief documentation on how to build a bootable U-Boot image for the
phyGATE-Tauri-L.
Signed-off-by: Yannic Moog
---
board/phytec/phycore_imx8mm/MAINTAINERS | 2 +
doc/board/phytec/imx8mm-phygate-tauri-l.rst | 60 +
doc/board/phytec/index.rst
Add rst documentation files to the respective MAINTAINERS file for
PHYTEC boards.
Signed-off-by: Yannic Moog
---
board/phytec/phycore_imx8mm/MAINTAINERS | 1 +
board/phytec/phycore_imx8mp/MAINTAINERS | 1 +
2 files changed, 2 insertions(+)
diff --git a/board/phytec/phycore_imx8mm/MAINTAINERS
phyGATE-Tauri-L-iMX8MM is a Gateway based on the phycore-imx8mm SoM.
As a result, all the board code of the phycore-imx8mm is used.
Device tree synced with kernel v6.7.
Signed-off-by: Yannic Moog
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx8mm-phygate-tauri-l-u
.
---
Changes in v2:
- readd TIDP83867; is populated on the SoM by default
- remove remnants from SPI config options (savedefconfig)
- add doc/board/phytec files to MAINTAINERS
---
Yannic Moog (3):
Add support for phyGATE-Tauri-L-iMX8MM
doc: board: phytec: Add phyGATE-Tauri board
Add brief documentation on how to build a bootable U-Boot image for the
phyGATE-Tauri-L.
Signed-off-by: Yannic Moog
---
doc/board/phytec/imx8mm-phygate-tauri-l.rst | 60 +
doc/board/phytec/index.rst | 1 +
2 files changed, 61 insertions(+)
diff
phyGATE-Tauri-L-iMX8MM is a Gateway based on the phycore-imx8mm SoM.
As a result, all the board code of the phycore-imx8mm is used.
Device tree synced with kernel v6.7.
Signed-off-by: Yannic Moog
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/imx8mm-phygate-tauri-l-u
The config is minimal and mostly a copy from the phycore-imx8mm. TI PHY
and SPI (flash) are disabled as they are not populated by default.
---
Yannic Moog (2):
Add support for phyGATE-Tauri-L-iMX8MM
doc: board: phytec: Add phyGATE-Tauri board documentation
arch/arm/dts/Makefile
Move all function definitions in {phytec|imx8m}_som_detection from the
header to the source file to prevent potential linker error regarding
multiple definitions. Also move the #if blocks with the definitions.
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 32
When som_type does not match any case, it is uninitialized and the
function still tries to print the SoM info. Rather, this is an error
condition and the function should abort prematurely. Highlight this by
printing an error message and returning early.
Signed-off-by: Yannic Moog
---
board
---
Changes in v2:
- fixed accidental squashing of changes -> split into 2 separate patches
---
Yannic Moog (5):
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type
board: phytec: imx8m_som_detection: fix uninitialized pointer bug
board: phy
array index to compare all chunks of the buffer.
Signed-off-by: Yannic Moog
---
board/phytec/common/phytec_som_detection.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/board/phytec/common/phytec_som_detection.c
b/board/phytec/common/phytec_som_detection.c
index
Pointer in phytec_imx8m_detect was accessed without checking it first.
Fix this by moving the pointer check in front of any accesses.
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/phytec
phytec_imx8m_detect returns -1 on error, but the return type is u8
leading to 255 return values. Fix this by changing the return type to
int; there is no reason to keep it as u8 .
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 2 +-
board/phytec/common
Hello Teresa,
On Wed, 2023-12-20 at 09:24 +0100, Teresa Remmet wrote:
> Hello Yannic,
>
> Am Mittwoch, dem 20.12.2023 um 09:19 +0100 schrieb Yannic Moog:
> > In phytec_eeprom_data_init, after reading eeprom data into buffer, it
> > is
> > checked whether all byte
array index to compare all chunks of the buffer.
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 32 ++
board/phytec/common/imx8m_som_detection.h | 32 --
board/phytec/common/phytec_som_detection.c | 43
When som_type does not match any case, it is uninitialized and the
function still tries to print the SoM info. Rather, this is an error
condition and the function should abort prematurely. Highlight this by
printing an error message and returning early.
Signed-off-by: Yannic Moog
---
board
Pointer in phytec_imx8m_detect was accessed without checking it first.
Fix this by moving the pointer check in front of any accesses.
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/board/phytec
phytec_imx8m_detect returns -1 on error, but the return type is u8
leading to 255 return values. Fix this by changing the return type to
int; there is no reason to keep it as u8 .
Signed-off-by: Yannic Moog
---
board/phytec/common/imx8m_som_detection.c | 2 +-
board/phytec/common
---
Yannic Moog (4):
board: phytec: imx8m_som_detection: change phytec_imx8m_detect return type
board: phytec: imx8m_som_detection: fix uninitialized pointer bug
board: phytec: phytec_som_detection: fix eeprom_data zero check
board: phytec: phytec_som_detection: fix
t
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> --
> Changes in v2:
> - Fix wrong RAM Timing values as pointed out by Yannic
> ---
> board/phytec/phycore_imx8mp/spl.c | 61
> +++
> 1 file changed, 61 insertions(+)
>
> diff --git a/b
On Thu, 2023-08-17 at 10:57 +0200, Teresa Remmet wrote:
> Add helper function to read out the PCB revision of a PHYTEC SoM.
>
> Signed-off-by: Teresa Remmet
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> ---
> Changes in v2:
> - none
> ---
> board/phytec/commo
-off-by: Teresa Remmet
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> ---
> Changes in v2:
> - none
> ---
> board/phytec/phycore_imx8mp/lpddr4_timing.c | 278 ++-
> -
> 1 file changed, 135 insertions(+), 143 deletions(-)
>
> diff --git a/board/phyte
On Thu, 2023-08-17 at 10:57 +0200, Teresa Remmet wrote:
> Add EEPROM detection initialisation for phyCORE-i.MX8MM and
> print SoM information during boot when successful.
>
> Signed-off-by: Teresa Remmet
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> ---
> Changes
On Thu, 2023-08-17 at 10:57 +0200, Teresa Remmet wrote:
> Add imx8m specific detection part. Which includes checking the
> EEPROM data for article number options.
>
> Signed-off-by: Teresa Remmet
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> ---
> Changes in v2:
> -
;
> Signed-off-by: Teresa Remmet
Reviewed-by: Yannic Moog
Tested-by: Yannic Moog
> ---
> Changes in v2:
> - none
> ---
> board/phytec/common/Kconfig | 5 +
> board/phytec/common/Makefile | 10 ++
> board/phy
Hello Joao,
On Sun, 2023-08-20 at 21:04 +0200, Joao Marcos Costa wrote:
> Hello U-Boot community,
>
> I'm submitting a patch series that ports the gen_compile_commands.py
> script from the Linux kernel's sources to U-Boot. This script,
> originally
> located in scripts/clang-tools/gen_compile_com
Hi Fabio
On Thu, 2023-08-24 at 08:52 -0300, Fabio Estevam wrote:
> Hi Yannic,
>
> On Thu, Aug 17, 2023 at 5:57 AM Teresa Remmet
> wrote:
> >
> > second version of the series to add support for EEPROM SoM
> > detection used
> > by different PHYTEC SoMs. The EEPROM data consist of 32 bytes
> > co
Hello Teresa,
On Tue, 2023-07-18 at 15:35 +0200, Teresa Remmet wrote:
> Due to PCB layout constraints in PCB revisions until including
> 1549.2,
> a RAM frequency of 2 GHz can cause rare instabilities. Set the RAM
> frequency to 1.5 GHz to achieve a stable system under all conditions.
>
> Signed-
Hello Teresa,
On Tue, 2023-07-18 at 15:35 +0200, Teresa Remmet wrote:
> Starting with PCB revision 3 we can safely make use of higher RAM
> frequency again. Make use of the EEPROM detection to determine the
> revision and use the updated RAM timings for new SoMs.
>
> Signed-off-by: Teresa Remmet
Hello Teresa,
On Tue, 2023-07-18 at 15:35 +0200, Teresa Remmet wrote:
> Add EEPROM detection initialisation for phyCORE-i.MX8MM and
> print SoM information during boot when successful.
>
> Signed-off-by: Teresa Remmet
> ---
> board/phytec/phycore_imx8mp/Kconfig | 1 +
> board/phytec/phycore_im
Hi Teresa,
On Tue, 2023-07-18 at 15:35 +0200, Teresa Remmet wrote:
> Add imx8m specific detection part. Which includes checking the
> EEPROM data for article number options.
>
> Signed-off-by: Teresa Remmet
> ---
> board/phytec/common/Kconfig | 8 +
> board/phytec/common/Makefil
Add documentation on how to build a bootable U-Boot image for the PHYTEC
phyCORE-i.MX 8M Plus.
Signed-off-by: Yannic Moog
---
doc/board/phytec/index.rst | 1 +
doc/board/phytec/phycore-imx8mp.rst | 60 +
2 files changed, 61 insertions(+)
create mode 100644
Add documentation on how to build a bootable U-Boot image for the PHYTEC
phyCORE-i.MX 8M Mini.
Signed-off-by: Yannic Moog
---
doc/board/index.rst | 1 +
doc/board/phytec/index.rst | 9 +
doc/board/phytec/phycore-imx8mm.rst | 60 +
3
51 matches
Mail list logo