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

Tune the existing ROMFS for a real Flash #2

Closed
mfld-fr opened this issue Jan 22, 2017 · 1 comment
Closed

Tune the existing ROMFS for a real Flash #2

mfld-fr opened this issue Jan 22, 2017 · 1 comment
Assignees

Comments

@mfld-fr
Copy link
Owner

mfld-fr commented Jan 22, 2017

To be able to boot ELKS from the Flash of my SBC, tune the existing ROMFS to store the root filesystem in that Flash, as the kernel with the CONFIG_ROMCODE option.

Guidelines:
http://www.spinics.net/lists/linux-8086/msg00716.html

@mfld-fr mfld-fr self-assigned this Jan 22, 2017
@mfld-fr
Copy link
Owner Author

mfld-fr commented Jan 27, 2017

Implementation roadmap:

  • add a dummy /dev/rom0 device
  • force root device to /dev/rom in case of ROM boot
  • add a mkromfs tool to create the FS (romfs.bin)
  • add configuration parameter CONFIG_ROMFS_BASE
  • low level routines for direct access to filesystem in ROM
  • use low level routines in existing ROMFS code
  • support device nodes in filesystem (to allow /bin/sh to use /dev/tty1)

mfld-fr added a commit that referenced this issue Feb 23, 2017
@mfld-fr mfld-fr added the done label Oct 30, 2017
mfld-fr pushed a commit that referenced this issue Apr 18, 2020
[libc] Include malloc family functions in stdlib.h (ghaerr#394)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant