It appears that imgutil may have a bug

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

It appears that imgutil may have a bug

ソリューションへジャンプ
1,393件の閲覧回数
jeffrey_whitlat
Senior Contributor II

Hello, I am working with iMXRT1020 processors and booting from eMMC to run in SDRAM. In setting up the DCD for the eMMC image, It seems that imgutil may have a bug.

Reducing my foo.cfg file down to this:

[DCD Descriptor]
*(uint32_t*)0x400d8100 &= ~0x00800000;

It seems that the compiled binary is incorrect.

$ imgutil.exe --dcd_gen dcd_desc_file="foo.cfg" ofile="foo.bin"
$ hexdump foo.bin

000000 d2 00 10 41 cc 00 0c 14 40 0d 81 00 00 80 00 00

I would argue that the sequence cc 00 0c 14 should instead be cc 00 0c 0c

I have the same results with dcdgen.exe.

Where can I find the source to imgutil.exe or get a fix for this issue? Currently the only way I can work around this problem is by editing the one bad byte in my compiled dcd.bin file.

Thank you for your assistance.

0 件の賞賛
返信
1 解決策
1,330件の閲覧回数
jeffrey_whitlat
Senior Contributor II

Ok, well I guess I will solve this problem myself by creating my own DCD compiler.  I would prefer to contribute to fixing the official version, but so be it.  Cheers.

元の投稿で解決策を見る

0 件の賞賛
返信
5 返答(返信)
1,311件の閲覧回数
FelipeGarcia
NXP Employee
NXP Employee

Hi,

Thank you for reporting this problem. Unfortunately, we cannot provide source code of the tool but I will report this internally.

Best regards,

Felipe

0 件の賞賛
返信
1,282件の閲覧回数
jeffrey_whitlat
Senior Contributor II

Thank you kindly.  I look forward to hearing of any updates to the imgutil tool.

タグ(1)
0 件の賞賛
返信
1,237件の閲覧回数
jeffrey_whitlat
Senior Contributor II

I have determined that this issue appears to be resolved in the DCD editor / compiler found in MCUXpresso 11.3.1.  I have verified that the correct codes are generated for the expression reported.  Thank you kindly.

0 件の賞賛
返信
1,331件の閲覧回数
jeffrey_whitlat
Senior Contributor II

Ok, well I guess I will solve this problem myself by creating my own DCD compiler.  I would prefer to contribute to fixing the official version, but so be it.  Cheers.

0 件の賞賛
返信
1,339件の閲覧回数
jeffrey_whitlat
Senior Contributor II

Anyone else experiencing this issue?

0 件の賞賛
返信