Add ota_cmd, ota_setup command in uboot. Restore private partition. Add ota_setup command to uboot bootcmd
This commit is contained in:
parent
ad4d7723a0
commit
f02065eec5
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
bootdelay=3
|
||||
#default bootcmd, will change at runtime according to key press
|
||||
bootcmd=run setargs_nand boot_normal#default nand boot
|
||||
bootcmd=run setargs_nand ota_setup boot_normal#default nand boot
|
||||
#kernel command arguments
|
||||
console=ttyS0,115200
|
||||
nor_root=/dev/mtdblock4
|
||||
|
|
|
@ -81,6 +81,11 @@ size = 512
|
|||
size = 1024
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = private
|
||||
size = 1024
|
||||
user_type = 0x8000
|
||||
|
||||
[partition]
|
||||
name = UDISK
|
||||
user_type = 0x8100
|
||||
|
|
Loading…
Reference in New Issue