From: Peng Fan <van.freenix@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] dm video question
Date: Mon, 15 Aug 2016 18:05:22 +0800 [thread overview]
Message-ID: <20160815100520.GA21874@linux-7smt.suse> (raw)
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>;
};
};
};
};
next reply other threads:[~2016-08-15 10:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-15 10:05 Peng Fan [this message]
2016-08-17 4:16 ` [U-Boot] dm video question Simon Glass
2016-08-18 6:19 ` Peng Fan
2016-08-18 12:43 ` Simon Glass
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160815100520.GA21874@linux-7smt.suse \
--to=van.freenix@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox