freak
-
Posts
110 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by freak
-
-
Network Manager is garbage. We had to uninstall it and go with wpa_supplicant on our 90+ tinker boards that we have deployed. Constant disconnects with Network Manager and wpa_supplicant works all the time.
-
Although this may have been patched at some point (because the problem seems to have went away) it appears to be back again.
-
Still happy to send you a monitor if it would help.
-
I should also add that I don't EXPECT anyone to fix this. That's why after I was told to debug u-boot I stopped talking about it. We stopped updating the units for now while we weigh out our options.
(but I do appreciated any effort anyone puts into it!)
-
21 minutes ago, TonyMac32 said:
I agree, however we weren't clear which wire was even cut last time we discussed, so I can't be sure what feature is truly causing the issue without confirmation. I unfortunately don't have a monitor that causes this, I'll run through them again and see if I can find one I guess.
Sent from my Pixel using Tapatalk
Yeah I was sure. Line 15 DDC.
I also offered to donate a monitor.
-
On 10/30/2018 at 9:30 PM, TonyMac32 said:
We added some patches from Asus to enable some of the nicer things like CEC/etc, unfortunately someone with a similar problem apparently simply decided to start cutting wires instead of finishing the software debug. Have you tried another monitor that may have different/more limited capabilities?
Cutting the wire is what helped me find the problem. Finishing (or even starting) the software debug of u-boot is probably out of reach of most users.
-
12 minutes ago, Jordi said:
Wow, have not tried. I'll try next monday. Thanks !!
Yeah there's something wrong with u-boot when it tries to read the edid info.
Read more about it here...
-
Try unplugging your hdmi cable and booting. Wait a bit to make sure it's fully booted then plug in the hdmi cable.
-
Well you can't expect your end users to become u-boot hackers just to keep their systems running. I realize you can't do everything for everyone and that's the dilemma that open source projects always face.
-
Lol! I'm going to load tinkeros and see if that works first.
-
Maybe... I just wanted to make sure. Any tips or links for help on how to replace the bootloader?
edit - I figured it out. Boots now. What's the best course of action now?
-
16 minutes ago, Igor said:
I only adjust console with reality. I don't care where it will be, but it would be nice that we have it at one location on both kernels.Rather wait. You might go in the wrong direction. Work smart not fast. Try older bootloader first: http://apt.armbian.com/pool/main/l/linux-u-boot-tinkerboard-next/ This is the first and most cheap possible solution.
I think you misunderstand what I am saying. I thought I cut line 13 which is CEC. Turns out I cut line 15 which is DDC.
-
Ok... a co-worker with better eyes than me says I cut pin 15 on the hdmi cable not 13. If that's right that's DDC? Not sure what the implications are of that. I ordered an hdmi cable tester which should be here tomorrow.
-
Here's the full boot with CEC disconnected...
SpoilerU-Boot 2018.07-armbian (Sep 19 2018 - 13:23:29 +0200) Model: Tinker-RK3288 DRAM: 2 GiB MMC: dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0 Loading Environment from EXT4... Card did not respond to voltage select! ** Bad device mmc 0 ** Failed (-5) In: serial Out: serial Err: serial Model: Tinker-RK3288 Net: eth0: ethernet@ff290000 Hit any key to stop autoboot: 0 switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 1485 bytes read in 1 ms (1.4 MiB/s) ## Executing script at 00000000 U-boot loaded from eMMC 155 bytes read in 3 ms (49.8 KiB/s) 43206 bytes read in 6 ms (6.9 MiB/s) 4600547 bytes read in 203 ms (21.6 MiB/s) 8546016 bytes read in 378 ms (21.6 MiB/s) ## Loading init Ramdisk from Legacy Image at 21000000 ... Image Name: uInitrd Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 4600483 Bytes = 4.4 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01f00000 Booting using the fdt blob at 0x1f00000 Loading Ramdisk to 0fb9c000, end 0ffff2a3 ... OK Loading Device Tree to 0fb8e000, end 0fb9b8c5 ... OK Starting kernel ... Loading, please wait... starting version 229 Begin: Loading essential drivers ... done. Begin: Running /scripts/init-premount ... done. Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done. Begin: Running /scripts/local-premount ... Scanning for Btrfs filesystems done. Begin: Will now check root file system ... fsck from util-linux 2.27.1 [/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1 /dev/mmcblk0p1: clean, 114086/1869120 files, 689803/7712800 blocks done. done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... done. Welcome to Ubuntu 16.04.5 LTS! [ OK ] Reached target Remote File Systems (Pre). [ OK ] Reached target User and Group Name Lookups. [ OK ] Started Trigger resolvconf update for networkd DNS. [ OK ] Listening on Journal Socket (/dev/log). [ OK ] Created slice System Slice. [ OK ] Created slice system-serial\x2dgetty.slice. [ OK ] Listening on Journal Socket. Starting Nameserver information manager... Starting Create list of required st... nodes for the current kernel... Starting Restore / save the current clock... Starting Load Kernel Modules... Mounting POSIX Message Queue File System... [ OK ] Reached target Remote File Systems. [ OK ] Reached target Encrypted Volumes. Mounting Debug File System... [ OK ] Created slice User and Session Slice. [ OK ] Started Dispatch Password Requests to Console Directory Watch. Starting Set console keymap... [ OK ] Started Forward Password Requests to Wall Directory Watch. [ OK ] Listening on fsck to fsckd communication Socket. Starting Remount Root and Kernel File Systems... [ OK ] Reached target Swap. [ OK ] Listening on udev Control Socket. [ OK ] Reached target Slices. [ OK ] Listening on udev Kernel Socket. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. [ OK ] Listening on Syslog Socket. [ OK ] Mounted Debug File System. [ OK ] Mounted POSIX Message Queue File System. [ OK ] Started Create list of required sta...ce nodes for the current kernel. [ OK ] Started Restore / save the current clock. [FAILED] Failed to start Load Kernel Modules. See 'systemctl status systemd-modules-load.service' for details. [ OK ] Started Set console keymap. [ OK ] Started Remount Root and Kernel File Systems. [ OK ] Started Nameserver information manager. [ OK ] Reached target Network (Pre). Starting udev Coldplug all Devices... Starting Load/Save Random Seed... Starting Apply Kernel Variables... Mounting Configuration File System... Starting Create Static Device Nodes in /dev... [ OK ] Mounted Configuration File System. [ OK ] Started Load/Save Random Seed. [ OK ] Started Apply Kernel Variables. [ OK ] Started Create Static Device Nodes in /dev. [ OK ] Reached target Local File Systems (Pre). Mounting /tmp... Starting udev Kernel Device Manager... [ OK ] Mounted /tmp. [ OK ] Reached target Local File Systems. Starting Armbian ZRAM config... Starting Raise network interfaces... Starting Set console font and keymap... [ OK ] Started Entropy daemon using the HAVEGE algorithm. Starting Journal Service... [ OK ] Started udev Coldplug all Devices. [ OK ] Started udev Kernel Device Manager. [ OK ] Started Armbian ZRAM config. Starting Armbian memory supported logging... [ OK ] Started Journal Service. Starting Flush Journal to Persistent Storage... [ OK ] Started Flush Journal to Persistent Storage. Starting Create Volatile Files and Directories... [ OK ] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... [ OK ] Reached target System Time Synchronized. [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Started Set console font and keymap. [ OK ] Found device /dev/ttyS2. [ OK ] Created slice system-getty.slice. [ OK ] Reached target Sound Card. [ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch. Starting Load/Save RF Kill Switch Status... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started ifup for eth0. [ OK ] Found device /sys/subsystem/net/devices/eth0. [ OK ] Started Raise network interfaces. [ OK ] Started Armbian memory supported logging. [ OK ] Reached target System Initialization. [ OK ] Listening on D-Bus System Message Bus Socket. [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket. [ OK ] Started CUPS Scheduler. [ OK ] Reached target Paths. Starting Armbian hardware monitoring... Starting Armbian hardware optimization... [ OK ] Listening on CUPS Scheduler. [ OK ] Reached target Sockets. [ OK ] Started Daily Cleanup of Temporary Directories. [ OK ] Started Daily apt download activities. [ OK ] Started Daily apt upgrade and clean activities. [ OK ] Reached target Timers. [ OK ] Started Armbian hardware optimization. [ OK ] Started Armbian hardware monitoring. [ OK ] Reached target Basic System. Starting System Logging Service... [ OK ] Started D-Bus System Message Bus. Starting Accounts Service... [ OK ] Started Regular background program processing daemon. Starting LSB: Speech Dispatcher... Starting Login Service... Starting LSB: Load kernel modules needed to enable cpufreq scaling... Starting Realtek H5 bluetooth support... [ OK ] Started CUPS Scheduler. Starting Avahi mDNS/DNS-SD Stack... Starting LSB: No Display Manager... Starting Network Manager... Starting Permit User Sessions... Starting LSB: Start/stop sysstat's sadc... Starting Save/Restore Sound Card State... Starting Initializes zram swaping... [ OK ] Started System Logging Service. [ OK ] Started Realtek H5 bluetooth support. [ OK ] Started Permit User Sessions. [ OK ] Started Save/Restore Sound Card State. [ OK ] Started LSB: Speech Dispatcher. [ OK ] Started LSB: No Display Manager. [ OK ] Started Initializes zram swaping. [ OK ] Started LSB: Load kernel modules needed to enable cpufreq scaling. [ OK ] Started LSB: Start/stop sysstat's sadc. [ OK ] Started Avahi mDNS/DNS-SD Stack. [ OK ] Started Login Service. Starting Authenticate and Authorize Users to Run Privileged Tasks... Starting LSB: set CPUFreq kernel parameters... Starting Set console scheme... [ OK ] Started Set console scheme. [ OK ] Started Network Manager. Starting Network Manager Script Dispatcher Service... Starting Network Manager Wait Online... [ OK ] Reached target Network. Starting OpenVPN service... Starting OpenBSD Secure Shell server... [ OK ] Started Unattended Upgrades Shutdown. [ OK ] Started LSB: set CPUFreq kernel parameters. [ OK ] Started OpenVPN service. [ OK ] Started Authenticate and Authorize Users to Run Privileged Tasks. [ OK ] Started Accounts Service. [ OK ] Started OpenBSD Secure Shell server. [ OK ] Started Network Manager Script Dispatcher Service. Starting Hostname Service... Starting LSB: Set sysfs variables from /etc/sysfs.conf... [ OK ] Started Hostname Service. [ OK ] Started LSB: Set sysfs variables from /etc/sysfs.conf. Starting WPA supplicant... [ OK ] Started WPA supplicant. [ OK ] Created slice User Slice of armbian. Starting User Manager for UID 1000... [ OK ] Started Session c1 of user armbian. Starting Load/Save RF Kill Switch Status... Starting Bluetooth service... [ OK ] Started Load/Save RF Kill Switch Status. [ OK ] Started Bluetooth service. [ OK ] Reached target Bluetooth. [ OK ] Started User Manager for UID 1000. Mounting FUSE Control File System... [ OK ] Mounted FUSE Control File System. Starting Disk Manager... [ OK ] Started Disk Manager. [ OK ] Started Network Manager Wait Online. [ OK ] Reached target Network is Online. Starting LSB: Start NTP daemon... Starting LSB: disk temperature monitoring daemon... Starting /etc/rc.local Compatibility... Starting LSB: Advanced IEEE 802.11 management daemon... [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started LSB: Advanced IEEE 802.11 management daemon. [ OK ] Started LSB: disk temperature monitoring daemon. [ OK ] Started Serial Getty on ttyS2. [ OK ] Started Getty on tty1. [ OK ] Reached target Login Prompts. [ OK ] Started LSB: Start NTP daemon. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Ubuntu 16.04.5 LTS tinkerboard ttyS2 tinkerboard login:
-
Ok I switched to ttyS2 instead of ttyS3 and I get this at boot with CEC connected... (via picocom)
U-Boot 2018.07-armbian (Sep 19 2018 - 13:23:29 +0200) Model: Tinker-RK3288 DRAM: 2 GiB MMC: dwmmc@ff0c0000: 1, dwmmc@ff0f0000: 0 Loading Environment from EXT4... Card did not respond to voltage select! ** Bad device mmc 0 ** Failed (-5)
...and it just stops there.
-
uname -a
Linux tinkerboard 4.14.23-rockchip #55 SMP PREEMPT Thu Mar 1 10:56:06 CET 2018 armv7l armv7l armv7l GNU/Linux
armbian 5.41 4.14.23 as downloaded. No upates - plugged in to monitor - CEC wire connected...
armbian 5.41 4.14.23 as downloaded. No upates - NOT plugged in to monitor - CEC wire connected...
armbian 5.41 4.14.23 as downloaded. No upates - plugged in to monitor - CEC wire DISconnected...
armbian 5.41 4.14.23 as downloaded. apt upgrade finished - plugged in to monitor - CEC wire connected...
(no boot cannot provide logs)
uname -a
Linux tinkerboard 4.14.70-rockchip #270 SMP PREEMPT Wed Sep 19 11:40:40 CEST 2018 armv7l armv7l armv7l GNU/Linux
armbian 5.41 4.14.23 as downloaded (4.14.70 now). apt upgrade finished - plugged in to monitor - CEC wire DISconnected...
armbian 5.41 4.14.23 as downloaded (4.14.70 now). apt upgrade finished - monitor plugged in AFTER boot - CEC wire connectedarmbian 5.41 4.14.23 as downloaded (4.14.70 now). apt upgrade finished - monitor plugged in AFTER boot - CEC wire DISconnected
(testing finished)
I should note that with the CEC wire disconnected only two resolutions are available - 800x600 and 1024x768.
With CEC connected and monitor plugged after boot I can get up to 1920x1080 (even though the monitor supports up to 1920x1200.
-
I can do that but I won't be back at the office till Monday.
-
Who do I report this problem to? Looks like a bug to me. Who creates the kernel that armbian uses?
-
Does anyone know why kernel options don't save in armbian-config? I've set hdmi_ignore_cec=1 but changes always disappear upon reboot. Not that I know that would fix it but there's a number of hdmi options I thought I would try.
-
...in the meantime I'm going to walk around with cutters and clip the red wire on all my terminals. Lol!
-
2 hours ago, Myy said:
Logging through the serial console is configured through systemd and boot parameters... But, yeah, one of the default behaviour is to output the kernel messages through the serial console ONLY IF no screen is available.
So I guess that HDMI CEC support is broken ? Does the freeze happen with other screens too ?
The default UART for debugging purposes on RK3288 is the UART2 (/dev/ttyS1). It might be changed though. The RK3288 Datasheet name UART2 "uart2dbg". UART3 is for plugging GPS systems (which is not used very often, I concur).
Just for information :
1. When the HDMI cable is plugged, do you have any SSH access ? If you wait for 5 minutes, is it still frozen ?
2. If you start without an HDMI cable, get a serial console and *then* plug the HDMI screen, what happens ? Do you have any crash or freeze message ?
I remember some bug a long time ago, about 4.14 kernels... That would make the system unbootable if you plugged the HDMI cable before booting :
https://github.com/Miouyouyou/RockMyy-Build/issues/1
I don't remember how I was able to get a log for this though...
1. No ssh access. Left it sit for an hour or more.
2. My guess is it works but I just messed up my test environment. I'll have to redo everything next week. Today's my last day till Monday.
-
Here's a cool update... I took an extra hdmi cable I had lying around and cut what I believe to be the CEC line and the system boots fine.
-
Like I said the startup is visible if the hdmi cable is disconnected.
-
I'm connected at UART3.
display rotation extremely slow
in Tinkerboard
Posted
Using Linux tinkerboard 4.19.69-rockchip #5.95 SMP PREEMPT Mon Sep 2 07:34:36 CEST 2019 armv7l armv7l armv7l GNU/Linux
Using glxgears as a test case.. I get 60fps without the screen rotated. If I rotate the screen right or left the frame rate drops to 4fps. That's on a fresh boot with nothing else running. I tested TinkerOS on the same board and it works fine rotated. My Raspberry PI 4 works fine rotated as well. What could be the problem with Armbian?