floch Posted April 16, 2017 Share Posted April 16, 2017 Hi, I would like to thank to Tony for doing Armbian for Tinker Board. It is very appreciate. I think that Tinker Board will have big success and Armbian for its, too. Many thanks again. 1 Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 17, 2017 Share Posted April 17, 2017 U-Boot SPL 2017.05-rc1-armbian (Apr 17 2017 - 00:30:20) U-Boot 2017.05-rc1-armbian (Apr 17 2017 - 00:30:20 -0400) Model: Tinker-RK3288 DRAM: 2 GiB MMC: dwmmc@ff0c0000: 1 It works! Figured I'd give it a look. Will update. 1 Link to comment Share on other sites More sharing options...
Dominic Taylor Posted April 17, 2017 Share Posted April 17, 2017 Nice, been having a bash at various edits trying to get this far. Thankyou for your efforts. Its the first time ive had all the LEDs working apart from red Link to comment Share on other sites More sharing options...
floch Posted April 17, 2017 Share Posted April 17, 2017 Just to be in picture. When will be Wifi support for Armbian available? The kernel sources for Tinker Board 1.4 are available, and there fore DTS with Wifi config should be available. Or is problem somewhere else? Thanks. Link to comment Share on other sites More sharing options...
trax69 Posted April 17, 2017 Share Posted April 17, 2017 First good job everyone. This is the first time see the LEDs . What version should compile? dev better ? I have some problems installing openmediavault (erros with nfs-common, and others) .I am very happy with your work. Continue. Sorry 4my english. Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 18, 2017 Share Posted April 18, 2017 Let me take a look, as I've said before, on my part this is a learning by doing experience. But I have some unanswered questions on their hardware handling, so the source is good news, even if it is 1.4 (epic buggy) 1 Link to comment Share on other sites More sharing options...
Igor Posted April 18, 2017 Share Posted April 18, 2017 4 hours ago, trax69 said: I have some problems installing openmediavault (erros with nfs-common, and others) .I am very happy with your work. Continue. Can you provide an exact list what should be enabled in kernel configuration or better - login to Github and adjust config accordingly? 1 Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 18, 2017 Share Posted April 18, 2017 5 hours ago, trax69 said: This is the first time see the LEDs . What version should compile? dev better ? Right now only the default works, I haven't gotten the device tree into the dev kernel yet. Transplanting the compiled device tree from the default into the dev is a messy patch just to see it work. 1 Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 19, 2017 Share Posted April 19, 2017 OK, after patching the Rockchip-wlan Kconfig and Makefiles, and updating the driver, then adding a fix found in a patch on the rockchip-linux site, I have functional WiFi. So, a silly question, but where is the config saved to after I make kernel config changes? That's all I need to get a patch submitted. [edit] oof, just yanked the resulting patch out of the folder, it's 10 MB. Soooo, what should I do with that? I'll see if there's a smarter way to replace the driver... [edit2] The driver in the miqi distro is v4.3.9 (Sep. 2014) I'm not sure finding the patches will help given the advanced age and huge differences. 1 Link to comment Share on other sites More sharing options...
Igor Posted April 19, 2017 Share Posted April 19, 2017 2 hours ago, TonyMac32 said: So, a silly question, but where is the config saved to after I make kernel config changes? That's all I need to get a patch submitted. KERNEL_SOURCE/.config -> copy out to lib/config/kernel/linux-rockchip-default.config 2 hours ago, TonyMac32 said: oof, just yanked the resulting patch out of the folder, it's 10 MB. Soooo, what should I do with that? I'll see if there's a smarter way to replace the driver... Check if there is not something too much. 1-2MB is normal. Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 19, 2017 Share Posted April 19, 2017 17 minutes ago, Igor said: KERNEL_SOURCE/.config -> copy out to lib/config/kernel/linux-rockchip-default.config Thanks Igor! 17 minutes ago, Igor said: Check if there is not something too much. 1-2MB is normal. I went through and don't see a way to shrink it down, there have been multiple revisions. Versions I've been able to find include 4.3.16, 4.4.0, and 4.4.1. It looks like a major rewrite took place at 4.4.0, the version in Tinker OS. The v4.4.0 commit I found shows 335 changed files https://github.com/anthonywong/rtl8723bs/commit/25e88f984ad93891f39822debbe86b2bc9f8035b Link to comment Share on other sites More sharing options...
Igor Posted April 19, 2017 Share Posted April 19, 2017 26 minutes ago, TonyMac32 said: I went through and don't see a way to shrink it down, Well, if it works, push it. Link to comment Share on other sites More sharing options...
tkaiser Posted April 19, 2017 Share Posted April 19, 2017 Edit: Already done, no testing needed any more! Can any of those MiQi or Tinkerboard owners please check the relevant temperature sensors in idle and when generating some load to get a clue whether this commit needs a correction (exchanging occurences of /sys/class/thermal/thermal_zone1 and /sys/class/thermal/thermal_zone2): #!/bin/bash sensors=$(find /sys -name temp) while true ; do for sensor in ${sensors} ; do echo -e "${sensor%/*}/$(cat ${sensor%/*}/type): $(cat ${sensor})" done echo "" sleep 5 done Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 19, 2017 Share Posted April 19, 2017 8 hours ago, Igor said: Well, if it works, push it. I'm going to test the 4.4.1 tonight, might as well get it up to date as possible if it's going to be that heavy of a change anyway, once verified I'll push it. 1 Link to comment Share on other sites More sharing options...
tkaiser Posted April 20, 2017 Share Posted April 20, 2017 (edited) 22 hours ago, tkaiser said: Can any of those MiQi or Tinkerboard owners please check the relevant temperature sensors in idle and when generating some load Really no one? This will cost you a minute of your life only. Please just open 1 shell and let the above script run and in another one start for i in 1 2 3 4 ; do stress -c $(( $i * 2 )) -t 15 ; done And then the output from first script on an online pasteboard service or here in code blocks would be fine to finish the temperature source stuff for all boards we currently support. Edited April 20, 2017 by tkaiser Testing done 1 Link to comment Share on other sites More sharing options...
Nick Allen Posted April 20, 2017 Share Posted April 20, 2017 nick@tinkerboard:~/Desktop$ sudo ./temp.txt cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 56818 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 56818 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 57272 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 55454 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 56363 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 55000 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 56363 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 55454 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 62916 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 59090 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 62500 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 60416 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 66153 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 62500 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 68461 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 64166 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 68846 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 65384 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 69615 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 66153 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 68846 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 66153 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 68846 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 66538 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 69230 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 65384 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 70416 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 66923 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 70416 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 67307 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 65384 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 63750 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 64166 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 63333 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 62500 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 62083 cat: /sys/devices/virtual/thermal/thermal_zone0/temp: Invalid argument /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 62500 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 60833 1 Link to comment Share on other sites More sharing options...
Nick Allen Posted April 20, 2017 Share Posted April 20, 2017 Hopefully I've done this correctly - if preferred I can paste to GitHub - I have an account where I update markdown files. No programming skills I'm afraid. If there are more tests listed somewhere that need running I'm willing to try, but am often away for periods of weeks. 1 Link to comment Share on other sites More sharing options...
floch Posted April 20, 2017 Share Posted April 20, 2017 For first script the output is : /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 51666 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50833 /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 50416 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50833 /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 51250 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50416 /sys/devices/virtual/thermal/thermal_zone0/reserve_thermal: /sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 50833 /sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50000 for thermal_zone0/temp there is output that there is Invalid argument. For second script ther is output: stress: info: [2436] dispatching hogs: 2 cpu, 0 io, 0 vm, 0 hdd stress: info: [2436] successful run completed in 15s stress: info: [2439] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd stress: info: [2439] successful run completed in 15s stress: info: [2449] dispatching hogs: 6 cpu, 0 io, 0 vm, 0 hdd stress: info: [2449] successful run completed in 15s stress: info: [2460] dispatching hogs: 8 cpu, 0 io, 0 vm, 0 hdd stress: info: [2460] successful run completed in 15s 1 Link to comment Share on other sites More sharing options...
tkaiser Posted April 20, 2017 Share Posted April 20, 2017 Thank you both, script already updated: https://github.com/igorpecovnik/lib/commit/a52c74ac72bba3741bb06377b6175cc141ad4a72 (but I did it wrong anyway, time for some coffee first :\ ) 1 Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 20, 2017 Share Posted April 20, 2017 Sorry about that tkaiser, I ran out of time last night to try it out. Wifi should be available in default nightlies tomorrow, no bluetooth yet. 1 Link to comment Share on other sites More sharing options...
chrisf Posted April 20, 2017 Share Posted April 20, 2017 I probably should have found this topic before posting my own... but is there any reason CONFIG_DNOTIFY is not set for the rockchip config? It is for pretty much every other kernel config. I think it is stopping nfs-common from starting. Link to comment Share on other sites More sharing options...
trax69 Posted April 21, 2017 Share Posted April 21, 2017 2 hours ago, chrisf said: I probably should have found this topic before posting my own... but is there any reason CONFIG_DNOTIFY is not set for the rockchip config? It is for pretty much every other kernel config. I think it is stopping nfs-common from starting. You're right Quote Note: some of the options below are required for NFS root, some for NFS mounting and some for NFS serving. chromeos/config/armel/config.flavour.chromeos-tegra2:CONFIG_USB_NET_AX8817X=ychromeos/config/config.common.chromeos:+CONFIG_DNOTIFY=y+CONFIG_DNS_RESOLVER=y+CONFIG_LOCKD=y+CONFIG_LOCKD_V4=y+CONFIG_NETWORK_FILESYSTEMS=y+CONFIG_NFSD=m+CONFIG_NFSD_V3=y+CONFIG_NFSD_V4=y+CONFIG_NFS_COMMON=y+CONFIG_NFS_FS=y+CONFIG_NFS_USE_KERNEL_DNS=y+CONFIG_NFS_V3=y+CONFIG_NFS_V4=y+CONFIG_ROOT_NFS=y+CONFIG_RPCSEC_GSS_KRB5=y+CONFIG_SUNRPC=y+CONFIG_SUNRPC_GSS=y+CONFIG_USB_USBNET=y+CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y link to this : https://www.chromium.org/chromium-os/how-tos-and-troubleshooting/network-based-development Maybe that's why i can't install openmediavault. Link to comment Share on other sites More sharing options...
trax69 Posted April 24, 2017 Share Posted April 24, 2017 On 18/4/2017 at 5:07 AM, Igor said: Can you provide an exact list what should be enabled in kernel configuration or better - login to Github and adjust config accordingly? I edited the file on local linux-rockchip-default.config and work perfctly whit this config Quote +CONFIG_DNOTIFY=y+CONFIG_DNS_RESOLVER=y+CONFIG_LOCKD=y+CONFIG_LOCKD_V4=y+CONFIG_NETWORK_FILESYSTEMS=y+CONFIG_NFSD=m+CONFIG_NFSD_V3=y+CONFIG_NFSD_V4=y+CONFIG_NFS_COMMON=y+CONFIG_NFS_FS=y+CONFIG_NFS_USE_KERNEL_DNS=y+CONFIG_NFS_V3=y+CONFIG_NFS_V4=y+CONFIG_ROOT_NFS=y+CONFIG_RPCSEC_GSS_KRB5=y+CONFIG_SUNRPC=y+CONFIG_SUNRPC_GSS=y+CONFIG_USB_USBNET=y+CONFIG_IP_PNP=y +CONFIG_IP_PNP_DHCP=y NFS is work !! 2 Link to comment Share on other sites More sharing options...
Igor Posted April 24, 2017 Share Posted April 24, 2017 Added to our default config so you are safe for future updates. Link to comment Share on other sites More sharing options...
TonyMac32 Posted April 24, 2017 Share Posted April 24, 2017 Awesome. @Igor, I was just getting ready to submit that rename, I caught it when I built tonight... Sorry about that. Link to comment Share on other sites More sharing options...
tkaiser Posted April 24, 2017 Share Posted April 24, 2017 On 21.4.2017 at 2:14 AM, trax69 said: Maybe that's why i can't install openmediavault. Now that this is fixed in default config you should be aware that Armbian's build system can be used to generate optimized OMV images: What's still missing is IRQ redistribution but so far I've not seen anyone posting output of 'sudo armbianmonitor -u', right? Link to comment Share on other sites More sharing options...
Igor Posted April 24, 2017 Share Posted April 24, 2017 @TonyMac32 Don't worry about @tkaiser Me out of office. Link to comment Share on other sites More sharing options...
tkaiser Posted April 24, 2017 Share Posted April 24, 2017 @TonyMac32sent me output from armbianmonitor so I added IRQ distribution routine for MiQi and Tinkerboard and also built an optimized OMV image (just for fun -- default logon credentials are admin/root with pwd 'openmediavault'): http://kaiser-edv.de/tmp/NumpU8/ Background information: http://forum.openmediavault.org/index.php/Thread/17855-Building-OMV-automatically-for-a-bunch-of-different-ARM-dev-boards/ Internal discussion: https://forum.armbian.com/index.php?/topic/3953-preview-generate-omv-images-for-sbc-with-armbian/ Link to comment Share on other sites More sharing options...
trax69 Posted April 24, 2017 Share Posted April 24, 2017 5 hours ago, tkaiser said: Now that this is fixed in default config you should be aware that Armbian's build system can be used to generate optimized OMV images: What's still missing is IRQ redistribution but so far I've not seen anyone posting output of 'sudo armbianmonitor -u', right? http://sprunge.us/NdMK . Here you have. Sorry for not making the changes in github of NFS . It was too late. I think there is a problem with reboots. Sometimes it starts correctly after "Shutdown -r now" and others not. I'm looking for why. Link to comment Share on other sites More sharing options...
tkaiser Posted April 24, 2017 Share Posted April 24, 2017 1 hour ago, trax69 said: http://sprunge.us/NdMK . Here you have. Thanks but @TonyMac32already provided me with the necessary bits in the meantime Since you're using OMV you should update your image with latest tweaks (IRQ affinity and 'special' OMV settings) or maybe simply give the optimized OMV image I built a few hours ago a try: OMV_3_0_72_Tinkerboard_4.4.63.7z (root password here is 'openmediavault' and will not be changed automatically on first login!) BTW: it seems there's something wrong regarding 'dwc2_hsotg:usb1'. This is generating an awful lot of IRQs according to your and Tony's debug output. Link to comment Share on other sites More sharing options...
Recommended Posts