修改spif和uboot,加上写保护与解除保护
This commit is contained in:
@@ -762,6 +762,7 @@ CONFIG_MTD_SPI_NOR=y
|
||||
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
|
||||
# CONFIG_SPI_CADENCE_QUADSPI is not set
|
||||
# CONFIG_SPI_FLASH_SR is not set
|
||||
CONFIG_SPI_FLASH_DEFAULT_LOCK=y
|
||||
# CONFIG_MTD_UBI is not set
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OF=y
|
||||
|
||||
@@ -765,6 +765,7 @@ CONFIG_MTD_SPI_NOR=y
|
||||
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
|
||||
# CONFIG_SPI_CADENCE_QUADSPI is not set
|
||||
# CONFIG_SPI_FLASH_SR is not set
|
||||
# CONFIG_SPI_FLASH_DEFAULT_LOCK is not set
|
||||
# CONFIG_MTD_UBI is not set
|
||||
CONFIG_DTC=y
|
||||
CONFIG_OF=y
|
||||
|
||||
@@ -30,6 +30,7 @@ size = 16
|
||||
; 2、name最大12个字符
|
||||
; 3、size = 0, 将创建一个无大小的空分区
|
||||
; 4、为了安全和效率考虑,分区大小最好保证为16M字节的整数倍
|
||||
; 5、size 128 = 64KB 扇区512byte py_nor_flash
|
||||
;********************************************************************************************************
|
||||
[partition_start]
|
||||
|
||||
@@ -47,13 +48,13 @@ size = 16
|
||||
|
||||
[partition]
|
||||
name = boot
|
||||
size = 6144
|
||||
size = 9728
|
||||
downloadfile = "boot.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs
|
||||
size = 20480
|
||||
size = 24064
|
||||
downloadfile = "rootfs.fex"
|
||||
user_type = 0x8000
|
||||
|
||||
@@ -81,10 +82,10 @@ size = 16
|
||||
; downloadfile = "recoveryimg.fex"
|
||||
; user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = rootfs_data
|
||||
size = 2048
|
||||
user_type = 0x8000
|
||||
;[partition]
|
||||
; name = rootfs_data
|
||||
; size = 2048
|
||||
; user_type = 0x8000
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user