Sideloading nix stuff..
The system arch is armhf. You can download any of debians armhf binaries and extract them to a tree on a memory stick (works better with ext4 over fat *symlinking*). Then just export PATH=$PATH:/media/my_tree, next you'll want to mount -o bind a custom ld.so.conf (containing the path to the shared object libs) to /etc/ld.so.conf and run ldconfig and your new tree is linked for the session!
Wayland / Weston
Next up, I was poking away at the wayland compositor and i took a peep at the /etc/xdg/weston.ini and i noticed that its set up for "in vehicle infotainment" so after whiping up my own config and binding it overtop of the original then systemctl stop weston.service && systemctl stop sonyapp.service i was then able to launch into a desktop version of wayland with: weston-launch -u root (again this requires modifying the config or binding one over the original and restarting the session). ending up with this:
Kernel "issues"
Sony are jerks with their kernel lol... they have kworker actively terminating anything to do with keyboards, this is apparent in the dmesg logs. plug a device, wait about 10 sec then do:
Code: Select all
dmesg | tail
What toolchain?
The linaro arm-linux-gnueabihf toolchain has been a rocking little buddy! You'll need to copy some .so files from /usr/lib (on the psc) to your toolchain on the pc... or if you are crafty and understood my first paragraph, you can just download an armhf toolchain from debian spank it in a tree on a ms and then link it with a script and have an on-device toolchain.
Graphical programming
Ok so yotco is a bit of a snotty persons linux, its very "to the point" super minimal but by no means lack luster, that being said... it does use the wayland compositor and in order to interact with it you'll either have to use sdl, egl, or elbow grease to get your projects to play nice.
Hail-Mary Restoration! (100% safe to run)
Oh also.. its not un-common for the data partition's contents to go askew leaving the system dangling at a screen that says "there has been and error please unplug the system and wait 60 seconds". If the problem persists it can usually be remedied with a lolhack.sh containing this:
Code: Select all
#!/bin/sh
sh /usr/sony/bin/recovery.sh
reboot
Code: Select all
#!/bin/sh
sh /usr/sony/bin/recovery2.sh
reboot
Advertising