Jump to content

Smuggler

Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Smuggler

  1. I have done this. And added

    &pwm {
        pinctrl-names = "default";
        pinctrl-0 = <&pwm0_pins_a>, <&pwm1_pins_a>;
        status = "okay";
    };

     to my .../arch/arm/dts/sun7i-a20-bananpi.dts file

     

    but it seems that the changed .dts file is not recompiled at all because after build image an recompile .dtb to .dts

    i only can find

     

    pwm@01c20e00 {
                            compatible = "allwinner,sun7i-a20-pwm";
                            reg = <0x1c20e00 0xc>;
                            clocks = <0xc>;
                            #pwm-cells = <0x3>;
                            status = "disabled";
                    };

  2. Hi,

     

    I'm trying to do the same with Banana Pi + 7" LCD module. But my display stays dark.

     

    1. installed the toolchain
    2. changed the additional line for the 7" display to:

       

      CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:24,pclk_khz:30000,le:40,ri:40,up:29,lo:13,hs:50,vs:10,sync:3,vmode:0"
      CONFIG_VIDEO_LCD_POWER="PH12"
      CONFIG_VIDEO_LCD_BL_EN="PH8"
      CONFIG_VIDEO_LCD_BL_PWM="PB2"

       

    3. added pwm group to .dts file like Martin did
    4. made no changes to compile.sh
    5. ./compile.sh with latest stable Jessie kernel + Desktop Environment

    With a plugged in HDMI Monitor my BPi start correctly to Desktop. With unplugged HMDI unfortunately my 7" LCD stays dark

     

    What have I done wrong? :-)

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines