Giter Club home page Giter Club logo

Comments (5)

corna avatar corna commented on May 23, 2024

Also me_cleaner is integrated in the build process, I don't know if ifdtool should handle ME-specific flags.

With a modifed layout where the me region has been shrinked (the end of the region has moved to a lower address, even just by 4 kB), ifdtool -n newlayout image.rom corrupts the me region. The descriptor is fine, however it seems that the starting chunk of the me region has been cut off. me_cleaner doesn't have this problem as it doesn't move regions at all: -D generates a descriptor with a modified layout, while -M extracts the me region (and, if the -t flag has been passed, it just extracts the region up to end_addr).

from me_cleaner.

persmule avatar persmule commented on May 23, 2024

That is because ifdtool uses "right-align" scheme when moving region (seen from commit 4eabe1e, when feature new-layout was implemented), though such scheme is only valid for the BIOS region.

I am going to fix this.

from me_cleaner.

corna avatar corna commented on May 23, 2024

Makes sense. Thank you.

from me_cleaner.

persmule avatar persmule commented on May 23, 2024

Could you help me review this change? It may help to resolve the issue mentioned above.

from me_cleaner.

corna avatar corna commented on May 23, 2024

Of course. However I'm a bit busy these weeks, I'll try to review it ASAP.

from me_cleaner.

Related Issues (20)

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.