您尚未登录。

#3 Re: 全志 SOC » 关于全志H6 的RGB666 DPI接口问题求助 » 2024-09-24 06:56:41

设备树什么的也没有相关信息
这是自己改的

	hdmi: hdmi@6000000 {
			#sound-dai-cells = <0>;
			compatible = "allwinner,sun50i-h6-dw-hdmi";
			reg = <0x06000000 0x10000>;
			reg-io-width = <1>;
			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>,
				 <&ccu CLK_HDMI>, <&ccu CLK_HDMI_CEC>,
				 <&ccu CLK_HDCP>, <&ccu CLK_BUS_HDCP>;
			clock-names = "iahb", "isfr", "tmds", "cec", "hdcp",
				      "hdcp-bus";
			resets = <&ccu RST_BUS_HDMI_SUB>, <&ccu RST_BUS_HDCP>;
			reset-names = "ctrl", "hdcp";
			phys = <&hdmi_phy>;
			phy-names = "phy";
			pinctrl-names = "default";
			pinctrl-0 = <&hdmi_pins>;
			status = "disabled";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				hdmi_in: port@0 {
					reg = <0>;

					hdmi_in_tcon_top: endpoint {
						remote-endpoint = <&tcon_top_hdmi_out_hdmi>;
					};
				};

				hdmi_out: port@1 {
					reg = <1>;
				};
			};
		};

		hdmi_phy: hdmi-phy@6010000 {
			compatible = "allwinner,sun50i-h6-hdmi-phy";
			reg = <0x06010000 0x10000>;
			clocks = <&ccu CLK_BUS_HDMI>, <&ccu CLK_HDMI_SLOW>;
			clock-names = "bus", "mod";
			resets = <&ccu RST_BUS_HDMI>;
			reset-names = "phy";
			#phy-cells = <0>;
		};

		tcon_top: tcon-top@6510000 {
			compatible = "allwinner,sun50i-h6-tcon-top";
			reg = <0x06510000 0x1000>;
			clocks = <&ccu CLK_BUS_TCON_TOP>,
				 <&ccu CLK_TCON_TV0>;
			clock-names = "bus",
				      "tcon-tv0";
			clock-output-names = "tcon-top-tv0";
			resets = <&ccu RST_BUS_TCON_TOP>;
			#clock-cells = <1>;

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				tcon_top_mixer0_in: port@0 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <0>;

					tcon_top_mixer0_in_mixer0: endpoint@0 {
						reg = <0>;
						remote-endpoint = <&mixer0_out_tcon_top_mixer0>;
					};
				};

				tcon_top_mixer0_out: port@1 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <1>;

					// tcon_top_mixer0_out_tcon_lcd: endpoint@0{
					// 	reg = <0>;
					// 	remote-endpoint = <&tcon_lcd_in_tcon_top_mixer0>;
					// };

					tcon_top_mixer0_out_tcon_tv: endpoint@2 {
						reg = <2>;
						remote-endpoint = <&tcon_tv_in_tcon_top_mixer0>;
					};
				};

				tcon_top_mixer0_out1: port@2 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <2>;

					tcon_top_mixer0_out_tcon_lcd: endpoint@2{
						reg = <2>;
						remote-endpoint = <&tcon_lcd_in_tcon_top_mixer0>;
					};
				};

				tcon_top_hdmi_in: port@4 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <4>;

					tcon_top_hdmi_in_tcon_tv: endpoint@0 {
						reg = <0>;
						remote-endpoint = <&tcon_tv_out_tcon_top>;
					};
				};

				tcon_top_hdmi_out: port@5 {
					reg = <5>;

					tcon_top_hdmi_out_hdmi: endpoint {
						remote-endpoint = <&hdmi_in_tcon_top>;
					};
				};
			};
		};

		tcon_lcd: lcd-controller@6511000 {
			compatible = "allwinner,sun50i-h6-tcon-lcd",
				     "allwinner,sun8i-r40-tcon-lcd";
			reg = <0x06511000 0x1000>;
			interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_TCON_LCD0>, <&ccu CLK_TCON_LCD0>;
			clock-names = "ahb",
				      "tcon-ch0";
			clock-output-names = "tcon-data-clock";
			#clock-cells = <0>;
			resets = <&ccu RST_BUS_TCON_LCD0>;
			reset-names = "lcd";
			#address-cells = <1>;
			#size-cells = <0>;
					
			 ports {
			 	#address-cells = <1>;
			 	#size-cells = <0>;
			
				tcon_lcd_in: port@0 {
					reg = <0>;

					tcon_lcd_in_tcon_top_mixer0: endpoint {
						remote-endpoint = <&tcon_top_mixer0_out_tcon_lcd>;
					};
				};

				tcon_lcd_out_rgb: port@1 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <1>;

					lcd_out_rgb: endpoint@0 {
						reg = <0>;
						remote-endpoint = <&panel_in>;
					};
				};
			 };
			
		};
		tcon_tv: lcd-controller@6515000 {
			compatible = "allwinner,sun50i-h6-tcon-tv",
				     "allwinner,sun8i-r40-tcon-tv";
			reg = <0x06515000 0x1000>;
			interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
			clocks = <&ccu CLK_BUS_TCON_TV0>,
				 <&tcon_top CLK_TCON_TOP_TV0>;
			clock-names = "ahb",
				      "tcon-ch1";
			resets = <&ccu RST_BUS_TCON_TV0>;
			reset-names = "lcd";

			ports {
				#address-cells = <1>;
				#size-cells = <0>;

				tcon_tv_in: port@0 {
					reg = <0>;

					tcon_tv_in_tcon_top_mixer0: endpoint {
						remote-endpoint = <&tcon_top_mixer0_out_tcon_tv>;
					};
				};
				tcon_tv_out: port@2 {
					#address-cells = <1>;
					#size-cells = <0>;
					reg = <2>;

					tcon_tv_out_tcon_top: endpoint@1 {
						reg = <1>;
						remote-endpoint = <&tcon_top_hdmi_in_tcon_tv>;
					};
				};
			};
		};

