Site Tools


Hotfix release available: 2025-05-14b "Librarian". upgrade now! [56.2] (what's this?)
Hotfix release available: 2025-05-14a "Librarian". upgrade now! [56.1] (what's this?)
New release available: 2025-05-14 "Librarian". upgrade now! [56] (what's this?)
Hotfix release available: 2024-02-06b "Kaos". upgrade now! [55.2] (what's this?)
Hotfix release available: 2024-02-06a "Kaos". upgrade now! [55.1] (what's this?)
New release available: 2024-02-06 "Kaos". upgrade now! [55] (what's this?)
Hotfix release available: 2023-04-04b "Jack Jackrum". upgrade now! [54.2] (what's this?)
Hotfix release available: 2023-04-04a "Jack Jackrum". upgrade now! [54.1] (what's this?)
New release available: 2023-04-04 "Jack Jackrum". upgrade now! [54] (what's this?)
Hotfix release available: 2022-07-31b "Igor". upgrade now! [53.1] (what's this?)
Hotfix release available: 2022-07-31a "Igor". upgrade now! [53] (what's this?)
New release available: 2022-07-31 "Igor". upgrade now! [52.2] (what's this?)
New release candidate 2 available: rc2022-06-26 "Igor". upgrade now! [52.1] (what's this?)
New release candidate available: 2022-06-26 "Igor". upgrade now! [52] (what's this?)
Hotfix release available: 2020-07-29a "Hogfather". upgrade now! [51.4] (what's this?)
New release available: 2020-07-29 "Hogfather". upgrade now! [51.3] (what's this?)
New release candidate 3 available: 2020-06-09 "Hogfather". upgrade now! [51.2] (what's this?)
New release candidate 2 available: 2020-06-01 "Hogfather". upgrade now! [51.1] (what's this?)
New release candidate available: 2020-06-01 "Hogfather". upgrade now! [51] (what's this?)
Hotfix release available: 2018-04-22c "Greebo". upgrade now! [50.3] (what's this?)
Hotfix release available: 2018-04-22b "Greebo". upgrade now! [50.2] (what's this?)
Hotfix release available: 2018-04-22a "Greebo". upgrade now! [50.1] (what's this?)
New release available: 2018-04-22 "Greebo". upgrade now! [50] (what's this?)
Hotfix release available: 2017-02-19g "Frusterick Manners". upgrade now! [49.7] (what's this?)
Hotfix release available: 2017-02-19f "Frusterick Manners". upgrade now! [49.6] (what's this?)
Hotfix release available: 2017-02-19e "Frusterick Manners". upgrade now! [49.5] (what's this?)
Hotfix release available fixing CVE-2017-12979 and CVE-2017-12980: 2017-02-19d "Frusterick Manners". upgrade now! [49.4] (what's this?)
Hotfix release available fixing CVE-2017-12583: 2017-02-19c "Frusterick Manners". upgrade now! [49.3] (what's this?)
relation_data

This is an old revision of the document!


관련 Application Note

NAND Flash ONFI Spec.

관련 메일 받은것

세창쎄미콘 배상우입니다.

Spansion 4bit ECC NAND 2017.06.21

Spansion 4bit ECC NAND Flash booting 확인 된 binary 및 buildroot full source 보내 드립니다.

NAND FLASH 의 timing 을 맞추어 운영하기위해 MCK 와 PCK의 clock 을 하기 capture image 와 같이 설정하여 운영하였습니다.

a001.jpg
spansion_4bit_ecc.zip

ESMT NANDFLASH Booting 2017.06.08

ESMT NANDFLASH Booting 을 위해 buildroot 상의 bootstrap , u-boot ,kernel 등을 수정하여 bring-on test 진행한 내용 정리해 드립니다.

Bootstrap

ESMT Device ID 추가 적용.
하기 경로상의 nandflash.c 에 ESMT Device ID 추가하여 운영합니다.

buildroot/output/build/at91bootstrap3-v3.8.7/driver/nandflash.c

a002.jpg

Menuconfig 를 통한 clock speed 변경.
SAMA5D4의 ghleo core clock speed 는 600Mhz , peri clock 은 200Mhz 로 운영가능 하지만 ESMT 의 NANDFLASH 의 timing으로 인해 filesystem 이 load 되지 않는 문제가 발생하여 bootstrap 단에서 core clock 및 Peri clock 을 변경하여 운영하였습니다.

a003.jpg

PMECC Config
Auto detection 으로 적용되어 있던 PMECC config 내용을 2bit ECC 운영을 위한 설정으로 변경하여 적용하였습니다.

a004.jpg

16bits DDR2 운영을 위한 EBI Bus resolution 변경
buildroot/output/build/at91bootstrap3-v3.8.7/board/sama5d4_xplained/sama5d4_xplained.c

a005.jpg

U-boot

ESMT NAND 용량 에 맞추어 u-boot 상의 nand config source 변경
buildroot/output/build/uboot-linux4sam_5.5/include/configs/sama5d4_xplained.h

a006.jpg

ESMT Device ID 추가
buildroot/output/build/uboot-linux4sam_5.5/drivers/mtd/nand/nand_ids.c

a007.jpg

buildroot/output/build/uboot-linux4sam_5.5/ include/linux/mtd/nand.h

a008.jpg

16bits DDR2 운영을 위한 EBI Bus resolution 변경
buildroot/output/build/uboot-linux4sam_5.5/board/atmel/sama5d4_xplained/sama5d4_xplained.c

a009.jpg

Kernel

ESMT Device ID 추가
buildroot/output/build/linux-linux4sam_5.5/drivers/mtd/nand/nand_ids.c

a010.jpg

buildroot/output/build/linux-linux4sam_5.5/ include/linux/mtd/nand.h

a011.jpg

Buildroot

Filesystem 상에 ESMT NANDFLASH 적용을 위한 config 

a012.jpg

내용과 관련하여 참고하실 buildroot full source를 보내 드립니다 buildroot_esmt.tar.gz

감사합니다.

relation_data.1498702443.txt.gz · Last modified: 2017/06/29 11:14 by 1.241.172.144