Hackpads are smart collaborative documents. .
329 days ago
Unfiled. Edited by Shou-Chien Yang 329 days ago
Kernel 3.0.35 Ubuntu 12.04 Kernel 3.10.17 Ubuntu 14.04 Kernel 3.10.17 Yocto Kernel 3.10.53 Ubuntu 14.04 Kernel 3.10.53 Yocto Kernel 3.14.52 Yocto Comments
CPU Internal
Thermal sensor OK OK OK OK OK OK
CPU Frequency OK OK OK OK OK OK
GPU OK OK OK OK OK OK
VPU OK OK OK OK OK OK
Displays
HDMI OK OK OK OK OK OK 1080P
LVDS OK OK OK OK OK OK
2 Displays
3 Displays N/A
I/O peripherals
Ethernet(1G LAN) OK OK OK OK OK OK
SD card OK OK OK OK OK OK
eMMC OK OK OK OK OK OK optional
SATA N/A
USB Host OK OK OK OK OK OK
USB OTG OK OK OK OK OK OK
HDMI Audio out OK OK OK OK OK OK
Codec Audio out OK OK OK OK OK OK
Mic in OK
COM1 (8 wires) OK OK OK OK OK OK
COM2 (4 wires) OK OK OK OK OK OK
COM3 (RS-485) OK
COM4 (3.3V) OK
SPI Flash OK
CAN Bus N/A
GPIO (8-bit) OK OK OK OK OK OK
Mini PCIe OK OK OK OK OK OK
External Devices
Applications
Video Playback OK OK OK OK OK OK wmv, mkv, avi, mp4, mpeg4,mov, flv
Hardware Acceleration OK OK OK OK OK OK video only
Wireless Display
 
447 days ago
Unfiled. Edited by Shou-Chien Yang 447 days ago
  • Linux Yocto 1.7 - 3.10.53 (2015.07)
Shou-Chien Y
  • Linux Yocto 1.8 - 3.14.52 (2016.05) *new
 
510 days ago
Unfiled. Edited by Shou-Chien Yang 510 days ago
$MACHINE=ar6mxcs source fsl-setup-release.sh -b build-ar6mxcs
 
798 days ago
Unfiled. Edited by Shou-Chien Yang 798 days ago
10.   Now go back to Yocto root directory (e.g  yocto_3.10.53-1.0.0/) and you should be able to define a new build with AR6MXCS configs.
$MACHINE=ar6mxcs source setup-environment build-ar6mxcs
$bitbake (image_name)
 
Shou-Chien Y 11.   If you wish to build fsl-image-gui or fsl-image-qt5, please run the below command:
$MACHINE=ar6mxcs source fsl-setup-release.sh -b build-ar6mxcs
 
The fsl-setup-release.sh script will add all fsl layers that are needed for fsl images.
Then go to /conf/local.conf and add the below code to overwrite the fsl BSP:
PREFERRED_PROVIDER_u-boot_mx6 = "u-boot-ar6mxcs"
PREFERRED_PROVIDER_virtual/kernel_mx6 = "linux-bcm"
 
12.   You can adjust the rootfs size to utilize more space of your sdcard by adding the below 3 parameter in the file “/build_ar6mxcs/conf/local.conf”.
IMAGE_EXTRA_SPACE = "0"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
IMAGE_ROOTFS_SIZE = "3806250" (this will give you around 3.7GB of rootfs to fit in a 4GB sdcard.)
 
13.   After changing the local.conf file, go back to the build directory(e.g /build-ar6mxcs), then run the bitbake command to start building the image:
$bitbake fsl-image-qt5 (or fsl-image-gui) 
 
799 days ago
Unfiled. Edited by Shou-Chien Yang , Frodo Lai 799 days ago
first add "compatible", "reg", att-gpio", "reset-gpio", "touchscreen-size-x" and "touchscreen-size-y"
GPIO(6, 8) for interrupt, last "1" is active low
GPIO(2, 0) for Reset, last "0" is active high
  • pixcir_ts@5c {
  •      compatible = "pixcir,pixcir_tangoc";
  •      reg = <0x5c>;
  •      attb-gpio = <&gpio6 8 1>;
  •      reset-gpio = <&gpio2 0 0>;
  •      touchscreen-size-x = <1024>;
  •      touchscreen-size-y = <600>;
  •    };
 
  • pixcir_ts@5c {
  •      compatible = "pixcir,pixcir_tangoc";
  •      reg = <0x5c>;
  •      interrupt-parent = <&gpio6>;
  •      interrupts = <8 2>;
  •      attb-gpio = <&gpio6 8 1>;
  •      reset-gpio = <&gpio2 0 0>;
  •      touchscreen-size-x = <1024>;
  •      touchscreen-size-y = <600>;
  •    };
 
807 days ago
Unfiled. Edited by Frodo Lai 807 days ago
Frodo L Backlight brightness control
 
1. On CN4, pin 5 is BL0EN_GPO and pin 7 is LBL0_PWM
 
2. We provide 8 level PWM output as below
  •         backlight {
  •                 compatible = "pwm-backlight";
  •                 pwms = <&pwm4 0 5000000>;
  •                 brightness-levels = <0 4 8 16 32 64 128 255>;
  •                 default-brightness-level = <7>;
  •         };
  •  
3. Utilize backlight class in sysfs
  • root@ar6mxcs:/sys/class/backlight# ls
  • backlight.31
  • root@ar6mxcs:/sys/class/backlight# cd backlight.31
  • root@ar6mxcs:/sys/class/backlight/backlight.31# ls
  • actual_brightness  brightness  max_brightness  subsystem  uevent
  • bl_power           device      power           type
  • root@ar6mxcs:/sys/class/backlight/backlight.31# cat max_brightness
  • 7
  • root@ar6mxcs:/sys/class/backlight/backlight.31# cat actual_brightness
  • 7
  • root@ar6mxcs:/sys/class/backlight/backlight.31# echo 4 > brightness
  • root@ar6mxcs:/sys/class/backlight/backlight.31# cat actual_brightness
  • 4
 
4. Turn on/off backlight
  • root@ar6mxcs:/sys/class/graphics# ls
  • fb0  fb1  fbcon
  • root@ar6mxcs:/sys/class/graphics# cd fb0/
  • root@ar6mxcs:/sys/class/graphics/fb0# ls
  • bits_per_pixel  dev                    mode   power   subsystem
  • blank           device                 modes  rotate  uevent
  • console         fsl_disp_dev_property  name   state   virtual_size
  • cursor          fsl_disp_property      pan    stride
  • root@ar6mxcs:/sys/class/graphics/fb0# cat fsl_disp_dev_property
  • ldb
  • root@ar6mxcs:/sys/class/graphics/fb0# cat mode
  • U:1024x600p-60
Turn off backlight
  • root@ar6mxcs:/sys/class/graphics/fb0# echo 1 > blank
Turn on backlight
  • root@ar6mxcs:/sys/class/graphics/fb0# echo 0 > blank
 
 
Members (5)
ธนวรรธน์ ศรอุดม (ตี๋) Shou-Chien Yang Frodo Lai James Martinez Mike Grobler

Create a New Collection

Cancel

Move XXX to XXX


XXX will be invited to the XXX on XXX.

Cancel

Contact Support



Please check out our How-to Guide and FAQ first to see if your question is already answered! :)

If you have a feature request, please add it to this pad. Thanks!


Log in