This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This is a minimal sample config file, which can be copied to | |
| # /etc/X11/xorg.conf in order to make the Xorg server pick up | |
| # and load xf86-video-fbturbo driver installed in the system. | |
| # | |
| # When troubleshooting, check /var/log/Xorg.0.log for the debugging | |
| # output and error messages. | |
| # | |
| # Run "man fbturbo" to get additional information about the extra | |
| # configuration options for tuning the driver. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/arch/arm/plat-sunxi/devices.c b/arch/arm/plat-sunxi/devices.c | |
| index fdddc56..f5ecff7 100644 | |
| --- a/arch/arm/plat-sunxi/devices.c | |
| +++ b/arch/arm/plat-sunxi/devices.c | |
| @@ -113,7 +113,35 @@ struct platform_device sw_pdev_nand = | |
| .dev = {} | |
| }; | |
| -#ifndef CONFIG_ARCH_SUN7I | |
| +#ifdef CONFIG_ARCH_SUN7I |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/drivers/video/sunxi/disp/dev_fb.c b/drivers/video/sunxi/disp/dev_fb.c | |
| index a453b6f..b02e7dc 100644 | |
| --- a/drivers/video/sunxi/disp/dev_fb.c | |
| +++ b/drivers/video/sunxi/disp/dev_fb.c | |
| @@ -1071,7 +1071,7 @@ static int Fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) | |
| } | |
| } | |
| - // Fb_wait_for_vsync(info); | |
| + Fb_wait_for_vsync(info); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ 0.000000] Booting Linux on physical CPU 0 | |
| [ 0.000000] Initializing cgroup subsys cpuset | |
| [ 0.000000] Initializing cgroup subsys cpu | |
| [ 0.000000] Linux version 3.4.79-sun7i-00002-g9fdabc4-dirty (ssvb@i7) (gcc version 4.7.3 (Gentoo 4.7.3-r1 p1.3, pie-0.5.5) ) #1 SMP PREEMPT Tue Feb 11 20:37:59 EET 2014 | |
| [ 0.000000] CPU: ARMv7 Processor [410fc074] revision 4 (ARMv7), cr=10c5387d | |
| [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache | |
| [ 0.000000] Machine: sun7i | |
| [ 0.000000] Memory Reserved: | |
| [ 0.000000] SYS : 0x43000000 - 0x4300ffff ( 64 kB) | |
| [ 0.000000] G2D : 0x50000000 - 0x50ffffff ( 16 MB) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const char *vertex_shader_source = | |
| "uniform mat4 modelviewprojectionMatrix;\n" | |
| "\n" | |
| "attribute vec4 in_position; \n" | |
| "attribute vec2 in_coord; \n" | |
| " \n" | |
| "varying vec2 coord; \n" | |
| " \n" | |
| "void main() \n" | |
| "{ \n" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| == Cubietruck & FAST_MBUS == | |
| before dqs gate training: rslr0=00000000, rdgr0=00000055 | |
| after dqs gate training: rslr0=00000249, rdgr0=000000AA | |
| dqs_gating_delay=06060606 | |
| == Cubietruck without FAST_MBUS == | |
| before dqs gate training: rslr0=00000000, rdgr0=00000055 | |
| after dqs gate training: rslr0=00000249, rdgr0=000000AA |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <6>[ 0.000000] Booting Linux on physical CPU 0 | |
| <5>[ 0.000000] Linux version 3.4.0+ (mono@mono-linux.com) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #2 SMP PREEMPT Fri Apr 25 18:26:17 CST 2014 | |
| <4>[ 0.000000] Machine: gs702c | |
| <4>[ 0.000000] xml_buf_start_phys:0x428d8c0, xml_buf_len:0x3f000 | |
| <4>[ 0.000000] bin_cfg_xml_buf_start_phys:0x428e760, bin_cfg_xml_buf_len:0x9000 | |
| <4>[ 0.000000] pinctrl_buf_start_phys:0x207c000, pinctrl_buf_len:0xad60 | |
| <4>[ 0.000000] tag: dvfslevel: 0x40710503 | |
| <4>[ 0.000000] tag: icversion: 0x43 | |
| <4>[ 0.000000] board_opt 0, flags 0x0 | |
| <4>[ 0.000000] tag: boot_dev 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DRAM Clock: 720MHz | |
| /* | |
| * DRAM COM Registers | |
| */ | |
| SDR_COM_CR = 0x005339e4; | |
| SDR_COM_000 = 0x005339e4; | |
| SDR_COM_CCR = 0x00000015; | |
| SDR_COM_004 = 0x00000015; | |
| SDR_COM_008 = 0x00022040; | |
| SDR_COM_MFACR = 0x00800302; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From f45b37f97e552654bdd01df7cccff1f1cf2a039d Mon Sep 17 00:00:00 2001 | |
| From: Siarhei Siamashka <siarhei.siamashka@gmail.com> | |
| Date: Tue, 7 Oct 2014 00:09:56 +0300 | |
| Subject: [PATCH] HACK: Enable MUSB & CDC_COMPOSITE in sun7i defconfig | |
| Also change tristate->bool in order to be able to statically | |
| compile CDC_COMPOSITE. | |
| --- | |
| arch/arm/configs/sun7i_defconfig | 28 +++++----------------------- | |
| drivers/usb/musb/Kconfig | 16 ++++++++-------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| crossdev --l 1.19.0 -oO /var/overlays/crossdev --without-headers --g 4.7.2 --genv 'USE="-fortran -mudflap -nls -openmp multilib" EXTRA_ECONF="--with-mode=thumb --with-cpu=cortex-m4 --with-float=hard --with-fpu=fpv4-sp-d16"' --b 2.22-r1 -s4 -t arm-none-eabi" | |
| --genv 'USE="-fortran -mudflap -nls -openmp multilib" EXTRA_ECONF="--with-cpu=cortex-a8 --with-float=hard --with-fpu=neon"' -s4 -t armv7a-hardfloat-linux-gnueabi | |
| crossdev --binutils 2.23.2 --kernel 3.13 --libc 2.19-r1 --gcc 4.8.2 --genv 'USE="-fortran -mudflap -nls -openmp multilib" EXTRA_ECONF="--with-cpu=cortex-a8 --with-float=hard"' -t arm-none-linux-gnueabi |