cancel
Showing results for 
Search instead for 
Did you mean: 

issue with stock DTB/kernel on recent version on STM32MP1 OpenSTLinux

developer2
Senior

Dear forum,

i compiled stock recent kernel "linux-stm32mp-6.1.28-stm32mp-r1-r0",

https://wiki.st.com/stm32mpu/wiki/Getting_started/STM32MP1_boards/STM32MP135x-DK/Develop_on_Arm%C2%AE_Cortex%C2%AE-A7/Modify,_rebuild_and_reload_the_Linux%C2%AE_kernel

i tried to boot compiled kernel i got error: gc2145@3c node not found - DT update aborted

... and then kernel hangs with message: "Starting kernel ..."

command :  dtc -I dtb -O dts stm32mp135f-dk.dtb

shows:

Warning (unique_unit_address): /soc/etzpc@5c007000/i2c@4c006000/gc2145@3c: duplicate unit-address (also used in node /soc/etzpc@5c007000/i2c@4c006000/camera@3c)

and then later below:

        gc2145@3c {
          compatible = "galaxycore,gc2145";
          reg = <0x3c>;
          clocks = <0x3d>;
          IOVDD-supply = <0x25>;
          AVDD-supply = <0x25>;
          DVDD-supply = <0x25>;
          powerdown-gpios = <0x33 0x03 0x01>;
          reset-gpios = <0x33 0x04 0x01>;
          status = "okay";
          phandle = <0xac>;

          port {

            endpoint {
              remote-endpoint = <0x3e>;
              clock-lanes = <0x00>;
              data-lanes = <0x01 0x02>;
              phandle = <0x3b>;
            };
          };
        };

        camera@3c {
          compatible = "ovti,ov5640";
          reg = <0x3c>;
          clocks = <0x3d>;
          clock-names = "xclk";
          DOVDD-supply = <0x25>;
          status = "disabled";
          powerdown-gpios = <0x33 0x03 0x01>;
          reset-gpios = <0x33 0x04 0x01>;
          phandle = <0xad>;

          port {

            endpoint {
              clock-lanes = <0x00>;
              data-lanes = <0x01 0x02>;
              phandle = <0xae>;
            };
          };
        };

please could you help me fix that issue ?  ... camera should be enabled and kernel should not hang ...

 

U-Boot 2021.10-stm32mp-r2-rc2 (Oct 04 2021 - 15:09:26 +0000)

CPU: STM32MP135F Rev.?
Model: STMicroelectronics STM32MP135F-DK Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp135f-dk)
Board: MB1635 Var1.0 Rev.E-02
DRAM:  512 MiB
optee optee: OP-TEE: revision 3.16 (d0b742d1)
Clocks:
- MPU : 1000 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1
Loading Environment from MMC... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: eth1@5800a000, eth1: eth2@5800e000
Hit any key to stop autoboot:  0 
Boot over mmc0!
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:8...
Found /mmc0_extlinux/stm32mp135f-dk_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp135f-dk_extlinux.conf
565 bytes read in 18 ms (30.3 KiB/s)
Retrieving file: /splash_landscape.bmp
7802 bytes read in 14 ms (543.9 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp135f-dk-a7-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /st-image-resize-initrd
29827666 bytes read in 1257 ms (22.6 MiB/s)
Retrieving file: /uImage
8212136 bytes read in 356 ms (22 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw   console=ttySTM0,115200
Retrieving file: /stm32mp135f-dk.dtb
62258 bytes read in 16 ms (3.7 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-6.1.28
   Created:      2024-03-21  19:23:38 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8212072 Bytes = 7.8 MiB
   Load Address: c2000040
   Entry Point:  c2000040
   Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
   Booting using the fdt blob at 0xc4000000
   XIP Kernel Image
   Loading Ramdisk to ce38d000, end cffff252 ... OK
   Loading Device Tree to ce37a000, end ce38c331 ... OK
gc2145@3c node not found - DT update aborted

Starting kernel ...
​

 

Kind regards,

 

1 ACCEPTED SOLUTION

Accepted Solutions
developer2
Senior

i'm replying my message ... i realized that i'm trying to boot recent kernel on stock SD card which has previous version of ecosystem ...

please ignore my request for help ...

 

 

View solution in original post

1 REPLY 1
developer2
Senior

i'm replying my message ... i realized that i'm trying to boot recent kernel on stock SD card which has previous version of ecosystem ...

please ignore my request for help ...