2014-05-29

radxa -- symlink error / unzip

unzip tarball fail on symlink error: File name too long #34

"git archive" seems to be broken wrt zip files
> IOW, the zip file looks right. I wonder if this is actually a bug in
> "unzip".

It is. This only happens if you have more then 16k entries and when one
of the 16k entry infos is reused it happend to be previously used for a
symlink entry.

Here's a patch for unzip60 for reference:
--- process.c
+++ process.c
@@ -1751,6 +1751,12 @@ int process_cdir_file_hdr(__G)    /* ret
= (G.crec.general_purpose_bit_flag & (1 << 11)) == (1 << 11); 
#endif

+#ifdef SYMLINKS     
+    /* Initialize the symlink flag, may be set by the platform-specific     
+       mapattr function.  */     
+    G.pInfo->symlink = 0;
+#endif
+
return PK_COOL;

} /* end function process_cdir_file_hdr() */

radxa -- symlink error / git clone


git clone -b topic/i2c-rk3x-clean-v4 https://github.com/xqms/linux.git

1. git clone -b topic/i2c-rk3x-clean-v4 https://github.com/xqms/linux.git
root@slitaz:/run/media/tux/data-ln/radxa/src# time git clone -b topic/i2c-rk3x-clean-v4 https://github.com/xqms/linux.git
Cloning into 'linux'...
remote: Counting objects: 3545990, done.
remote: Compressing objects: 100% (589980/589980), done.
remote: Total 3545990 (delta 2926520), reused 3545990 (delta 2926520)
Receiving objects: 100% (3545990/3545990), 982.04 MiB | 51 KiB/s, done.
Resolving deltas: 100% (2926520/2926520), done.
Checking out files: 100% (46829/46829), done.
real    45m 35.28s
user    3m 22.76s
sys    0m 27.40s


2. check files
root@slitaz:/run/media/tux/data-ln/radxa/src# ls -l linux/drivers/ata/pata_atp867x.c
-rw-r--r--    1 root     root         14638 May 27 10:43 linux/drivers/ata/pata_atp867x.c
root@slitaz:/run/media/tux/data-ln/radxa/src# ls -l linux/drivers/misc/vmw_vmci/vmci_queue_pair.c
-rw-r--r--    1 root     root         97276 May 27 10:43 linux/drivers/misc/vmw_vmci/vmci_queue_pair.c
root@slitaz:/run/media/tux/data-ln/radxa/src# ls -l linux/include/uapi/linux/pci_regs.h
-rw-r--r--    1 root     root         46587 May 27 10:44 linux/include/uapi/linux/pci_regs.h
root@slitaz:/run/media/tux/data-ln/radxa/src# ls -l linux/kernel/sched/Makefile
-rw-r--r--    1 root     root           905 May 27 10:44 linux/kernel/sched/Makefile
root@slitaz:/run/media/tux/data-ln/radxa/src# ls -l linux/security/selinux/netnode.c
-rw-r--r--    1 root     root          8424 May 27 10:44 linux/security/selinux/netnode.c
root@slitaz:/run/media/tux/data-ln/radxa/src# 


radxa -- symlink error: File name too long


symlink error: File name too long


1. Download xqms/linux as a zip file
https://github.com/xqms/linux/archive/topic/i2c-rk3x-clean-v4.zip


2. unzip i2c-rk3x-clean-v4.zip
symlink error: File name too long

/usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/ata/pata_atp867x.c -> /*^J *...
/usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/misc/vmw_vmci/vmci_queue_pair.c -> /*^J *...
/usr/src/linux-topic-i2c-rk3x-clean-v4/include/uapi/linux/pci_regs.h -> /*^J...
/usr/src/linux-topic-i2c-rk3x-clean-v4/kernel/sched/Makefile -> ifdef CONFIG...
/usr/src/linux-topic-i2c-rk3x-clean-v4/security/selinux/netnode.c -> /*^J *...


3. No such file or directory
root@slitaz:~# ls -l  /usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/ata/pata_atp867x.c
ls: /usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/ata/pata_atp867x.c: No such file or directory

root@slitaz:~# ls -l /usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/misc/vmw_vmci/vmci_queue_pair.c
ls: /usr/src/linux-topic-i2c-rk3x-clean-v4/drivers/misc/vmw_vmci/vmci_queue_pair.c: No such file or directory

root@slitaz:~# ls -l  /usr/src/linux-topic-i2c-rk3x-clean-v4/include/uapi/linux/pci_regs.h
ls: /usr/src/linux-topic-i2c-rk3x-clean-v4/include/uapi/linux/pci_regs.h: No such file or directory

root@slitaz:~# ls -l /usr/src/linux-topic-i2c-rk3x-clean-v4/security/selinux/netnode.c
ls: /usr/src/linux-topic-i2c-rk3x-clean-v4/security/selinux/netnode.c: No such file or directory

root@slitaz:~# ls -l /usr/src/linux-topic-i2c-rk3x-clean-v4/kernel/sched/Makefile
lrwxrwxrwx    1 root     root           905 May 26 16:59 /usr/src/linux-topic-i2c-rk3x-clean-v4/kernel/sched/Makefile -> ifdef CONFIG_FUNCTION_TRACER?CFLAGS_REMOVE_clock.o = -pg?endif??ifneq ($(CONFIG_SCHED_OMIT_FRAME_POINTER),y)?# According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is?# needed for x86 only.  Why this used to be enabled for all architectures is beyond?# me.  I suspect most platforms don't need this, but until we know that for sure?# I turn this off for IA-64 only.  Andreas Schwab says it's also needed on m68k?# to get a correct value for the wait-channel (WCHAN in ps). --davidm?CFLAGS_core.o := $(PROFILING) -fno-omit-frame-pointer?endif??obj-y += core.o proc.o clock.o cputime.o?obj-y += idle_task.o fair.o rt.o deadline.o stop_task.o?obj-y += wait.o completion.o idle.o?obj-$(CONFIG_SMP) += cpupri.o cpudeadline.o?obj-$(CONFIG_SCHED_AUTOGROUP) += auto_group.o?obj-$(CONFIG_SCHEDSTATS) += stats.o?obj-$(CONFIG_SCHED_DEBUG) += debug.o?obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o?

2014-05-14

Slitaz -- Radxa Rock



Welcome to Radxa Rock
SliTaz boot time: 5s

1.
root@slitaz:~# uname -a
Linux slitaz 3.10.30-slitaz #1 SMP PREEMPT Tue May 13 19:39:35 UTC 2014 armv7l GNU/Linux

2.
root@slitaz:~# dmesg | grep Machine
[ 0.000000] Machine: RK30board, model: rockchip,rk3188

3.
root@slitaz:~# date
Wed May 14 14:45:01 UTC 2014

4.
root@slitaz:~# nslookup http://www.slitaz.org
Server: 192.168.0.1
Address 1: 192.168.0.1 dir-605

Name: http://www.slitaz.org
Address 1: 46.105.127.17 ks385316.kimsufi.com
Address 2: 212.83.135.187 pangolin.slitaz-fr.org

5.
root@slitaz:~# slitaz

SliTaz GNU/Linux
================================================================================================================================================================
Release : cooking
Architecture : arm
Kernel : 3.10.30-slitaz
Boot options : clk_ignore_unused console=ttyFIQ0,115200 console=tty0 root=/dev/mmcblk0p2 rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x003E0000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot) bootver=2013-12-02#2.08 firmware_ver=4.2.2
Home path : /home/slitaz
Configs : /etc/slitaz
Log files : /var/log/slitaz
Packages DB : /var/lib/tazpkg
Installed : 18 packages
Mirror : http://arm.balinor.net/slitaz/armhf/packages/
================================================================================================================================================================
Config file: /etc/slitaz/slitaz.conf



2014-05-05

radxa -- parameter

parameter


----
parameter_android_only
----
FIRMWARE_VER:4.2.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0 console=tty0 androidboot.console=ttyFIQ0  root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00004000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),-@0x00382000(user)

----
parameter_dual_nand
----
FIRMWARE_VER:4.2.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw mac_addr=de:ad:de:ad:be:ef rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00010000@0x00010000(recovery),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),0x00300000@0x00382000(linuxroot),-@0x00682000(user)

----
parameter_dual_sd
----
FIRMWARE_VER:4.2.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/mmcblk0p1 rw mac_addr=de:ad:de:ad:be:ef rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00010000@0x00010000(recovery),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),0x00300000@0x00382000(linuxroot),-@0x00682000(user)


----
parameter_dual_usb
----
FIRMWARE_VER:4.2.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/sda rw mac_addr=de:ad:de:ad:be:ef rootfstype=ext4 init=/sbin/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00008000@0x00004000(kernel),0x00008000@0x00008000(boot),0x00010000@0x00010000(recovery),0x00040000@0x00040000(cache),0x00200000@0x00080000(userdata),0x00002000@0x00280000(kpanic),0x00100000@0x00282000(system),0x00300000@0x00382000(linuxroot),-@0x00682000(user)

----
parameter_linux_only
----
FIRMWARE_VER:4.2.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0,115200 console=tty0 root=/dev/block/mtd/by-name/linuxroot rw rootfstype=ext4 init=/sbin/init mac_addr=de:ad:de:ad:be:ef initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:0x00008000@0x00002000(boot),-@0x0000A000(linuxroot)


----
parameter_lsk-android-14.04
----
FIRMWARE_VER:4.4.2
MACHINE_MODEL:radxa_rock
MACHINE_ID:007
MANUFACTURER:RADXA
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:clk_ignore_unused console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x001A0000 mtdparts=rk29xxnand:0x00002000@0x00002000(misc),0x00006000@0x00004000(kernel),0x00006000@0x0000a000(boot),0x00010000@0x00010000(recovery),0x00020000@0x00020000(backup),0x00040000@0x00040000(cache),0x001FE000@0x00080000(userdata),0x00002000@0x0027E000(metadata),0x00002000@0x00280000(kpanic),0x00180000@0x00282000(system),-@0x00402000(user)

2014-05-04

radxa -- Msc / Loader mode

SwitchDevice: SD
Switch the Msc mode to Rockusb mode for upgrade.

1. Type "upgrade_tool" without Quotation Marks
if No found rockusb,Rescan press <R> R
or unplug OTG cable and try again

2. Msc mode
SwitchDevice: SD
Switch the Msc mode to Rockusb mode for upgrade.

When the switch is successful, need reselect the device.

3. # upgrade_tool
    List of rockusb connected
    No found rockusb,Rescan press <R>,Quit press <Q>:R
    No found rockusb,Rescan press <R>,Quit press <Q>:R
    List of rockusb connected
    DevNo=1    Vid=0x2207,Pid=0x10,LocationID=10b    Msc  <==
    Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
       
    ---------------------Tool Usage ---------------------
    Help:             H
    Quit:             Q
    Version:          V
    Clear Screen:     CS
    ------------------Upgrade Command ------------------
    ChooseDevice:        CD
    SwitchDevice:        SD
    UpgradeFirmware:    UF <Firmware>
    UpgradeLoader:        UL <Loader>
    DownloadImage:        DI <-p|-b|-k|-s|-r|-m image> [parameter file]
    DownloadBoot:        DB <Loader>
    EraseFlash:        EF <Loader|firmware>
    LowerFormat:        LF
    [..]

    Rockusb>SD
    Rockusb>CD
    Rockusb>LF
    Rockusb>RD
    Rockusb>Q
       
   
4. # upgrade_tool
    List of rockusb connected
    DevNo=1    Vid=0x2207,Pid=0x310b,LocationID=105    Loader    <==
    Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1
       
    ---------------------Tool Usage ---------------------
    Help:             H
    Quit:             Q
    Version:          V
    Clear Screen:     CS
    ------------------Upgrade Command ------------------
    ChooseDevice:        CD
    SwitchDevice:        SD
    UpgradeFirmware:    UF <Firmware>
    UpgradeLoader:        UL <Loader>
    DownloadImage:        DI <-p|-b|-k|-s|-r|-m image> [parameter file]
    DownloadBoot:        DB <Loader>
    EraseFlash:        EF <Loader|firmware>
    LowerFormat:        LF
    ----------------Professional Command -----------------
    TestDevice:    TD
    ResetDevice:    RD
    ReadFlashID:    RID
    ReadFlashInfo:    RFI
    ReadChipInfo:    RCI
    ReadSector:    RS <beginsec> <sectorlen> [-decode] [File]
    WriteSector:    WS <beginsec> <file>
    ReadLBA:    RL <beginsec> <sectorlen> [File]
    WriteLBA:    WL <beginsec> <file>
    EraseBlock:    EB <cs> <beginblock> <blokclen> [--Force]
    -------------------------------------------------------
       
    Rockusb>uf /tmp/radxa_rock_ubuntu_desktop_140318_update.img
    Loading firmware...
    Support Type:RK31    FW Ver:1.0.00    FW Time:2014-03-18 16:22:24
    Loader ver:2.08    Loader Time:2013-12-02 18:58:57
    Upgrade firmware ok.
    Rockusb>rfi
    Flash Info:
        Manufacturer: MICRON,value=04
        Flash Size: 8192MB
        Block Size: 2048KB
        Page Size: 8KB
        ECC Bits: 40
        Access Time: 32
        Flash CS: Flash<0>
    Rockusb>rci
    Chip Info: 42 30 31 33 32 31 30 32 30 33 31 31 30 30 31 56
    Rockusb>rid
    Flash ID:2C 64 44 4B A9
    Rockusb>v
    Upgrade Tool ver 1.15
    Rockusb>q

radxa -- Msc mode


Msc mode
The  Device did not support this operation!

Bus 002 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 010: ID 2207:0010 
root@slitaz:/run/media/tux/data-ln/radxa# upgrade_tool uf radxa_rock_ubuntu_desktop_140318_update.img
The  Device did not support this operation!

1.
root@slitaz:/run/media/tux/data-ln/radxa# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0b05:1786 ASUSTek Computer, Inc. USB-N10 802.11n Network Adapter [Realtek RTL8188SU]
Bus 002 Device 005: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 001 Device 010: ID 2207:0010 

2.
root@slitaz:/run/media/tux/data-ln/radxa# upgrade_tool
List of rockusb connected
DevNo=1    Vid=0x2207,Pid=0x10,LocationID=10a    Msc
Found 1 rockusb,Select input DevNo,Rescan press <R>,Quit press <Q>:1


3.
Store: Erase the data of the internal Flash memory for upgrade. 
Switch: Switch the Msc mode to Rockusb mode for upgrade. 
 
Please follow the below steps to upgrade firmware for the BK6007 ebook reader: 
1.  Connect the reader to computer and enter upgrade or USB mode. 
2.  Select the firmware file. 
3.  Make sure the reader is in Rockusb mode( Maskrom and Loader are both Rockusb mode.). 
4.  Click Upgrade button to upgrade the firmware 

Radxa Rock


Radxa Rock - rk3188

Specifications
Model radxa rock radxa rock lite
System
CPU ARM Cortex-A9 quad core @ 1.6Ghz
Memory 2GB DDR3 @ 800Mhz 1GB DDR3 @ 800Mhz
Storage 8GB Nand Flash, Micro-SD SDXC up to 128GB 4GB Nand Flash, Micro-SD SDXC up to 128GB
Display and Graphics
GPU Mali400-mp4@533Mhz, OpenGL ES 2.0
Digital Video HDMI 1.4 up to 1080p@60hz
Analog Video AV output
Network
LAN 10/100M Ethernet port
WIFI 150Mbps 802.11b/g/n with antenna
Bluetooth Bluetooth 4.0 None
I/O
Audio S/PDIF, headphone jack
USB HOST 2 USB 2.0 standard A type
USB OTG USB OTG micro-USB connector
Serial Serial Console for debugging
IR Support self defined IR remote
Key 1 power key, 1 recovery key, 1 reset key
Other
Led 3 programable leds
RTC Support power off alarm
Extend header 80 pins including GPIO, I2C, SPI, Line in, USB 2.0, PWM, ADC, LCD, etc

2014-05-01

slitaz-x86_64


slitaz-x86_64

root@slitaz:~# uname -a
Linux slitaz 3.2.53-slitaz #1 SMP Wed Jan 1 18:22:13 UTC 2014 x86_64 GNU/Linux

root@slitaz:~# dmesg | head -4
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.2.53-slitaz (root@slitaz) (gcc version 4.6.3 (SliTaz) ) #1 SMP Wed Jan 1 18:22:13 UTC 2014
[    0.000000] Command line: BOOT_IMAGE=/boot/bzImage initrd=/boot/rootfs.gz rw root=/dev/null autologin lang=en_US kmap=us

root@slitaz:~# spk info
Spk info ================================================================================
Architecture  : x86_64
Database      : /var/lib/tazpkg/installed
Cache info    : 0 /var/cache/tazpkg
Mirror URL    : http://192.168.1.42/slitaz/x86_64/packages/
Extra mirrors : 0
Installed     : 20
Mirror        : 121
================================================================================

root@slitaz:~# file /lib/libc-2.13.so
/lib/libc-2.13.so: ELF 64-bit LSB  shared object, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, stripped

root@slitaz:~# /lib/libc.so.6
GNU C Library stable release version 2.13, by Roland McGrath et al.
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.6.3.
Compiled on a Linux 3.2.14 system on 2013-12-28.
Available extensions:
    crypt add-on version 2.1 by Michael Glad and others
    GNU Libidn by Simon Josefsson
    Native POSIX Threads Library by Ulrich Drepper et al
    BIND-8.2.3-T5B
libc ABIs: UNIQUE IFUNC
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.

root@slitaz:~# cat /var/lib/tazpkg/installed.md5
89d7b86ca37af0c5746026fd937988fc  busybox-1.21.1-x86_64.tazpkg
15b6462db63b8210b004a828f9a50bd3  dialog-1.1-20110707-x86_64.tazpkg
4fd342a79636f9eaed67969a318f900b  dropbear-2013.60-x86_64.tazpkg
a9cde0c95f41ec586126756a7eb776ff  gcc-lib-base-4.6.3-x86_64.tazpkg
d125b9760c812f5ebbacd646f7dcb9e3  gettext-base-0.18.3-x86_64.tazpkg
9604ba1cdf90e7e4d51cbd323cd5196b  glibc-base-2.13-x86_64.tazpkg
0a93f5118332288a38daecb8ec56de1c  nano-2.2.6-x86_64.tazpkg
7bfa71e3c6c504205b00a1e0bd186866  ncurses-5.9-x86_64.tazpkg
ea531de27a5879627d60918c8547bcc1  ncurses-common-5.9-x86_64.tazpkg
4c2262ad1c2967f22fae48c676632881  ncursesw-5.9-x86_64.tazpkg
6a55e8bb0aa9c0c697bf04ecf4105ef5  retawq-0.2.6c-x86_64.tazpkg
d8581b25420a0354bd2ed5f08af162ef  slitaz-base-files-5.4.2-x86_64.tazpkg
e9ccbca78b4263d28ef1f16007c5a830  slitaz-boot-scripts-5.3.3-x86_64.tazpkg
864ba88bf6bff85a08b0f43ae0fca7cb  tazpkg-5.1-x86_64.tazpkg
838a2813c19c2d5e85953cf170f98884  ytree-1.97-x86_64.tazpkg
f1e53b247bb72fcdfd225c89f93a7e71  zlib-1.2.8-x86_64.tazpkg
9afd31e45388e5b36364458d53a682e3  util-linux-uuid-2.21.1-x86_64.tazpkg
2e2cd1a2e890b840e5cbc637e7ddd5a3  util-linux-blkid-2.21.1-x86_64.tazpkg
42a187ac1a9d649cb7e0521396ee9696  libmagic-5.14-x86_64.tazpkg
0cb1f6e932344f44249e3c12f2fb6a89  file-5.14-x86_64.tazpkg
root@slitaz:~#

Slitaz -- radxa-mali

GPU Mali400-mp4@533Mhz, OpenGL ES 2.0

1.
rock@slitaz:~$ lsmod
Module                      Size  Used by
mali_drm                    5196  1
drm                       142897  2 mali_drm
mali                      127376  0
ump                        27356  3 mali
8723au                    849716  0
rk30xxnand_ko             161856  0

2.
rock@slitaz:~$ modinfo mali
filename:           /lib/modules/3.0.36+/kernel/misc/mali.ko
version:            r3p2-01rel2
author:             ARM Ltd.
license:            GPL
srcversion:         2DCA5E55A6EDAA8348F84D8
depends:            ump
vermagic:           3.0.36+ SMP preempt mod_unload ARMv7
parm:               mali_debug_level:Higher number, more dmesg output (int)
parm:               mali_max_job_runtime:Maximum allowed job runtime in msecs.
Jobs will be killed after this no matter what (int)
parm:               mali_l2_max_reads:Maximum reads for Mali L2 cache (int)
parm:               mali_dedicated_mem_start:Physical start address of dedicated Mali GPU memory. (uint)
parm:               mali_dedicated_mem_size:Size of dedicated Mali GPU memory. (uint)
parm:               mali_shared_mem_size:Size of shared Mali GPU memory. (uint)
parm:               mali_boot_profiling:Start profiling as a part of Mali driver initialization (int)
parm:               mali_max_pp_cores_group_1:Limit the number of PP cores to use from first PP group. (int)
parm:               mali_max_pp_cores_group_2:Limit the number of PP cores to use from second PP group (Mali-450 only). (int)

3.
rock@slitaz:~$ es2gears
EGL_VERSION = 1.4 Linux-r3p2-01rel2
vertex shader info:
fragment shader info:
info:
1569 frames in 5.0 seconds = 313.800 FPS
1596 frames in 5.0 seconds = 319.072 FPS
1551 frames in 5.0 seconds = 310.200 FPS
1508 frames in 5.0 seconds = 301.419 FPS


4.
rock@slitaz:~$ glmark2-es2
=======================================================
        glmark2 2012.08
=======================================================
        OpenGL Information
        GL_VENDOR:         ARM
        GL_RENDERER:   Mali-400 MP
        GL_VERSION:        OpenGL ES 2.0
=======================================================
[build] use-vbo=false: FPS: 93 FrameTime: 10.753 ms
[build] use-vbo=true: FPS: 102 FrameTime: 9.804 ms
[texture] texture-filter=nearest: FPS: 108 FrameTime: 9.259 ms
[texture] texture-filter=linear: FPS: 102 FrameTime: 9.804 ms
[texture] texture-filter=mipmap: FPS: 102 FrameTime: 9.804 ms
[shading] shading=gouraud: FPS: 88 FrameTime: 11.364 ms
[shading] shading=blinn-phong-inf: FPS: 88 FrameTime: 11.364 ms
[shading] shading=phong: FPS: 65 FrameTime: 15.385 ms
[bump] bump-render=high-poly: FPS: 55 FrameTime: 18.182 ms
[bump] bump-render=normals: FPS: 109 FrameTime: 9.174 ms
[bump] bump-render=height: FPS: 101 FrameTime: 9.901 ms
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 57 FrameTime: 17.544 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 32 FrameTime: 31.250 ms
[pulsar] light=false:quads=5:texture=false: FPS: 123 FrameTime: 8.130 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 42 FrameTime: 23.810 ms
[desktop] effect=shadow:windows=4: FPS: 82 FrameTime: 12.195 ms
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 37 FrameTime: 27.027 ms
Error: Requested MapBuffer VBO update method but GL_OES_mapbuffer is not supported!
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: Unsupported
[ideas] speed=duration: FPS: 74 FrameTime: 13.514 ms
[jellyfish] <default>: FPS: 61 FrameTime: 16.393 ms
Error: SceneTerrain requires Vertex Texture Fetch support, but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0
[terrain] <default>: Unsupported
[conditionals] fragment-steps=0:vertex-steps=0: FPS: 114 FrameTime: 8.772 ms
[conditionals] fragment-steps=5:vertex-steps=0: FPS: 72 FrameTime: 13.889 ms
[conditionals] fragment-steps=0:vertex-steps=5: FPS: 107 FrameTime: 9.346 ms
[function] fragment-complexity=low:fragment-steps=5: FPS: 85 FrameTime: 11.765 ms
[function] fragment-complexity=medium:fragment-steps=5: FPS: 58 FrameTime: 17.241 ms
[loop] fragment-loop=false:fragment-steps=5:vertex-steps=5: FPS: 81 FrameTime: 12.346 ms
[loop] fragment-steps=5:fragment-uniform=false:vertex-steps=5: FPS: 84 FrameTime: 11.905 ms
[loop] fragment-steps=5:fragment-uniform=true:vertex-steps=5: FPS: 91 FrameTime: 10.989 ms
=======================================================
                                      glmark2 Score: 81
=======================================================
rock@slitaz:~$


5.
rock@slitaz:~$ es2_info
EGL_VERSION = 1.4 Linux-r3p2-01rel2
EGL_VENDOR = ARM
EGL_EXTENSIONS = EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_reusable_sync EGL_KHR_fence_sync EGL_KHR_lock_surface EGL_KHR_lock_surface2 EGL_EXT_create_context_robustness
EGL_CLIENT_APIS = OpenGL_ES
GL_VERSION: OpenGL ES 2.0
GL_RENDERER: Mali-400 MP

Slitaz -- radxa


Radxa Rock

    SOC Rockchip RK3188
    CPU ARM Cortex-A9 quad core @ 1.6Ghz

1.
rock@slitaz:~$ uname -a
Linux slitaz 3.0.36+ #1 SMP PREEMPT Thu Apr 3 20:41:51 UTC 2014 armv7l armv7l armv7l GNU/Linux

2.
rock@slitaz:~$ dmesg | head -5
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 3.0.36+ (root@slitaz) (gcc version 4.6.3 (SliTaz) ) #1 SMP PREEMPT Thu Apr 3 20:41:51 UTC 2014
[    0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=10c5387d
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: RK30board

3.
rock@slitaz:~$ lscpu
Architecture:          armv7l
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             4

4.
rock@radxa:~$ free -m
             total       used       free     shared    buffers     cached
Mem:          1852        160       1692          0         10         59
-/+ buffers/cache:         89       1763
Swap:            0          0          0

5.
rock@radxa:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/mtdblock1  7.4G  1.8G  5.3G  25% /
udev            924M   68K  924M   1% /dev
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            186M  212K  186M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            927M     0  927M   0% /run/shm
none            100M   12K  100M   1% /run/user
rock@radxa:~$