OKE I got my script issue resolved needed to use the dts file and only need to precompile it not the other files. My new version of the script is below
Was able to compile with the changes you suggested but had to add also the backlight and avdd stanzas. Not sure if they are needed?
So I booted and the hdmi goes blank but then the panel does not come up (super sad).
So I went back and removed the avdd-supply and backlight but that did not help.
So definitely suck now. Hopefully the hardware if functioning. I have no way to tell.
I guess I should try the 6.0 kernel but all the current armbian images for rockpro64 are using 5.15 and I have no experience compiling a kernel and I don't think armbian-config will upgrade across major releases.
mipi_panel: panel@0 {
compatible = "feiyang,fy07024di26a30d";
reg = <0>;
avdd-supply = <&avdd>;
backlight = <&backlight>;
dvdd-supply = <&vcc3v3_s0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
mipi_in_panel: endpoint {
remote-endpoint = <&mipi_out_panel>;
};
};
};
};
#!/bin/bash
SRC=/usr/src/linux-source-5.15.80-rockchip64
ARCH=arm64
DIR=$SRC/arch/$ARCH/boot/dts
SOC=rockchip
INCLUDE=$SRC/include
CHIP=rk3399
DEV=$CHIP-rockpro64
DEP1=$CHIP
DEP2=$CHIP-opp
DST=$DEV.dtb
cp $DIR/$SOC/$DEP1.dtsi .
cp $DIR/$SOC/$DEP2.dtsi .
# cp $DIR/$SOC/$DEV.dtsi .
cp $DEV.dtsi.edits $DEV.dtsi
cp $DIR/$SOC/$DEV.dts $DEV.dts.tmp
cpp -nostdinc -I $INCLUDE -undef -x assembler-with-cpp $DEV.dts.tmp > $DEV.dts
dtc -O dtb -b 0 -o $DST $DEV.dts