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
| ======= Intel Atom N450 ========== | |
| atom ~ # perf stat dd if=/dev/sdb of=/dev/null bs=1M | |
| 7839+1 records in | |
| 7839+1 records out | |
| 8220834816 bytes (8.2 GB) copied, 411.443 s, 20.0 MB/s | |
| Performance counter stats for 'dd if=/dev/sdb of=/dev/null bs=1M': | |
| 35503.879851 task-clock # 0.086 CPUs utilized |
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
| In the kernel: | |
| diff --git a/drivers/char/sun4i_g2d/g2d_driver.c b/drivers/char/sun4i_g2d/g2d_driver.c | |
| index be4efe2..33c43ba 100644 | |
| --- a/drivers/char/sun4i_g2d/g2d_driver.c | |
| +++ b/drivers/char/sun4i_g2d/g2d_driver.c | |
| @@ -317,15 +317,11 @@ int g2d_mmap(struct file *file, struct vm_area_struct * vma) | |
| unsigned long mypfn; | |
| unsigned long vmsize = vma->vm_end-vma->vm_start; | |
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
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| Starting Crush | |
| Version: TestU01 1.2.3 | |
| xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx | |
| *********************************************************** | |
| Test smarsa_SerialOver calling smultin_MultinomialOver | |
| *********************************************************** |
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
| Section "Device" | |
| Identifier "Allwinner A10/A13 FBDEV 1" | |
| Driver "sunxifb" | |
| Option "fbdev" "/dev/fb0" | |
| EndSection | |
| Section "Screen" | |
| Identifier "Sunxi Screen" | |
| Device "Allwinner A10/A13 FBDEV 1" | |
| DefaultDepth 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
| #include <unistd.h> | |
| #include <stdio.h> | |
| #include <fcntl.h> | |
| #include <sys/mman.h> | |
| #include <assert.h> | |
| #include <stdio.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <sys/ioctl.h> | |
| #include <linux/fb.h> |
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
| #!/bin/sh | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- mrproper | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- sun4i_defconfig | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- menuconfig | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j8 uImage || exit 1 | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- -j8 modules || exit 1 | |
| make ARCH=arm CROSS_COMPILE=armv7a-hardfloat-linux-gnueabi- modules_install INSTALL_MOD_PATH=/mnt/arm-nfs-root | |
| scp arch/arm/boot/uImage root@sun4i:/mnt/mmcblk0p1/uImage | |
| ../sunxi-tools/fex2bin mele_a1000.fex script.bin |
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
| The trace of DRI2 communication: | |
| MaliDRI2CreateBuffer attachment=1 buffer=0xc09250, offs=0, name=83 | |
| MaliDRI2CreateBuffer attachment=0 buffer=0xc09290, offs=150, name=84 | |
| MaliDRI2ScheduleSwap (front->attachment=0,front->name=84) (back->attachment=1,back->name=83) 0xc09290 0xc09250 | |
| MaliDRI2CreateBuffer attachment=1 buffer=0xd130f8, offs=300, name=85 | |
| MaliDRI2CreateBuffer attachment=0 buffer=0xd06200, offs=450, name=86 | |
| MaliDRI2DestroyBuffer attachment=1 buffer=0xc09250 | |
| MaliDRI2DestroyBuffer attachment=0 buffer=0xc09290 | |
| MaliDRI2ScheduleSwap (front->attachment=0,front->name=86) (back->attachment=1,back->name=85) 0xd06200 0xd130f8 |
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/mach-sun4i/devices.c b/arch/arm/mach-sun4i/devices.c | |
| index ff56e9a..e4425f8 100644 | |
| --- a/arch/arm/mach-sun4i/devices.c | |
| +++ b/arch/arm/mach-sun4i/devices.c | |
| @@ -35,6 +35,7 @@ | |
| #include <asm/mach/arch.h> | |
| #include <asm/mach/time.h> | |
| #include <asm/setup.h> | |
| +#include <asm/pmu.h> | |
| #include <mach/hardware.h> |
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
| [product] | |
| version = "1.0" | |
| machine = "A10-EVB-V1.1" | |
| [target] | |
| boot_clock = 1008 | |
| dcdc2_vol = 1400 | |
| dcdc3_vol = 1250 | |
| ldo2_vol = 3000 | |
| ldo3_vol = 2800 |
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
| sun4i ~ # cat /etc/X11/xorg.conf | |
| Section "Device" | |
| Identifier "FBDEV" | |
| Driver "fbdev" | |
| Option "fbdev" "/dev/fb0" | |
| # Option "ShadowFB" "false" | |
| EndSection | |
| Section "ServerFlags" | |
| Option "BlankTime" "0" |