Dingoonity.org

Other Portable Consoles => Gemei A330 => Topic started by: slaanesh on August 28, 2020, 11:21:40 pm

Title: dlmake.exe last step on compile
Post by: slaanesh 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
Title: Re: dlmake.exe last step on compile
Post by: hitchhikr 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.
Title: Re: dlmake.exe last step on compile
Post by: hitchhikr 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).
Title: Re: dlmake.exe last step on compile
Post by: slaanesh 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?
Title: Re: dlmake.exe last step on compile
Post by: hitchhikr 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.
Title: Re: dlmake.exe last step on compile
Post by: slaanesh 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 :)