Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/trap: add trap tool support for xip loadable apps #6179

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

neel-samsung
Copy link
Contributor

add trap tool support for xip loadable apps

@neel-samsung neel-samsung changed the title tools/trap: add trap tool support for xip loadable apps tools/trap: add trap tool support for xip loadable apps (Do not merge) May 8, 2024
@@ -28,6 +28,7 @@
debug = False # Variable to print debug logs
pc_value = 0x00000000 # Program counter value
format_print = True
CONFIG_PATH = '../../os/.config'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of hardcode path can we have CONFIG_PATH like which is used in the ramdumpparser.py?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we are also setting CONFIG_PATH in ramdumpParser.py at start.

CONFIG_PATH = '../../os/.config'

Since, we need it here, then we need to define here also.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know, the tool provides selectable options for this.

  1. use default values
  2. get user input for this

Is it the same? We should concern this can be executed without source code.

add trap tool support for xip loadable apps. As loadable apps requires offset(app start address)
to be subtracted from application text address whereas with xip, we don't need to subtract it
while using address to line command in trap tool.

Signed-off-by: Neelkumar Patel <neel.patel@samsung.com>
@neel-samsung neel-samsung changed the title tools/trap: add trap tool support for xip loadable apps (Do not merge) tools/trap: add trap tool support for xip loadable apps May 15, 2024
Copy link
Contributor

@sunghan-chang sunghan-chang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave TRAP result with any assert in the commit description.

@@ -28,6 +28,7 @@
debug = False # Variable to print debug logs
pc_value = 0x00000000 # Program counter value
format_print = True
CONFIG_PATH = '../../os/.config'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As far as I know, the tool provides selectable options for this.

  1. use default values
  2. get user input for this

Is it the same? We should concern this can be executed without source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants