SD1100/ixus 80 porting .... - page 3 - DryOS Development - CHDK Forum

SD1100/ixus 80 porting ....

  • 360 Replies
  • 191789 Views
Re: SD1100/ixus 80 porting ....
« Reply #20 on: 19 / August / 2008, 06:27:15 »
Advertisements
Hi,

i dumped my Ixus 80 IS (European Version PAL) today , but my dump is different of yours.

Code: [Select]
Version:
 Canon DIGITAL IXUS 80 IS
 P-ID:3184  PAL D
 
 Firmware Ver GM1.01A
 NoError
 Jan 24 2008  19:45:59
 
 Adj Ver.012.005
 IS Firm Ver. 3.00
 IS Param Ver. 3.00
 
sd1100_pal_dump.zip - 1.58MB

Cu
Nos!
« Last Edit: 19 / August / 2008, 06:38:06 by Nosferatu »

*

Offline chr

  • ***
  • 138
  • IXUS 82 IS
Re: SD1100/ixus 80 porting ....
« Reply #21 on: 19 / August / 2008, 08:44:36 »
@nosferatu: ok, now you can start pray to me  :xmas :haha

@jeff: sometimes problems are complicated but solution is simple: I removed every debug led blink, every chdk hook from task_Startup_my() but inserted a blinker_task: the camera starts up normally and "the" led keeps blinking  8)

Now my question: which hooks are mandatory to get at least the chdk boot splash screen? So far some of the custom hooks do 'nothing', the rest bricks the cam. (Call from blinker_task to gui_init() -> "nothing", call to conf_restore() or conf_init() freezes .... no, thumb mode is disabled)

The section about the SDHC "Boot Support" is tricky because it's very different at it ends in this ROM.
What does this work around:
* sd (un)lock
* fat32?
* large files/cards
* ... ?!?

Which of these limits are in this "latest" cam? Maybe Canon fixed some stuff? I don't have a large SDHC card. Anyone here, who can test the bugs and limits of this cam regarding sd-card and filesystem?

ps: yes, canon fixes stuff. In the 860is they simply forgot 2 simple lines of code to check the return value of the "decoding" process in StartDiskboot  :lol  :lol  :lol

*

Offline chr

  • ***
  • 138
  • IXUS 82 IS
Re: SD1100/ixus 80 porting ....
« Reply #22 on: 20 / August / 2008, 05:25:49 »
@nosferatu: ok, now you can start pray to me  :xmas :haha
@nosferatu: Good job! 8)

@jeff: ok, meanwhile I found How does CHDK start running
The bug is in stubs_entry.S. It says: "!!! THIS FILE IS GENERATED. DO NOT EDIT. !!!".
But the symbols in stubs_entry.o were not overwritten by stubs_entry_2.o ... GRRRRR!

So, cam boots but it freezes after ~20 seconds in play mode and keys do not work, yet. In rec mode the cams seems to be stable.
« Last Edit: 20 / August / 2008, 05:33:32 by chr »

*

Offline chr

  • ***
  • 138
  • IXUS 82 IS
Re: SD1100/ixus 80 porting ....
« Reply #23 on: 20 / August / 2008, 05:32:31 »
ups


*

Offline chr

  • ***
  • 138
  • IXUS 82 IS
Re: SD1100/ixus 80 porting ....
« Reply #24 on: 22 / August / 2008, 03:55:43 »
I have something to play for you 8) !

Warning: this is an alpha version! I don't take any warranty if it blew up your cam!!!

Usage:

1. log in or otherwise u don't see the attached files :P
2. create a bootable sd card. Instructions are here: Bootable SD card - CHDK Wiki Don't ask any questions about that in this thread!
3. download the file, rename it to diskboot.bin, put it on the sd card. Lock the card. Pray.

Release notes:

* It works in my ixus82is cam (ixus80is / sd1100 shout be the same). Exact version string: "Firmware Ver GM1.00C"
* This build is in ARM mode, no thumb code. The toolchain I'm using produces funny code ...
* With this cam generation spawning tasks seems to be a bit different ... how about CreateTask() vs. KernelCreateTask() ?!
* I had probs with the linker overriding stubs_entry.S vs stubs_entry_2.S so who ever tries my patch be warned. (Look in platform/.../100c/Makefile)

Known bugs:

* movie_rec is not in, yet. We have enough bugs to look after.
* It's quite stable in rec mode but crashes soon in play mode after a few seconds or pressing a wrong button.
* switching from rec to play or vice versa mostly freezes the cam
* Some background colors look like a stretched checkboard. I don't know if this is correct ... I only know the screenshots in the wiki. Plz look at the screen shot (mh, is there a screenshot function in chdk???) The red is solid but the grey is strange.
* I haven't seen chdk in action yet, so I must now read the manual ;)
* ISO override freezes cam

