supplierdeeply

A1100 IS Porting thread

  • 640 Replies
  • 86783 Views
Re: A1100 IS Porting thread
« Reply #30 on: 15 / April / 2010, 05:19:15 »
Advertisements
now,I have this compile error ;)
How can I do next?
Can some one tell me?
I am in windows xp enviroment.

sorry... I don't know...

Re: A1100 IS Porting thread
« Reply #31 on: 15 / April / 2010, 08:47:15 »
nobody know?

*

Offline reyalp

  • ******
  • 10069
Re: A1100 IS Porting thread
« Reply #32 on: 16 / April / 2010, 03:20:08 »
nobody know?
The error means exactly what it says: there are symbols that are not defined.

The DNG related ones can be avoided by turning off the DNG #ifdefs in camera.h

The others look like your stubs_entry.S or stubs_entry_2.S are incomplete.
Don't forget what the H stands for.

Re: A1100 IS Porting thread
« Reply #33 on: 16 / April / 2010, 03:26:29 »
thanks ,I will try


Re: A1100 IS Porting thread
« Reply #34 on: 16 / April / 2010, 05:07:21 »
2010-04-16

1.copy the directory structure from a480 to a1100(I think they are the same because
they are the same time published.)
)
2.copy the primary.bin to the "platform/a1100/sub/100c"  floder.
3.add a1100 camer type define to the camera.h
4. edit the makefile.inc. These values from "canon a1100 developer page and
only keep NEED_ENCODED_DISKBOOT=2  

5.run  "gmake PLATFORM=a1100 PLATFORMSUB=100c fir" fir under the microsoft windows's cmd.
6.there are many error like "
-> stubs_entry.S
ERROR! There are unresolved addresses in 'stubs_entry.S' (a1100-100c) for the following

names:
.....(many)
vsprintf
write
Please, add them into 'stubs_entry_2.S' manually!"
« Last Edit: 16 / April / 2010, 05:23:08 by xiaofeng »

Re: A1100 IS Porting thread
« Reply #35 on: 16 / April / 2010, 05:09:19 »
7.I add all of them in to stubs_entry_2.S, with dummy values 0x12345678.
Like this
NHSTUB(AllocateMemory,0x12345678)
NHSTUB(AllocateUncacheableMemory,0x12345678)
NHSTUB(Close,0x12345678)
NHSTUB(CreatePhysicalVram,0x12345678)
NHSTUB(CreateTask,0x12345678)
....(many)

8.compile again.many errors like 'in xxx function undefined reference to xxxx'
9.I turn off dng support like this :  #define DNG_SUPPORT  0.
10.compile again.
errors:
gui.o: In function `gui_menuproc_swap_patitons':
gui.c:(.text+0x1232): undefined reference to `get_part_count'
gui.o: In function `other_kbd_process':
gui.c:(.text+0x18cc): undefined reference to `MakeAFScan'
gui.o: In function `gui_draw_osd':
gui.c:(.text+0x24da): undefined reference to `get_ev_video_avail'
gui.o: In function `card_break_proc':
gui.c:(.text+0x2716): undefined reference to `create_partitions'
conf.o: In function `conf_change_dng_ext':
conf.c:(.text+0x96): undefined reference to `save_ext_for_dng'
...(some)
../platform/a1100/libplatform.a(wrappers.o): In function `mktime':
wrappers.c:(.text+0x5a8): undefined reference to `_mktime_ext'
../platform/a1100/libplatform.a(wrappers.o): In function `localtime':
wrappers.c:(.text+0x5ec): undefined reference to `_LocalTime'
...(many)
boot.c:(.text+0x630): undefined reference to `mbr_read_dryos'     
« Last Edit: 16 / April / 2010, 05:21:36 by xiaofeng »

Re: A1100 IS Porting thread
« Reply #36 on: 16 / April / 2010, 05:28:55 »
Quote
The others look like your stubs_entry.S or stubs_entry_2.S are incomplete.
so how can I deal with these undefined reference functions?
add these functions into  stubs_entry_2.S?
« Last Edit: 16 / April / 2010, 08:35:27 by xiaofeng »

Re: A1100 IS Porting thread
« Reply #37 on: 16 / April / 2010, 11:05:59 »
11.
I comment some code and edit the camera.h.
   Now compile successed.


Re: A1100 IS Porting thread
« Reply #38 on: 16 / April / 2010, 11:44:51 »
12.
I get the diskboot.bin.
I know the file is not correct.
I create a file ps.fi2 and put it under the sd card root floder with diskboot.bin.
I try to update.
Then it say: update file error.

So somebody can give me a hint?

Re: A1100 IS Porting thread
« Reply #39 on: 17 / April / 2010, 02:26:39 »
13.
NOW I add some LED code to the main.c
 after compile,I copy the diskboot.bin to the sd card.Then locked the sd card.Push the
play button.Interesting,the print LED trun on and then camera freeze and down.

 

Related Topics