#4 全志 SOC » 关于全志H6 的RGB666 DPI接口问题求助 » 2024-09-24 06:50:04

dtsayhi
回复: 2

各位大牛,我发现各类H6的主板都是引出HDMI接口。没有使用RGB接口的板子,google也找不到相关信息。看手册呢又是支持的,有没有哪位大哥适配过?是不是和HDMI冲突,共用一个tcon ?

#8 Re: 全志 SOC » 【F1C100S】如何使用mmap控制GPIO? » 2022-05-20 16:46:10

mmap映射GPIO 基地址 。映射地址加偏移地址来配置GPIO寄存器 。先配置模式。然后再配置电平就行

#12 Re: 全志 SOC » F1c100s TF卡启动卡在 Trying to boot from MMC1 » 2022-02-25 18:47:07

wuwuw 说:
dtsayhi 说:

git 最新的uboot代码重新编译后问题解决 已经可以启动到uboot

能给一下最新的uboot链接吗,也遇到这个问题现在,flash启动,插入一张空的sd卡就卡这里

f1c100s 的启动顺序应该是先检测TF --->再检测spi flash吧。TF卡是空的当然不行

#13 Re: 全志 SOC » F1c100s TF卡启动卡在 Trying to boot from MMC1 » 2022-02-25 18:44:39

wuwuw 说:
dtsayhi 说:

git 最新的uboot代码重新编译后问题解决 已经可以启动到uboot

能给一下最新的uboot链接吗,也遇到这个问题现在,flash启动,插入一张空的sd卡就卡这里


我用的是这个 https://gitee.com/LicheePiNano/u-boot.git

#14 Re: 全志 SOC » 全志H3 的DDR 数据线为什么不是按照引脚顺寻排布的呢? » 2022-02-24 18:03:06

不管DDR内一个byte怎么存储 。写入数据和读出的数据和原来的一样就可以。

#15 Re: 全志 SOC » F1C100S 串口 怎么 通过 DMA 收发数据 ? » 2022-02-24 17:54:10

看数据手册 估计没适配过 自己写驱动吧

#16 Re: 全志 SOC » 开源一个V3s的飞控板 » 2022-02-24 17:50:56

老哥姿态检测之类的实时性应该没问题吧。准备用WIFI还是2.4G

#18 Re: 全志 SOC » 关于全志V3s能否跑QT界面 » 2022-02-22 18:36:11

xiongxinjian 说:

可以跑啊,我的都已经在出货了

性能怎么样啊 刷多大的分辨率

#20 Re: 全志 SOC » 哪位高手给讲讲怎么利用uboot将bin程序写入spi flash中 » 2022-02-17 11:18:57

1.楼上说了 uboot打开load命令,通过串口下载 2.有SD卡的话可以把程序放在SD卡里 用mmc配合sf命令下载到flash

#22 Re: 全志 SOC » F1c100s TF卡启动卡在 Trying to boot from MMC1 » 2022-02-13 19:29:38

git 最新的uboot代码重新编译后问题解决 已经可以启动到uboot

#23 Re: 全志 SOC » 有哪位大神做过f1c100s的spi屏(7789)的固件,能分享一份吗? » 2022-02-11 18:20:18

有其他平台这种屏幕驱动没有,开启SPI功能然后把f1c100s SPI接口部分做一下嫁接应该就行了

#24 Re: 全志 SOC » F1c100s TF卡启动卡在 Trying to boot from MMC1 » 2022-02-11 18:13:12

有哪位老哥遇见过这个问题吗 帮忙分析一下

#25 全志 SOC » F1c100s TF卡启动卡在 Trying to boot from MMC1 » 2022-02-11 18:12:18

dtsayhi
回复: 8

两张不同的TF卡用相同的程序 试了一下
发现其中有一张都打印不完 "Trying to boot from MMC1" 就挂了 。感觉是TF部分硬件的问题

#26 Re: 全志 SOC » Uboot启动失败提示“Trying to boot from sunxi SPI” » 2022-02-11 18:02:14

我用两张不同的TF卡用相同的程序 试了一下
发现其中有一张都打印不完 "Trying to boot from MMC1" 就挂了 。感觉是TF部分硬件的问题

#27 Re: 全志 SOC » Uboot启动失败提示“Trying to boot from sunxi SPI” » 2022-02-11 17:52:36

SkyLine 说:
哇酷小二 说:

可能硬件有问题,猜测。

我在另一家买了一块,等他寄过来试试


老哥解决了吗 我也出现这个情况了


if (boot_from_devices(&spl_image, spl_boot_list,
              ARRAY_SIZE(spl_boot_list))) {
        puts("SPL: failed to boot from all boot devices\n");
        hang();

好像是这里挂起了

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn