Jump to content

freak

Members
  • Posts

    110
  • Joined

  • Last visited

Posts posted by freak

  1. 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?

  2. 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.

     

     

  3. 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.

  4. 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. 

  5. Here's the full boot with CEC disconnected...

    Spoiler

     

    
    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)
    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: 

     

  6. 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.

  7. 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...

    http://ix.io/1o15

     

    armbian 5.41 4.14.23 as downloaded.  No upates - NOT plugged in to monitor - CEC wire connected...

    http://ix.io/1o17

     

    armbian 5.41 4.14.23 as downloaded.  No upates - plugged in to monitor - CEC wire DISconnected...

    http://ix.io/1o19

     

     

    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...

    http://ix.io/1o1j


    armbian 5.41 4.14.23 as downloaded (4.14.70 now).  apt upgrade finished - monitor plugged in AFTER boot - CEC wire connected

    http://ix.io/1o1l

     

    armbian 5.41 4.14.23 as downloaded (4.14.70 now).  apt upgrade finished - monitor plugged in AFTER boot - CEC wire DISconnected

    http://ix.io/1o1m

     

    (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.

     

     

     

  8. 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.

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines