Giter Site home page Giter Site logo

TMS320 C6x support about ideas HOT 25 OPEN

radareorg avatar radareorg commented on May 29, 2024
TMS320 C6x support

from ideas.

Comments (25)

ARoiD avatar ARoiD commented on May 29, 2024

@XVilka Should r2 currently not detect that the bios images are arm elf binaries automatically cause of the missing support?

CortexM3 bios images - http://goo.gl/4dndeg

from ideas.

radare avatar radare commented on May 29, 2024

Is there any doc about those file formats? because i guess that's a header, but those are not ELF files.

$ hexdump -C ducati-m3_u2.bin  |head
00000000  52 50 52 43 02 00 00 00  f4 03 00 00 38 65 61 64  |RPRC........8ead|
00000010  39 65 61 61 39 66 62 32  38 36 62 32 36 32 37 37  |9eaa9fb286b26277|
00000020  37 31 39 63 64 33 65 39  30 63 36 65 20 20 2f 68  |719cd3e90c6e  /h|
00000030  6f 6d 65 31 2f 6a 75 6e  68 79 6f 75 6e 67 2e 63  |ome1/junhyoung.c|
00000040  68 6f 2f 64 75 63 61 74  69 5f 62 75 69 6c 64 2f  |ho/ducati_build/|
00000050  64 75 63 61 74 69 5f 55  32 4a 42 5f 32 30 31 33  |ducati_U2JB_2013|
00000060  30 31 33 30 5f 41 64 64  56 53 43 50 61 74 63 68  |0130_AddVSCPatch|
00000070  5f 46 6c 75 73 68 54 69  6d 65 4f 75 74 4c 6f 67  |_FlushTimeOutLog|
00000080  5f 45 55 5f 52 65 76 42  2f 73 79 73 62 69 6f 73  |_EU_RevB/sysbios|
00000090  2d 72 70 6d 73 67 2f 73  72 63 2f 74 69 2f 65 78  |-rpmsg/src/ti/ex|

from ideas.

ARoiD avatar ARoiD commented on May 29, 2024

@radare Hope these help

http://omappedia.org/wiki/RPMsg_BIOS_Sources

http://www.omappedia.com/wiki/RPMsg_Tesla

http://omappedia.org/wiki/Debugging_RPMsg#Readrprc_Utility

http://omappedia.org/wiki/RPMsg_BIOS_Sources#SYS.2FBIOS_RPMsg_Customizations

Utils: Initial commit for firmware generator

Add the firmware .bin generator utility.
http://goo.gl/iVTfZF

Utils: Add a new genextelf utility for pre-signing images

A new utility, called "genextelf", is added that processes an IPU
ELF image and gives out an extended pre-signed ELF image. The ELF
image outputed would be fed into a signing tool to generate the
final signed IPU image.

The utility adds new sections to the image with the various data
needed for the signing process such as MMU entries, the TOC data
etc. The genextelf utility is similar to the genextbin utility,
which was used for signing the binary files.
http://goo.gl/i3JFSW

Utils: Add the genextbin utility

A genextbin utility is added that processes the Ducati binary and
gives out an extended binary with the MMU L1 PTE table and the
firmware section TOC information needed by the signing tool. The
two generated sections are placed at specific physical address
locations and needs to be matched in the signing and authentication
tools.
http://goo.gl/tebtKd

Utils: Add a new gencmbelf utility to combine two ELF images

A new utility, called "gencmbelf", is added that combines two non-SMP
IPU ELF images into a suitable semi-standard single ELF image to be
used instead of a single SMP ELF image.

The utility requires that the input images are completely stripped of
any debug or symbol data info, as the utility is currently not designed
to combine these data. The generated output file is an ELF image and
can be passed to the readelf utility to retrieve information just like
any other ELF file.

This utility is designed for the current ELF images built with or for
sysbios-rpmsg, and not a generic utility.
http://goo.gl/7XLXAi

Utils: Add tool dependencies in the firmware header

Extract the directory names of the tools used to build the
core images. The names are appended as part of the version
in the header of the firmware binary.
http://goo.gl/sDPuQc

Utils: Initial commit for ELF image parsing

Import the ELF Loader code from SysLink 2.0 to be
able to parse the images to be able to use in the
generation of a proprietary firmware binary image.
http://goo.gl/63CkeP

from ideas.

ARoiD avatar ARoiD commented on May 29, 2024

@radare @XVilka @milabs Did those last links help?

from ideas.

ARoiD avatar ARoiD commented on May 29, 2024

@radare @XVilka @milabs some more info below ;)

http://omappedia.org/wiki/Design_Overview_-_RPMsg#Firmware_Image_Format

Cortex M0/M3 disassembler. « Codewaves Digital - http://goo.gl/0hE2XV

https://github.com/Codewaves/mdisasm

http://www.arm.com/files/pdf/Cortex-M3_programming_for_ARM7_developers.pdf

http://rtsc.eclipse.org/cdoc-tip/index.html#ti

http://www.arm.com/products/processors/cortex-m/cortex-m3.php?tab=Specifications

http://www.arm.com/products/processors/cortex-m/index.php/

http://users.ece.utexas.edu/~valvano/EE345M/CortexM3InstructionSet.pdf

http://en.m.wikipedia.org/wiki/List_of_ARM_Cortex-M_development_tools

http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337e/DDI0337E_cortex_m3_r1p1_trm.pdf

http://engenuics.com/wp-content/uploads/notes_mpgl1_firmware_assembler.pdf

http://infocenter.arm.com/help/topic/com.arm.doc.dai0179-

http://infocenter.arm.com/help/topic/com.arm.doc.ddi0337-

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.dui0552a/index.html

https://gitorious.org/lsd/discovery

https://gitorious.org/lsd/disassembler

from ideas.

XVilka avatar XVilka commented on May 29, 2024

Thanks! Looks like more than enough :)

from ideas.

ARoiD avatar ARoiD commented on May 29, 2024

@XVilka Happy to hear 😉

from ideas.

XVilka avatar XVilka commented on May 29, 2024

https://twitter.com/fotisl/status/723908360987381760

from ideas.

radare avatar radare commented on May 29, 2024

does it means r2’s tms320 disassembler code is going into the capstone thing?

if so, there’s a license conflict that must be aproved by the author

On 24 Apr 2016, at 08:35, Anton Kochkov [email protected] wrote:

https://twitter.com/fotisl/status/723908360987381760 https://twitter.com/fotisl/status/723908360987381760

You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/radare/radare2/issues/1602#issuecomment-213903595

from ideas.

XVilka avatar XVilka commented on May 29, 2024

@radare no, TMS320 is a big family, r2 has C55x and C55x+ models, this one suggesting writing C60x.

from ideas.

radare avatar radare commented on May 29, 2024

Maybe it will be good to merge them all into capstone and delegate our maintainance

On 24 Apr 2016, at 12:55, Anton Kochkov [email protected] wrote:

@radare no, TMS320 is a big family, r2 has C55x and C55x+ models, this one suggesting writing C60x.


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

from ideas.

XVilka avatar XVilka commented on May 29, 2024

capstone-engine/capstone#667 - as he promised

from ideas.

radare avatar radare commented on May 29, 2024

is this dupe? radareorg/radare2#4761 or this issue aims to track all other models? we can do this for 0.10.3 but we need:

  • keep building with older capstone libs (is there a way to check if the lib supports that arch or not)
  • only build this plugin if available code in capstone

from ideas.

radare avatar radare commented on May 29, 2024

Change the milestone plz

On 03 May 2016, at 13:27, Anton Kochkov [email protected] wrote:

capstone-engine/capstone#667 - as he promised


You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

from ideas.

radare avatar radare commented on May 29, 2024

Not going to happen until capstone merges this into next at least. but im not sure if this will be available in the release so it complicates a bit having this optional dependency

from ideas.

radare avatar radare commented on May 29, 2024

anyone?

from ideas.

radare avatar radare commented on May 29, 2024

ping @XVilka

from ideas.

XVilka avatar XVilka commented on May 29, 2024

https://github.com/aquynh/capstone/tree/tms320c64x

from ideas.

radare avatar radare commented on May 29, 2024

from ideas.

Maijin avatar Maijin commented on May 29, 2024

It's planned to be merged though

from ideas.

Maijin avatar Maijin commented on May 29, 2024

@aquynh @fotisl what is the status on this ? When is this going to be merged in next branch ?

from ideas.

radare avatar radare commented on May 29, 2024

from ideas.

radare avatar radare commented on May 29, 2024

from ideas.

Maijin avatar Maijin commented on May 29, 2024

Architecture is done, I'm switching to file format-only issue

from ideas.

ret2libc avatar ret2libc commented on May 29, 2024

This issue has been moved from radareorg/radare2 to radareorg/ideas as we are trying to clean our backlog and this issue has probably been created a long while ago. This is an effort to help contributors understand what are the actionable items they can work on, prioritize issues better and help users find active/duplicated issues more easily. If this is not an enhancement/improvement/general idea but a bug, feel free to ask for re-transfer to main repo. Thanks for your understanding and contribution with this issue.

from ideas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.