Smuggler
-
Posts
3 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Smuggler
-
-
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";
}; -
Hi,
I'm trying to do the same with Banana Pi + 7" LCD module. But my display stays dark.
- installed the toolchain
- 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" - added pwm group to .dts file like Martin did
- made no changes to compile.sh
- ./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? :-)
Enabling LCD in u-boot Kernel 4.7.2
in Allwinner sunxi
Posted
Thanks Martin, that was the missing hint i needed.
CREATE_PATCHES = yes and then copy the customized sun7i-a20-bananpi.dts to both folders.
P.s. added the touch driver like you explained in your other thread.
Works for me. Thanks