Skip to content

ipq60xx: add DPtech AP3000-2C support#14022

Open
1980490718 wants to merge 1 commit into
coolsnowwolf:masterfrom
1980490718:master
Open

ipq60xx: add DPtech AP3000-2C support#14022
1980490718 wants to merge 1 commit into
coolsnowwolf:masterfrom
1980490718:master

Conversation

@1980490718
Copy link
Copy Markdown
Contributor

No description provided.

&qpic_nand {
status = "okay";

compatible = "qcom,ipq6018-nand", "qcom,ebi2-nandc-bam-v1.5.0";
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Copy Markdown
Contributor Author

@1980490718 1980490718 May 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不加入这个,nand部分会有一个无效的分区表
这个机是norplusnand结构

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	partitions {
		status = "disabled";
	};

这样就行

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	partitions {
		status = "disabled";
	};

这样就行

早就试过这种方式一样有nand部分的无效分区表

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你不要用 qcom,smem-part
另外缺了 nand-ecc-*

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

试过了无论将禁用注册分区状态注册到nand@0的内部/外部都不行
ecc的深度只能加成4,加到8的话不识别或者出错
不加深度/进步大小,驱动默认会分配4/512
qcom,smem-part用跟不用都会生成无效的分区表,造成冲突
就只能当前的设置可以正确的读nand里的数据
luci页面升级也没问题

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那就设置 4/512,uboot 是原厂的吗?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uboot用原厂第三方都是默认分配4/512,已经按照要求更改。

Copy link
Copy Markdown
Contributor Author

@1980490718 1980490718 May 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这样改的,也可以。
`&qpic_nand {
status = "okay";

partitions {
	status = "disabled";
};

nand@0 {
	reg = <0>;

	nand-ecc-strength = <4>;
	nand-ecc-step-size = <512>;
	nand-bus-width = <8>;

	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		partition@0 {
			label = "rootfs";
			reg = <0x0 0x0>;
		};
	};
};

}; `

@1980490718 1980490718 force-pushed the master branch 2 times, most recently from 091bcc4 to cdd6967 Compare May 24, 2026 09:15
Signed-off-by: Willem Lee <1980490718@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants