Tuesday, December 16, 2014

Asus P4 533a

Asus P4SC-EA is used in the Asus barebones Terminator/T2 P4 533A. The drivers are:
  • LAN/Network for Windows XP/7
SiS Integrated Lan Drivers
  • VGA/Graphics for Windows XP/7
SiS650/651/740 Display Driver
SiS AGP WHQL Drivers
  • Audio/Sound for Windows XP/7
AD1980 SoundMAX Audio Driver V5.12.3533 WHQL

Oh, my desktop is back.

Tuesday, November 18, 2014

Juno ARM Development Platform

Juno

CPU: ARM® Cortex®-A57 and Cortex-A53 MPCore for ARMv8 big.LITTLE™


  • 2x ARM Cortex A57 cores @ 1.1 GHz (2MB L2 cache) 
  • 4x ARM Cortex A53 cores @ 850 MHz (1MB L2 cache)

GPU: Mali™-T624 for 3D Graphics Acceleration and GP-GPU compute (@ 600 MHz)
        
System Control Processor (SCP): ARMv7-M

Software SDK

LDK
Android

Sunday, November 16, 2014

Mentor Embedded Linux Kit for PandaBoard

http://www.mentor.com/embedded-software/downloads/linux-kits/

  • Mentor Embedded Linux Lite, a pre-built Yocto-based distribution, including libraries and headers
  • A Linux Board Support Package (BSP) for your reference board 
  • A pre-built filesystem for the target Sourcery CodeBench Lite for application development 
  • Installation / Application Development Guide

Ref:

Saturday, November 15, 2014

ARM Cortex-M

ARM Corex-M3

SoC


Toolchain

Sourcery CodeBench Lite releases for ARM EABI, ARM GNU/Linux, ARM AARCH64-Linux, IA32/IA64 GNU/Linux and ELF are no longer available. :(

Thanks to http://www.carlson-minot.com/ (For Mac OS X User)

Boot Code




Book

Assembly Language Programming: ARM Cortex-M3 (PDF)


Vincent Mahout


Wiley-ISTE
ISBN: 978-1-84821-329-6

February 2012
256 pages

Monday, October 6, 2014

Wednesday, October 1, 2014

HOWTO mount an airport extreme attached disk


[ ]# sudo mount.cifs //IP_ADDRESS/Data -o password=PASSWORD,sec=ntlm,uid=LOCAL_USERNAME /media/airport

[ ]# sudo mount -t cifs //10.0.1.1/DATA -o username=USERNAME,password=PASSWORD /media/airport

Friday, August 29, 2014

[Book] Beginning Google Glass Development


Beginning Google Glass Development (PDF)
Jeff Tang

368 Pages

Publication Date: June 24, 2014

ISBN13: 978-1-4302-6788-1




Tuesday, August 26, 2014

AHRS - Attitude and Heading Reference System

Attitude and heading reference system (AHRS) consists of sensors on three axes that provide attitude information for aircraft, including heading, pitch and yaw.

AHRS consist of either solid-state or microelectromechanical systems (MEMS) gyroscopes, accelerometers and magnetometers on all three axes.

The key difference between an inertial measurement unit (IMU) and an AHRS is the addition of an on-board processing system in an AHRS which provides solved attitude and heading solutions versus an IMU which just delivers sensor data to an additional device that solves the attitude solution.

Monday, August 25, 2014

Robotino

Robotino is a mobile robot system from Festo Didactic. Robotino provides all the sensors, actuators and software interfaces you would expect from a modern state of the art mobile robot system. Even better, Robotino is a 100% open-source robot. SVN

Robotino is support for the Robot Operating System (ROS).

Robotino is programmable in various languages including C, C++, Java, .Net, Matlab, LabVIEW and Microsoft Robotics Developer Studio.

Friday, August 22, 2014

Autonomous Aerial Robot

PIXHAWK

The project is developing robotics framework for micro air vehicles.

Saturday, July 26, 2014

How to disable start up sound in MacBook Air

It has puzzled me for a long time, especially at midnight.

$ sudo nvram --help
nvram: (usage: no such option as --)
nvram [-x] [-p] [-f filename] [-d name] [-c] name[=value] ...
-x                       use XML format for printing or reading variables
                          (must appear before -p or -f)
-p                       print all firmware variables
-f                        set firmware variables from a text file
-d                       delete the named variable
-c                       delete all variables
name=value      set named variable
name                 print variable
Note that arguments and options are executed in order.

$ sudo nvram SystemAudioVolume=%80
$ sudo nvram -p | grep SystemAudioVolume

SystemAudioVolume %80

Wednesday, June 4, 2014

HOWTO Install Codescape Debugger for MIPS on Fedora

The procedure is actually quite simple, but one patch is needed for the license manager.

1. Install Codescape
[ ]# chmod +x Codescape-Debugger-8.0.2.2.CentOS-5.x86.py
[ ]# ./Codescape-Debugger-8.0.2.2.CentOS-5.x86.py

2. Create the LSB linker/loader shared library for the License Manager
[ ]# sudo ln -s /lib/ld-linux.so.2 /lib/ld-lsb.so.3

The License Manager may fail when LSB 3 is not met
Starting the license manager issues the error:
   bash: /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory

3. Register
[ ]# /opt/imgtec/Codescape-Debugger-8.0/Codescape-Debugger-Registration

4. That's it. We are done.

Without step 2, the registration failed with the following Error. 


The license manager will call following command to get the "Host ID".
[ ]# /opt/imgtec/Codescape-Debugger-8.0/get_img_host_id

Thursday, May 22, 2014

MIPS 2014 Reading List

MIPS Instruction Set Quick Reference
MIPS32 Instruction Set Quick Reference v1.01

MIPS32 Architecture for Programmers
Volume I: Introduction to the MIPS32 Architecture v5.03 (v5.04)
Volume II: The MIPS32 Instruction Set v5.03 (v5.04)
Volume III: The MIPS32 and microMIPS32 Privileged Resource Architecture v5.03 (v6.00)

Thursday, May 15, 2014

Exynos 5420 Arndale Octa Board


Copy from http://www.pyrustek.com

7 inch LCD Panel with Touch and LVDS interface

MIPI-DSI 4 Lane and eDP interface
7 Inch TFT LCD, Resolution 1024 * 600
Capacitive Touchscreen


Hardware: TC358764/5 Display Bridge (MIPI-DSI to LVDS)

Software:

Friday, May 9, 2014

SABRE Lite I.MX6 Development Board

Development Board

LCD8000-97C:9.7" LCD Module

Monday, April 28, 2014

Cortex A15 Development Kit

TI
OMAP5432 EVM

Samsung
Exynos 5250 Arndale Board
Exynos 5420 Arndale Octa Board
   http://www.arndaleboard.org/wiki/index.php/O_WiKi

Exynos5 Octa ODROID-XU+E
   http://odroid.com/dokuwiki

Friday, April 25, 2014

MIPS Qemu

Install Qemu
[ ]$ wget http://wiki.qemu-project.org/download/qemu-2.0.0.tar.bz2
[ ]$ tar jxvf qemu-2.0.0.tar.bz2
[ ]$ cd qemu-2.0.0

Compile Qemu
[ ]$ ./configure --target-list=mipsel-softmmu
[ ]$ make
[ ]$ sudo make install

Compile U-boot
[ ]$ CROSS_COMPILE=mips-linux-gnu- make -C u-boot-2014.01 qemu_mipsel

Run Qemu/U-boot
[ ]$ dd of=flash bs=1k count=4k if=/dev/zero
[ ]$ dd of=flash bs=1k conv=notrunc if=u-boot.bin

[ ]$ qemu-system-mipsel -M mips -m 128 -pflash flash -monitor null -nographic

U-Boot 2014.01 (Apr 24 2014 - 10:20:11)

Board: Qemu -M mips CPU: 24Kf proc_id=0x19300
DRAM:  128 MiB
Flash: 4 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   NE2000
Hit any key to stop autoboot:  0

qemu-mipsel # version

U-Boot 2014.01 (Apr 24 2014 - 10:20:11)
mips-linux-gnu-gcc (Sourcery CodeBench Lite 2013.11-36) 4.8.1
GNU ld (Sourcery CodeBench Lite 2013.11-36) 2.23.52.20130912

qemu-mipsel #

Saturday, April 19, 2014

Development Environment on Mac OS X

Compiler
XCode

xcode_3.2.6_and_ios_sdk_4.3
command_line_tools_for_osx_mavericks_april_2014

X Window System
XQuartz
A version of the X.Org X Window System that runs on OS X.

The XQuartz project is an open-source effort to develop a version of the X.Org X Window System that runs on OS X. Together with supporting libraries and applications, it forms the X11.app that Apple has shipped with OS X since version 10.5.


1. brew
2. MacPorts

Thursday, April 17, 2014

Cryptographic: Digital Signature Algorithms

RSA 2048 Private key and Public Key Pair Generation
Example 1:
$ openssl genrsa -out privkey.pem 2048
$ openssl rsa -pubout -in privkey.pem -out pubkey.pem

Example 2:
# Generate aes256 encrypted private key
$ openssl genrsa -aes256 -out privkey.pem 2048

# Generate public key from previously created private key.
$ openssl rsa -pubout -in privkey.pem -out pubkey.pem

Elliptic Curve DSA
# Generating params file
$ openssl ecparam -name prime256v1 -out ecparams.pem

# Generate a private key from params file
$ openssl ecparam -in ecparams.pem -genkey -noout -out ecprivkey.pem

# Generate a public key from private key
$ openssl ec -in ecprivkey.pem -pubout -out ecpubkey.pem


Ref:
Crypto Key Length Recommendation

Thursday, April 10, 2014

CodeBench ARM Cross-Compiler on Mac OS X

1. Install MacTex
    http://mirror.ctan.org/systems/mac/mactex/MacTeX.pkg
2. Install GNU sed, awk
    $ brew install sed
    $ brew install gawk
3. Install gettext
    http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.2.tar.gz
 
    $ cd gettext-0.18.3.2
    $ ./configure
    $ make
    $ sudo make install

4. CodeBench Lite
    https://sourcery.mentor.com/GNUToolchain/release2642
5. Build
    patch -
    script -

No kidding, I take one day to compile the ARM toolchain.

Wednesday, April 9, 2014

Hitachi OPV5XC SoC

http://www.hitachi.com/products/it/network/soc/

Saturday, April 5, 2014

TV Player

Apple TV
Google TV
Amazon Fire TV (New)

Saturday, March 15, 2014

Yocto

Yocto is becoming more and more popular recently. What is it actually and what is the difference with "buildroot" project?



Ref:
http://elinux.org/images/9/9e/Buildroot2.pdf (Page 5)


Book:
Embedded Linux Systems with the Yocto Project



Yocto for Embedded Linux Development Primer
Otavio Salvador, Daiane Angolini

121 pages

Publisher: Packt Publishing (April 6, 2014)
ISBN-10: 1783282339
ISBN-13: 978-1783282333

Monday, March 3, 2014

[Book] Git: Version Control for Everyone


Git: Version Control for Everyone (PDF)
Ravishankar Somasundaram

180 pages

Publisher: Packt Publishing (January 2013)

ISBN : 1849517525
ISBN 13 : 9781849517522




Reference:
Git

Sunday, March 2, 2014

[Book] Practical Reverse Engineering


Practical Reverse Engineering: x86, x64, ARM, Windows Kernel, Reversing Tools, and Obfuscation
Bruce Dang, Alexandre Gazet, Elias Bachaalany, Sébastien Josse

384 pages
Publisher: Wiley (February 2014)

ISBN: 978-1-118-78731-1

Sunday, February 23, 2014

[Book] Network Analysis using Wireshark Cookbook


Network Analysis Using Wireshark Cookbook (PDF)
Yoram Orzach

452 pages
Publisher: Packt Publishing (December 24, 2013)

ISBN-10: 1849517649
ISBN-13: 978-1849517645





Over 80 recipes to analyze and troubleshoot network problems using Wireshark.

Friday, February 21, 2014

GRUB

How to boot Windows from the GRUB prompt?

grub> root (hd0,0)
grub> makeactive
grub> chainloader +1
grub> boot

[Book] C Pointer

Pointers in C: A Hands on Approach (PDF)
Naveen Toppo and Hrishikesh Dewan

168 pages
Publisher: Apress (Dec 19, 2013)

Print ISBN-10: 1-4302-5911-6
Print ISBN-13: 978-1-4302-5911-4







Understanding and Using C Pointers (PDF)
Richard Reese

226 pages
Publisher: O'Reilly Media, Inc. (May 15, 2013)

Print ISBN-13: 978-1-4493-4418-4

Arduino


Arduino is an open-source electronics prototype platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists and anyone interested in creating interactive objects or environments.

Arduino Robot

Thursday, February 20, 2014

[Book] Linux Kernel Networking Implementation and Theory

Linux Kernel Networking
Implementation and Theory













Notes about the book





  • Netlink Sockets

  • The netlink protocol is a socket-based IPC mechanism, that provides a bidirectional communication channel between user-space and the kernel or among some parts of the kernel itself.

    Example: 
    [1] Uses libnl library for socket operations
    Who can give me the latest netlink programming samples?

    [2] Uses libmnl library for socket operations

    [3] Uses standard socket functions (defined by sys/socket.h)
    How to use netlink socket to communicate with a kernel module?






  • Routing
  • Thursday, February 6, 2014

    [Book] Professional Embedded ARM Development


    Professional Embedded ARM Development (PDF)

    James A. Langbridge

    Published: December 2013 by Wiley
    ISBN: 978-1-118-78894-3

    Content: 285 pages




    This is a beginning-level book.

    Friday, January 31, 2014

    [Book] Improving the Performance of Wireless LANs: A Practical Guide


    Improving the Performance of Wireless LANs: A Practical Guide


    Author(s):Nurul Sarkar
    Published: January 8, 2014 by Chapman and Hall/CRC
    Content:464 Pages

    Monday, January 27, 2014

    [Book] Multicore

    Smart Multicore Embedded Systems (PDF)


    Massimo Torquati, Koen Bertels, Sven Karlsson


    214 pages

    Publisher: Springer; 2014 edition (November 26, 2013)
    ISBN-10: 1461487994
    ISBN-13: 978-1461487999




    How to get more performance on multi-core system?



  • From hardware point of view



  • From software point of view   

  • Multi-thread program

    Multicore Computing: Algorithms, Architectures, and Applications


    Editor(s):Sanguthevar Rajasekaran, Lance Fiondella, Mohamed Ahmed, Reda A. Ammar


    452 Pages

    Published: December 12, 2013 by Chapman and Hall/CRC

    [Book] Next Generation Wireless LANs: 802.11n and 802.11ac


    Next Generation Wireless LANs: 802.11n and 802.11ac (2 edition) (PDF)
    Eldad Perahia, Robert Stacey

    480 pages
    Publisher: Cambridge University Press; 2 edition (June 24, 2013)

    ISBN-10: 1107016762
    ISBN-13: 978-1107016767

    Next Generation Wireless LANs: Throughput, Robustness, and Reliability in 802.11n (PDF)
    Eldad Perahia, Robert Stacey

    416 pages
    Publisher: Cambridge University Press; 1 edition (September 22, 2008)

    ISBN-10: 0521885841
    ISBN-13: 978-0521885843



    Reference:
    802.11ac: A Survival Guide
    802.11n: A Survival Guide

    Monday, January 20, 2014

    [Book] Git


    Git Recipes: A Problem-Solution Approach (PDF)
    Włodzimierz Gajda

    Pages: 420
    Publisher: Apress Pub. (December 02, 2013)

    Print ISBN-10: 1-4302-6103-X
    Print ISBN-13: 978-1-4302-6103-2




    Git
    Pro Git (中文版)

    SVN
    Subversion Quick Guide

    Git-SVN

    How to backup SVN repository by using Git?
    [ ]# git svn clone http://IP/svn/trunk git_svn_trunk
    [ ]# cd git_svn_trunk
    [ ]# git gc