Guest122 has quit [Read error: Connection reset by peer]
rajkosto has joined #linux-sunxi
junari__ is now known as junari
<junari>
Hmm, how I can extract phoenixsuit image?
junari has quit [Remote host closed the connection]
apritzel has joined #linux-sunxi
junari has joined #linux-sunxi
<apritzel>
junari: I added PhoenixSuite support lately to my personal firmware info/extraction tool, I guess it's time to post it now ...
<apritzel>
junari: if you are only interested to get a single binary part out of an existing image now, I can quickly tell you what to do
<junari>
apritzel: I did it with some windows program
<apritzel>
junari: what were you after? To get all images/partitions, and reflash a device from scratch? Or to just extract one part (like boot0, or the kernel), to inspect that?
<junari>
apritzel: extract sys_config.fex
<junari>
To view DRAM configs
<apritzel>
junari: ah, yeah, this is what my tool now automates: you give it a PhoenixSuite image file, and it dumps the DRAM settings as needed by jernej's new DRAM driver fixes
JohnDoe_71Rus has quit []
<apritzel>
if you want to extract just a single file: open it with a hexviewer/hexeditor, and search for the file name. Right after the padding zeroes, you will spot three 32-bit values (little endian):
<junari>
apritzel: Yes, this is a useful feature. And extract the DT
<junari>
Useful information, thanks
junari has quit [Remote host closed the connection]
<apritzel>
the first number (0x5950) is the stored size, the second one (0x5944) the actual size. The third number (0xa400) is the start offset within the image file
junari has joined #linux-sunxi
szemzoa has quit [Remote host closed the connection]
szemzoa has joined #linux-sunxi
JohnDoe_71Rus has joined #linux-sunxi
Danct12 has quit [Remote host closed the connection]
<apritzel>
smaeul: many thanks, U-Boot reviews would be very helpful! If you want to start easy, there are actually two low-hanging fruit series: