Missing /dev/fb0 device on iMX6 sololite - Kernel 5.15.11

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Missing /dev/fb0 device on iMX6 sololite - Kernel 5.15.11

跳至解决方案
1,426 次查看
abrahim
Contributor III

Hi,

I can't get any /dev/fb0 device on my iMX. On the boot I have a NXP psplash image and after it turns off and nothing happens. I don't even have a log message error.

I have a LCD touch panel, connected to the iMX with LVDS. The hardware is OK as it works with an old LTIB distribution.

Capture d’écran_2023-04-08_21-45-26.png

Please find attached :

  • The kernel boot log
  • The Device tree 5.15.11
  • The .config of the kernel
  • The Display datasheet
  • The old LTIB configuration file which workson kernel 3.0

 

Thanks

0 项奖励
回复
1 解答
1,379 次查看
abrahim
Contributor III

It worked when I took the sabreauto device tree display configuration :

&ipu1_csi1_from_ipu1_csi1_mux {
 clock-lanes = <0>;
 data-lanes = <1 2>;
};

 mipi_xclk: mipi_xclk { /* I don't know if this block is relevant, I kept it anyway */
 compatible = "pwm-clock";
 #clock-cells = <0>;
 clock-frequency = <22000000>;
 clock-output-names = "mipi_pwm3";
 pwms = <&pwm3 0 45>; /* 1 / 45 ns = 22 MHz */
 status = "okay";
};

 backlight_lvds: backlight-lvds {
 compatible = "pwm-backlight";
 pwms = <&pwm4 0 50000>;
 brightness-levels = <0 4 8 16 32 64 128 255>;
 default-brightness-level = <7>;
 power-supply = <&reg_3p3v>;
 status = "okay";
};

&ldb {
 status = "okay";

 lvds-channel@0 {
 fsl,data-mapping = "spwg";
 fsl,data-width = <18>;
 status = "okay";

 display-timings {
 native-mode = <&timing0>;
 timing0: atm0700l6l {
 clock-frequency = <38000000>;
 hactive = <800>;
 vactive = <480>;
 hback-porch = <46>;
 hfront-porch = <210>;
 vback-porch = <23>;
 vfront-porch = <12>;
 hsync-len = <10>;
 vsync-len = <10>;
 };
 };
 };
};

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,380 次查看
abrahim
Contributor III

It worked when I took the sabreauto device tree display configuration :

&ipu1_csi1_from_ipu1_csi1_mux {
 clock-lanes = <0>;
 data-lanes = <1 2>;
};

 mipi_xclk: mipi_xclk { /* I don't know if this block is relevant, I kept it anyway */
 compatible = "pwm-clock";
 #clock-cells = <0>;
 clock-frequency = <22000000>;
 clock-output-names = "mipi_pwm3";
 pwms = <&pwm3 0 45>; /* 1 / 45 ns = 22 MHz */
 status = "okay";
};

 backlight_lvds: backlight-lvds {
 compatible = "pwm-backlight";
 pwms = <&pwm4 0 50000>;
 brightness-levels = <0 4 8 16 32 64 128 255>;
 default-brightness-level = <7>;
 power-supply = <&reg_3p3v>;
 status = "okay";
};

&ldb {
 status = "okay";

 lvds-channel@0 {
 fsl,data-mapping = "spwg";
 fsl,data-width = <18>;
 status = "okay";

 display-timings {
 native-mode = <&timing0>;
 timing0: atm0700l6l {
 clock-frequency = <38000000>;
 hactive = <800>;
 vactive = <480>;
 hback-porch = <46>;
 hfront-porch = <210>;
 vback-porch = <23>;
 vfront-porch = <12>;
 hsync-len = <10>;
 vsync-len = <10>;
 };
 };
 };
};

0 项奖励
回复
1,391 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

hello,

 

Currently your version is not supported by NXP, You may download the official nxp version of the kernel 5.15.71 BSP, it works on ltib because it is from NXP.

Regards

0 项奖励
回复