Jump to content

Adding Display Manager in Armbian and attaching HDMI monitor


Christos

Recommended Posts

Hi,

 

So far was working with headless Armbian images.

 

Now I need to attach an HDMI monitor to my OPi ONE.

Generated a desktop Armbian 5.24 jessie kernel 3.4.113, attached the HDMI monitor and booted.

 

I saw the inital seconds of U-Boot logging the discovery of the monitor and a few other things and then it went blank.

I guess after some reading in the forum that there is no display manager included in the distro or is there some other problem?

 

Is there some build option that we could include a manager (eg KDE/XFCE/etc) in the image generation proccess?

Or if there is any guide that gives steps for adding a display manager in Armbian to a not-so-knowledgable-guy like me whould be great.

 

Christos

 

 

/Edit

Got this in my tty/uart port


U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 1024x768 dvi console (overscan 0x0)
dotclock: 65000kHz = 65000kHz: (24MHz * 65) / 6 / 4
HDMI PHY divider: 4
pixel_clk: 65000000
pixel_repeat: false
x_res: 1024
y_res: 768
hor_back_porch: 160
hor_front_porch: 24
hor_sync_time: 136
ver_back_porch: 29
ver_front_porch: 3
ver_sync_time: 6
hor_sync_polarity: false
ver_sync_polarity: false
b_interlace: false
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2092 bytes read in 168 ms (11.7 KiB/s)
## Executing script at 43100000
Booting from SD
144 bytes read in 126 ms (1000 Bytes/s)
3138723 bytes read in 337 ms (8.9 MiB/s)
5080432 bytes read in 490 ms (9.9 MiB/s)
** File not found /boot/.next **
** File not found .next **
35908 bytes read in 469 ms (74.2 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3138659 Bytes = 3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

Loading, please wait...
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.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 140188/936560 files, 628618/3751668 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 8 (jessie)!

         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Increase datagram queue length...
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Starting LSB: Set keymap...
[  OK  ] Reached target Slices.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started LSB: Set keymap.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create Static Device Nodes in /dev...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Tune IDE hard disks...
         Starting LSB: Set preliminary keymap...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-ifup.slice.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Activating swap /var/swap...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Activated swap /var/swap.
[  OK  ] Mounted /tmp.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Swap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting LSB: Set console font and keymap...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
         Starting Entropy daemon using the HAVEGE algorithm...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Network Manager...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: No Display Manager...
         Starting LSB: Starts LIRC daemon....
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: No Display Manager.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped LSB: Starts LIRC daemon..
         Starting LSB: Starts LIRC daemon....
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...

Debian GNU/Linux 8 orangepione ttyS0

orangepione login: root
Password:
Last login: Fri Nov 11 19:30:31 EET 2016 on ttyS0
Linux orangepione 3.4.113-rt143-sun8i #24 SMP PREEMPT RT Fri Nov 11 17:13:18 EET 2016 armv7l
  ___                               ____  _    ___
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  / _ \ _ __   ___
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |_| | | | |  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_|  \___/|_| |_|\___|
                       |___/

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-rt143-sun8i
System load:   0.57             Up time:       2 min
Memory usage:  24 % of 490Mb    IP:
CPU temp:      35°C
Usage of /:    16% of 15G

root@orangepione:~# dm

Link to comment
Share on other sites

Ok,

 

It seems that the problem is with HDMI monitor resolution.

 

Is fixed 1920 x 1080,  at 60 Hz

Model, LG 22MP58VQ

 

Probably not included in the h3disp utility. Tested all the 1080 resolutions but without result.

So, it seems that I have to find a way to add this..

 

Now I do need some help here guys..   :huh:

 

Based on this post here

-> https://forum.armbian.com/index.php/topic/752-tutorial-h3disp-change-display-settings-on-h3-devices/?p=17751

I have to do some calcs and generate a patch.

@Igor , just a bit more info on what exactly I need to do and what those numbers mean?

(its not so clear at first read, I do know how to make a patch and add it to the build, done it already, but need to understand better the numbers involved here )

 

??

--- a/drivers/video/sunxi/disp2/hdmi/aw/hdmi_bsp_sun8iw7.c
+++ b/drivers/video/sunxi/disp2/hdmi/aw/hdmi_bsp_sun8iw7.c
@@ -46,6 +46,31 @@ static struct para_tab ptbl[] =
 	{{257		, 1	, 0,  96,	15,	10, 	8,	2,	 8,	0,	0,	0,	48,	176,	88, 	112,	90,	1,	1	}},
 	{{258		, 1	, 0,  96,	15,	10, 	8,	5,	 8,	4,	0,      0,	160,	32,	88, 	112,	90,	1,	1	}},
 	{{35            , 11    , 0,   0,       1,       3,     3,      0,      13,     0,      0,      208,     228,    80,     60,     208,    45,     0,      0       }},
+	// vic       dclk    int    mx     vst   my    mhbw vfp  mhfp     +x      hbw     hfp     hst     +y      vbw      h polarity v polarity
+	{{6		    , 1	    , 1,    1,	    5,	 3, 	0,	1,	 4,	0,	0,	160,	20, 	38, 	124,	240,	22,	0,	0	}},
+	{{21		, 11    , 1,    1,	    5,	 3, 	1,	1,	 2,	0,	0,	160,	32, 	24, 	126,	32,	    24,	0,	0	}},
+	{{2		    , 11    , 0,    0,	    2,	 6, 	1,	0,	 9,	0,	0,	208,	138,	16, 	62, 	224,	45,	0,	0	}},
+	{{17		, 11    , 0,    0,	    2,	 5, 	2,	0,	 5,	0,	0,	208,	144,	12, 	64, 	64,	    49,	0,	0	}},
+	{{19	    , 4	    , 0,    96,	    5,	 5, 	2,	2,	 5,	1,	0,	0,	    188,	184,	40, 	208,	30,	1,	1	}},
+	{{4		    , 4	    , 0,    96,	    5,	 5, 	2,	1,	 5,	0,	0,	0,	    114,	110,	40, 	208,	30,	1,	1	}},
+	{{20		, 4	    , 0,    97,	    7, 	 5, 	4,	2,	 2,	2,	0,	128,	208,	16,	    44, 	56,	    22,	1,	1	}},
+	{{5		    , 4	    , 0,    97,	    7, 	 5, 	4,	1,	 2,	0,	0,	128,	24, 	88, 	44, 	56,	    22,	1,	1	}},
+	{{31		, 2	    , 0,    96,	    7, 	 5, 	4,	2,	 4,	2,	0,	128,	208,	16,	    44, 	56, 	45,	1,	1	}},
+	{{16		, 2	    , 0,    96,	    7, 	 5, 	4,	1,	 4,	0,	0,	128,	24, 	88, 	44, 	56,	    45,	1,	1	}},
+	{{32		, 4	    , 0,    96,	    7, 	 5, 	4,	3,	 4,	2,	0,	128,	62, 	126,	44, 	56,	    45,	1,	1	}},
+	{{33		, 4	    , 0,    0,	    7, 	 5, 	4,	2,	 4,	2,	0,	128,	208,	16,	    44, 	56, 	45,	1,	1	}},
+	{{34		, 4	    , 0,    0,	    7, 	 5, 	4,	1,	 4,	0,	0,	128,	24, 	88, 	44, 	56,	    45,	1,	1	}},
+	{{160		, 2	    , 0,    96,	    7, 	 5, 	8,	3,	 4,	2,	0,	128,	62, 	126,	44, 	157,	45,	1,	1	}},
+	{{147		, 2	    , 0,    96,	    5,	 5, 	5,	2,	 5,	1,	0,	0,	    188,	184,	40, 	190,	30,	1,	1	}},
+	{{132		, 2	    , 0,    96,	    5,	 5, 	5,	1,	 5, 0,	0,	0,	    114,	110,	40, 	160, 	30,	1,	1	}},
+	{{257		, 1	    , 0,    96,	    15,	10, 	8,	2,	 8,	0,	0,	0,	    48,	    176,	88, 	112,	90,	1,	1	}},
+	{{258		, 1	    , 0,    96,	    15,	10, 	8,	5,	 8,	4,	0,  0,	    160,	32,	    88, 	112,	90,	1,	1	}},
+	{{35        , 11    , 0,    0,      1,   3,     3,  0,  13, 0,  0,  208,    228,    80,     60,     208,    45, 0,  0   }},
+	{{36        , 4     , 0,    96,     4,   6,     3,  1,   3, 0,  0,  0,       64,    24,    136,       0,    32, 1,  1   }},
+	{{37        , 4     , 0,    96,     5,   3,     4,  1,   1, 0,  0,  0,      152,    48,    112,       0,    42, 1,  1	}},
+	{{38        , 4     , 0,    96,     5,   7,     3,  1,   3, 0,  0,  80,     176,    64,    112,       0,    32, 1,  1	}},
+	{{39        , 4     , 0,    96,     5,   9,     3,  1,  18, 0,  1,  160,    216,    32,    152,     132,    37, 1,  1	}},
+	{{40        , 4     , 0,    96,     6,   3,     4,  2,   1, 0,  0,  144,     64,   104,    184,      26,    44, 1,  1	}},	
 };
 


