Trivial Do/While Loop

A trivial do/while loop is an useful technique in C programming to make a multi-statement macro. Consider the following multi-statement C preprocessor macro and if-statement with two branches: #define aemb(x) { do_this(x); do_that(); } if (x > y) aemb(x); // Branch 1 else aemb(y); // Branch 2 Compiling these codes Read more…

Introduction to uClinux

As mentioned in the previous post, I’ve decided to work on μClinux kernel porting as my project in AESTE. I will briefly introduce it in this post. μClinux (Micro-Controller Linux) is a linux kernel targeted for embedded devices without memory management unit. μClinux was first implemented in DragonBall integrated microprocessor, Motorola Read more…

Z: 99 Red Balloons

Some people observe that life is an uphill journey and all that matters is The Climb. I believe no such simple analogy for my career here at Aeste. You may remember that my task is to port the AEMB to QEMU and that I have successfully replicated an existing architecture Read more…

Malformed XML and Tarballs.

Week 2 Day 1: So, the project decided. Its porting LLVM compiler into AEMB. Time to get the code. Should get svn version or release version? First, lets try the svn version. The error said: svn: Malformed XML: not well-formed (invalid token) Eh? What now? This must not be the Read more…

Shaiful: First week at AESTE.

Hello and good day, As part of task as an intern at Aeste, I was asked by my supervisor to regularly write blog about the task and the experience here. So, this is it. Ahmad Shaiful Amiruddin bin Taher, born in Marang, Terengganu. Final year student, BE(Hons) candidate from Faculty Read more…

Z: AEMB QEMU

Here I am, on the third day of my internship at AESTE, typing away my thoughts and recollections from the past half-week. In the background, the whirring of the air-conditioning and fan accompanies Jason Mraz and James Morrison as they prescribe that everything will be fine (if it’s broken code Read more…

FreeRTOS Preemptive Kernel

This post presents the sixth and the last phase of porting FreeRTOS for AEMB processor. In the previous post, both interrupt and interrupt handling were implemented to serve the mechanism of the preemptive kernel. Although, things seemed fine and set, yet the kernel failed to work when FreeRTOS tasks were Read more…

FreeRTOS Tick and Tick Handling

This post represents the fifth phase of porting FreeRTOS for AEMB processor. The main concern of this phase is to get the FreeRTOS configured to demonstrate the Preemptive Multitasking. By far this phase deals with the following: Setting up the timer to generate the RTOS Tick Handling the RTOS Tick Read more…