am335x system upgrade kernel nand flash

1 Scope of DocumentThis document describes NAND FLASH hardware design, support nand boot mode.2 Requiremen2.1 Function RequirementUse S34ML02G2 in am335x, Support Nand Boot,user space support ubifs on nand flash2.2 Performance RequirementSupport 256M
摘要由CSDN通过智能技术生成

1 Scope of Document
This document describes NAND FLASH hardware design, support nand boot mode.

2 Requiremen
2.1 Function Requirement
Use S34ML02G2 in am335x, Support Nand Boot,user space support ubifs on nand flash

2.2 Performance Requirement
Support 256M capacity Nand Flash

3 Hardware Overview
nand interface,pin map:

AM335X_GPMC_AD0

AM335X_GPMC_AD1

AM335X_GPMC_AD2

AM335X_GPMC_AD3

AM335X_GPMC_AD4

AM335X_GPMC_AD5

AM335X_GPMC_AD6

AM335X_GPMC_AD7

AM335X_GPMC_BE0n_CLE

AM335X_GPMC_ADVn_ALE

AM335X_GPMC_OEn_Ren

AM335X_GPMC_Wen

AM335X_GPMC_CS0n

AM335X_GPMC_WAIT

AM335X_GPMC_WPn

在这里插入图片描述

              Figure 1 nand interface block diagram

4 Functional Description
4.1 Functional Block Diagram
在这里插入图片描述

Figure 2 inter block diagram

4.2 NAND
4.2.1 Overview
Density
– 2 Gbit

Architecture

– Input / Output Bus Width: 8-bits
– Page Size:
– 2 Gbit: (2048 + 128) bytes; 128-byte spare area
– Block Size:
– 2 Gbit: 64 Pages or (128k + 8k) bytes
– Plane Size
– 2 Gbit: 1024 Blocks per Plane or (128M + 8M) bytes
– Device Size
– 2 Gbit: 2 Planes per Device or 256 Mbyte

NAND Flash Interface
– Open NAND Flash Interface (ONFI) 1.0 compliant
– Address, Data, and Commands multiplexed

4.2.2 Array Organization

在这里插入图片描述

4.2.3 Operation Mode
Command Latch

Address Latch

Page Read

Page Program

Multiplane Page Program

Block Erase

Multiplane Block Erase

5 Porting
5.1 Uboot porting

Index: u-boot-2018.01/configs/am335x_evm_defconfig

===================================================================

--- u-boot-2018.01/configs/am335x_evm_defconfig	(revision 13)

+++ u-boot-2018.01/configs/am335x_evm_defconfig	(revision 14)

@@ -41,7 +41,7 @@

 CONFIG_MISC=y

 CONFIG_DM_MMC=y

 # CONFIG_MMC_HW_PARTITIONING is not set

-CONFIG_MMC_OMAP_HS=y

+# CONFIG_MMC_OMAP_HS is not set

 CONFIG_NAND=y

 CONFIG_SPI_FLASH=y

 CONFIG_SPI_FLASH_WINBOND=y

Index: u-boot-2018.01/env/Kconfig

===================================================================

--- u-boot-2018.01/env/Kconfig	(revision 13)

+++ u-boot-2018.01/env/Kconfig	(revision 14)

@@ -22,7 +22,7 @@

 	default ENV_IS_IN_SPI_FLASH if INTEL_QUARK

 	default ENV_IS_IN_SPI_FLASH if INTEL_QUEENSBAY

 	default ENV_IS_IN_FAT if ARCH_BCM283X

-	default ENV_IS_IN_FAT if
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

嵌入式实操

希望博文有助于您,您不必加班。

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值