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

axfs and SPI XiP boot #3

Open
swdevlimacon opened this issue Feb 21, 2019 · 2 comments
Open

axfs and SPI XiP boot #3

swdevlimacon opened this issue Feb 21, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@swdevlimacon
Copy link

Hi!

I'm going to have a go at adding AXFS and XiP boot to this great script.

Possibly using this as a guide - "Shrinking the kernel with a hammer"
https://lwn.net/Articles/748198/

Follow my changes here. I may add a PR later. :-)
https://github.com/limaconaudio/yarvt

@mickflemm
Copy link
Owner

Thanks ! Give me some time to push some changes I have on my queue that enable per-target kernel configuration files ;-)

@mickflemm
Copy link
Owner

I don't have a target yet with an SPI NOR flash or a storage device capable of XiP (directly addressable). We are already doing XiP due to initramfs which is xz compressed so storage-wise it takes the same space. I guess AXFS would make sense for some target that boots from a fast directly-addressable device (e.g. NVDIMM) but over SPI it would be much slower from just copying the initramfs image on memory and running it from there. We 'll gain some more memory space because AXFS will decompress "on-demand" but still I don't know if it's worth it. Anyway, have fun with it and let me know how it goes ;-)

@mickflemm mickflemm added the enhancement New feature or request label Feb 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants