Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniovazquezblanco committed Dec 17, 2024
1 parent ba42f3e commit 92c3c1c
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 26 deletions.
27 changes: 1 addition & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,29 +23,4 @@ A file dialog will allow you to select your device tree file and import it. Memo

## Development

### Development environment

1. First, install [Eclipse for Java Developers](https://www.eclipse.org/downloads/packages/).
2. Once installed, open Eclipse and click on `Help` > `Install New Software...`. A window will pop up.
3. Click on `Add...` > `Archive...`. It will open a file selection dialog. In this dialog, please select `GhidraDev.zip` file from `<Your Ghidra install dir>/Extensions/Eclipse/GhidraDev/`.
4. Check Ghidra category (or GhidraDev entry).
5. Repeatedly click `Next`.
6. Accept the terms of the license agreement.
7. Check the `Unsigned` table entry and click `Trust Selected`.
8. Restart Eclipse...

### Importing the project

After all of that, if you still want to develop and/or contribute to the project, first clone this repository:
```bash
git clone [email protected]:antoniovazquezblanco/GhidraDeviceTreeBlob.git
```

In Eclipse:
1. Click on `File` > `Import...`.
2. In the dialog click on `Ghidra` > `Ghidra Module Source`.
3. Select the `GhidraDeviceTreeBlob` folder you have just cloned.
4. Select a valid Ghidra installation to develop against.
5. Click on `Finish`.

You are now ready to develop!
For development instructions checkout [doc/Develop.md](doc/Develop.md).
26 changes: 26 additions & 0 deletions doc/Develop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
## Development

### Development environment

1. First, install [Eclipse for Java Developers](https://www.eclipse.org/downloads/packages/).
2. Once installed, open Eclipse and click on `Help` > `Install New Software...`. A window will pop up.
3. Click on `Add...` > `Archive...`. It will open a file selection dialog. In this dialog, please select `GhidraDev.zip` file from `<Your Ghidra install dir>/Extensions/Eclipse/GhidraDev/`.
4. Check Ghidra category (or GhidraDev entry).
5. Repeatedly click `Next`.
6. Accept the terms of the license agreement.
7. Check the `Unsigned` table entry and click `Trust Selected`.
8. Restart Eclipse...

### Importing the project

After all of that, if you still want to develop and/or contribute to the project, first clone this repository:
```bash
git clone [email protected]:antoniovazquezblanco/GhidraDeviceTreeBlob.git
```

In Eclipse:
1. Click on `File` > `Import...`.
2. In the dialog click on `Ghidra` > `Ghidra Module Source` > `Next`.
3. Select the recently `GhidraDeviceTreeBlob` and click on `Finish`.

You are now ready to develop!

0 comments on commit 92c3c1c

Please sign in to comment.