Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

[Linux] mipi_dphy0 enabling error in dts file

67

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
67

【Linux】 mipi_dphy0 enabling error in dts file

Posted at 9/27/2023 16:33:48      View:3025 | Replies:8        Print      Only Author   [Copy Link] 1#
  • Type: Self-Compiled Firmware
  • SDK Package Name: ROC-RK3566-PC-MIPI_Rk356x_v1.3.2f_230926
  • Last Commit: 0000-00-00 00:00:00
  • Modification Content: -
  • Log: test.zip
Problem description and steps to reproduce:
I'm trying enable to mipi dsi on RK3566-PC.
For that I'am using this documantation. https://download.t-firefly.com/product/Board/Common/Document/Developer/Rockchip_Developer_Guide_DRM_Panel_Porting_CN.pdf
In this documantation there is a step for  enable to mipi_dphy0.
When I change the device tree for enable to mipi_dphy0, I take a kernel dts build error.

When I added the code in following file to kernel/arch/arm64/boot/dts/rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dts file,
&mipi_dphy0 {
    status = "okay";
}

&mipi_dphy1 {
    status = "disabled";
}


I took the error at following line:

scripts/kconfig/conf  --syncconfig Kconfig
  DTC     arch/arm64/boot/dts/rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dtb
  CALL    scripts/checksyscalls.sh
Error: arch/arm64/boot/dts/rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dts:71.1-12 syntax error
FATAL ERROR: Unable to parse input tree
scripts/Makefile.lib:307: recipe for target 'arch/arm64/boot/dts/rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dtb' failed
make[1]: *** [arch/arm64/boot/dts/rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dtb] Error 1
arch/arm64/Makefile:145: recipe for target 'rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dtb' failed
make: *** [rockchip/rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dtb] Error 2
make: *** Waiting for unfinished jobs....
ERROR: Running build_extboot failed!
ERROR: exit code 2 from line 774:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS

How can I enable the mipi_dsi0 like says on documentation ?



test.zip

3.06 KB, Down times: 1

Reply

Use props Report

378

Credits

7

Prestige

7

Contribution

intermediate

Rank: 3Rank: 3

Credits
378
Posted at 9/28/2023 10:39:37        Only Author  2#
syntax error because you are missing a ";" at end of "}"
BUT this is not the point.
There's no mipi_dphy nodes in RK356x but video_phy instead. The doc you read is not suitable for RK356X
You can find more accurate docs under docs/ in SDK
rk3566-firefly-roc-pc-mipi101_M101014_BE45_A1.dts is already well configured, you can find video_phy0 is enabled in it.
So you don't need to modify anything about dts, mipi dsi0 works if you choose the right mk file when building, for example:

# choose to build ubuntu firmware with mipi support
./build.sh roc-rk3566-pc-mipi-ubuntu.mk
# start build
./build.sh
Reply

Use props Report

132

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
132
Posted at 1/11/2026 07:42:01        Only Author  3#
I felt like I walked away from that article with so much more knowledge. Wishing you all the best on your exams! Free New PEGACPSA24V1 exam tips questions available now!
Reply

Use props Report

126

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
126
Posted at 1/11/2026 18:31:47        Only Author  4#
Instant like; this content is too good. Best of luck on your exam! Here’s the free Managing-Cloud-Security new dumps sheet content.
Reply

Use props Report

135

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
135
Posted at 1/19/2026 10:59:24        Only Author  5#
Your article truly left me in awe, thank you for sharing! We’re providing FCP_FGT_AD-7.6 questions pdf, packed with valuable resources, for free, to help you.
Reply

Use props Report

133

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
133
Posted at 1/23/2026 02:20:22        Only Author  6#
Thank you for sharing such a motivational article! Free Latest TDA-C01 exam question resources for exam success. Wishing you the best!
Reply

Use props Report

132

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
132
Posted at 2/6/2026 14:27:50        Only Author  7#
Your article is breathtaking, I really appreciate you sharing it! The content in L4M4 real question is rich and free of charge, created with your success in mind.
Reply

Use props Report

126

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
126
Posted at 12 hour before        Only Author  8#
This is truly a magnificent article, thank you for sharing. With the Valid Salesforce-Data-Cloud test vce, I advanced in my career and earned a salary increase. Now, it's free for everyone. Wishing you quick promotions!
Reply

Use props Report

136

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
136
Posted at 10 hour before        Only Author  9#
当社WGUでは、多くの分野の専門家を雇用してInformation-Technology-Management学習ガイドを作成しているため、学習教材の品質を安心してご利用いただけます。 さらに、Information-Technology-Management試験問題のガイダンスに基づいて試験の準備をすることで、PassTest近い将来昇進する機会を増やし、給与を引き上げることができます。 したがって、WGU Information Technology Management QGC1試験を受ける準備ができたら、Information-Technology-Management学習教材を利用できます。 次の受益者になりたい場合、何を待っていますか? Information-Technology-Management学習教材を購入してください。
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list