I look forward if you would subscribe to my rss feed: button_rss20 



On the gem5 mailing list are often quesitons regarding bare metal usage with full system simulation. 

This git repository shows a simple example for an ARM Bare-Metal implementation with gem5. It can be used as a starting point for bare metal projects with this simulator. 

I hope that this code helps people starting with bare metal.



There is no citation widget of Google Scholar available, which can be used on custom websites. I wrote a small php script that parses the Google Scholar website and filters out the citation table and diagram.

The script needs your Google Scholar ID, which can be found in the url:

http://scholar.google.de/citations?user=qcZEIOkAAAAJ&hl=en

The ID (qcZEIOkAAAAJ) and the language must be passed to the script like this:

citations.php?id=qcZEIOkAAAAJ&lang=en
The script can be downloaded here.


At my last trip to San Francisco, I forgot to change the timezone of my DSLR camera. It's easy to fix with the tool Jhead:

jhead -ta-9:00 *.JPG && jhead -ft *.JPG

-ta changes timezone and -ft applies the EXIF date to the file itself.



After a long research I realised that csync (www.csync.org) is the best way to keep my files in sync!
Csync supports sftp and smb and there is a special owncloud version that supprots webdav as well.

Under linux it is very easy to compile it. However on Mac it is a little bit more complicated:

Befor you start you should install Macports.

If you have Macports installed:

sudo port install git-core sqlite log4c

Create a directory csync and do the following:

mkdir csync
cd csync
git clone git://git.csync.org/projects/csync.git master
git clone http://github.com/ndevilla/iniparser.git
mkdir csyncbuild

Modify the Makefile of iniparser:

  • Remove: -Bsymbolic -Wl,
  • Replace: -soname= with -install_name,

Now type make in the iniparser folder!

in the file csync_propagate.c somewhere in the master folder add:

#define O_NOATIME 01000000

add following line to: CMakeLists.txt in the master folder

include_directories (/opt/local/include/)

finally run folowing command in the buildcsync folder:

cmake -DCMAKE_BUILD_TYPE="Debug" -DLOG_TO_CALLBACK=ON -DWITH_LOG4C=OFF -DLIBSSH_INCLUDE_DIRS=/opt/local/include/libssh/ -DINIPARSER_LIBRARIES=../libiniparser/iniparser/libiniparser.a -DINIPARSER_INCLUDE_DIRS=../libiniparser/iniparser/src/ ../master/

Now, type make

The csync binary is created in the client folder!

Have Fun!



testbild

Man benötigt ein Raspberry Pi und eine kleine SD-Karte (2Gb oder so wären eine Verschwendung :) Dann besorgt man sich von http://www.dex-os.com/DexBasic/DexBasic.htm das DexBasic Paket. Damit kann man sehr einfach das Raspberry Pi ohne Linux Betriebssystem in einer Assemblersprache programmieren. Um ein Bild Anzuzeigen sind nur ein paar Befehle nötig. Die Bootdauer liegt bei ca 3 Sekunden! Es bietet sich an das RPI direkt in den Sender einzubauen! Nach dem Download schaut euch Lesson1/Tut1 an und tauscht einfach das Bitmap aus und entfertnt ggf. die print Kommandos.