Archive

Posts Tagged ‘mips’

Ingenic JZ4780 SoC Features a Dual Core MIPS CPU and PowerVR SGX540 GPU

January 5th, 2013 3 comments

MIPS and Ingenic Semiconductor have just introduced the JZ4780, a low cost dual core MIPS XBurst processor with a PowerVR SGX540 GPU. The companies will demonstrate their solution in a 10″ Android 4.1 Jelly Bean reference tablet during CES 2013, on January 8 – 12, 2013.

Ingenic JZ4780 Tablet

JZ4780 SoC Highlights:

  • SoC – Dual XBurst core up to 1.5GHz CPU + PowerVR SGX540 GPU supporting 2D Graphics, 3D Graphic, OpenGL ES2.0 and ES1.0, OpenVG1.1
  • VPU – 1080P Decoder,1080p encoder
  • Memory Interfaces – 8-bit SLC/MLC/TLC NAND Flash, 64 bit ECC |16/32-bit DDR3/DDR2/DDR/Mobile DDR SDRAM
  • Peripherals – AC97/I2S/SPDIF, Audio Codec, LCD-IF, LVDS, HDMI, Camera-IF, Touch ADC,PCM, I2C, SPI,UART, SD/MMC/SDIO, USB Host, USB OTG 2.0, TS-IF, GPIO, OTP
  • Power Consumption – Ingenic’s MIPS-Based XBurst processor is said to consumes approximately 140mW per GHz under full load.
  • Package – BGA390 17 x 17 x 1.1 mm, 0.8mm pitch
  • Process – 40nm CMOS

Ingenic JZ4780 Block Diagram

Ingenic will also demonstrate a version of the tablet that includes Altair’s MIPS-Based FourGee chipset bringing LTE networking to the device.

JZ4780 SoC is available now. For more information, including JZ4780 Datasheet, and RD4780_PISCES development board hardware manual and schematics, visit Ingenic JZ4780 page.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

MIPS Releases Android 4.1.1 (Jelly Bean) Source Code

August 9th, 2012 2 comments

At the end of last month, MIPS announced the $125 Karbonn Mobiles Android Jelly Bean Tablet powered by Ingzenic MIPS-Based JZ4770 SoC.  Today, they released Android 4.1.1 source code for MIPS

Before downloading the Android source code, make sure you have a properly setup Linux workstation.

Here are the instructions to checkout MIPS Android 4.1.1:

mkdir mipsandroid
cd mipsandroid
repo init -u  git://github.com/MIPS/manifests.git -b dev-mips-jb -m mips-jb-4.1.1_r1.xml
repo sync

You can read the release notes for more details about the current status of the MIPS Android Jelly Bean port.

Myriad Dalvik turbo, an alternative Dalvik implement that is much faster than the default Dalvik engine (at least on MIPS), is not yet available for Android 4.1, but should be soon.

All MIPS Android source code can also be viewed online at http://www.github.com/mips.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Categories: Android Tags: Android, jelly bean, mips, open source

TP-Link WR703N – $23 Hackable openWRT Wi-Fi 802.11N Router

July 19th, 2012 17 comments

TP-Link WR703N is a tiny 802.11N 150 Mbps Wi-Fi router smaller than a credit card (5.7 x 5.7 cm) and 1.8 cm thick based on Atheros AR7240 processor with 4 MB flash and 32 MB RAM. It costs just above $20 US and can be hacked with openWRT. It features one USB host connector that allows you to connect USB devices (USB flash drive, printer…) to it.

Low cost openWRT router

TP-Link TL-WR703N

TL-WR703N Specifications:

  • Atheros AR7240 CPU @ 400Mhz (MIPS24k core)
  • Atheros AR9331 Chipset (integrated wireless)
  • 10/100 Mbit Ethernet port
  • 802.11 b/g/n 150Mbps
  • 3G support via external USB dongle
  • 4 MB flash memory
  • 32 MB RAM
  • USB 2.0 port
  • micro-USB port for power
  • Dimension – 5.7 x 5.7 x 1.8 cm

