Embedded Freaks..

December 2, 2010

Disko ‘Firststeps’ Tutorial in LPC3250

Filed under: ARM9, arm926ej-s, embedded-linux — Tags: , — kunilkuda @ 2:12 am

Going through with Disko tutorial at 2AM..=) So, here’s what I got so far.

Disko provides simple tutorial to kickstart your Disko project. You can download it using git:

# git clone git://www.diskohq.org/disko-tutorials.git

Inside the ‘disko-tutorials’ directory, go to ‘firststeps’ directory, and cross compile it with:

# CXX=arm-none-linux-gnueabi-g++ CXXFLAGS=-mcpu=arm926ej-s \
  PKG_CONFIG_PATH=$HOST_DIR/lib/pkgconfig make

Now copy all of firststeps directory to your target directory (or to SD-Card), and copy all the library dependencies (as described in my last post, ‘Preparing Root Filesystem’ section). Then run it..(Don’t forget to change the diskorc.xml before running the program)

Here’s some pics and videos of the ‘Firststeps’ tutorial in PHY3250 board (more…)

Advertisements

November 26, 2010

Testing ‘Disko-Demos’ in LPC3250

Filed under: ARM9, arm926ej-s, embedded-linux — Tags: , — kunilkuda @ 4:48 pm

LPC3250 is NXP’s ARM926EJ-S SoC-based MCU. It comes with extra peripherals for user interface (LCD-32bits, touchscreen, SDRAM controller), designed mainly for industrial HMI (Human-Machine Interface) or simple embedded application that requires graphical user interface. Hence, it doesn’t have any fancy video / audio co-processors like TI OMAP series.

I’m running this test based on PHYCORE-LPC3250 at 208Mhz. The bootloaders (NXP S1L along with uboot) and linux kernel installation is provided in lpclinux.com.

To update your PHYCORE-LPC3250 S1L (new S1L is provided to ease LPC3250 board porting and adding more features), see this page. You won’t mess around with kernel’s source code or the bootloader. Hence, it’s better to burn everything into NAND flash.To burn the U-Boot in PHYCORE-LPC3250’s  flash, see this page. To burn the Linux kernel into PHYCORE-LPC3250’s  flash, see this page.

My suggestion is to add NFS server in your PC host, because modifying the root filesystem while debugging the Disko application is quite a troublesome if you use SD-Card (see my last post for it). However, just to run this demo, you can download your root filesystem into SD-Card and deploy it in your board.

Ok, that’s enough for the small talk..now I’m going to talk big =P..kidding.. (more…)

November 25, 2010

Cross-Compiling ‘Disko-Demos’ for ARM926EJ-S

Filed under: ARM9, arm926ej-s, embedded-linux — Tags: , — kunilkuda @ 10:04 am

Yes..here we go again with disko-demos application to demonstrate Disko’s capability (See how it looks like for other platforms here, here, and here). Let’s build the ‘disko-demos’ using our cross-compiled libraries.

First download the ‘disko-demos’ application from disko’s GIT repository:

# git clone git://git.diskohq.com/disko-demos.git

(more…)