Computer System Laboratory

Slides:



Advertisements
Similar presentations
Computer System Laboratory
Advertisements

LAB 9: Environment Setup for Tower System Chung-Ta King National Tsing Hua University CS 4101 Introduction to Embedded Systems.
TI Information – Selective Disclosure Boot TI Keystone II Linux Kernel (UBI File-system) Vincent Han Mar,
U-Boot and Linux Kernel Debug using CCSv5
Lab 4 Department of Computer Science and Information Engineering National Taiwan University Lab4 - Bootloader 2014/10/14/ 13 1.
7400 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7x00 Enterprise IP Solutions Quick Install Guide.
29 April 2005 Part B Final Presentation Peripheral Devices For ML310 Board Project name : Spring Semester 2005 Final Presentation Presenting : Erez Cohen.
ECE Department: University of Massachusetts, Amherst Lab 1: Introduction to NIOS II Hardware Development.
CCNA 2 v3.1 Module 2.
Computer System Laboratory
COMPUTER SYSTEM LABORATORY Lab8 - Debugging II. Lab 8 Experimental Goal Learn how to debug Linux in source-level by Domingo and diagnose target boards.
COMPUTER SYSTEM LABORATORY Lab4 - Bootloader. Lab 4 Experimental Goal Learn how to build U-Boot bootloader for PXA /10/8/ 142.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Part 1 Using the ARM board And start working with C Tutorial 5 and 6
Embedded Systems Principle of Debugger. Reference Materials kl.de/avr_projects/arm_projects/#winarmhttp://
U-Boot Debug using CCSv5 In this session we will cover fundamentals necessary to use CCSv5 and a JTAG to debug a TI SDK-based U-Boot on an EVM platform.
Lab 3 Department of Computer Science and Information Engineering National Taiwan University Lab3 - Cross Tools 2014/10/7/ 20 1.
Getting Started Installing GreenHills and Net+OS Setting up the Development Board Building the Sample Application.
SURVEY VIEWER HYPACK Sending SURVEY Windows Across the Network to Non-HYPACK Computers. HYPACK Computer Non-HYPACK Computer Running SURVEY VIEWER.
Computer System Laboratory
COMPUTER SYSTEM LABORATORY Lab10 - Sensor II. Lab 10 Experimental Goal Learn how to write programs on the PTK development board (STM32F207). 2013/11/19/
Lab 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
AT91SAM9261-EK WinCE 5.0 DEMO ATMEL AT91 Application & Support Group Version 1.O February 2007.
Beagle Board Fast Boot Hui Chen Keji Ren Dec 10 th, 2009 EE382N-4 Project.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Sensor 2014/9/23/ 13 1.
Conventions Department of Computer Science and Information Engineering National Taiwan University Conventions 2014/9/16/ 3 1.
Ericsson-LG Enterprise Proprietary | | Page 1 Slide title 30 pt Text and bullet level 1 minimum 24 pt Bullets level 2-5 minimum 20 pt Do not.
Lab 10 Department of Computer Science and Information Engineering National Taiwan University Lab10 – Debugging II 2014/12/2 1 /16.
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
SAPC Hardware Pentium CPU (or 486) 4M usable memory no hard disk; boot from floppy no keyboard or monitor or mouse COM2 serial port: used for console i/o.
Development of a microprocessor project with LPC2388 development board.
Lab 14 Department of Computer Science and Information Engineering National Taiwan University Lab14 – Camera 2014/12/30 1 /14.
Business Enabled Communications
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
TI Information – Selective Disclosure Boot TI Keystone II Linux Kernel (RAM File-system) Vincent Han Mar,
Code : STM#561 Samsung Electronics Co., Ltd. OfficeServ SW Upgrade Distribution EnglishED01.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/7 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Implementation of Embedded OS Lab4 Cortex-M3 Programming.
Lab 12 Department of Computer Science and Information Engineering National Taiwan University Lab12 – Driver 2014/12/16 1 /21.
Implementation of Embedded OS Lab3 Porting μC/OS-II.
24 Feb 2009ITCN 1 Introduction to Computer Networking M Clements.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – Bootloader + OS Kernel 2015/10/27/ 25 1.
Lab 1 Department of Computer Science and Information Engineering National Taiwan University Lab1 - Environment Setup 2015/9/15/ 30 1.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
Lab 9 Department of Computer Science and Information Engineering National Taiwan University Lab9 - Debugging I 2014/11/4/ 28 1.
Implementation of Embedded OS
4000 Imaje 4020 – Software Imaje 4020 – Content ■ Content of Chapter Software: 1. Flash Up 2. Netcenter 3. FTP 4. Active X 5. XCL commands 6. Exercise.
Prestige NAND Flash DOWNLOAD. Prepare ITEM. 1.PC - Run Tftpd32 program. (Tftpd setup.exe install ) 2. Download DVR B/D 3. Download Serial B/D 4.
SURVEY VIEWER Note: SURVEY VIEWER functions are now available from the Remote Viewing that is built into HYPACK SURVEY. SURVEY VIEWER still works, but.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
WP1- Documentation Booting Petalinux from TFTP and using Network file system Section for developers Zynq 7020 R. Assiro.
1 Free Electrons. Kernel, drivers and embedded Linux development, consulting, training and support. http//free-electrons.com The U-boot bootloader Michael.
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Implementation of Embedded OS
Lab 1: Using NIOS II processor for code execution on FPGA
Computer System Laboratory
Computer System Laboratory
Implementation of Embedded OS
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
Computer System Laboratory
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
SAPC Hardware Pentium CPU (or 486) 4M usable memory
Computer System Laboratory
Lecture9: Embedded Network Operating System: cisco IOS
Computer System Laboratory
Computer System Laboratory
Computer System Laboratory
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Computer System Laboratory Lab2 - Environment Setup II

