/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to Administration/Systems/arm/seco_devkit.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2013-11-08 01:07:23 UTC
  • Revision ID: csa@dside.dyndns.org-20131108010723-gfaem1vwkt6262m1
virtualization mainly

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Networking
 
2
==========
 
3
 Host: seco-gpu-devkit
 
4
 Account: ubuntu/ubuntu
 
5
 Services: ssh is running
 
6
 
 
7
Serial Console
 
8
==============
 
9
 - There is an MFG socket on board. The included COM port should be connected
 
10
 to this socket. The Linux is configured to use console on this COM port. 
 
11
 - The following configuration:
 
12
    115200 8N1 no flow control
 
13
 - To support both serial and framebuffer consoles, the following should be 
 
14
 passed to the kernel
 
15
    console=ttyS0,115200n8 console=tty1
 
16
 
 
17
Graphics
 
18
========
 
19
 You will not see any integrated graphic card in the output of lspci, but it 
 
20
 is there. Board has 3 integrated video outputs:
 
21
 * LVDS - used to connect LCD screen. This is default output and despit
 
22
 it is not connected, console is shown there by default.
 
23
 * HDMI/DisplayPort. Only one of the ports are actually connected. This
 
24
 depends on installed Q7 processor. Tegra3 uses HDMI. There is 2 switches
 
25
 on the board to select between DisplayPort and HDMI. And one more switch
 
26
 to select between native HDMI display and DVI display connected trough 
 
27
 converter.
 
28
 
 
29
 Cabling:
 
30
 - Long-tailed HDMI->DVI adapters are not working for some reason. The small
 
31
 adapters without flexible part work.
 
32
 - Xrandr does not detect connects/disconnects of displays connected to HDMI
 
33
 port (at least currently installed Ubuntu 12.04). So, the display on HDMI
 
34
 port should be connected during the boot.
 
35
 
 
36
  OK. Default configuration:
 
37
 - You will not see framebuffer console, because it defaults to LVDS output.
 
38
 - You will not see xorg either. Xorg configuration defaults to nvidia driver
 
39
 supporting recent GeForce hardware. I.e. external card is mandatory.
 
40
 
 
41
 Fixing console: 
 
42
 - We need framebuffer console. Otherwise, we can't select proper output. The
 
43
 proper driver may be passed to kernel with "video" parameter. The driver is
 
44
 called "tegrafb".
 
45
    video=tegrafb
 
46
 - To use HDMI output we need to add another kernel parameter (which will use
 
47
 for all consoles /dev/fb1, list of available frame buffer devices is available
 
48
 trough /proc/fb)
 
49
    fbcon=map:1
 
50
 When temporarily changed, it sometimes (?) maked system to halt during boot. But
 
51
 permanent solution seems to work.
 
52
 - Default installation includes more parameters configuring different aspects
 
53
 of tegrafb (see kernel command line bellow). I don't really know if this is
 
54
 mandatory
 
55
 
 
56
 Fixing xorg:
 
57
 - We just need to use "tegra" driver in Xorg (yes the lspci does not show any
 
58
 vga cards, but it works). With default config, we just uncomment "Tegra" device
 
59
 in the Screen section.
 
60
 
 
61
BIOS
 
62
====
 
63
 - No idea. It seems there is no boot-time configuration utility for BIOS.
 
64
 
 
65
Boot Loader
 
66
===========
 
67
 - U-boot is used and it uses environment variables to configure kernel 
 
68
 parameters, etc.
 
69
    env print                           list current environment
 
70
    setenv var ${var} "value"           add something to environment variable
 
71
    boot                                boot using configured environment
 
72
    saveenv                             save current environment permanently
 
73
 
 
74
 - We need to remap fb console, so we are executing following commands
 
75
    setenv dev_extras "fbcon=map:1"
 
76
    saveenv
 
77
 
 
78
 - The following kernel arguments are passed:
 
79
    console=ttyS0,115200n8 console=tty1 lp0_vec=0x00002000@0x9C406000 video=tegrafb vmalloc=256M mem=2047M@2048M fbcon=map:1 noinitrd usbcore.old_scheme_first=1 core_edp_mv=1300 panel=lvds tegraid=30.1.2.0.0 debug_uartport=lsport,2 smp tegra_fbmem=3072K@0xBFE00000 max_cpu_cur_ma=10000 root=/dev/mmcblk0p1 rw rootwait gpt
 
80
    
 
 
b'\\ No newline at end of file'