MIPS64

Tunes and whistles about MIPS64-based LoongSon2F CPUs and hardware

Tuesday, June 9, 2009

Microemulator and Opera Mini


Using the latest OpenJDK with Microemulator and Opera Mini proves, that internet browsing is possible. 

"Yes", "No" keys are accomplished by F1, F2

Classpath + JamVM chain has been tested too. But isn't advisable.

Monday, June 8, 2009

Phoronix Audio-, and Video-benchmarks for Yeeloong

encode-mp3 v1.3.0 (Processor)

System Software

OS: Linux, Kernel: 2.6.27.1 (mips64), Desktop: GNOME 2.22.3, Display Server: X.Org Server 1.4.2, OpenGL: N/A, Compiler: GCC 4.2.4, File-System: ext3, Screen Resolution: Unknown

Additional Details
Administrator:loongson
Date:May 8, 2009 03:42 PM (UTC)
PTS Version:1.8.1
Test Notes:
The CPU was in a power-savings mode

Test Results
LAME MP3 Encoding3.98.2
WAV To MP3

AudioTest:491.07


mencoder v1.2.0 (Processor)

Test Results
Mencoder1.0-rc2
AVI To LAVC
VideoTest:735.31

Sunday, June 7, 2009

BSD-kernel for MIPS

Ola-la. Trying to figure out what's wrong.


Wednesday, June 3, 2009

Why my Yeeloong has disappeared from network?

Doing remote things lately with Yeeloong, I was puzzled why it lost SSH link. Looking at a router side, it gave me exact time when it all happened:

Jun 3 07:56:08 m-gw kernel: rl1: link state changed to UP
Jun 3 09:56:57 m-gw kernel: rl1: link state changed to DOWN


This is funny, I simply forgot to plug power cord. 2 hours non-stop on batteries :-)

Tuesday, June 2, 2009

Arora ... now even faster with QT4.5 and latest WebKit

Compiling Arora 0.7 against QT4.5 gives the following, better results:

ACID3, passed almost. You do remember previous result, don't you?







Sunspider test - almost 10x faster, comparing to the same result with QT4.4

And pentestmonkey JS-test

MD5 Benchmark took 3.927 seconds for 3000 hashes (764 hashes/second)
MD4 Benchmark took 2.786 seconds for 2700 hashes (969 hashes/second)
SHA1 Benchmark took 3.243 seconds for 1900 hashes (586 hashes/second)

Wonderful!

P.S. Thanks for a QT4.5/WebKit hint to Benjamin Meyer.








Monday, June 1, 2009

iPod touch (generation 2) and copying files via USB-cable under Linux

Those of you, who do own latest hardware from Apple (iPhone and iPod touch) could notice, that the only way to synchronize, or transfer music is to use iTunes. Which is only provided for Windows and Mac operating systems. This is, no doubt, very uncomfortable, that's why I've made a jail-break in order to install SSH daemon.

The other tricky thing is how to copy files when there's no WiFi spots near you? I would recommend to install iTunnel [1] onto Yeeloong and use scp.

In order to install iTunnel, you'll need to compile libiphone and libplist libraries from sources found at page [2]. 

I've installed libiphone into /usr/local/libiphone-0.9.1 and added the following line into /etc/ld.so.conf.d/libc.conf:

/usr/local/libiphone-0.9.1/lib

Then, it is required to update dynamic libraries' list:

# ldconfig

After that, make sure, that LDFLAGS line in Makefile from itunnel sources looks like that:

LDFLAGS := -L/usr/local/lib -L/usr/local/libiphone-0.9.1/lib -lpthread -lusb -lrt -liphone

$ make 

And here is it, itunnel program which will help you to communicate with iPod touch or iPhone!

Next step, is to setup a connection at a localhost with port number 12022:

loongson@debian:~/src/itunnel/itunnel-0.0.5$ ./itunnel 12022
get_iPhone() success
- successfully got device
server waiting for ssh connection
server accepted connection, clientfd:5
client thread fd(5) running, server port 12022 , peer port 37565
tunnel now running.
SSH to localhost port 12022 to get to iPhone.
 (use ssh -D to create SOCKS tunnel.)
do Ctrl+C to quit the server (can take a few seconds).
client is still waiting for handshake.


You do plug in your iPod, so you can see the following lines:

yes, got syn+ack ; replying with ack.

Voila. You can login now:

loongson@debian:~$ ssh -l mobile 127.0.0.1 -p 12022 -C
mobile@127.0.0.1's password:

localhost:~ mobile$ uname -a
Darwin localhost 9.4.1 Darwin Kernel Version 9.4.1: Mon Dec 8 21:02:57 PST 2008; root:xnu-1228.7.37~4/RELEASE_ARM_S5L8720X iPod2,1 arm N72AP Darwin

localhost:~ mobile$ uptime
 12:40am up 1 day 1:24, 1 user, load average: 0.05, 0.03, 0.03

localhost:~ mobile$ scp anton@192.168.210.1:/home/anton/Music/ZZ-Top/* .
anton@192.168.210.1's password: 
ZZTGH92.part1.rar 100% 77MB 309.0KB/s 04:16  
ZZTGH92.part2.rar 100% 73MB 320.4KB/s 03:54

P.S. Only one simultaneous connection to iPod is currently supported. 

[1] http://www.cs.toronto.edu/~jingsu/itunnel/

[2] http://matt.colyer.name/projects/iphone-linux/index.php?title=Main_Page

Sunday, May 31, 2009

V8 engine on MIPS platform

We're almost there:

loongson@debian:~/chrome-current/chromium/src/v8$ ls -la
total 4036
drwxr-xr-x 10 loongson loongson 4096 May 27 16:14 .
drwxr-x--- 29 loongson loongson 4096 May 27 17:31 ..
-rw-r--r-- 1 loongson loongson 123634 May 27 16:14 .sconsign.dblite
drwxr-xr-x 6 loongson loongson 4096 May 27 06:56 .svn
-rw-r--r-- 1 loongson loongson 520 May 27 06:56 AUTHORS
-rw-r--r-- 1 loongson loongson 30145 May 27 06:56 ChangeLog
-rw-r--r-- 1 loongson loongson 2623 May 27 06:56 LICENSE
-rw-r--r-- 1 loongson loongson 27105 May 27 15:32 SConstruct
drwxr-xr-x 3 loongson loongson 4096 May 27 06:56 benchmarks
drwxr-xr-x 3 loongson loongson 4096 May 27 06:55 include
-rw-r--r-- 1 loongson loongson 3879810 May 27 16:14 libv8.a
drwxr-xr-x 3 loongson loongson 4096 May 27 13:41 obj
drwxr-xr-x 3 loongson loongson 4096 May 27 06:55 samples
drwxr-xr-x 8 loongson loongson 8192 May 27 16:09 src
drwxr-xr-x 7 loongson loongson 4096 May 27 06:55 test
drwxr-xr-x 6 loongson loongson 4096 May 27 13:41 tools


Blog Archive