/Edit

When I stop the U-Boot with keyboard, the monitor shows ok the U-Boot screen and any commands given there. It becames blank when U-Boot continues with normal boot.

Link to comment
Share on other sites

U-Boot now contains experimental HDMI driver, which seems to work pretty nicely, according to your report. It can set proper resolution automatically. However, BSP kernel can't do that, but it is weird that 1080p doesn't work.

 

EDIT:

just to clarify things. Are you using DVI to HDMI cable by some chance (as reported by U-Boot)? If you do, please enable CTS compatibility in script.bin.

Link to comment
Share on other sites

There is one bug which affect 4k monitors (also present upstream) ... it can't allocate enough memory for 2160p and fails to init the display. It would be better to switch to 1080p instead. If you are already working on it, you might see a simple solution for fixing this?

Link to comment
Share on other sites

@jernej

The monitor has three connection ports, HDMI, DVI and plain VGA, I use the HDMI with a cable directly, no converters.

 

(I was about to go out today and see if I could get a HDMI <-> DVI converter and test if that works using the DVI port.. desperate move..)

 

 

@Igor

Now as I understand from your saying it is more likely that this is a bug right?

Link to comment
Share on other sites

EDIT:

just to clarify things. Are you using DVI to HDMI cable by some chance (as reported by U-Boot)? If you do, please enable CTS compatibility in script.bin.

 

