I sell on Tindie
Showing posts with label s3c2440. Show all posts
Showing posts with label s3c2440. Show all posts

Thursday, August 20, 2009

Buildroot qq2440 again

This is complete manual how to build filesystem for qq2440 (s3c2440 or mini2440) - last version.

Download last buildroot snapshot from snapshots.
Don't use release - it has a problems.
Unpack it to some directory

#tar -xvjf buildroot-xxx.tar.bz2

#cd buildroot

#make menuconfig

Now select:
Target architecture (arm)
Target architecture variant (arm920t)
Target ABI (EABI)

Toolchain:
[*] Enable large file (2GB) support
[*] Enable IPV6
[*] Enable RPC
[*] Enable toolchain locale/i18n support
[*] Use software floating point by default
[*] Build/install c++ compiler
Leave other toolchain options unchanged

Target filesystem options:
[*] tar the root filesystem
Compression method (bzip2)

Exit, save

#make

Resulting filesystem exists in buildroot/binaries/uclibc/rootfs.arm.tar.bz2
You can unpack it and mount as NFS filesystem.

In Package selection for the target select desired packages. Not everything will build. I have succesfully built : links, e2ffsprogs, usbutils, alsa-lib, alsa-utils, mpg123, dialog, directfb with samples, SDL, Qt embedded


Thursday, April 30, 2009

qq2440 + iGo8 + bluetooth howto

How the stuff works

Part 1: iGo

First of all you need iGo 8 on SD card. In iGo8 install directory (StorageCard/NavNgo/iGO8) find file SYS.TXT and open it. Change/add the following:

[interface]
resolution_dir="800_480"
vga=0

[rawdisplay]
highres=0
screen_x=800
screen_y=480

If something missing – add it, if something present – change it. 800x480 – my screen resolution. If you have different resolution – change this numbers to yours. Now you should be able to start iGo.

Part2: BT Dongle

Open WinCE platform builder.
Open your project.
Open “Communication services and networking – Networking PAN – Bluetooth – Bluetooth protocol stack with transport driver support”.
Delete all except “Bluetooth stack with integrated USB driver”.
Now clean and build your platform.
After building and loading new platform you should be able to start Bluetooth dongle.
Go to “Settings – Control panel”. Double click on “Bluetooth device”. In opened window press “Scan Device”. You should view Bluetooth devices in range.

Part3: You need to open virtual COM port and associate it with Bluetooth. I’ll describe it later