Experimental Goal Learn how to use the software installed in Lab1. Transfer files to bootloader (U-Boot) and Linux on PXA270. Copy (burn) files to flash on PXA270. 2013/9/24 / 20

Environment Host System Build System Target System Software Windows XP Build System VirtualBox + Ubuntu 8.04 Target System Creator XScale PXA270 Software Bootloader (U-Boot) Putty TFTP Server Domingo You can download all software from RSWiki CSL Course Software 2013/9/24 / 20

Hardware Checklist power supply (PXA270) PXA270 ethernet cable RS232 null cable parallel cable JTAG ICE power supply (ICE) CMOS sensor 2013/9/24 / 20

Target Board Creator XSCale PXA270 Creator PreSOCes 2013/9/24 / 20

Hardware Setup Connect RS232 null cable and parallel cable to your PC. You should connect ICE to your PC with parallel cable before turning on the PC, or connect it then reset the PC. Connect ethernet cable to your PC. Connect PXA270 and ICE via JTAG. ethernet cable RS232 parallel cable ICE 2013/9/24 / 20

Introduction to Domingo Domingo is an integrated development environment developed by Microtime Computer Inc.. Domingo adopts visual project management which integrates with editor, compiler, and debugger. It lets you manage project just from a single environment. 2013/9/24 / 20

Connect to PXA270 via Domingo Step1: please refer to Lab1 to create a PXA270 project. Step2: click “Debug”  “Connect” or “connect the IDE to WINICE” to connect PXA270. Now, you can see related register value and instructions. 2013/9/24 / 20

Memory Layout of PXA270 Flash RAM U-Boot Linux kernel U-Boot (TFTP) Root Filesystem 0x01380000 0xa3f80000 U-Boot (Domingo) 0x02000000 0xa4000000 Flash RAM 2013/9/24 / 20

Download Executable to PXA270 (1/3) Step1: download u-boot.bin from our course website. Step2: click “Debug”  “Load Module ...” in Domingo. Step3: load u-boot.bin and configure “Option” to P;a3f80000. Step4: Click “Ok”. 2013/9/24 / 20

Download Executable to PXA270 (2/3) Step5: connect to the serial console on PXA270 via putty. Execute the putty. Step6: configure com port and speed. Connection Type = Serial Serial line = COM1 Speed = 9600 Step7: click “Open”. 2013/9/24 / 20

Download Executable to PXA270 (3/3) Step8: change PC value to a3f80000 in register window. Step9: click “Debug”  “Free Go”, and then you will see the message on putty. 2013/9/24 / 20

Transfer File via TFTP (1/3) Step1: execute TFTP server. Step2: put u-boot.bin to the TFTP root virtual folder. 2013/9/24 / 20

Transfer File via TFTP (2/3) Step3: set IP address on Windows XP to configure LAN environment. IP address = 192.168.0.10 Netmask = 255.255.255.0 Note that if you change to LAN IP, you might be not able to access WAN. Please download necessary software before you change the configuration. You can change back to DHCP after using TFTP to reconnect to WAN. 2013/9/24 / 20

Transfer File via TFTP (3/3) Step4: check IP address on PXA270. u-boot$ printenv Hit any key to stop U-Boot autoboot. If the addresses are wrong, you can use setenv to change. Step5: execute tftp command in U-Boot to get file. u-boot$ tftp a1080000 u-boot.bin size of u-boot.bin 2013/9/24 / 20

Copy File from RAM to Flash (1/3) Suppose we want to copy (burn) a file with 0x1a6c0 byes from RAM address 0xa1080000 to flash address 0x0, i.e., the u-boot.bin. Step1: erase the specified range (0x0 to 0x7ffff). Flash should be erased before copying files. u-boot$ protect off 0 7ffff u-boot$ erase 0 7ffff Step2: copy the file from RAM to flash. u-boot$ cp.b a1080000 0 1a6c0 Step3: now, you can reset PXA270 to check the message of U-Boot. 2013/9/24 / 20

Copy File from RAM to Flash (2/3) Please refer to previous slides to copy Linux kernel and root filesystem to flash. You can refer to the memory layout as in slide9. Step1: download uImage (Linux kernel) and rootfs (root filesystem) from our course website. Step2: copy uImage to flash address 0x80000. The erased end address is 0x47ffff (32 sectors). It will take about 3 minutes. Step3: copy rootfs to flash address 0x480000. The erased end address is 0x137ffff (120 sectors). To avoid address collision, you can change RAM address to 0xa1480000 for TFTP. 2013/9/24 / 20

Copy File from RAM to Flash (3/3) Step4: now, you can reset PXA270 to check the message of Linux. 2013/9/24 / 20

Transfer File via TFTP in Linux Step1: in Linux, we also can transfer files via TFTP. You can read the usage by executing tftp command without any arguments. Step2: for example, if you want to get u-boot.bin from TFTP server 192.168.0.10, just type: % tftp -g -r u-boot.bin 192.168.0.10 2013/9/24 / 20

Lab Requirement & Bonus Show that you can copy files to the flash both in U-Boot and in Linux. Bonus: Answer the question of lab2 on RSWiki CSL course website. Write it in your report. Please send your report to both TAs. Please use this title format: [CSL] G# Lab# Ver# E.g., [CSL] G15 Lab2 Ver1 2013/9/24 / 20