The patch is against current allbest svn rev 491

I repeat:
This build will only work with "Firmware Ver GM1.00C" (See FAQ - CHDK Wiki)

« Last Edit: 28 / August / 2008, 11:42:17 by chr »

Re: SD1100/ixus 80 porting ....
« Reply #25 on: 22 / August / 2008, 06:06:32 »
Hi,

on my 80 IS (Firmware Ver GM1.01A) this is not working (Wrong Version)
The cam did not came up in any way.

Cu Nos

*

Offline will

  • *
  • 26
  • IXUS 80IS fw 1.01a
Re: SD1100/ixus 80 porting ....
« Reply #26 on: 22 / August / 2008, 08:31:19 »
chr, looks promising. Unfortunately like Nosferatu, i'm unable to load it onto my cam.

Here's what i've done.

1) Card is in locked mode
2) Camera is in play mode
3) Click power button, camera doesn't turn on with diskboot.bin in root directory on card (nothing else on card).
4) Card was made bootable using the cardtricks tool. I repeated this a few times to make sure.

Can't say I didn't try, right?

Anyway, I believe it's to do with my firmware. It's the same version as Nosferatu's.

Re: SD1100/ixus 80 porting ....
« Reply #27 on: 22 / August / 2008, 12:32:05 »
Sorry to say that I'm  also in the insta-brick crowd.
What can I do to help?


Re: SD1100/ixus 80 porting ....
« Reply #28 on: 22 / August / 2008, 14:48:02 »
SD1100 IS camera refuses to turn on when DISKBOOT.BIN is installed on my bootable card and card is locked. Had to pull the battery to get my camera working normally and unlock the card.

Below is my firmware info:

Quote
Canon PowerShot SD1100 IS
P-ID:3184 NT D
           
Firmware Ver GM1.01A
E18
Jan 24 2008   19:45:59

Adj Ver.012.005
ZoomLensError
2008.05.20 11:23:07

IS Firm Ver. 3.00
IS Param Ver. 3.00


I guess I'm also running the 1.01A firmware that the posters above had problems with.  :(
« Last Edit: 22 / August / 2008, 15:10:38 by pricead »
Canon SD1100 IS (1.01a firmware)

Re: SD1100/ixus 80 porting ....
« Reply #29 on: 23 / August / 2008, 04:49:06 »
Hi,

i try'd to set up the gcc win32 toolchain. with the vanilla trunk it compiles without any errors.
when i apply you patch and try to compile the ixus 80 platform i get the following nasty error.

Code: [Select]
C:\chdk\src\allthebest\dev>gmake fir
echo "**** Build: 51"
**** Build: 51
echo "BUILD_NUMBER := 51" > version.inc
>> Entering to tools
C:\chdk\gcc\bin\gmake[1]: Entering directory `C:/chdk/src/allthebest/dev/tools'
C:\chdk\gcc\bin\gmake[1]: Leaving directory `C:/chdk/src/allthebest/dev/tools'
<< Leaving tools
>> Entering to lib
C:\chdk\gcc\bin\gmake[1]: Entering directory `C:/chdk/src/allthebest/dev/lib'
>> Entering to lib/font
C:\chdk\gcc\bin\gmake[2]: Entering directory `C:/chdk/src/allthebest/dev/lib/fon
t'
font_8x16.c -> font_8x16.o
arm-elf-gcc -fno-inline -Os -fno-strict-aliasing -mcpu=arm946e-s -I../../include
 -DMEMBASEADDR=0x1900 -DMEMISOSTART=0xbff60 -DMEMISOSIZE=0x40000 -DRESTARTSTART=
0x50000  -DPLATFORM=\"ixus80_sd1100\" -DPLATFORMSUB=\"101a\" -DHDK_VERSION=\"all
best\" -DBUILD_NUMBER=\"51\" -DCAMERA_ixus80_sd1100=1 -Wall -Wno-unused -Wno-for
mat  -nostdinc -c -o font_8x16.o font_8x16.c
font_8x16.c:1: error: bad value (arm946e-s) for -mcpu= switch
C:\chdk\gcc\bin\gmake[2]: *** [font_8x16.o] Error 1
C:\chdk\gcc\bin\gmake[2]: Leaving directory `C:/chdk/src/allthebest/dev/lib/font
'
C:\chdk\gcc\bin\gmake[1]: *** [all-recursive] Error 1
C:\chdk\gcc\bin\gmake[1]: Leaving directory `C:/chdk/src/allthebest/dev/lib'
gmake: *** [all-recursive] Error 1

C:\chdk\src\allthebest\dev>

what is wrong ?

Cu Nos.

p.s. i'm unavail the next week.

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal