Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/TDA2PXEVM: It will fail when parse LZOP file

$
0
0

Part Number:TDA2PXEVM

Tool/software: Linux

Hello,

For early boot, It will load the firmware to comp_addr, also it will parse the header of LZOP file. But the LZOP file header doesn't match with the lzop_magic defined in lzo1x_decompress.c.Below is the  lzop_magic defined in lzo1x_decompress.c.

----------------------------------------------------------------------------

static const unsigned char lzop_magic[] = {
0x89, 0x4c, 0x5a, 0x4f, 0x00, 0x0d, 0x0a, 0x1a, 0x0a
};

----------------------------------------------------------------------------

While, I added the log for the header value, it is  not match.below is the log, and the *src is the first char of header value.

------------------------------------------------------------------------------------------------

ccccccccccc i=0, *src=159
Error loading remotecore IPU2!,Continuing with boot ...
ccccccccccc i=0, *src=191
Error loading remotecore DSP1!,Continuing with boot ...
ccccccccccc i=0, *src=129
Error loading remotecore DSP2!,Continuing with boot ...
ccccccccccc i=0, *src=0
Error loading remotecore IPU1!,Continuing with boot ...

Thanks a lot

Terence


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>