AsteroidOS / meta-smartwatch

OpenEmbedded layer that provides support for various smartwatches.
24 stars 18 forks source link

kernels (3.10): Backport getrandom syscall #235

Closed MagneFire closed 8 months ago

MagneFire commented 9 months ago

This backports the SYS_getrandom syscall introduced in Linux 3.17 to 3.10 based watches. Made @beroset co-author has he helped with this effort well, thanks!

Marked as draft as I intend to introduce patches for other platforms as well. Tested on: sparrow, smelt, minnow, lenok, tetra andpike. All work except minnow which doesn't boot on mickledore.

sturgeon and dory are reflected and tested in https://github.com/AsteroidOS/meta-smartwatch/pull/234

Currently, anthias and bass are also backported, but since I cannot test them as I don't own these watches. Preferably they're both tested as well, especially bass as I had to introduce padding in calls.S which should work, but should be tested regardless.