Author Topic: dlmake.exe last step on compile  (Read 640 times)

slaanesh (OP)

  • Posts: 569
    • Slaanesh Dev
dlmake.exe last step on compile
« on: August 28, 2020, 11:21:40 pm »
Is the source code for dlmake.exe available?
I want to convert my toolchains to Linux but I can?t find anything but a Cygwin version of this executable.
Failing that is there an equivalent step that can be done in lieu of this?
Without it I can?t generate the .cc executable on anything but Cygwin

hitchhikr

  • Posts: 69
Re: dlmake.exe last step on compile
« Reply #1 on: September 14, 2020, 10:25:32 am »
Hi,

If that can help you i documented the binary file format a long time ago (it's the same as the .app format of the dingoo a320).

http://franck.charlet.pagesperso-orange.fr/dingoo_app_format.7z

f.

hitchhikr

  • Posts: 69
Re: dlmake.exe last step on compile
« Reply #2 on: September 14, 2020, 01:14:21 pm »
Note: the ERPT isn't for any bss section but obviously for some "resource" file. I don't know what kind of resource is it for (never seen it used).

EDIT: fixed in the file mentioned above (plus some precisions).
« Last Edit: September 14, 2020, 01:35:59 pm by hitchhikr »

slaanesh (OP)

  • Posts: 569
    • Slaanesh Dev
Re: dlmake.exe last step on compile
« Reply #3 on: September 15, 2020, 12:01:08 am »
Hi,

If that can help you i documented the binary file format a long time ago (it's the same as the .app format of the dingoo a320).

http://franck.charlet.pagesperso-orange.fr/dingoo_app_format.7z

f.

If it's the same, then can I used Dingoo A320's "elf2app" to create the binary for the Gemei A330?

hitchhikr

  • Posts: 69
Re: dlmake.exe last step on compile
« Reply #4 on: September 15, 2020, 03:30:17 am »
If elf2app makes .apps which work on the dingoo then i would think so.
But their extension are .cc (i don't remember if .app is used on the gemei).

As a matter of fact, I was interested in that file format as i wanted to create a file packer, but i didn't found the time to do so yet.
« Last Edit: September 15, 2020, 03:32:17 am by hitchhikr »

slaanesh (OP)

  • Posts: 569
    • Slaanesh Dev
Re: dlmake.exe last step on compile
« Reply #5 on: September 16, 2020, 01:24:21 am »
Hi,

If that can help you i documented the binary file format a long time ago (it's the same as the .app format of the dingoo a320).

http://franck.charlet.pagesperso-orange.fr/dingoo_app_format.7z

f.

If it's the same, then can I used Dingoo A320's "elf2app" to create the binary for the Gemei A330?

EDIT:

First step of elf2app is this:

mipsel-linux-objcopy -O binary -j .dingoo mameTest.elf mameTest.elf.bin

The equivalent on ARM is:

arm-linux-objcopy -O binary -j .dingoo mameTest.elf mameTest.bin

But this fails as there is no .dingoo section.

Needs a bit more playing with :)

 

Post a new topic