• Cache clean of translation tables stops execution?

    Richard Kraus
    Richard Kraus

    Hi,

    I am currently working on an integrity enforcer running in a modified version of the ARM trusted firmware in EL3. To gain access to the memory I added 4 1GiB entries to the translation tables located in the TTBR0_EL3.

    Now I am trying to hook the pagefault…

    • 1 month ago
    • Open Source Software and Platforms
    • Arm Development Platforms forum
  • compiler optimization options for ARMv8 GCC compiler on ARM cortex a53 (bare metal application)

    khan777
    khan777

    I am using ARMv8 GCC compiler(aarch64-none-elf-gcc) for my bare metal application on ARM cortex a53. I am using neon intrinsics with plain C in my code so I would like to ensure to use all optimization option available for this compiler.

    I tried -mfpu…

    • 2 months ago
    • Processors
    • Cortex-A / A-Profile forum
  • [ArmV8] [Cortex-A53] [PMU] PM_CCNTR to measure cpuload

    Amr Fawzy
    Amr Fawzy

    Dear Experts

    I am working on a target that contains quad A53 cores operating at 1GHz. The operating system idle loop contains WFI inline assembly instruction. I know that the Core Clock halts during the WFI instruction which can be seen on the PM_CCNTR…

    • 5 months ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARMv8 memory ordering

    roffelsen
    roffelsen

    In the ARM Architecture Reference Manual issue D.a (ARM DDI 0487D.a) section K11.3.1 "Acquiring a lock" has the following example code:

    AArch32 
    Px
            PLDW[R1]                     ; preload into cache in unique state
    Loop
            LDAEX R5, [R1]               ; read…
    • Answered
    • 9 months ago
    • Processors
    • Cortex-A / A-Profile forum
  • Obtain CPU Temperature in Kernel

    zzT
    zzT

     Dear All,

    I am using a raspberry pi B+ that uses a Broadcom BCM2837 SoC with an ARMV8  processor. I want to get the cpu temperature in a Linux kernel file. Like in x86, I can use rdmsr_on_cpu function to load the temperature from MSR_IA32_THERM_STATUS register…

    • 9 months ago
    • Processors
    • Cortex-A / A-Profile forum
  • how to return from exception generated by SMC instruction

    rajtx
    rajtx

    Hi,

    I am experimenting execution level switching on A53. I go from EL3->El2, then call SMC instruction to return to EL3. As soon as SMC instruction is executed, the processor enters EL3 mode and an exception is generated.

    I have written an exception…

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • why there are 4 cores per cluster in ARMV8 architecture

    RadarSong
    RadarSong

    Hi experts,

    I want to knows why there are 4 core cores per cluster in ARM big.Littte architecture?

    Is it possiable if we make more cores per cluster? if not, what is the limitation?

    • Answered
    • over 3 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Why the address width of MMU-500 is different with Cortex-A53/57?

    wangyong
    wangyong

    I find the description below from MMU-500 TRM.

    Address width

    The incoming address width is fixed at 49 bits, where A[48] specifies VA sub-ranges. You must tie all unused bits to zero. The output address width is 48 bits and the width of the AC address

    bus…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • I am very new to ARM, still understanding the terminologies. What is the difference b/w the Cortex family and the x-gene?

    Moix
    Moix

    Where can i get a list of all these family of ARM processors and their differences

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • How to measure program execution time in ARM Cortex-A53 processor?

    Rajeev Verma
    Rajeev Verma

    Hi,

    I was using following method to read clock in cortex-a15:

           static void readticks(unsigned int *result)

            {

                struct timeval t;…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARMv8 EL1 MMU

    Harish G
    Harish G

    Hi,

        I am working on bootloader porting to ARM v8 platform. I am facing a problem in enabling MMU in execution level-1 EL1.

    I am not able to set sctlr_el1.M bit when ever i try to set this bit the instruction won't complete. I think it…

    • Answered
    • over 5 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • shareable attribute in armv8

    Harish G
    Harish G

    Hi Experts,

                        I was going through the arm v8 mmu page table formation, when it's compared to arm v7 it is completely different.

    I could…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Armv8 Memory Mapping

    AnthonyPaulO
    AnthonyPaulO

    I am looking to emulate an Apple II and would like to specify some address ranges as being memory mapped so that any access would result in perhaps an interrupt that I am then able to handle and in which I can determine the memory address being accessed…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • About watch point debug excption on Cortex-A53

    tao.zeng
    tao.zeng

    Now we are researching watch point function on A53. We simply write a driver, hook debug exception handler aml_watchpoint_handler instead of default watch point handler.

    In our watch point handler, we first disabled watch point control, then handle debug…

    • Answered
    • over 4 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Why linux set memory as inner shareable in multi-cluster ARMv8 cores?

    thomas_cp
    thomas_cp

    Hi, 

    I have board with two clusters, one has 4*A57 cores, and the other has 4*A53 cores.

    The A57 cluster has its own L1 and L2 cache, A53 cluster also has its own L1 and L2 cache. Between the clusters there is a CCI.

    There is no L3 cache. So the memory…

    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARMv8: strongly ordered memory and exclusive access

    Vincent Siles
    Vincent Siles

    We are developing a bare metal secure OS on a NXP LS1043a board, with a Cortex A53 v8 core.

    While debugging some issue with DMA, I decided to switch all kernel mapping from Normal cacheable to Strongly ordered (Device-nGnRnE memory type) and then witness…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • could anybody help me to write a bare metal startup code for LS1043A (ARM V8,A53)in 32bit(AARCH32)mode

    RanadeepReddy
    RanadeepReddy

    excuse me for my English!!!

    i want to write bare-metal startup code in 32-bit mode for LS1043A-Rdb.it is having V8 A53 core.

    i have bare-metal 32bit(AARCH32) code for xilinx processor(which is of V8,A53core).How much of that code is useful to write code…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • help me to understand this assembly program for configuring MMU for ArmV8,A53.

    RanadeepReddy
    RanadeepReddy

    ******************************************************************************/
    /*****************************************************************************/
    /**
    * @file translation_table.s
    *
    * @addtogroup a53_32_boot_code
    * @{
    * <h2> translation_table…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Could anybody tell me how to boot up a processor in AARCH32 bit mode in Arm V8 and A53 core?

    RanadeepReddy
    RanadeepReddy

    can you please tell me how to boot up a processor in 32 bit mode for Armv8, A53 core using baremetal code?

    how can i know it is booted in 32bit mode?

    Thanks.

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • ARMv8-A CurrentEL Register Definition

    kuksho
    kuksho

    Where is the register definition of the CurrentEL register ?. I cannot seem to find it in the ARMv8A programming model guide or the Cortex-A53 TRM.

    . How does the PSTATE bits map to CurrentEL ?

    I read somewhere that a CurrentEL value of 0x4 denotes EL1…

    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • Multi core L1 cache coherent

    Jorney
    Jorney

    Dear experts,

     I'm going to implement multi-core(4 cortex-a53) in my private OS. I have an issue which needs your confirmation.

    Q. When core0 invalidates the L1-cache and L2-cache at VADDR(Cached), Can other cores  get the right data at VADDR ?

    For…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • indirect branches in ARMv8

    MarekBykowski
    MarekBykowski

    Please clarify that with me... With

    "The current Program Counter (PC) cannot be referred to by number as if part of
    the general register file and therefore cannot be used as the source or destination
    of arithmetic instructions, or as the base, index…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • code is not working for optimization setting O2 and O3 for Arch64bit Cortex-A53 process

    Hemanth Kumar T
    Hemanth Kumar T

    I come across strange issue with Optimization setting O2 and O3 option my code will not work due to PC corruption, with O1 and O0 code woke fine, our target procesor is Arch64bit Cortex-A53. how to fix this issue. my i know what is the limitation of Heap…

    • Answered
    • over 2 years ago
    • Processors
    • Cortex-A / A-Profile forum
  • MMU - Permission Fault with EL1 access

    maldus
    maldus

    Hello everyone,

    I'm trying to wrap my head around the MMU configuration for Cortex A53 armv8 architecture (AArch64). Specifically, I'm programming for Raspberry Pi 3 (Bare Metal).

    I've successfully setup the page tables for two levels covering…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-A / A-Profile forum
  • TTBR1 translation fault when using an identity mapping

    maldus
    maldus

    Hello everyone,

    I'm experimenting a bit with MMU after understanding its core principles. Specifically I can successfully enable it with an identity mapping for TTBR0 (no TTBR1) on a Raspberry Pi 3 (Cortex A-53, ARMv8 AArch64).

    The next step I wanted…

    • Answered
    • over 1 year ago
    • Processors
    • Cortex-A / A-Profile forum
>