diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2014-04-12 00:08:11 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2014-04-12 00:11:13 +0200 |
commit | 238be18d0331a7a87e3ea8ea0d24b78e451357cb (patch) | |
tree | 31807bf3fd533d2d0d3d4eb0421b08100cc67c25 /utils/hwstub/tools/lua/load.lua | |
parent | 910235b49a754fcd18157dbd22e125a32b482c9d (diff) | |
download | rockbox-238be18d0331a7a87e3ea8ea0d24b78e451357cb.tar.gz rockbox-238be18d0331a7a87e3ea8ea0d24b78e451357cb.zip |
hwstub: add proper PP support
- drop support for PP500x: it's very different from other PP and although
it would be possible to support them, I don't have one to test the code
- make sure only the CPU is started
- add PP descriptor to report chip ID and revision
- add code in shell and lua to support pp (no register description yet)
- compile for ARMv4 because PP502x is an ARM7TDMI
Change-Id: I36c4e465dfc2cfdfe7433b2f65cc8f6f0720fe62
Diffstat (limited to 'utils/hwstub/tools/lua/load.lua')
-rw-r--r-- | utils/hwstub/tools/lua/load.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/hwstub/tools/lua/load.lua b/utils/hwstub/tools/lua/load.lua index 2875b74f1a..a812f92636 100644 --- a/utils/hwstub/tools/lua/load.lua +++ b/utils/hwstub/tools/lua/load.lua | |||
@@ -2,6 +2,8 @@ package.path = string.sub(string.gsub(debug.getinfo(1).source, "load.lua", "?.lu | |||
2 | 2 | ||
3 | if hwstub.dev.target.id == hwstub.dev.target.STMP then | 3 | if hwstub.dev.target.id == hwstub.dev.target.STMP then |
4 | require "stmp" | 4 | require "stmp" |
5 | elseif hwstub.dev.target.id == hwstub.dev.target.PP then | ||
6 | require "pp" | ||
5 | end | 7 | end |
6 | 8 | ||
7 | require "dumper" | 9 | require "dumper" |