目录/sys/class/graphics/下没有fb0,只有一个fbcon
没有fb0,那估计驱动还没对,我也是刚用,下载的是Nano的内核`https://gitee.com/LicheePiNano/Linux.git`
里面设备树的panel节点是这样的
```code
panel: panel {
compatible = "qiaodian,qd43003c0-40", "simple-panel";
#address-cells = <1>;
#size-cells = <0>;
enable-gpios = <&pio 4 6 GPIO_ACTIVE_HIGH>;
port@0 {
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
panel_input: endpoint@0 {
reg = <0>;
remote-endpoint = <&tcon0_out_lcd>;
};
};
};
```
code
`menuconfig`里面也要相应配置Device Driver下的LCD作为Console