This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Juno - Linux Kernel - vmlinux file

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.

Parents
  • 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.

Reply
  • 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.

Children
  • 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.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

    Looks like ARCH=Arm or ARCH=AArch64 is not properly set in the build.