Hi all,
The community teach me a lot of things about Bootloader. My level is increased very sharply. Thank you very much.
Now, i understand what is Kobs-ng and how to use this.
But one thins is unclear. Relationships between FCB and Kobs-ng.
What i know that Kobs-ng can write FCB to the NAND.
How to control FCB by using Kobs-ng? I can't find control option in Kobs-ng.
Where can i find about this information?
Best,
Eunseok.
Solved! Go to Solution.
Hi Eunseok
for example of kobs-ng usage please look at attached ucl.xml
from mfg tools, also may be useful to look at
AW: imx53 internal boot from NAND — Barebox
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
kobs-ng
kobs-ng version : [ 1.3 ] git hash (unknown)
ROM Version 3
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
-x .................................... Add 1k-padding in the head
-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
Hi Eunseok
for example of kobs-ng usage please look at attached ucl.xml
from mfg tools, also may be useful to look at
AW: imx53 internal boot from NAND — Barebox
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------