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

[WIP] New age revisited #136

Open
wants to merge 4 commits into
base: new_age
Choose a base branch
from

Conversation

anastasiia-kornilova
Copy link
Contributor

@anastasiia-kornilova anastasiia-kornilova commented Jul 3, 2021

List of cleanups for the new age

  1. rng-tools. Open ssh, which we use in the new age, pulls recommended dependency on rng-tools -- set of tools to speed up entropy calculation using the special "hw rng" chip in CPU. Discussion on appearance this in OE could be found here -- https://patches.openembedded.org/patch/161052/ . Since TRIK board doesn't have such a chip, rng-tools usage increases boot time up to 3 minutes in comparison to old one haveged rng (less than 1 min). BAD_RECOMMENDS flag is a standard way to decline such recommended package, in that case old haveged is used. To discuss: maybe this config should be placed in another config.

  2. psplash. Psplash script creates /mnt/.psplash folder during runtime execution, but we have issues with write access to file system at the moment when 0 level of Sysv runs. Some time after it is remouted and becomes rw (see logs below). This bug was before new_age (let's say this is TODO/potential issue), but it was invisible because psplash.bb created this folder during distro build, not in runtime. As current solution, I'm doing the same, extending psplash.bbappend. Also, an important bug that doesn't allow mounting folder is fixed via existing patch from Dunfell version (should be dropped away after migrating to Dunfell).

[    2.861328] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null)
[    2.870087] VFS: Mounted root (ext4 filesystem) readonly on device 179:1.
[    2.879447] devtmpfs: mounted
[    2.884042] Freeing unused kernel memory: 240K
[    2.888739] This architecture does not have kernel memory protection.
INIT: version 2.88 booting
mkdir: cannot create directory '/mnt/.psplash': Read-only file system
...
[   12.407345] EXT4-fs (mmcblk0p1): re-mounted. Opts: stripe=16,data=ordered

Tiny fixes:

  • Fixed gamepad crash on undefined status command

TODO:

  • gyroscope and accelerometer support via Linux IIO subsystem

iakov added a commit that referenced this pull request Feb 5, 2022
Also reduce core image size, to be continued
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant