modify partition add usrdata config
This commit is contained in:
parent
1515f983ee
commit
57b75dd8ed
@ -17,7 +17,7 @@ CONFIG_TPL_SYS_MALLOC_F_LEN=0x400
|
|||||||
CONFIG_SPI_BOOT=y
|
CONFIG_SPI_BOOT=y
|
||||||
CONFIG_BOOTDELAY=0
|
CONFIG_BOOTDELAY=0
|
||||||
CONFIG_USE_BOOTARGS=y
|
CONFIG_USE_BOOTARGS=y
|
||||||
CONFIG_BOOTARGS="quiet mtdswap.partitions=10 ubi.mtd=9 ubi.mtd=11 ubi.mtd=12 root=ubi1:rootfs init=/init rootfstype=ubifs mem=38M earlycon console=ttyS0,115200 mtdparts=spi_nfc:128k@0(boot-spl),128k@128k(boot-env),768k@256k(boot-uboot),1m@1m(logo),1m@2m(padding),1m@3m(misc),3m@4m(recovery),10m@7m(recovery-rootfs),4m@17m(boot),16m@21m(system),6m@37m(swapfile),12m@43m(rootfs),6m@55m(data),-@61m(usrdata)"
|
CONFIG_BOOTARGS="quiet mtdswap.partitions=10 ubi.mtd=9 ubi.mtd=11 ubi.mtd=12 root=ubi1:rootfs init=/init rootfstype=ubifs mem=38M earlycon console=ttyS0,115200 mtdparts=spi_nfc:128k@0(boot-spl),128k@128k(boot-env),768k@256k(boot-uboot),1m@1m(logo),1m@2m(padding),1m@3m(misc),3m@4m(recovery),10m@7m(recovery-rootfs),4m@17m(boot),18m@21m(system),6m@39m(swapfile),12m@45m(rootfs),6m@57m(data),-@63m(usrdata)"
|
||||||
# CONFIG_DISPLAY_CPUINFO is not set
|
# CONFIG_DISPLAY_CPUINFO is not set
|
||||||
# CONFIG_DISPLAY_BOARDINFO is not set
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
||||||
CONFIG_BOARD_EARLY_INIT_F=y
|
CONFIG_BOARD_EARLY_INIT_F=y
|
||||||
@ -80,7 +80,7 @@ CONFIG_MTD=y
|
|||||||
CONFIG_MTD_DEVICE=y
|
CONFIG_MTD_DEVICE=y
|
||||||
CONFIG_MTD_PARTITIONS=y
|
CONFIG_MTD_PARTITIONS=y
|
||||||
CONFIG_CMD_MTDPARTS=y
|
CONFIG_CMD_MTDPARTS=y
|
||||||
CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_nfc:128k@0(boot-spl),128k@128k(boot-env),768k@256k(boot-uboot),1m@1m(logo),1m@2m(padding),1m@3m(misc),3m@4m(recovery),10m@7m(recovery-rootfs),4m@17m(boot),16m@21m(system),6m@37m(swapfile),12m@43m(rootfs),6m@55m(data),-@61m(usrdata)"
|
CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_nfc:128k@0(boot-spl),128k@128k(boot-env),768k@256k(boot-uboot),1m@1m(logo),1m@2m(padding),1m@3m(misc),3m@4m(recovery),10m@7m(recovery-rootfs),4m@17m(boot),18m@21m(system),6m@39m(swapfile),12m@45m(rootfs),6m@57m(data),-@63m(usrdata)"
|
||||||
CONFIG_MTDIDS_DEFAULT="nand0=spi_nfc"
|
CONFIG_MTDIDS_DEFAULT="nand0=spi_nfc"
|
||||||
CONFIG_CMD_LZMADEC=y
|
CONFIG_CMD_LZMADEC=y
|
||||||
# CONFIG_CMD_UNZIP=y
|
# CONFIG_CMD_UNZIP=y
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "system",
|
"name": "system",
|
||||||
"size": "16MB",
|
"size": "18MB",
|
||||||
"offset": "0x1500000",
|
"offset": "0x1500000",
|
||||||
"type": "system",
|
"type": "system",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
@ -79,28 +79,28 @@
|
|||||||
{
|
{
|
||||||
"name": "swapfile",
|
"name": "swapfile",
|
||||||
"size": "6MB",
|
"size": "6MB",
|
||||||
"offset": "0x2500000",
|
"offset": "0x2700000",
|
||||||
"type": "swap",
|
"type": "swap",
|
||||||
"filesystem_type": "raw"
|
"filesystem_type": "raw"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rootfs",
|
"name": "rootfs",
|
||||||
"size": "12MB",
|
"size": "12MB",
|
||||||
"offset": "0x2B00000",
|
"offset": "0x2D00000",
|
||||||
"type": "rootfs",
|
"type": "rootfs",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"size": "6MB",
|
"size": "6MB",
|
||||||
"offset": "0x3700000",
|
"offset": "0x3900000",
|
||||||
"type": "userdata",
|
"type": "userdata",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "usrdata",
|
"name": "usrdata",
|
||||||
"size": "60MB",
|
"size": "65MB",
|
||||||
"offset": "0x3D00000",
|
"offset": "0x3F00000",
|
||||||
"type": "userdata",
|
"type": "userdata",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -71,7 +71,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "system",
|
"name": "system",
|
||||||
"size": "16MB",
|
"size": "18MB",
|
||||||
"offset": "0x1500000",
|
"offset": "0x1500000",
|
||||||
"type": "system",
|
"type": "system",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
@ -79,28 +79,28 @@
|
|||||||
{
|
{
|
||||||
"name": "swapfile",
|
"name": "swapfile",
|
||||||
"size": "6MB",
|
"size": "6MB",
|
||||||
"offset": "0x2500000",
|
"offset": "0x2700000",
|
||||||
"type": "swap",
|
"type": "swap",
|
||||||
"filesystem_type": "raw"
|
"filesystem_type": "raw"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "rootfs",
|
"name": "rootfs",
|
||||||
"size": "12MB",
|
"size": "12MB",
|
||||||
"offset": "0x2B00000",
|
"offset": "0x2D00000",
|
||||||
"type": "rootfs",
|
"type": "rootfs",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "data",
|
"name": "data",
|
||||||
"size": "6MB",
|
"size": "6MB",
|
||||||
"offset": "0x3700000",
|
"offset": "0x3900000",
|
||||||
"type": "userdata",
|
"type": "userdata",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "usrdata",
|
"name": "usrdata",
|
||||||
"size": "60MB",
|
"size": "65MB",
|
||||||
"offset": "0x3D00000",
|
"offset": "0x3F00000",
|
||||||
"type": "userdata",
|
"type": "userdata",
|
||||||
"filesystem_type": "ubi"
|
"filesystem_type": "ubi"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,9 +2,9 @@ uboot,raw,1
|
|||||||
recovery,raw,16
|
recovery,raw,16
|
||||||
boot,raw,16
|
boot,raw,16
|
||||||
logo,raw,8
|
logo,raw,8
|
||||||
system,ubi,16777216
|
system,ubi,18874368
|
||||||
rootfs,ubi,12582912
|
rootfs,ubi,12582912
|
||||||
data,ubi,6291456
|
data,ubi,6291456
|
||||||
usrdata,ubi,62914560
|
usrdata,ubi,68157440
|
||||||
writeback,raw,12
|
writeback,raw,12
|
||||||
::
|
::
|
||||||
|
|||||||
@ -2,9 +2,9 @@ uboot,raw,1
|
|||||||
recovery,raw,16
|
recovery,raw,16
|
||||||
boot,raw,16
|
boot,raw,16
|
||||||
logo,raw,8
|
logo,raw,8
|
||||||
system,ubi,16777216
|
system,ubi,18874368
|
||||||
rootfs,ubi,12582912
|
rootfs,ubi,12582912
|
||||||
data,ubi,6291456
|
data,ubi,6291456
|
||||||
usrdata,ubi,62914560
|
usrdata,ubi,68157440
|
||||||
writeback,raw,12
|
writeback,raw,12
|
||||||
::
|
::
|
||||||
|
|||||||
@ -0,0 +1,11 @@
|
|||||||
|
# Auto-generated configuration file
|
||||||
|
|
||||||
|
SHOP_CODE=0001
|
||||||
|
URL_BASE=http://114.55.52.37:8000/
|
||||||
|
MQTT=
|
||||||
|
MQTT_USER=
|
||||||
|
brightness=78
|
||||||
|
openTime=
|
||||||
|
closeTime=
|
||||||
|
STATUS_BAR=true
|
||||||
|
time_zone=8
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
# Auto-generated configuration file
|
||||||
|
|
||||||
|
ID_0=700000000010
|
||||||
|
SN=701003L
|
||||||
|
secureKey=70f924396fec48759059e6aa3e9f96a2
|
||||||
|
LANGUAGE=0
|
||||||
|
factory_test=true
|
||||||
Loading…
Reference in New Issue
Block a user