Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LWIP is broken due to CAmkES DMA changes that honor caching flags now #68

Open
axel-h opened this issue Feb 18, 2021 · 0 comments
Open

Comments

@axel-h
Copy link
Member

axel-h commented Feb 18, 2021

https://github.com/seL4/util_libs/blob/master/libethdrivers/src/lwip.c uses dma_alloc_pin() with cached=1. With the recent changes in seL4/camkes-tool@ac567a1 that make CAmkES honor the caching flag, this is broken now - there is no cached DMA pool available, just an uncached on.

Quick fix is using cached=0 everywhere, as DMA in ARM/RISC-V us usually uncached. Things might be different on x86, I'm not really an expert there... Aside from this, it seems the LWIP version here lost active maintenance some tiume back and it's unclear how well this is working anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant