A470 Porting - DryOS Development - CHDK Forum  

A470 Porting

  • 253 Replies
  • 83385 Views
*

MrSpoon

A470 Porting
« on: 24 / March / 2009, 17:29:20 »
Advertisements
« Last Edit: 03 / July / 2009, 15:55:45 by MrSpoon »

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: A470 Porting
« Reply #1 on: 24 / March / 2009, 19:42:31 »
sounds like ur having fun digging through asm code. always nice to have new people "join the chdk army".
welcome and good luck with your project :)

*

MrSpoon

Re: A470 Porting
« Reply #2 on: 25 / March / 2009, 21:32:41 »
I'm basing my work on the A720 code. I've got a bit further, edited lib.c and stubs_min.c, right now it looks like Im not getting to entry.S in core though.

My makefile.inc is as follows:
Code: [Select]
#317A
PLATFORMID=12666

PLATFORMOS=dryos

MEMBASEADDR=0x1900
RESTARTSTART=0x49000
MEMISOSTART=0xA5798
ROMBASEADDR=0xffc00000

I'm still feeling around the boot process, bit stumped for the moment though, can't see what's wrong with it :(

EDIT: I gave copy_and_restart a test function to turn on an LED and the camera restarted to it :) Realised I'm using binutils 2.19 which as mentioned in the A580 thread, does crazy things to main.bin! Rebuilding binutils now...

RE-EDIT: I get as far as calling CreateTask_PhySw(); and then the camera turns off, I've still got a lot more stuff to do though.
« Last Edit: 28 / March / 2009, 15:28:43 by MrSpoon »

*

MrSpoon

Re: A470 Porting
« Reply #3 on: 30 / March / 2009, 17:47:27 »
Yey, got the camera booting without the hooks :D

*stares lovingly at the splash screen*


*

Offline whim

  • ******
  • 2046
  • A495/590/620/630 ixus70/115/220/230/300/870 S95
Re: A470 Porting
« Reply #4 on: 30 / March / 2009, 18:08:40 »
congrats MrSpoon !


wim


Re: A470 Porting
« Reply #5 on: 30 / March / 2009, 19:05:08 »
Keep up the great work on the firmware!

I know I'm a new user, but have been following the CHDK sites and forums since getting a A470 (I had a A460 which broke in the first 2 weeks and it was replaced with the A470...no firmware :( ) so hopefully after close to a year, you'll have a CHDK firmware ready for it! :D

Great progress, mate.

*

MrSpoon

Re: A470 Porting
« Reply #6 on: 31 / March / 2009, 10:03:59 »
Yey, just been using CHDK for the very first time, took some auto-bracketed pics with my A470 :D

I've attached an alpha diskboot.bin, I was really wanting to get auto-bracketing working though and I've disabled a lot, so don't expect much to work :-[

EDIT: file removed, out of date.
« Last Edit: 10 / April / 2009, 20:16:35 by MrSpoon »

Re: A470 Porting
« Reply #7 on: 01 / April / 2009, 07:08:26 »
Hi, great to see someone porting to the A470. I originally bought a Fuji S5700 which I had assumed took RAW mode images. I was very disappointed with the over-compressed Jpegs. I bought an A470 after using my son's. It takes excellent images but CHDK would be the icing on the cake.

I downloaded the DISKBOOT.BIN file and the other bits from the A720 port but we keep getting a File Error when trying to update our v1.02c camera. I realise its an alpha version but we're happy to test it and report bugs etc. As this is not a full package, could we be using the wrong files from the A720?


Re: A470 Porting
« Reply #8 on: 01 / April / 2009, 07:13:14 »
Great work! I'll try this when I get home. I've dumped my firmware (got different checksum?) and installed necessary tools. I hope I may be able to help in some way. You seem to have got quite far. I've never attempted anything like this. Cheers.

*

MrSpoon

Re: A470 Porting
« Reply #9 on: 01 / April / 2009, 07:20:23 »
Hey, sorry I didn't make the alpha very user friendly I guess.

To install CHDK you can follow the "CHDK for Dummies" guide. If you install the A720 version of CHDK onto your SD card using that guide, you should then be able to just replace the diskboot.bin file with the one I attached. With the SD card 'locked' the camera will boot up and hopefully you'll see the CHDK splash screen!

Note that I haven't yet got round to adding SDHC/partitioning support, so it'll only work on an SD card for now

 

Related Topics