ipq60xx: add DPtech AP3000-2C support#14022
Open
1980490718 wants to merge 1 commit into
Open
Conversation
aiamadeus
reviewed
May 18, 2026
| &qpic_nand { | ||
| status = "okay"; | ||
|
|
||
| compatible = "qcom,ipq6018-nand", "qcom,ebi2-nandc-bam-v1.5.0"; |
Contributor
Author
There was a problem hiding this comment.
不加入这个,nand部分会有一个无效的分区表
这个机是norplusnand结构
Collaborator
There was a problem hiding this comment.
partitions {
status = "disabled";
};
这样就行
Contributor
Author
There was a problem hiding this comment.
partitions { status = "disabled"; };这样就行
早就试过这种方式一样有nand部分的无效分区表
Collaborator
There was a problem hiding this comment.
你不要用 qcom,smem-part
另外缺了 nand-ecc-*
Contributor
Author
There was a problem hiding this comment.
试过了无论将禁用注册分区状态注册到nand@0的内部/外部都不行
ecc的深度只能加成4,加到8的话不识别或者出错
不加深度/进步大小,驱动默认会分配4/512
qcom,smem-part用跟不用都会生成无效的分区表,造成冲突
就只能当前的设置可以正确的读nand里的数据
luci页面升级也没问题
Collaborator
There was a problem hiding this comment.
那就设置 4/512,uboot 是原厂的吗?
Contributor
Author
There was a problem hiding this comment.
uboot用原厂第三方都是默认分配4/512,已经按照要求更改。
Contributor
Author
There was a problem hiding this comment.
这样改的,也可以。
`&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>;
};
};
};
}; `
091bcc4 to
cdd6967
Compare
Signed-off-by: Willem Lee <1980490718@qq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.