Funnily i just got my hands on a tinkerboard S yesterday and quickly made a gadget:
you can build it using snapcraft --target-arch=armhf on an x86 host… it uses the denx upstream u-boot which means you need to use the serial port on GPIO pins 32/33
i sadly dont have a fully working kernel yet (i was hoping i could just re-use my linux-generic-allwinner snap but that seems to have issues supporting framebuffer and MMC/SD-card)
I did some more patch work to fix wireless as well as the hang on reboot (not sure if you noticed that yet) and since it isnt really allwinner centric i have created a new branch (and name) at:
Hey @ogra, thx, I just build the kernel and works so far, I see i2c devices and SPI devices but the gpio pins current not, wifi is working with network-manager
well, i have been looking into gpio but cant really find whats missing yet, so that might still take a while (i’m traveling a lot this and next week, that limits my hacking time a bit) … but feel free to send PRs if you find the magic bullet
@ogra, I have found out that we miss the gpio library i guess, I have installed on the core an classic snap and compiled the TinkerBoard WiringPi lib and it works but not in normal mode, I guess we need to inlcude this files into the kernel stuff also.
the folder gpio is missing, also the /sys/class/gpio folder is missing.
in: /sys/devices/platform/pinctrl looks so:
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip0
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip1
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip2
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip3
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip4
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip5
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip6
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip7
drwxr-xr-x 3 root root 0 Feb 20 15:21 gpiochip8
hey, sorry fort the late reply but i was traveling for a week, i’ll take a look, note that the above is all 4.4 stuff and might have landed in 4.15 (which i used for that port) so thats a bit of time consuming work going over all of them …
if you have anything pressing feel free to create PRs in my github branches though …
Hi @ogra, I have tried to make a core image using : ubuntu-image snap --channel edge --extra-snaps tinkerboard_16-0.1_armhf.snap --extra-snaps linux-multi-v7_4.15.0-45.48_armhf.snap tinkerboard.model
but it seems not working. The .img.zx you have made works correctly on my tinkerboard s from sd card. The img I have made cannot start from sd on tinkerboard s. which shows black screen(not graphic output).
Can you help me with this? Thank you very much for all the jobs you have done.