Professional Documents
Culture Documents
Introduction to PCM7230
Introduction to PCM7230
• Processor
– Intel® Xscale® PXA255 RISC CPU
– 32-bit, up to 400MHz speed SoC engine
– ARM v.5TE instruction set architecture
• Peripherals
– 32MB Flash ROM, 64MB SDRAM
– CF/PCMCIA slots
– VGA, Audio In/Out
– RS232, USB, Ethernet interface
Introduction to GP 1.0
• BrainStem controller.
• 40 MHz RISC processor
• RS-232 serial port
Introduction to GP 1.0
• This sensor reports the distance as a byte-value
corresponding to the distance between 10cm to 80cm
Introduction to boot-loader
and embedded Linux
The role of boot-loader
• When the machine is on, boot-loader is
the first program being executed by
processor
• Boot-loader has the following functions
– Initialize the hardware setting
– Pass the control to OS
• To simplify the development process, the
function of boot-loader is sometimes
extended
Initialization
• Bootloader does some settings for devices
– I/O
– Setting of hardware, ex: RAM size, ROM size,
external peripheral
• Bootloader also sets up an environment fo
r OS
– Memory mapping
– Stack pointer
• Pass these information to OS kernel
Memory Mapping (Net-Start)
Embedded Linux
• What components are in our embedded Li
nux?
– Linux kernel
– Root file system
• /bin, /usr, /dev, /etc.........
• We can port our Linux kernel and root file
system to the Flash ROM so that they can
be permanently stored on the board
Homework
• Replace boot-loader on the board
• Put Linux kernel image and root file
system to Flash ROM
Replace boot-loader
• Connect your PC parallel port and PCM-7230 JTAG with JTAG cable
• Turn on PCM7230
• Under your Windows, copy bootldr in the same folder with Jen255.exe
• Run “LOADDRV.exe "
• Run "Jen255.exe “
black brown
Put Linux kernel and rootfs
• Connect your PC COM 1 and PCM7230 COM 1
• Use terminal program to access target board
– Windows (hyper-terminal), Linux (minicom)
• Setup serial port mode
– Baud-rate: 115200, hardware flow-control: No
• Turn on PCM-7230 and follow below instructions