Hi Hans
On Tue, Jun 26, 2018 at 4:47 PM, Hans de Goede [off-list ref] wrote:
Hi,
On 26-06-18 16:42, Michael Nazzareno Trimarchi wrote:
quoted
Hi Hans
On Tue, Jun 26, 2018 at 3:38 PM, Michael Nazzareno Trimarchi
[off-list ref] wrote:
quoted
Hi
On Tue, Jun 26, 2018 at 3:36 PM, Hans de Goede [off-list ref]
wrote:
quoted
Hi,
On 26-06-18 15:29, Michael Nazzareno Trimarchi wrote:
quoted
Hi
to be more specific
On Tue, Jun 26, 2018 at 3:06 PM, Michael Nazzareno Trimarchi
[off-list ref] wrote:
quoted
Hi
On Tue., 26 Jun. 2018, 12:01 pm Hans de Goede, [off-list ref]
wrote:
quoted
Hi,
On 25-06-18 15:29, Michael Nazzareno Trimarchi wrote:
quoted
79 more quoted lines
cat memblock/reserved
0: 0x80004000..0x80007fff
1: 0x80100000..0x81e030b3
2: 0x83000000..0x83007fff
3: 0x84000000..0x85ffffff
4: 0x86fa2000..0x87021fff
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ display_reserved: framebuffer@86fa2000 {
+ reg = <0x86fa2000 0x80000>;
+ };
+
+ };
+
+ chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ stdout-path = &uart1;
+ framebuffer0: framebuffer@86fa2000 {
+ compatible = "simple-framebuffer";
+ reg = <0x86fa2000 (480 * 272 * 4)>;
+ width = <480>;
+ height = <272>;
+ stride = <(480 * 4)>;
+ format = "a8r8g8b8";
+ clocks = <&clks IMX6UL_CLK_LCDIF_PIX>,
+ <&clks IMX6UL_CLK_LCDIF_APB>,
+ <&clks IMX6UL_CLK_DUMMY>,
+ <&clks IMX6UL_CLK_GPIO3>,
+ <&clks IMX6UL_CLK_GPIO4>;
+ nshut-supply = <®_lcd_nshut>;
+ nreset-supply = <®_lcd_nreset>;
+ display = <&lcdif>;6 more lines
After that double check in the memory map reported by the
kernel during boot that your reservation actually works.
Regards,
Hans
quoted
+ linux,cma {
+ compatible = "shared-dma-pool";
+ reusable;
+ size = <0x1000000>;
+ linux,cma-default;
+ };
+ };
+
+ chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges;
+
+ stdout-path = &uart1;
+ framebuffer0: framebuffer@86fd6080 {
+ compatible = "simple-framebuffer";
+ reg = <0x86fd6080 (480 * 272 * 4)>;
Here I try to use the same. I will create in uboot a dynamic way to
track down. I think that
we can even add to the simple buffer a way to get hand of reserved
region automatically
Michael
+ width = <480>;
+ height = <272>;
+ stride = <(480 * 4)>;
38 more quoted lines
--
| Michael Nazzareno Trimarchi Amarula Solutions BV |
| COO - Founder Cruquiuskade 47 |
| +31(0)851119172 Amsterdam 1018 AM NL |
| [`as] http://www.amarulasolutions.com |