@jernej

Just now seen that the log mention a 'dvi' somewhere..

HDMI connected: Setting up a 1024x768 dvi console (overscan 0x0)

Do you mean that the system 'thinks' I use a dvi converter? Because I dont!!  lol

Link to comment
Share on other sites

Now as I understand from your saying it is more likely that this is a bug right?

 

Not sure about the problem you face, but the driver is not perfectly polished in general - bugs were not made by Jernej's porting.

Link to comment
Share on other sites

Not sure about the problem you face, but the driver is not perfectly polished in general - bugs were not made by Jernej's porting.

 

@jernej is doing a great job no doubt about it.

 

I am asking because this is a newly bought monitor (yesterday) and scratching my head if it is an issue with the monitor itself.

Yet the screen comes alive at u-boot so it looks it works,  (trying to eliminate possible causes).

Link to comment
Share on other sites

U-Boot now contains experimental HDMI driver, which seems to work pretty nicely, according to your report. It can set proper resolution automatically. However, BSP kernel can't do that, but it is weird that 1080p doesn't work.

 

 

@jernej

 

Forgot to mention, that by testing it with an Armbian image 5.24 dated from 27/Oct the u-boot is not showin up and the screen remains blank during the whole boot process since power up.

 

It does show up though with again an Armbian labeled 5.24 but done yesterday 10/Nov, whereas during only u-boot the screen comes alive.

Link to comment
Share on other sites

The monitor as I said, has three inputs, HDMI, DVI-D and plain VGA.

 

So I went and got a HDMI to DVI-D cable this morning and wanted to perform some tests.

 

1. First test, HDMI to DVI-D cable used, HDMI OPiONE output to monitor's DVI-D input,

U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 1920x1080 dvi console (overscan 0x0)
dotclock: 148500kHz = 148500kHz: (24MHz * 99) / 8 / 2
HDMI PHY divider: 2
pixel_clk: 148500000
pixel_repeat: false
x_res: 1920
y_res: 1080
hor_back_porch: 148
hor_front_porch: 88
hor_sync_time: 44
ver_back_porch: 36
ver_front_porch: 4
ver_sync_time: 5
hor_sync_polarity: true
ver_sync_polarity: true
b_interlace: false
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
=>
=>
=>

Monitor does not complain about resolution in u-boot.

 

After boot though, screen reports "DVI out of range" in any/all 1080 h3disp settings tested.

 

 

 

 

 

2. Second test, direct connection with HDMI to HDMI cable, the system cannot properly identify the monitor, yet it comes up, even at a non-prefered resolution so the monitor complains at u-boot

(attachment DSC01463)

After u-boot, in no h3disp setting managed to have any display output at all.

 

the tty/uart gives

U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 1024x768 dvi console (overscan 0x0)
dotclock: 65000kHz = 65000kHz: (24MHz * 65) / 6 / 4
HDMI PHY divider: 4
pixel_clk: 65000000
pixel_repeat: false
x_res: 1024
y_res: 768
hor_back_porch: 160
hor_front_porch: 24
hor_sync_time: 136
ver_back_porch: 29
ver_front_porch: 3
ver_sync_time: 6
hor_sync_polarity: false
ver_sync_polarity: false
b_interlace: false
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
=>
=>

