Hello Mathieu,
I've decided that currently I don't need Android. The Linux is enough. However I have another issue. I've downloaded the perf-opencsd-master branch. I run the config with the ARCH=arm64 and CROSS_COMPLIE=aarch64-linux-gnu- and added support for Versatile board. Then I compiled kernel - everything was OK. Next I built the USB using the following instruction: https://archlinuxarm.org/platforms/armv8/arm/juno (it works fine. The linux boot on the Juno). Next I copied the Image file and juno.dtb into the USB but it doesn't boot. It hangs here:
initrd: address 0x0 initrd: length 0x0 PEI 1132 ms DXE 1695 ms BDS 368934875444 ms BDS 368934873448 ms BDS 1535 ms Total Time = 368934871781 ms
linux: address 0x80080000 linux: length 0x1150200 fdt: address 0x9FE00000 fdt: length 0x5F54
Any idea what I'm doing wrong? Any help will be appreciated (I'm so close to have Juno + CoreSight + perf :) )
Regards Marek
W dniu 2017-08-16 23:08:04 użytkownik Mathieu Poirier mathieu.poirier@linaro.org napisał:
Hello Marek,
Please CC the CoreSight mailing list when asking questions as someone else may also be able to answer.
First and foremost I advise using the official CoreSight kernel found on the openCSD site [1] rather than my personal branch [2] - you never know what you'll get with the latter.
That being said the CoreSight kernel on the openCSD site is not an Android kernel - it is simply a mainline kernel supplemented with patches that haven't made their way to mainline yet. You will have to either add the android patches to the CoreSight kernel or the other way around (CoreSight patches on android kernel).
Android user space is also different and does not include the perf-tools. You will have to add them manually along with the dependencies they require. I haven't gone through that process and as such can't advise more on that portion.
Get back to me with your questions if the above isn't sufficient.
Best regards, Mathieu
[1]. https://github.com/Linaro/OpenCSD/tree/perf-opencsd-master [2]. https://git.linaro.org/people/mathieu.poirier/coresight.git/
On 16 August 2017 at 14:32, marekzmyslowski marekzmyslowski@poczta.onet.pl wrote:
Hello Mathieu,
I'm sorry for bothering but I think you may be person that can help me. I'm trying to install and run Android on Juno Board r0. I tested Android 17.05 from Linaro and it works. Now I'm trying to have a perf using Coresight but I'm little confused. Do I need to build Android from Linaro and the kernel from here https://git.linaro.org/people/mathieu.poirier/coresight.git/ or here https://github.com/Linaro/OpenCSD/tree/perf-opencsd-4.12. Any help with this will be appreciated :)
Regards Marek Zmysłowski