Compilation and operation of SeL4

Source: Internet
Author: User

SEL4 Specifies the platform that can be run and compiles it according to the following match.

ARCH PLAT ARMV CPU
Arm Imx31 ARMv6 Arm1136jf-s
Arm Omap3 Armv7-a Cortex-a8
Arm am335x Armv7-a Cortex-a8
Ia32 Pc99

After cloning from GitHub to the project, do the following:

If you encounter cc1:all warnings being treated as errors, find makefile in Cflags, plus-wno-unused-but-set-variable:

If the compilation succeeds, it should be the following result:

See what files are generated:


Fig 1 make before directory structure


Fig 2 make after directory structure

Fig 1 is a directory without make, and Fig 2 is the directory after make. More out of:

    • Directory API
    • Catalog Arch
    • Catalogue Plat
    • Kernel_all.c
    • Kernel_all.c_pp
    • Kernel.elf
    • Kernel.elf.strip
    • Kernel_final.c
    • Kernel_final.s
    • Kernel.o

      Where kernel.elf contains debug information for all seL4 kernels, we will use QEMU to perform this elf-formatted image. The following are the platforms that QEMU supports:

We need to select the correct QEMU run platform for the image and run the command:

There is no platform for SeL4 to run, and it seems that seL4 is not up and running in QEMU.

In addition, the SEL4 official documentation indicates that the following platforms can also run SEL4:

    • Intel platforms

      1. A pc99-style Intel Architecture 32-bit x86 (IA32)
      2. There is also experimental support for the 64-bit Intel x86_64 architecture.
    • ARM platforms

      1. The Arndale dual core A15 ARM Development Board
      2. The BeagleBoard, Omap 3530
      3. The Inforce IFC6410 Development Board, running a Qualcomm krait processor that's like an A15.
      4. The kzm-arm11-01. The kernel for this board is formally verified.
      5. The Odroid-x Exynos4412 Board
      6. The Odroid-xu Exynos 5 board
      7. The Sabre Lite i.mx6 board.
      8. The Beaglebone Black is a community-supported port.

However, the Odroid-xu Exynos 5 is compiled:

Toolprefix=arm-none-eabi-arch=arm plat=exynos5 armv=armv7-a Cpu=cortex-a15 make

Failed to succeed.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Compilation and operation of SeL4

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.