요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
Macronix NANDs Device Tree Bindings
-----------------------------------
Macronix NANDs support randomizer operation for scrambling user data,
which can be enabled with a SET_FEATURE. The penalty when using the
randomizer are subpage accesses prohibited and more time period needed
for program operation, i.e., tPROG 300us to 340us (randomizer enabled).
Enabling the randomizer is a one time persistent and non reversible
operation.
For more high-reliability concern, if subpage write is not available
with hardware ECC and not enabled at UBI level, then enabling the
randomizer is recommended by default by adding a new specific property
in children nodes.
Required NAND chip properties in children mode:
- randomizer enable: should be "mxic,enable-randomizer-otp"
Example:
nand: nand-controller@unit-address {
nand@0 {
reg = <0>;
mxic,enable-randomizer-otp;
};
};
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
Macronix NAND
1-3이 문서는 Macronix NAND chip의 device-tree 바인딩입니다.
Persistent randomizer OTP
4-18Macronix NAND는 user data를 scrambling하는 randomizer operation을 지원하며 `SET_FEATURE`로 활성화할 수 있습니다. 사용하면 subpage access가 금지되고 program 시간이 늘어나며, 예를 들어 `tPROG`가 300µs에서 340µs로 증가합니다.
Randomizer 활성화는 한 번만 수행할 수 있고 영구적이며 되돌릴 수 없습니다.
신뢰성이 특히 중요하고 hardware ECC에서 subpage write를 사용할 수 없으며 UBI level에서도 활성화하지 않았다면, child node에 전용 속성을 추가해 randomizer를 기본 활성화하는 것이 권장됩니다.
Child mode의 필수 NAND chip 속성인 randomizer enable은 `mxic,enable-randomizer-otp`입니다.
OTP 활성화는 data scrambling과 신뢰성을 높이지만 subpage 제한과 program 지연을 영구적으로 적용합니다.
Randomizer OTP 예제
19-27예제는 NAND controller의 CS0 child에 `mxic,enable-randomizer-otp` boolean을 지정합니다.
nand: nand-controller@unit-address {
nand@0 {
reg = <0>;
mxic,enable-randomizer-otp;
};
};
요약과 해설
nand-macronix.txt:1-27Scrambling 신뢰성, subpage 제한과 tPROG 증가를 설명합니다.