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