All you need is a USB to TLL board to access the serial console, open the box to access the serial pins (TP_IN and TP_OUT) and follow the instructions on openWRT website to convert it into a Linux router.

You can do all sort of things with this board such as an home automation system, a printer server (there may be limits to the document size due to the lack of memory), a sensors gateway and more. It is powered via USB and only consumes 0.5W on average.

The router is available for $23 including shipping on Dealextreme, Aliexpress and eBay, and comes with a power supply and a micro USB to USB cable. You can get further information on the device on TP-Link website (in Chinese).

Via DangerousPrototypes

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Categories: Hardware, Linux Tags: Linux, hack, mips, openwrt, router, tplink, wifi

ELLCC Multi-Target Cross Compiler Based on Clang and LLVM Compiler Infrastructure

July 16th, 2012 No comments

ELLCC is a project aiming at creating a multi-target cross compilation environment for embedded systems. which makes use of Clang and the LLVM compiler infrastructure. QEMU is used for cross-platform testing.

The project goals are to implement the following key features:

  • A functional C/C++ compiler based on Clang (ecc)
  • Multi-target support: ARM, i386, Microblaze, Mips, Nios2, PowerPC, PowerPC64, Sparc and X86_64
  • Multi-OS support: Linux, Standalone, …
  • A complete test environment that allows automatic unit and integration testing of the run-time environment and complete executables.
  • Support of a wide variety of target processors from armv4 to armv7, several mips cores, i386, and more.

The project is still being developed, and ELLCC is in a pre-release state.

ELLCC is composed of the following components:

  • ecc – The ELLCC C/C++ compiler,  a single executable with gcc compatible options.
  • binutils – The GNU binutils package.
  • libecc – The C standard library based on the musl standard C library and the LLVM project’s compiler-rt, using the BSD License.
  • GDB debugger.
  • QEMU emulator – To provide a test execution environment for multiple targets.

That seems like a massive undertaking (Also see target matrix), but let’s try with a simple hello world C program with i386, arm, mips and ppc architectures. I’ll use a build machine running Ubuntu 12.04.

Installing ELLCC

First install some dependencies, and get the code from the svn repository:

sudo apt-get install subversion texinfo build-essential
svn co http://ellcc.org/svn/ellcc/trunk ellcc

There’s a lot of code so it may take a while.

The build will fail is you use dash, so reconfigure your shell to bash

sudo dkpg-reconfigure dash

and select “No”

Then build and install ellcc:

cd ellcc
./configure
make
make install

Notice you don’t need sudo for make install, because it won’t install ecc in /usr/bin or /usr/local/bin, but just in the build directory in /bin and /lib directories.

Build Hello World for i386, ARM, MIPS and PPC

Now let’s write a highly sophisticated program in a file called hello.c:

#include <stdio.h>

int main () {
    printf("Hello World!\n");
    return 0;
}

Let’s build it for i386 (native build):

./bin/ecc hello.c -o hellox86
./hellox86
Hello World!

for ARM:

./bin/ecc -target arm-ellcc-linux hello.c -o helloarm
/home/jaufranc/edev/playground/ellcc/./bin/ecc-ld: error: Source object /home/jaufranc/edev/playground/ellcc/bin/../libecc/lib/arm/linux/crtend.o has EABI version 0, but target helloarm has EABI version 5
/home/jaufranc/edev/playground/ellcc/./bin/ecc-ld: failed to merge target specific data of file /home/jaufranc/edev/playground/ellcc/bin/../libecc/lib/arm/linux/crtend.o
ecc: error: linker command failed with exit code 1 (use -v to see invocation)

Oups, it failed. But let’s try with other targets.

for MIPS:

./bin/ecc -target mips-ellcc-linux hello.c -o hellomips
./bin/qemu-mips ./hellomips
Hello World!

and for PPC:

./bin/ecc -target ppc-ellcc-linux hello.c -o helloppc
./bin/qemu-ppc ./helloppc
Hello World!

Great! So it works for MIPS and PPC. For ARM, I’ve checked with the maintainer (Richard Pennington), and there have been a few build script changes this week-end, which may explain why it fails. The latest SVN version should work. If you try it, you can update Bug 65 whether it works or not.

configure script, make and ellcc

Now let’s try something a bit more complicated, using the usual ./configure, make, make install procedure. Let’s build dropbear for MIPS.

First download and uncompress the source code:

wget https://matt.ucc.asn.au/dropbear/releases/dropbear-2012.55.tar.bz2
tar xjvf dropbear-2012.55.tar.bz2

then configure the build to use ecc:

cd dropbear-2012.55
CC="/home/jaufranc/edev/playground/ellcc/bin/ecc -target mips-ellcc-linux" \
LD="/home/jaufranc/edev/playground/ellcc/bin/ecc-ld -target mips-ellcc-linux" \
RANLIB="/home/jaufranc/edev/playground/ellcc/bin/ecc-ranlib" \
AR="/home/jaufranc/edev/playground/ellcc/bin/ecc-ar" \
STRIP="/home/jaufranc/edev/playground/ellcc/bin/ecc-strip" \
./configure --target=mips-linux --host=mips-linux --disable-zlib

and run make to build dropbear. This good thing is that you’ve got the explicit warning messages from clang, but the bad thing is that the build does not complete:

./dbutil.h:73:36: note: passing argument to parameter 'cmd' here
void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);
^
svr-chansession.c:974:19: error: variable has incomplete type 'struct sigaction'
struct sigaction sa_chld;
^
svr-chansession.c:974:9: note: forward declaration of 'struct sigaction'
struct sigaction sa_chld;
^
svr-chansession.c:983:21: error: use of undeclared identifier 'SA_NOCLDSTOP'
sa_chld.sa_flags = SA_NOCLDSTOP;

I’ve tried with ecc native build (32-bit x86), and it works, so it’s possible some header files are missing or incomplete for mips target.

ELLCC is still being developed, and it might not be a good idea to use it on commercial projects at this stage, but it’s a very interesting tool, and I’ll certainly give another try to the release version. More information is available on ELLCC project page, and you could also follow ELLCC blog where Richard provides examples for ellcc (compilation, debugging…).

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

Ramos Miumiu W1 Android 4.0 Tablet Based on Actions ATM7019 MIPS SoC

July 10th, 2012 No comments

Ramos Miumiu W1 Tablet

Ramos Miumiu W1 is a tablet running Android 4.0 (ICS) and powered by Actions Semiconductor’s ATM7019 SoC that integrate a MIPS32 74Kf core running at 1 GHz. Actions Semiconductor is a Chinese fabless semiconductor company headquartered in Zhuhai (like AllWinner).

Here are the specs of the devices:

  • SoC – Actions Semiconductor ATM7019 MIPS32 74Kf Core @ 1GHz
  • System Memory – 512 MB DDR3 RAM
  • Storage – 4GB or 8GB Flash depending on model + microSD slot
  • Display – 7″ WSVGA (1024×600) capacitive touch screen.
  • Connectivity – Wifi 802.11b/g/n
  • USB – micro USB 2.0
  • Video Output – HDMI

The processor can support 1080p HD video playback and the tablet can record 640×480 video via the front camera.

Actions Semiconductor does not provide information about ATM7019 SoC on their website, but I found a 2011 presentation hosted on MIPS website that explains some details about MIPS32 74Kf based processors by Actions SemiConductor and includes the table below.

Actions ATM7019 Specifications

So there could be 2 versions / generations of Actions MIPS32 74Kf SoC (G1 and G2) with some interesting specifications.

Back to the tablet… Ramos miumiu W1 tablet should be available in Q3 2012 in emerging markets and sell for a soon-to-be-disclosed price. I also found out another Tablet based on ATM7019: CrownBrother A107L.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

iPPea TV Android 4.0.3 HDMI Stick Based on Ingenic JZ4770 (MIPS) Sells for 50 USD

July 10th, 2012 12 comments

iPPea Inc announced iPPea TV, an Android 4.0 dongle based on Ingenic JZ4770 MIPS SoC that “brings the ‘smart’ Android experience to any HDMI-enabled DTV for $50 US”. This is the first MIPS based Android mini PC that I’ve seem among all the ARM based floating around.

iPPea TV Android HDMI Stick

Here are iPPea TV specifications:

  • Ingenic JZ4770 applications processor (MIPS-Based XBurst CPU)  @ 1.2 GHz.
  • 2GB storage with support for up to 32 GB external storage via a microSD slot.
  • 512 MB of DDR2 RAM
  • HDMI ouput (up to 1080p)
  • 802.11b/g/n Wifi
  • USB 2.0 port and micro USB 2.0 OTG port
  • Video format – AVI,MKV(XVID/px/H.264),MOV,TS,M2TS, RM/RMVB,FLV,3GP,MPEG,DAT,MP4
  • Audio format – AAC, AAC+, eAAC+, AMR-NB, AMR-WB, QCP, MP3, WMA, WAV, MIDI, M4A
  • Picture format -  GIF, BMP, JPEG, PNG
  • Ebook format: PDF,EPUB,HTML,TXT
  • Dimensions – PCB: 80 mm x 20mm x 6.5 mm | mini PC: As small as 95.5 mm x 31.5 mm x 12 mm.
  • iPPea TV Dongle is said to draw only 350mA. .
  • Android 4.0.3

The device also support 1080p video decoding. You can see the board PCBA in the video below, and watch it in action.

The company claims it will offer OTA upgrade to the device, but I suppose like many other mini PCs (excluding AllWinner A10) you’ll only be able to run Android on it. Oh Wait… They have a developer kit page… oh well, it’s an empty forum for now.. But if you browse further you’ll also see forum sections for programming, and an “operating systems” section with Debian, Android and Linux kernel sub-forums, as well as a “projects” sections. All are empty for now, but there may be some potential here. If Linux is going to run on iPPea TV, the easiest is to use a distribution that supports MIPS, which is probably why they plan support for Debian, but not Ubuntu.

If you wonder about the performance, it’s using the same SoC as Ainol Novo 7 tablet which appears equivalent to AllWinner a10 tablets on several benchmarks (e.g. Antutu: 2816 to 3000).

iPPea TV can be pre-ordered on iPPea eStore for $50 + $15 shipping (worldwide) and is expected to ship by the end of July. The package also includes a USB power cable and a micro USB to USB cable. They also have optional accessories such as a  3D + gyro wireless key mouse ($22), a USB RJ45 LAN adaptor ($12), an HDMI extension cable ($8) and a 360 degree HDMI connector ($8).

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter

$3.45 Microchip PIC32 Development Platform Microstick II

May 24th, 2012 2 comments

MIPS and Microchip organize a promotion on a MIPS PIC32 MCU development Kit. The Microstick II delivers a development hardware platform for Microchips MIPS-based 32-bit microcontrollers. It’s USB-powered and includes an on-board debugger/programmer, a DUT socket for easy device swapping, a user LED and reset button.

Microstick II

Microstick II Development Kit

Key features:

  • Integrated USB programmer / debugger – No external debugger required
  • USB Powered – Ease of use, No external power required
  • MPLAB support.
  • DUT Socket – Flexible, Easy device replacement
  • 0.025” Pin headers – Enables plug-in to Breadboard with room for jumper wires
  • Easy access to all device signals for probing
  • Small size – Smaller than a stick of gum at 20 x76mm – Easily Portable
  • On board User LED and Reset Switch
  • Free demo code

Microstick II supports all 3.3V PIC24FJ, PIC24H, dsPIC33, and PIC32 SPDIP packaged devices which are included in the kit.

Microkit II normally costs 34.95 USD, but is offered for 3.49 USD to the first 100 developers who register. Shipping is not included.

If you are interested follow the instructions on MIPS Devkits Promotion page.

For further details on the Kit, visit Microstick II page.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter