A490 Porting - page 3 - DryOS Development - CHDK Forum

A490 Porting

  • 224 Replies
  • 82435 Views
*

Offline mrowl

  • *
  • 11
Re: A490 Porting
« Reply #20 on: 28 / June / 2011, 14:00:27 »
Advertisements
Hi All,

I hope anyone who owns A490 is reading this. If you could help testing the different features I'd be really glad, since my girlfriend literally kidnapped our camera and I can't work further on CHDK. :-) She really likes it with the new features. :-D So please drop a comment if something works or doesn't work for you.

In the meantime, I'm trying to continue. I've found all the PROPCASE_DIGITAL_ZOOM_xxx properties and I'm eager to try the new code as soon as I can get the camera back.

Mr. Owl

Re: A490 Porting
« Reply #21 on: 01 / July / 2011, 16:50:58 »
I can test this stuff :).

Send me latest build, all features will be checked thoroughly.

With regards,
/haker305

Re: A490 Porting
« Reply #22 on: 08 / July / 2011, 18:24:03 »
Thanks for all your hard work mrowl!!!

I ran some tests, if you want me to test other features let me know.

Code: [Select]
CHDK Ver: CHDK 0.9.9-1226
july 5 2011
a490
100f
GCC 4.4.3


LLIBTST.lua


all options enabled crash


disabled skip io
***end os FAIL 2***
:494: attempt to call a nil value
PSTC
*** INTERRUPTED ***


enabled skip io
***end io OK***
***end os FAIL 2***
:494: attempt to call a nil value
PSTC
*** INTERRUPTED ***


disabled skip string
*** STARTED ***
***end io OK***
***end os FAIL 2***
*** FINISHED ***


all options enabled
***end io OK***
***end os FAIL 2***
:494: attempt to call a nil value
PSTC
*** INTERRUPTED ***
llibtst.log
test log opened
platform: a490 100f
version: CHDK 0.9.9-1226 built on Jul  5 2011 05:47:22
os: dryos platformid: 12784
***test io***
file info for io.input: closed file!
file info for io.output: valid file
 ptr: 2345776 fd: 3 len: 219 pos: 219
 raw vals: 0:3 4:219 8:1 12:219 16:1 20:1 24:270922688 28:0 32:1819029313
io.open("A/iotest0.txt","w+b"): OK PASS
A/iotest0.txt:write(...): OK PASS
A/iotest0.txt:seek("set",4): OK 4 PASS
A/iotest0.txt:read(5): string [slick]
A/iotest0.txt:seek("nil",nil): OK 9 PASS
A/iotest0.txt:seek("cur",-5): OK 4 PASS
A/iotest0.txt:write(...): OK PASS
A/iotest0.txt:seek("end",nil): OK 44 PASS
A/iotest0.txt:write(...): OK PASS
A/iotest0.txt:flush(): OK PASS
A/iotest0.txt:seek("set",nil): OK 0 PASS
test file:lines()
0: [the quick brown fox jumps over the lazy dog]
1: [1]
2: [2a   3 1234567890       b]
A/iotest0.txt:seek("set",nil): OK 0 PASS
A/iotest0.txt:write(...): OK PASS
A/iotest0.txt:seek("set",nil): OK 0 PASS
test file:read("*a")
A/iotest0.txt:read(*a): string [                                           
1
2a   3 1234567890       b]
A/iotest0.txt:seek("set",nil): OK 0 PASS
testing file:read("*n")
A/iotest0.txt:read(*n): number [1]
A/iotest0.txt:seek("nil",nil): OK 45 NA
A/iotest0.txt:read(*n): number [2]
A/iotest0.txt:seek("nil",nil): OK 47 NA
A/iotest0.txt:read(*n): <no results>
A/iotest0.txt:seek("nil",nil): OK 47 NA
A/iotest0.txt:read(1): string [a]
A/iotest0.txt:seek("nil",nil): OK 48 NA
A/iotest0.txt:read(*n): number [3]
A/iotest0.txt:seek("nil",nil): OK 52 NA
A/iotest0.txt:read(*n): number [1234567890]
A/iotest0.txt:seek("nil",nil): OK 63 NA
A/iotest0.txt:read(*n): <no results>
A/iotest0.txt:seek("nil",nil): OK 70 NA
A/iotest0.txt:read(1): string [b]
A/iotest0.txt:seek("nil",nil): OK 71 NA
A/iotest0.txt:read(*n): <no results>
A/iotest0.txt:seek("nil",nil): OK 71 NA
A/iotest0.txt:read(1): <no results>
A/iotest0.txt:seek("nil",nil): OK 71 NA
A/iotest0.txt:close(): OK PASS
test open missing file
io.open("A/bogus","r"): ERR msg=A/bogus: error PASS
test open dir
io.open("A/CHDK","r"): ERR msg=A/CHDK: error PASS
io.open("A/iotest0.txt","r"): OK PASS
test invalid seeks
A/iotest0.txt:seek("set",-1): ERR nil PASS
A/iotest0.txt:seek("end",100): ERR nil PASS
A/iotest0.txt:close(): OK PASS
***end io OK***


***test os***
current date Fri Jul  8 12:27:20 2011
os.time(): OK 1310128040 PASS
os.time({day=1,year=1980,month=1,}): OK 315576000 PASS
os.time({day=1,year=1066,month=1,}): ERR PASS
%a [Fri]
%A [Friday]
%b [Jul]
%B [July]
%c [Fri Jul  8 12:27:20 2011]
%d [08]
%H [12]
%I [12]
%j [189]
%m [07]
%M [27]
%p [PM]
%S [20]
%U [27]
%w [5]
%W [27]
%x [07/08/11]
%X [12:27:20]
%y [11]
%Y [2011]
%Z [%Z]
%% [%]
os.mkdir("A/MDTST0"): ERR A/MDTST0: error FAIL
io.open("A/MDTST0/TEST0.DAT","wb"): OK PASS
A/MDTST0/TEST0.DAT:write(...): OK PASS
A/MDTST0/TEST0.DAT:close(): OK PASS
os.stat("A/MDTST0/TEST0.DAT"): OK PASS
{
 dev=nil
 mode=nil
 size=4
 atime=nil
 mtime=1310128040
 ctime=1310128040
 blksize=nil
 blocks=nil
 attrib=32
 is_dir=false
 is_file=true
}
os.utime("A/MDTST0/TEST0.DAT",nil,nil): OK PASS
os.stat("A/MDTST0/TEST0.DAT"): OK PASS
{
 dev=nil
 mode=nil
 size=4
 atime=nil
 mtime=1310128040
 ctime=1310128040
 blksize=nil
 blocks=nil
 attrib=32
 is_dir=false
 is_file=true
}
os.utime("A/MDTST0/TEST0.DAT",441806400,472824000): OK PASS
os.stat("A/MDTST0/TEST0.DAT"): OK PASS
{
 dev=nil
 mode=nil
 size=4
 atime=nil
 mtime=472824000
 ctime=1310128040
 blksize=nil
 blocks=nil
 attrib=32
 is_dir=false
 is_file=true
}
os.stat("A/MDTST0"): OK PASS
{
 dev=nil
 mode=nil
 size=0
 atime=nil
 mtime=1309856982
 ctime=1309856982
 blksize=nil
 blocks=nil
 attrib=16
 is_dir=true
 is_file=false
}
os.rename("A/MDTST0/TEST0.DAT","A/MDTST0/TEST1.DAT): OK PASS
os.listdir("A/MDTST0",nil): OK PASS
{
 1="TEST1.DAT"
}
os.listdir("A/MDTST0",true): OK PASS
{
 1="."
 2=".."
 3="TEST1.DAT"
}
os.remove("A/MDTST0): ERR A/MDTST0: error PASS
os.remove("A/bogus): ERR A/bogus: error PASS
os.listdir("A/bogus",nil): ERR A/bogus: error PASS
os.listdir("A/llibtst.log",nil): OK NA
{
}
os.stat("A/bogus"): ERR A/bogus: error PASS
os.utime("A/bogus",nil,nil): ERR A/bogus: error PASS
os.rename("A/bogus","A/blah): ERR A/bogus: error PASS
os.mkdir("A/CHDK"): ERR A/CHDK: error PASS
os.remove("A/MDTST0/TEST1.DAT): OK PASS
os.remove("A/MDTST0): ERR A/MDTST0: error FAIL
os.remove("A/iotest0.txt): OK NA
***end os FAIL 2***


***test string***
string.byte("test",2): OK 101 PASS
string.char(116,101,115,116): OK test PASS
dump/load:


Romlog.lua
*** STARTED ***
:16: ERROR: your CHDK does not support native function calls
PSTC
*** INTERRUPTED ***


TSTCALLF.lua
*** STARTED ***
1 FAILED
*** FINISHED ***
TSTCALLF.log
native call interface not found, aborting!
1 FAILED


UARTRTST.lua
*** STARTED ***
:7: ERROR: requires CHDK build with native function call support.
PSTC
*** INTERRUPTED ***


alt
menu
misc options
make bootable works
swap partition works
debug
make card with two partitions works
text file reader works
extra photo operations
override shutter speed works - but is not written correctly to exif if the shutter speed is lower or higher than the stock values
iso works but cannot extend the stock iso range. this feature does however display the forced value even though it is not functioning
ND filter states work
Fast EV switch crashes cam
Force manual flash & flash power levels 0,1,2 work - Flash must be enabled to work
Rear curtain flash sync does not work
video parameters
Raw Disabled scrolling on screen bug

Re: A490 Porting
« Reply #23 on: 10 / July / 2011, 02:17:11 »
The A490 beta version from "CHDK-SVN Autobuild Download" does not work on my A490 bought on June 2010. The LCD will be black after updated firmware from menu, no CHDK logo.  Something is wrong? Confused.


*

Offline reyalp

  • ******
  • 14080
Re: A490 Porting
« Reply #24 on: 10 / July / 2011, 02:35:35 »
The A490 beta version from "CHDK-SVN Autobuild Download" does not work on my A490 bought on June 2010. The LCD will be black after updated firmware from menu, no CHDK logo.  Something is wrong? Confused.
What is the canon firmware version of your camera ?

edit: see http://chdk.wikia.com/wiki/FAQ#Q._How_can_I_get_the_original_firmware_version_number_of_my_camera.3F
Don't forget what the H stands for.

Re: A490 Porting
« Reply #25 on: 10 / July / 2011, 05:30:41 »
Has anybody gotten bracketing to work? I don't think it does.
Admittedly I am new to CHDK but I've followed these instructions
http://chdk.wikia.com/wiki/UBASIC/Scripts:_Make_ANY_Single-Shot_Intervalometer_into_an_HDR-Bracketing_Script
ie. set Tv bracketing values in CHDK, set Custom Timer in camera, run an intervalometer script (this one http://chdk.wikia.com/wiki/UBASIC/Scripts:_Ultra_Intervalometer )
It takes three perfectly unbracketed photos. Any suggestions?
 

Re: A490 Porting
« Reply #26 on: 10 / July / 2011, 07:35:38 »
The A490 beta version from "CHDK-SVN Autobuild Download" does not work on my A490 bought on June 2010. The LCD will be black after updated firmware from menu, no CHDK logo.  Something is wrong? Confused.
What is the canon firmware version of your camera ?

edit: see http://chdk.wikia.com/wiki/FAQ#Q._How_can_I_get_the_original_firmware_version_number_of_my_camera.3F
A490 has no DISP button, so I use the CameraVersion. It displays the version is 100 E. Perhaps the firmware version causes the problem.

Re: A490 Porting
« Reply #27 on: 10 / July / 2011, 09:42:24 »
Using the acid, get the same firmware version 100e for my Canon PowerShot A490. The current A490 beta CHDK seems not working for 100e.


*

Offline reyalp

  • ******
  • 14080
Re: A490 Porting
« Reply #28 on: 10 / July / 2011, 16:03:06 »
Using the acid, get the same firmware version 100e for my Canon PowerShot A490. The current A490 beta CHDK seems not working for 100e.
Correct, the only supported version is 100f, and your symptom shows that this build is not compatible with 100e. A new "sub" will be needed for this camera.

As far as I know, we don't have a firmware dump of 100e, so you can help by getting one. The simplest way to do this is using the canon basic dumper:
http://chdk.wikia.com/wiki/Canon_Basic/Scripts/Dumper
Be sure to read the card setup page to configure your card correctly as a script disk.

If you are a programmer, you can probably do the sub port without too much trouble, see
http://chdk.wikia.com/wiki/Adding_support_of_a_new_firmware_version
and waterwingz tool http://chdk.wikia.com/wiki/CHDK-PT_:_A_tool_for_porting_different_firmware_versions_on_the_same_camera
Don't forget what the H stands for.

*

Offline hotvedt

  • ***
  • 106
  • A540/SX110IS/350D
Re: A490 Porting
« Reply #29 on: 10 / July / 2011, 19:12:30 »

 

Related Topics