So,

with HDMI to DVI-D conversion,

   the monitor got identified by u-boot and started at the prefered (max) resolution, no monitor complains.

   after u-boot, no 1080 setting from h3disp was succesfull, monitor in all reported 'out of range'

   used h3disp setting -m 36 and got a bit partial screen (attachment DSC01461)

 

with HDMI to HDMI direct cable,

   the monitor could not be identified correctly by the u-boot, yet the monitor got started at a non-prefered resolution (attachment DSC01463)

   all h3disp settings used but in none got any output

 

 

The results are strange at least..

 

 

@jernej

If you would like me to have some testing here pls let me know.

post-2589-0-66652000-1478959757_thumb.jpg

post-2589-0-34797500-1478961301_thumb.jpg

Link to comment
Share on other sites

Let's wait for more tests ... I have only one monitor and no problems with 720p,1080p and 2160p ... except u-boot can't handle 2160p which is a known problem.

 

BTW: AFAIK 1024x768 is defaults when EDID detection is not successful.

 

Try forcing screen resolution at uboot prompt. Check this example for 1024x768 with small overscan:

setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=0,overscan_x=1,overscan_y=2
saveenv

Boot cycle, reset after this.

Link to comment
Share on other sites

Let's wait for more tests ... I have only one monitor and no problems with 720p,1080p and 2160p ... except u-boot can't handle 2160p which is a known problem.

 

BTW: AFAIK 1024x768 is defaults when EDID detection is not successful.

 

Try forcing screen resolution at uboot prompt. Check this example for 1024x768 with small overscan:

setenv video-mode sunxi:1024x768-24@60,monitor=dvi,hpd=0,edid=0,overscan_x=1,overscan_y=2
saveenv

Boot cycle, reset after this.

 

 

I'll go out to get another HDMI-HDMI cable.. although this first one was right out of the box..

Link to comment
Share on other sites

Christos,

I will look into this next week. Igor is right, 1024@768 is a fall back resolution. For some reason, there is a communication problem with monitor. Maybe I should add more debug output to see what could be wrong. Strangely enough, it is marked as DVI. Does it have any audio output like speakers or at least 3.5 mm jack socket? Usually it is placed near other connectors.

 

Igor,

I will take a look for possible reasons why 4K resolution doesn't work. But I don't have such display. Would you be able to test it?

Link to comment
Share on other sites

@jernej , @Igor

 

I really thank you guys, responded in no time and most of all made me feel that I'm not alone, kudos to both of you.

 

Problem solved!!

U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 1920x1080 hdmi console (overscan 0x0)
dotclock: 148500kHz = 148500kHz: (24MHz * 99) / 8 / 2
HDMI PHY divider: 2
pixel_clk: 148500000
pixel_repeat: false
x_res: 1920
y_res: 1080
hor_back_porch: 148
hor_front_porch: 88
hor_sync_time: 44
ver_back_porch: 36
ver_front_porch: 4
ver_sync_time: 5
hor_sync_polarity: true
ver_sync_polarity: true
b_interlace: false
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2092 bytes read in 179 ms (10.7 KiB/s)
## Executing script at 43100000
Booting from SD
144 bytes read in 126 ms (1000 Bytes/s)
3138723 bytes read in 347 ms (8.6 MiB/s)
5080432 bytes read in 502 ms (9.7 MiB/s)
** File not found /boot/.next **
** File not found .next **
37448 bytes read in 468 ms (78.1 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3138659 Bytes = 3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

Loading, please wait...
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.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 140659/936560 files, 632182/3751668 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 8 (jessie)!

         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Increase datagram queue length...
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Starting LSB: Set keymap...
[  OK  ] Reached target Slices.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started LSB: Set keymap.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create Static Device Nodes in /dev...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Tune IDE hard disks...
         Starting LSB: Set preliminary keymap...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-ifup.slice.
[  OK  ] Started LSB: Set preliminary keymap.
[  OK  ] Found device /dev/ttyS0.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Activating swap /var/swap...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Activated swap /var/swap.
[  OK  ] Mounted /tmp.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Swap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting LSB: Set console font and keymap...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
         Starting Entropy daemon using the HAVEGE algorithm...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Network Manager...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: No Display Manager...
         Starting LSB: Starts LIRC daemon....
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: No Display Manager.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting Light Display Manager...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped LSB: Starts LIRC daemon..
         Starting LSB: Starts LIRC daemon....
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Light Display Manager.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...
[  OK  ] Started Network Manager.
[  OK  ] Started LSB: Set sysfs variables from /etc/sysfs.conf.
[  OK  ] Reached target Multi-User System.
[  OK  ] Reached target Graphical Interface.
         Starting Update UTMP about System Runlevel Changes...
         Starting Network Manager Script Dispatcher Service...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Created slice user-1000.slice.
         Starting User Manager for UID 1000...
[  OK  ] Created slice user-108.slice.
[  OK  ] Started User Manager for UID 1000.
         Starting User Manager for UID 108...
[  OK  ] Started User Manager for UID 108.

Debian GNU/Linux 8 orangepione ttyS0

orangepione login:

It was the cable!!!!!!!!!!

Changed it with a new one just now and everything is fine.

Even the tty/uart log is different and now it does not mention any dvi, only hdmi.

 

Thank you again for your efforts and please excuse me for the noise, I should have thought of it earlier.

At least now, we learned something, not to trust even the out of the bag cables..

 

thanks

Christos

 

 

post-2589-0-97788200-1478966268_thumb.jpg

Link to comment
Share on other sites

Screen is just pink.

 

 

 

U-Boot SPL 2016.09.01-armbian (Nov 12 2016 - 19:12:09)
DRAM: 1024 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 12 2016 - 19:12:09 +0100) Allwinner Technology

CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi PC
DRAM: 1 GiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 3840x2160 hdmi console (overscan 0x0)
dotclock: 297000kHz = 297000kHz: (24MHz * 99) / 8 / 1
HDMI PHY divider: 1
pixel_clk: 297000000
pixel_repeat: false
x_res: 3840
y_res: 2160
hor_back_porch: 296
hor_front_porch: 176
hor_sync_time: 88
ver_back_porch: 72
ver_front_porch: 8
ver_sync_time: 10
hor_sync_polarity: true
ver_sync_polarity: false
b_interlace: false
hdmi enabled
Error: no valid bmp image at 66000000
In: serial
Out: vga
Err: vga
Net: phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot: 0
6944 bytes read in 132 ms (50.8 KiB/s)
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2886 bytes read in 158 ms (17.6 KiB/s)
## Executing script at 43100000
gpio: pin PL10 (gpio 298) value is 1
Warning: value of pin is still 0
gpio: pin PG11 (gpio 203) value is 1
** File not found /boot/.verbose **
** File not found /boot/.next **
** Unrecognized filesystem type **
** File not found .next **
38168 bytes read in 423 ms (87.9 KiB/s)
3131839 bytes read in 323 ms (9.2 MiB/s)
5014080 bytes read in 468 ms (10.2 MiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
Image Name: uInitrd
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 3131775 Bytes = 3 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

 

 

Link to comment
Share on other sites

Screen is just pink.

 

This is kind of issue I got when Display Engine was misconfigured. That got me thinking. I think J. F. Moine mentioned that only video channel has capability to support such resolution. Framebuffer in BSP kernel is on the UI channel, supposedly to minimize power consumption. I need some time to extend U-Boot code for testing this hypothesis, but you could test this patch easily http://sprunge.us/bScgfor BSP kernel. According to U-Boot output, you should set 3840x2160 @ 30 Hz resolution.

Link to comment
Share on other sites

I'm too stubborn to let it go just like that :) HW is capable. Maybe I will implement something like that until issue is fully explored.

 

I'm just practical since it will be an easy port for non UHD capable devices, A10, A20, ...  :P It fails there too.

Link to comment
Share on other sites

I'm just practical since it will be an easy port for non UHD capable devices, A10, A20, ...  :P It fails there too.

 

Yes, that would make sense since I reused their code. There such solution would be actually useful, since HW is not capable of 4K. But U-Boot code is simple in regards of EDID parsing. I will check if this would be easy to implement. Can you please somehow extract edid info from your 4K display? This should be easy with BSP kernel, just search for edid file in /sys

Link to comment
Share on other sites

Here is EDID but my screen is distorted on 4k (doubled screen, left and right) ... strange. This used to work fine. I have to investigate when we broke it ... running on Banana Pi M2+

 

Edit: previous kernel works fine. I guess this patch breaks 4k?

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   41 0c e1 08 1f 23 00 00 2d 18
version:         01 03
basic params:    80 58 31 78 2a
chroma info:     f6 3d a3 55 4e 9e 27 0d 47 4a
established:     bd 4b 00
standard:        d1 c0 81 80 81 40 95 0f 95 00 b3 00 81 c0 01 01
descriptor 1:    04 74 00 30 f2 70 5a 80 b0 58 8a 00 6e e5 31 00 00 1a
descriptor 2:    56 5e 00 a0 a0 a0 29 50 30 20 35 00 6e e5 31 00 00 1e
descriptor 3:    00 00 00 fc 00 50 48 4c 20 42 44 4d 34 30 36 35 0a 20
descriptor 4:    00 00 00 fd 00 17 50 1e 63 1e 00 0a 20 20 20 20 20 20
extensions:      01
checksum:        52


Manufacturer: PHL Model 8e1 Serial Number 8991
Made week 45 of 2014
EDID version: 1.3
Digital display
Maximum image size: 88 cm x 49 cm
Gamma: 2.20
DPMS levels: Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
  720x400@70Hz
  640x480@60Hz
  640x480@67Hz
  640x480@72Hz
  640x480@75Hz
  800x600@60Hz
  800x600@75Hz
  1024x768@60Hz
  1024x768@75Hz
  1280x1024@75Hz
Standard timings supported:
  1920x1080@60Hz
  1280x1024@60Hz
  1280x960@60Hz
  1440x900@75Hz
  1440x900@60Hz
  1680x1050@60Hz
  1280x720@60Hz
Detailed mode: Clock 297.000 MHz, 878 mm x 485 mm
               3840 4016 4104 4400 hborder 0
               2160 2168 2178 2250 vborder 0
               +hsync -vsync 
Detailed mode: Clock 241.500 MHz, 878 mm x 485 mm
               2560 2608 2640 2720 hborder 0
               1440 1443 1448 1481 vborder 0
               +hsync +vsync 
Monitor name: PHL
Monitor ranges (GTF): 23-80Hz V, 30-99kHz H, max dotclock 300MHz
Has 1 extension blocks
Checksum: 0x52 (valid)


CEA extension block
Extension version: 3
35 bytes of CEA data
  Video data block
    VIC 01 640x480@60Hz 
    VIC 02 720x480@60Hz 
    VIC 03 720x480@60Hz 
    VIC 05 1920x1080i@60Hz 
    VIC 06 1440x480i@60Hz 
    VIC 07 1440x480i@60Hz 
    VIC 16 1920x1080@60Hz 
    VIC 17 720x576@50Hz 
    VIC 18 720x576@50Hz 
    VIC 19 1280x720@50Hz 
    VIC 20 1920x1080i@50Hz 
    VIC 21 1440x576i@50Hz 
    VIC 22 1440x576i@50Hz 
    VIC 31 1920x1080@50Hz 
    VIC 04 1280x720@60Hz 
  Audio data block
    Linear PCM, max channels 1
    Supported sample rates (kHz): 48 44.1 32
    Supported sample sizes (bits): 24 20 16
  Speaker allocation data block
  Vendor-specific data block, OUI 000c03 (HDMI)
    Source physical address 1.0.0.0
    Maximum TMDS clock: 300MHz
    Extended HDMI video details:
Basic audio support
Supports YCbCr 4:4:4
Supports YCbCr 4:2:2
4 native detailed modes
Detailed mode: Clock 148.500 MHz, 878 mm x 485 mm
               1920 2448 2492 2640 hborder 0
               1080 1089 1095 1125 vborder 0
               -hsync -vsync 
Detailed mode: Clock 148.500 MHz, 878 mm x 485 mm
               1920 2008 2052 2200 hborder 0
               1080 1084 1089 1125 vborder 0
               +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 878 mm x 485 mm
               1280 1390 1430 1650 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Detailed mode: Clock 74.250 MHz, 878 mm x 485 mm
               1280 1720 1760 1980 hborder 0
                720  725  730  750 vborder 0
               +hsync +vsync 
Checksum: 0xfb (valid)
Unknown extension block
Unknown extension block
Unknown extension block
Unknown extension block
Unknown extension block
Unknown extension block

EDID block does NOT conform to EDID 1.3!
        Detailed block string not properly terminated
Link to comment
Share on other sites

 

Here is EDID but my screen is distorted on 4k (doubled screen, left and right) ... strange. This used to work fine. I have to investigate when we broke it ... running on Banana Pi M2+

 

Edit: previous kernel works fine. I guess this patch breaks 4k?

 

 

This patch was just a guess. Thanks for info. Given that your ouput complains about not properly terminated string, could you please provide binary edid? As I said, it should be somewhere in /sys, or if there isn't, in /proc.

Link to comment
Share on other sites

On 11-11-2016 at 4:20 PM, Christos said:

Hi,

 

So far was working with headless Armbian images.

 

Now I need to attach an HDMI monitor to my OPi ONE.

Generated a desktop Armbian 5.24 jessie kernel 3.4.113, attached the HDMI monitor and booted.

 

I saw the inital seconds of U-Boot logging the discovery of the monitor and a few other things and then it went blank.

I guess after some reading in the forum that there is no display manager included in the distro or is there some other problem?

 

Is there some build option that we could include a manager (eg KDE/XFCE/etc) in the image generation proccess?

Or if there is any guide that gives steps for adding a display manager in Armbian to a not-so-knowledgable-guy like me whould be great.

 

Christos

 

 

/Edit

Got this in my tty/uart port



U-Boot SPL 2016.09.01-armbian (Nov 11 2016 - 16:59:49)
DRAM: 512 MiB
Trying to boot from MMC1


U-Boot 2016.09.01-armbian (Nov 11 2016 - 16:59:49 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi One
DRAM:  512 MiB
MMC:   SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

HDMI connected: Setting up a 1024x768 dvi console (overscan 0x0)
dotclock: 65000kHz = 65000kHz: (24MHz * 65) / 6 / 4
HDMI PHY divider: 4
pixel_clk: 65000000
pixel_repeat: false
x_res: 1024
y_res: 768
hor_back_porch: 160
hor_front_porch: 24
hor_sync_time: 136
ver_back_porch: 29
ver_front_porch: 3
ver_sync_time: 6
hor_sync_polarity: false
ver_sync_polarity: false
b_interlace: false
hdmi enabled
In:    serial
Out:   vga
Err:   vga
Net:   phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
2092 bytes read in 168 ms (11.7 KiB/s)
## Executing script at 43100000
Booting from SD
144 bytes read in 126 ms (1000 Bytes/s)
3138723 bytes read in 337 ms (8.9 MiB/s)
5080432 bytes read in 490 ms (9.9 MiB/s)
** File not found /boot/.next **
** File not found .next **
35908 bytes read in 469 ms (74.2 KiB/s)
## Loading init Ramdisk from Legacy Image at 43300000 ...
   Image Name:   uInitrd
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    3138659 Bytes = 3 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
Using machid 0x1029 from environment

Starting kernel ...

Loading, please wait...
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.25.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: clean, 140188/936560 files, 628618/3751668 blocks
done.
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

Welcome to Debian GNU/Linux 8 (jessie)!

         Expecting device dev-ttyS0.device...
[  OK  ] Reached target Remote File Systems (Pre).
[  OK  ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[  OK  ] Reached target Encrypted Volumes.
[  OK  ] Reached target Paths.
[  OK  ] Created slice Root Slice.
[  OK  ] Created slice User and Session Slice.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on Delayed Shutdown Socket.
[  OK  ] Listening on Journal Socket (/dev/log).
[  OK  ] Listening on udev Control Socket.
[  OK  ] Listening on udev Kernel Socket.
[  OK  ] Listening on Journal Socket.
[  OK  ] Created slice System Slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-getty.slice.
         Starting Increase datagram queue length...
         Starting Restore / save the current clock...
         Starting Load Kernel Modules...
         Starting Create list of required static device nodes...rrent kernel...
         Starting udev Coldplug all Devices...
         Mounting Debug File System...
         Mounting POSIX Message Queue File System...
         Starting LSB: Set keymap...
[  OK  ] Reached target Slices.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Mounted Debug File System.
[  OK  ] Started Increase datagram queue length.
[  OK  ] Started Restore / save the current clock.
[  OK  ] Started Load Kernel Modules.
[  OK  ] Started Create list of required static device nodes ...current kernel.
[  OK  ] Started LSB: Set keymap.
[  OK  ] Started udev Coldplug all Devices.
         Starting Create Static Device Nodes in /dev...
         Mounting FUSE Control File System...
         Starting Apply Kernel Variables...
[  OK  ] Listening on Syslog Socket.
         Starting Journal Service...
[  OK  ] Started Journal Service.
[  OK  ] Mounted FUSE Control File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
         Starting Copy rules generated while the root was ro...
         Starting LSB: Tune IDE hard disks...
         Starting LSB: Set preliminary keymap...
[  OK  ] Started Copy rules generated while the root was ro.
[  OK  ] Started LSB: Tune IDE hard disks.
[  OK  ] Reached target Sound Card.
[  OK  ] Created slice system-ifup.slice.
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Started LSB: Set preliminary keymap.
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Activating swap /var/swap...
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /tmp...
[  OK  ] Activated swap /var/swap.
[  OK  ] Mounted /tmp.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Reached target Remote File Systems.
         Starting Trigger Flushing of Journal to Persistent Storage...
         Starting LSB: Prepare console...
         Starting LSB: Raise network interfaces....
[  OK  ] Reached target Swap.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started LSB: Prepare console.
[  OK  ] Started Trigger Flushing of Journal to Persistent Storage.
         Starting LSB: Set console font and keymap...
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started LSB: Raise network interfaces..
         Starting ifup for eth0...
[  OK  ] Started ifup for eth0.
[  OK  ] Reached target Network.
[  OK  ] Reached target Network is Online.
[  OK  ] Started LSB: Set console font and keymap.
[  OK  ] Reached target System Initialization.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Timers.
         Starting Restore Sound Card State...
[  OK  ] Reached target Basic System.
         Starting Entropy daemon using the HAVEGE algorithm...
[  OK  ] Started Entropy daemon using the HAVEGE algorithm.
         Starting Regular background program processing daemon...
[  OK  ] Started Regular background program processing daemon.
         Starting OpenBSD Secure Shell server...
[  OK  ] Started OpenBSD Secure Shell server.
         Starting Network Manager...
         Starting /etc/rc.local Compatibility...
         Starting Login Service...
         Starting LSB: Load kernel modules needed to enable cpufreq scaling...
         Starting LSB: Advanced IEEE 802.11 management daemon...
         Starting LSB: Start NTP daemon...
         Starting LSB: Start/stop sysstat's sadc...
         Starting LSB: Armbian gathering hardware information...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: No Display Manager...
         Starting LSB: Starts LIRC daemon....
         Starting D-Bus System Message Bus...
[  OK  ] Started D-Bus System Message Bus.
         Starting System Logging Service...
         Starting Permit User Sessions...
[  OK  ] Started System Logging Service.
[  OK  ] Started Restore Sound Card State.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started LSB: Load kernel modules needed to enable cpufreq scaling.
[  OK  ] Started LSB: Advanced IEEE 802.11 management daemon.
[  OK  ] Started LSB: Start NTP daemon.
[  OK  ] Started LSB: Start/stop sysstat's sadc.
[  OK  ] Started LSB: Armbian gathering hardware information.
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: No Display Manager.
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started Permit User Sessions.
[  OK  ] Started Login Service.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
         Starting LSB: set CPUFreq kernel parameters...
         Starting Serial Getty on ttyS0...
[  OK  ] Started Serial Getty on ttyS0.
         Starting Getty on tty1...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
         Stopping LSB: Starts LIRC daemon....
[  OK  ] Stopped LSB: Starts LIRC daemon..
         Starting LSB: Starts LIRC daemon....
[  OK  ] Started LSB: Starts LIRC daemon..
[  OK  ] Started LSB: set CPUFreq kernel parameters.
         Starting LSB: Set sysfs variables from /etc/sysfs.conf...

Debian GNU/Linux 8 orangepione ttyS0

orangepione login: root
Password:
Last login: Fri Nov 11 19:30:31 EET 2016 on ttyS0
Linux orangepione 3.4.113-rt143-sun8i #24 SMP PREEMPT RT Fri Nov 11 17:13:18 EET 2016 armv7l
  ___                               ____  _    ___
 / _ \ _ __ __ _ _ __   __ _  ___  |  _ \(_)  / _ \ _ __   ___
| | | | '__/ _` | '_ \ / _` |/ _ \ | |_) | | | | | | '_ \ / _ \
| |_| | | | (_| | | | | (_| |  __/ |  __/| | | |_| | | | |  __/
 \___/|_|  \__,_|_| |_|\__, |\___| |_|   |_|  \___/|_| |_|\___|
                       |___/

Welcome to ARMBIAN Debian GNU/Linux 8 (jessie) 3.4.113-rt143-sun8i
System load:   0.57             Up time:       2 min
Memory usage:  24 % of 490Mb    IP:
CPU temp:      35°C
Usage of /:    16% of 15G

root@orangepione:~# dm

Hi Christos and Igor, sorry for off topic, how you obtain the rt kernel sun8i? the patch in the github of armbian don t work for me! thanks! This is the error: (i compile for orange pi zero)

[ error ] ERROR in function compile_kernel [ common.sh:249 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

 

Link to comment
Share on other sites

Just download latest image or build from latest sources. When building, just make sure which RT option do you choose - one is breaking and you hit that one.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines