Age | Commit message (Collapse) | Author |
|
|
|
If the local critical temperature is reached the power is
unconditionally switched off. At 70°C ambient the default of 85°C
can be reached. So increase the limit in the hwmon chip to 95°C.
|
|
Integrate MAX9526 video decoder support as found on our analogous
camera module (ACM) connected to a Colibri Evaluation carrier board.
The following kernel configuration options are required to be enabled:
CONFIG_VIDEO_V4L2=y
CONFIG_SOC_CAMERA=y
CONFIG_SOC_CAMERA_MAX9526=y
CONFIG_VIDEO_TEGRA=y
|
|
Move GPIO defines to header file.
While at it get rid of spurious AVDD_DSI_CSI_ENB_GPIO define.
|
|
Re-arrange defines in header file.
|
|
Get rid of spurious AC_PRESENT_GPIO/INT defines.
|
|
Now simply enabling CONFIG_TEGRA_CAMERA resp. not explicitly disabling
it will make L4T's nv_omx_vip Gstreamer plug-in work with analogue video
decoders like the ADV7180 or MAX9526.
|
|
As our hardware only allows triggering an interrupt on over-temperature
shutdown we setup a workqueue to catch leaving it again.
For Tegra 3 NVIDIA relies on the regular Linux thermal subsystem.
As follows some output during a thermal throttling run:
root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os
45000
RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [12%,2%,3%,6%]@475 EMC 533 AVP 81 VDE 400 EDP limit 1300000
Temperatures CPU 42.4 Board 36.4
root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os
60000
RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [14%,5%,4%,4%]@1300 EMC 533 AVP 81 VDE 400 EDP limit 1300000
Temperatures CPU 54.2 Board 47.8
RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [100%,100%,100%,100%]@1200 EMC 533 AVP 81 VDE 400 EDP limit 1200000
Temperatures CPU 70.4 Board 56.6
root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os
75000
RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [54%,49%,48%,48%]@1200 EMC 533 AVP 81 VDE 400 EDP limit 1200000
Temperatures CPU 70.9 Board 57.1
RAM 400/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [100%,100%,100%,100%]@1100 EMC 533 AVP 81 VDE 400 EDP limit 1100000
Temperatures CPU 75.3 Board 60.5
root@colibri-t30:~# cat /sys/bus/i2c/devices/4-004c/temp2_os
85000
RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [65%,61%,61%,61%]@1100 EMC 533 AVP 81 VDE 400 EDP limit 1100000
Temperatures CPU 75.2 Board 61.0
RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [100%,100%,100%,100%]@1000 EMC 533 AVP 81 VDE 400 EDP limit 1100000
Temperatures CPU 85.1 Board 69.8
RAM 401/980MB (lfb 135x4MB) IRAM 0/255kB(lfb 255kB)
cpu [100%,100%,100%,100%]@760 EMC 533 AVP 81 VDE 400 EDP limit 1100000
Temperatures CPU 85.1 Board 69.9
root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/cur_state
0
root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/max_state
10
root@colibri-t30:~# cat /sys/class/thermal/cooling_device0/type
balanced
root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/cdev0_trip_point
0
root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/temp
84531
root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_temp
85000
root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/trip_point_0_type
passive
root@colibri-t30:~# cat /sys/class/thermal/thermal_zone0/type
lm95245_remote
|
|
Add a commented out define for v1.0a modules with optional NAND
variants which are auto detected.
|
|
Add the following tested (e.g. framebuffer console and X) video modes:
- 800x480@60 (e.g. for EDT ET070080DH6)
- 800x600@60
- 1024x768@60
- 1024x768@75
- 1280x720@60 aka 720p
- 1366x768@60
The define TEGRA_FB_VGA in board-colibri_t30.h can be used to switch
between VGA and 800x480.
|
|
Tested on early prototype Colibri T30 V1.0a eMMC module.
Known issues:
- spurious boot hang after following kernel message
[ 5.595219] Timed out waiting for lock bit on pll pll_a
- no audio (SGTL5000) support integrated yet
- NAND detection/support disabled for now due to boot hang
- USB OTG support disabled for now due to boot hang
- trying to spawn L4T R16 X driver seems to hang
Note: requires uImage with adjusted entry point/load address as follows
mkimage -A arm -C none -O linux -T kernel -a 0x82008000 -e 0x82008000 -n 'Linux-3.1.10-colibri_t30' -d zImage uImage
|