new branch - CHDK : Elf Edition - Developers wanted - page 2 - General Discussion and Assistance - CHDK Forum

new branch - CHDK : Elf Edition - Developers wanted

  • 316 Replies
  • 130703 Views
*

Offline mx3

  • ****
  • 372
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #10 on: 11 / April / 2008, 01:42:12 »
Advertisements
Will be the Elf files same for different models?
yes.
Will we create a function library?
it will depend on loader implementation.
I intended to support loading of .so files ( .dll )
correct porting of any loader from freeBSD, netBSD, linux will give this support.
actually it is not done yet so instead elfs anybody can implement PE loader as well (from wine or reactos)... :-)

main purpose of this project to simplify modules development and porting
« Last Edit: 11 / April / 2008, 01:46:38 by mx3 »
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline obsidian

  • *
  • 31
  • A710IS
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #11 on: 15 / April / 2008, 09:28:30 »
How will we compile the elves? Along with the chdk or individually? Which software will we use?What about "IAR embedded workbench for ARM"?

A710IS + 4GB SanDisk Ultra II

*

Offline mx3

  • ****
  • 372
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #12 on: 15 / April / 2008, 12:14:41 »

How will we compile the elves? Along with the chdk or individually? Which software will we use?What about "IAR embedded workbench for ARM"?

Quote
I used gcc_env_for_hdk-3.4.6.rar compiler to build project.

this project is no complited.
there are no working loader yet.

I planned to support dinamic linking.
I think any compiler which produces elfs could be used.

until loader implemented it is early to speak about making "extentions"
 
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline obsidian

  • *
  • 31
  • A710IS
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #13 on: 22 / April / 2008, 03:45:39 »
will the cameras support "Daemons"? (elves started on camera startup, something like resident programs. If I place some elves to a specified directory on card, they will be launched.)
A710IS + 4GB SanDisk Ultra II

*

Offline mx3

  • ****
  • 372
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #14 on: 22 / April / 2008, 03:50:50 »
will the cameras support "Daemons"? (elves started on camera startup, something like resident programs. If I place some elves to a specified directory on card, they will be launched.)


it is planned.
I was going to add parameter into loader ( enum { RESIDENT, EXCLUSIVE})
when running in "exclusive" mode module uses memory  which is not used at the moment
when running in "resident"  mode module uses small ammount of memory but can run from power on to power off

so it is like applications and drivers

updated:
only difference between these two modes are:
1) loader will give binary different memory management function's entry points
2)
in case of Exclusive modules loader will wait until control returned into loader after module execution
in case of resident modules there are can be two variants:
- launch binary in newly created process(thread)
- launch and wait return (module will himself create task(thread))
« Last Edit: 22 / April / 2008, 03:56:35 by mx3 »
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #15 on: 05 / May / 2008, 15:57:38 »
I'm in, you can use me if you want to. I am dealing with optimizations/code profiling, also have experience with ANSI-C (hate ++). Maybe I'll be useful.

*

Offline mx3

  • ****
  • 372
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #16 on: 06 / May / 2008, 03:29:16 »
I'm in, you can use me if you want to. I am dealing with optimizations/code profiling, also have experience with ANSI-C (hate ++). Maybe I'll be useful.

great.

you can try to port either PE loader or ELF loader.
at the first stage it can be easily tested on PC.
skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #17 on: 11 / August / 2008, 15:56:06 »
*bump* just wanted to ask if there are any news on this project?
also maybe the skilled asm dudes like reyalp havent seen this thread yet, maybe they get interested... :D

*

Offline mx3

  • ****
  • 372
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #18 on: 12 / August / 2008, 01:58:44 »
just wanted to ask if there are any news on this project?
no changes

also maybe the skilled asm dudes like reyalp havent seen this thread yet, maybe they get interested... :D

asm dude is not required here.

it is required to grab some existing elf loader (sections parser) and integrate it into build
I thought someone could do it by now.



skype: max_dtc. ICQ: 125985663, email: win.drivers(at)gmail, eVB decompiler

*

Offline PhyrePhoX

  • *****
  • 2254
  • make RAW not WAR
    • PhyreWorX
Re: new branch - CHDK : Elf Edition - Developers wanted
« Reply #19 on: 13 / August / 2008, 08:33:45 »
ah ok, so no ASM skills needed. but certainly some nice C skills i guess - and these i lack, otherwise i would have joined your project by now.

so devs, please join mx3 and help him, for it will boost CHDK significantly.

 

Related Topics


SimplePortal © 2008-2014, SimplePortal