DISKBOOT.BIN and PS.FI2 - General Discussion and Assistance - CHDK Forum supplierdeeply

DISKBOOT.BIN and PS.FI2

  • 6 Replies
  • 2565 Views
DISKBOOT.BIN and PS.FI2
« on: 01 / June / 2010, 21:00:31 »
Advertisements
Hi there,

I  tried CHDK on my A480 and it works like a charm. Amazing software!! Congrats!!

I also downloaded the compiler and source code and compiled it using

make fir PLATFORM=a480 PLATFORMSUB=100b

That works too, except that the only output file I'm getting is DISKBOOT.BIN

This is probably a dumb question, but, how do I create PS.FI2?   :-[

Thanks!!

*

Offline reyalp

  • ******
  • 11747
Re: DISKBOOT.BIN and PS.FI2
« Reply #1 on: 01 / June / 2010, 22:24:52 »
see fi2.inc.txt in the platform directory.

You only need the fi2 for manual loading. If you use auto boot, the diskboot is all you need.
Don't forget what the H stands for.

Re: DISKBOOT.BIN and PS.FI2
« Reply #2 on: 01 / June / 2010, 22:34:02 »
reyalp, Thanks!

I'll check fi2.inc.txt now. Also, I forgot to mention that I'm using windows xp.

So far I used CHDK by loading PS.FI2 - I didn't look into using diskboot yet.




Re: DISKBOOT.BIN and PS.FI2
« Reply #3 on: 01 / June / 2010, 23:11:40 »
So, I made my card bootable and used diskboot.bin anyway.

I've got another question though =]

The firmware I downloaded (a480-100b-0.9.9-894-full.zip)  is 248kb, but the image I compiled is 262kb   (trunk-r894.zip source) - I wonder why the difference?







*

Offline fe50

  • ******
  • 3096
  • IXUS50 & 860, SX10 Star WARs-Star RAWs
    • fe50
Re: DISKBOOT.BIN and PS.FI2
« Reply #4 on: 02 / June / 2010, 00:50:02 »
The firmware I downloaded (a480-100b-0.9.9-894-full.zip)  is 248kb, but the image I compiled is 262kb   (trunk-r894.zip source) - I wonder why the difference?
What gcc version did you use ?
There are differences in size between binaries compiled with gcc 3.4 and gcc 4.x, there may also be differences due to the compile settings (e.g.optional components) you're using...see also http://chdk.wikia.com/wiki/CHDK-Shell.

Re: DISKBOOT.BIN and PS.FI2
« Reply #5 on: 02 / June / 2010, 02:08:49 »
fe50,

I used the 3.4.6 compiler, that's probably the reason? (I think I didn't change any settings - I simply extracted the sources and used the included makefile)

Thanks for the CHDK shell link!

*

Offline reyalp

  • ******
  • 11747
Re: DISKBOOT.BIN and PS.FI2
« Reply #6 on: 02 / June / 2010, 02:31:49 »
ISTR the difference bettween GCC3  and 4 was about 12k, so that could be it.
Don't forget what the H stands for.

 

Related Topics