-
Notifications
You must be signed in to change notification settings - Fork 7
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
Non-ramdisk images with data persistence across power cycles #48
Comments
@hamishcoleman Would like some clarification to how you envision the partitioning to work. In previous conversations we discussed building two .img artifacts, one with ramdisk as it is now, and a new one that has a sdcard root. From boards/common-partitions.mk it seems we will have three partitions:
How will these be set for ramdisk and sdcard root? Am I correct to assume that having |
The cpio expansion happens way before anything else. It happens before the kernel has even finished booting. There is no way to run any scripts or mount any swapspace before the expansion happens. As stated, I dont know that I can answer your question about partitions - I have not finished writing the code, so it might change that file completely, it would probably not be a simple case of uncommenting those lines (as that would force building one or the other style of image on any given build invocation - which is not ideal) However, yes, I expect there to be three partitions, one for boot, one for swap and one for root. |
Unless you rip out all the packages, and the install them at boot time.... |
@darkdrgn2k but that's all the stuff in the |
yes, but then you are also risking running out of room on the fat partition |
Building both a ramdisk and non-ramdisk .img has been discussed between @hamishcoleman @darkdrgn2k and I.
The text was updated successfully, but these errors were encountered: