[U-Boot] dm video question
Peng Fan
van.freenix at gmail.com
Mon Aug 15 12:05:22 CEST 2016
Hi Simon,
I am trying to coverting mxsfb.c to support dm.
But met the following issue.
"
mxsfb_lcd_bind: Frame buffer size 200400
Video device 'lcdif at 021c8000' cannot allocate frame buffer memory -ensure the device is set up before relocation
"
I add "u-boot, dm-pre-reloc" in dts as the following, but no help.
&lcdif {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lcdif_dat
&pinctrl_lcdif_ctrl
&pinctrl_lcdif_reset>;
display = <&display0>;
status = "okay";
u-boot,dm-pre-reloc;
display0: display {
bits-per-pixel = <16>;
bus-width = <24>;
u-boot,dm-pre-reloc;
status = "okay";
display-timings {
native-mode = <&timing0>;
u-boot,dm-pre-reloc;
timing0: timing0 {
u-boot,dm-pre-reloc;
clock-frequency = <9200000>;
hactive = <480>;
vactive = <272>;
hfront-porch = <8>;
hback-porch = <4>;
hsync-len = <41>;
vback-porch = <2>;
vfront-porch = <4>;
vsync-len = <10>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <0>;
};
};
};
};
More information about the U-Boot
mailing list