beautypg.com

Serial communication for debug output, Accelent idp (rev 04) target setup – Philips ISP1362 User Manual

Page 13

background image

Philips Semiconductors

ISP1362 Linux Stack User’s Guide

UM10012-_2

© Koninklijke Philips Electronics N.V. 2003. All rights reserved.

User’s Guide

Rev. 1.2—July 2003

13 of 34

CROSS_COMPILE = /pub/usr/ bin/arm-linux-

The cross compile path (

/usr/include/arm/2.95.3

) depends on where the tool chain is installed and the

version of the tool chain and from where the tool chain is downloaded.

Similarly edit the Rules.Make of ISP1362 source (

/usr/src/AccelentIDPRev4/linux/1362/source)

for any

changes

The kernel source directory is different from the one specified above.

Compile time flags. Refer to section 5.1. If you want any configuration changes. Make sure that

PXA250_KIT

hardware option is enabled with

PXA250_REV4

.

CROSS_COMPILE

path

MS_SIZE_FLAG

is set to

_8MB_SIZE_

(because of limitation of Accelent board for Mass storage

demo)

While configuring the kernel (use menuconfig), enable the following options:

USB core support

USB

OTG

support

USB

Audio

Support

USB mass storage support

USB

pegasus

USB

CATC

USB

KAWTH


Save the configuration and exit

#make dep zImage modules modules_install jffs_rootfs jffs_image


As a result, a number of files starting with "nk_" will be created in the root Linux directory:

nk_jffs_flash.bin

:

This image includes the kernel and root filesystem

nk_kernel_flash.bin

: This image is just the kernel image, useful if you already have a good root fs

image and just need to reflash the new kernel.

nk_kernel.bin

:

This is an image that will be loaded into RAM from the card without flashing

into ROM. It’s quite useful for debugging or preserving your flash image.


Whichever image you choose to use, copy it to the PCMCIA card and rename it "

nk.bin

". The card filename

must be

nk.bin

or the bootloader, which is WinCE bootloader, will ignore it.

3.2.2.7.Serial Communication for Debug Output


On the host PC running Linux, minicon can be used to receive debug output (generated by printk) from Accelent
IDP. A null-modem cable is required to connect FFUART(J5) port on Accelent IDP board and a COM port host
PC. Set Baud rate to 115200, data bits = 8, Parity = none, Stop bits = 1, Flow control = hardware.

3.2.3.

Accelent IDP (Rev 04) Target Setup


Follow the instructions given in the Quick Start Guide IDP for Intel PXA250 Applications Processor Linux OS document
from the Accelent CD to set up the Accelent IDP.