Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.
We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.
Thank you for your understanding.
Hi everybody,
where can I get a vmlinux version of the Linux Kernel provided with the Linaro Releases for the Juno Board?
In the official releases I can only find a "Image" file. I need a vmlinux for my debugger. I tried to use the "workspace script 16.09" to create all files from source, but I always receive an error: "Failed to sync Repo tool".
Thank you in advance,
Leandro.
FWIW 16.09 (for the first time) includes image files (system.map & vmlinux), but we only provide these for the FVP platform.
You can see this reflected in the options the new workspace script provides for FVP pre-built binaries (the ones marked "Debug")
However, if you want to work with Juno - you'll need to rebuild from sources to produce these files.
>but I always receive an error: "Failed to sync Repo tool".
What desktop environment (OS) you are working on?
I'd suggest you try the following:
- Delete the existing workspace folder & create a new empty test folder
- Run the script again using this option ./workspace_1609.py --verbose-repo
This should give us a lot more feedback on Repo's progress (example output below)
If you still have issues please post the full contents of your console window after launching the script (or attach a file if it's long) and we'll try to help.
example output
------------------------------------------------
Syncing Repo tool (this may take a long time, please be patient)... Fetching project landing-teams/working/arm/ramdisk
Fetching project busybox
Fetching project landing-teams/working/arm/build-scripts
Fetching project optee_client.git
Fetching project ARM-software/arm-trusted-firmware
Fetching project landing-teams/working/arm/OpenPlatformPkg
Fetching project optee_linuxdriver.git
Fetching project mbedtls.git
Fetching projects: 5% (1/17) Fetching project landing-teams/working/arm/u-boot
Fetching projects: 11% (2/17) Fetching project uefi/uefi-tools.git
Fetching projects: 17% (3/17) Fetching project landing-teams/working/arm/model-scripts
Hello,
I am running on XUbuntu.
I tried again with "-verbose-repo" and it was able to run the script this time.
Now I receive the following error messages when I run "./build-scripts/build-all.sh all":
-----------------
gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . BasePeCoff.c -o BasePeCoff.o
In file included from ../Include/Common/UefiBaseTypes.h:19:0,
from BasePeCoff.c:17:
../Include/Common/BaseTypes.h:23:27: fatal error: ProcessorBind.h: No such file or directory
#include <ProcessorBind.h>
^
compilation terminated.
../Makefiles/footer.makefile:27: recipe for target 'BasePeCoff.o' failed
make[2]: *** [BasePeCoff.o] Error 1
make[2]: Leaving directory '/home/lrl/linux_dev/linaro/workspace/uefi/edk2/BaseTools/Source/C/Common'
GNUmakefile:79: recipe for target 'Common' failed
make[1]: *** [Common] Error 2
make[1]: Leaving directory '/home/lrl/linux_dev/linaro/workspace/uefi/edk2/BaseTools/Source/C'
GNUmakefile:25: recipe for target 'Source/C' failed
make: *** [Source/C] Error 2
make: Leaving directory '/home/lrl/linux_dev/linaro/workspace/uefi/edk2/BaseTools'
Build failed: error while running do_build at line 62 in /home/lrl/linux_dev/linaro/workspace/build-scripts/build-uefi.sh for juno[juno][oe].
I tried with other release versions and the same error came up.
lrl wrote:gcc -c -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -nostdlib -c -g -I .. -I ../Include/Common -I ../Include/ -I ../Include/IndustryStandard -I ../Common/ -I .. -I . BasePeCoff.c -o BasePeCoff.oIn file included from ../Include/Common/UefiBaseTypes.h:19:0, from BasePeCoff.c:17:../Include/Common/BaseTypes.h:23:27: fatal error: ProcessorBind.h: No such file or directory
lrl wrote:
Looks like ARCH=Arm or ARCH=AArch64 is not properly set in the build.