obmc-kvm for ast2400

Felix K J felixkj at acceleronlabs.com
Thu Nov 14 19:11:16 AEDT 2019


Hi,
     I have a custom bmc board which is based on microsoft-olympus with
ast-2400, and I'm trying to enable the obmc-ikvm. I've enabled kernel
configs related to v4l and have also added video in dts and dtsi files. But
an error occurs as the driver is loaded which is

[    0.132353] videodev: Linux video capture interface: v2.00
[    3.039313] aspeed-video 1e700000.video: Unable to get ECLK
[    3.045344] aspeed-video: probe of 1e700000.video failed with error -2

my dts file updates is given below:-
gfx_memory: framebuffer {
                        size = <0x01000000>;
                        alignment = <0x01000000>;
                        compatible = "shared-dma-pool";
                        reusable;
                };

                video_engine_memory: jpegbuffer {
                        size = <0x02000000>;    /* 32MM */
                        alignment = <0x01000000>;
                        compatible = "shared-dma-pool";
                        reusable;
                };

my dtsi updates is given below:-
video: video at 1e700000 {
                                compatible = "aspeed,ast2400-video-engine";
                                reg = <0x1e700000 0x20000>;
                                clocks = <&syscon ASPEED_CLK_GATE_VCLK>,
                                         <&syscon ASPEED_CLK_GATE_ECLK>;
                                clock-names = "vclk-gate", "eclk-gate";
                                resets = <&syscon ASPEED_RESET_VIDEO>;
                                interrupts = <7>;
                                status = "disabled";
                        };

gfx: display at 1e6e6000 {
                                compatible = "aspeed,ast2400-gfx", "syscon";
                                reg = <0x1e6e6000 0x1000>;
                                reg-io-width = <4>;
                                clocks = <&syscon ASPEED_CLK_GATE_D1CLK>;
                                resets = <&syscon ASPEED_RESET_CRT1>;
                                status = "disabled";
                                interrupts = <0x19>;
                        };

what may be the error or what do i miss here...???

Felix K J
AcceleronLabs Pvt Ltd
Bangalore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191114/26a9c729/attachment.htm>


More information about the openbmc mailing list