paulc@ubuntu14:/usr/local/DS-5_v5.22.0/bin$ cdbimporter -c /usr/local/DS-5_v5.22.0/sw/debugger/configdb -t /home/paulc/hikey_configdb /home/paulc/hikey_configdb/Linaro_HiKey.rvc
DS-5 Config Database Import Utility v1.2
Copyright 2011-2014 ARM Ltd
Reading /home/paulc/hikey_configdb/Linaro_HiKey.rvc
The topology (component connections) may be incorrect or incomplete.
The produced configuration may not work for trace, or at all - would you like to create a debug-only configuration? y/n [n]
y
Found 9 ARM cores
Import Summary -
ID Name Definition Associated TCF files
-- ---- ---------- --------------------
0 Cortex-A53_0 Cortex-A53 <none>
0 Cortex-A53_1 Cortex-A53 <none>
0 Cortex-A53_2 Cortex-A53 <none>
0 Cortex-A53_3 Cortex-A53 <none>
0 Cortex-A53_4 Cortex-A53 <none>
0 Cortex-A53_5 Cortex-A53 <none>
0 Cortex-A53_6 Cortex-A53 <none>
0 Cortex-A53_7 Cortex-A53 <none>
0 Cortex-M3_0 Cortex-M3 <none>
Select a core to modify (enter its ID and hit return) or press enter to continue. []
Enter Platform Manufacturer
[default:'Linaro'] >
Enter Platform Name
[default:'HiKey'] >
Creating database entry...
Building configuration XML...
Platform configuration successfully created.
The new platform will not be visible in the DS-5 Debugger until the destination database
has been added to the "User Configuration Databases" list and the database has been rebuilt.
A rebuild is done either when DS-5 is (re)started, a user configuration database is added or
by forcing a database rebuild.
To force a rebuild or add a database, select the "Window -> Preferences" menu item,
then expand the DS-5 group. To rebuild, select "Configuration Database", then press
the "Rebuild database" button.
To add a database to the "User Configuration Databases" list, click the "Add" button
and supply a suitable "Name" (E.g. Imported) and "Location" for the database.
The cmds done, I got that:
paulc@ubuntu14:~/hikey_configdb$ pwd
/home/paulc/hikey_configdb
paulc@ubuntu14:~/hikey_configdb$ tree
.
├── Boards
│ └── Linaro
│ └── HiKey
│ ├── a53_rams.py
│ ├── dtsl_config_script.py
│ ├── Linaro_HiKey.rcf
│ └── project_types.xml
├── linaro_hikey_bak.rvc
└── Linaro_HiKey.rvc
3 directories, 6 files
paulc@ubuntu14:~/hikey_configdb$
Hi philipcpp,
I believe that not all the CoreSight trace infrastructure is easily accessible on this target unless the Linux kernel has been patched to enable it.
This linux patch would have to applied by the end user.
You are also using cdbimporter, which only produces debug-only configurations.
You should stop using cdbimporter and instead use the Eclipse-integrated 'Platform Configuration Editor' (PCE) which is a much-more fully featured tool for configuring connections to a target such as the HiKey board.
You can find a guide to using PCE here :
Developer Resources / Tutorials / SoC Bring-Up Using the Platform Configuration Editor (PCE) | ARM DS-5 Development Stu…
But please also remember that without the Linux kernel patch applied to enable CoreSight trace on this board, no trace will be possible.
However, There should be full debug and trace support for the 96 boards 'Hikey' board available in DS-5 v5.23, which is scheduled for release later this month (November '15).
Regards,
Stuart
Hi Stuart,
Thanks very much for your help, and I will try it again using Eclipse-integrated 'Platform Configuration Editor' (PCE).
Philip
Thanks Stuart so much, I have connect my linaro_hikey board target correctly.
Thank again for your help!!!!
Excellent, glad to hear that you can connect happily!
Is it possible to share the Linaro_HiKey.rvc file ?
The Debug Hardware Configuration(v 5.24.0) utility does not detect all the cores and it shows only 4 cortex A-53 cores instead of 8 cores.