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.
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.
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 exceptminnow
which doesn't boot onmickledore
.sturgeon
anddory
are reflected and tested in https://github.com/AsteroidOS/meta-smartwatch/pull/234Currently,
anthias
andbass
are also backported, but since I cannot test them as I don't own these watches. Preferably they're both tested as well, especiallybass
as I had to introduce padding incalls.S
which should work, but should be tested regardless.