Hi igor:
Thanks your attached example, now I am rebuild for new updater_ivt.sb and use mfgtool programming, get error like below
regulator_init_complete: incomplete constraints, leaving vbus5v on
mxs-rtc mxs-rtc.0: setting system clock to 1970-01-01 00:00:42 UTC (42)
Freeing init memory: 128K
Starting UTP
disable turn off display
uuc 0.4 [built Jun 22 2016 11:43:50]
UTP: Waiting for device to appear
utp_mk_devnode: creating node '/dev/utp' with 10+222
cpu_id is 28
g_file_storage gadget: high speed config #1
g_file_storage gadget: high speed config #1
UTP: received command 'mknod class/mtd,mtd0,/dev/mtd0'
class = 'class/mtd'
item = 'mtd0'
node = /dev/mtd0
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd0,/dev/mtd0,0x2000)
utp_mk_devnode: creating node '/dev/mtd0' with 90+0
UTP: sending Success
UTP: received command 'mknod class/mtd,mtd1,/dev/mtd1'
class = 'class/mtd'
item = 'mtd1'
node = /dev/mtd1
type = (null)
UTP: running utp_mk_devnode(class/mtd,mtd1,/dev/mtd1,0x2000)
utp_mk_devnode: creating node '/dev/mtd1' with 90+2
UTP: sending Success
UTP: received command 'mknod class/misc,ubi_ctrl,/dev/ubi_ctrl'
class = 'class/misc'
item = 'ubi_ctrl'
node = /dev/ubi_ctrl
type = (null)
UTP: running utp_mk_devnode(class/misc,ubi_ctrl,/dev/ubi_ctrl,0x2000)
utp_mk_devnode: creating node '/dev/ubi_ctrl' with 10+56
UTP: sending Success
UTP: received command '$ flash_eraseall /dev/mtd0'
UTP: sending Busy
UTP: executing "flash_eraseall /dev/mtd0"
Erasing 128 Kibyte @ 1400000 -- 100% complete.
UTP: sending Success
utp_poll: pass returned.
UTP: received command '$ flash_eraseall /dev/mtd1'
UTP: sending Busy
UTP: executing "flash_eraseall /dev/mtd1"
Erasing 128 Kibyte @ 1cc80000 -- 93 % complete.
Skipping bad block at 0x1cca0000
Erasingutp_poll: pass returned.- 99 % complete.
Erasing 128 Kibyte @ 1ec00000 -- 100% complete.
UTP: sending Success
UTP: received command 'send'
UTP: sending Success
g_file_storage gadget: high speed config #1
g_file_storage gadget: high speed config #1
g_file_storage gadget: high speed config #1
UTP: received command '$ kobs-ng init $FILE'
UTP: sending Busy
UTP: executing "kobs-ng init $FILE"
Unable to find a matching key dictionary
ERROR: bootstream '/tmp/file.utp' is invalid
ROM Version 1
usage: kobs-ng [COMMAND] [ARGS]
Where [COMMAND] is one of:
dump [-v] [KOBS] ........................ Verify/dump boot structures
-v .................................... Verbose mode
imgverify [-v] [KEY] <file> ............. Verify image validity
-v .................................... Verbose mode
init [-v] [KEY] [KOBS] <file> ........... Initialize boot structure &
install bootstreams
-v .................................... Verbose mode
-n .................................... Dry run (don't commit to flash)
-w .................................... Commit to flash
update [-v] [KEY] [KOBS] [-0|1] <file> .. Update a single bootstream
-v .................................... Verbose mode
-0|1 .................................. Update specified bootstream #
extract [-v] [KEY] [KOBS] [-0|1] <file> . Extract a bootstream from flash
-v .................................... Verbose mode
-0|1 .................................. Extract specified bootstream #
[KOBS] boot structures config options
--chip_0_device_path=<path> .......... Device of boot (default /dev/mtd0)
--chip_1_device_path=<path> .......... The second chip in case of multichip NAND
--search_exponent=<value> ............ NCB field (default 2)
--data_setup_time=<value> ............ NCB field (default 80)
--data_hold_time=<value> ............. NCB field (default 60)
--address_setup_time=<value> ......... NCB field (default 25)
--data_sample_time=<value> ........... NCB field (default 6)
--row_address_size=<value> ........... NCB field (default 3)
--column_address_size=<value> ........ NCB field (default 2)
--read_command_code1=<value> ......... NCB field (default 0x00)
--read_command_code2=<value> ......... NCB field (default 0x30)
--boot_stream_major_version=<value> .. NCB field (default 1)
--boot_stream_minor_version=<value> .. NCB field (default 0)
--boot_stream_sub_version=<value> .... NCB field (default 0)
--ncb_version=<value> ................ NCB field (default 3)
[KEY] key management related options
-d ............................... Use device key (OTP) (not yet supported)
-z ............................... Use key of all zeroes (default)
-k<hexadecimalkey> ............... Use hex key of 16 bytes
UTP: sending Non-success
utp_poll: exit with status 1280
I don't know what's meaning, thanks.