Giter VIP home page Giter VIP logo

elfloader-tool's People

Contributors

adriandanis avatar lsf37 avatar smattr avatar

Stargazers

 avatar Zunzun avatar  avatar Márk Bartos avatar

Watchers

 avatar Ben Gardiner avatar James Cloos avatar Partha Susarla avatar Alexander Boettcher avatar Rafal Kolanski avatar  avatar Edward Pierzchalski avatar Kent McLeod avatar Michael Yoo avatar Gernot Heiser avatar Curtis Millar avatar Peter Chubb avatar Toby Murray avatar Anna Lyons avatar  avatar Ihor Kuz avatar Alison Felizzi avatar Thomas Sewell avatar  avatar

elfloader-tool's Issues

elf loader doesnt flush ITLB

The boot loader is flushing the DTLB but not the ITLB when turning on the MMU. This causes problems on AM335x during boot. The following patch fixes this issue:

project tools/elfloader/
diff --git a/src/arch-arm/mmu-v7a.S b/src/arch-arm/mmu-v7a.S
index ce40478..8be824a 100644
--- a/src/arch-arm/mmu-v7a.S
+++ b/src/arch-arm/mmu-v7a.S
@@ -55,8 +55,8 @@ arm_enable_mmu:
     ldr     r0, =_boot_pd
     orr     r1, r0, #0x19
     mcr     p15, 0, r1, c2, c0, 0
-    /* Invalidate TLB */
-    mcr     p15, 0, r1, c8, c6, 0 
+    /* Invalidate ITLB and DTLB */
+    mcr     p15, 0, r1, c8, c7, 0

     /*
      * Setup client to only have access to domain 0, and setup

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.