Embedded Linux porting Kernel

Slides:



Advertisements
Similar presentations
Managing Cisco IOS Software. Overview The router boot sequence Locating IOS software The configuration register Recovering Passwords Backing Up the Cisco.
Advertisements

Booting the TS-7300 boards VHDL and C. Overview After looking at the general approach to booting machines (generally PCs) we will now look at the TS-7300.
PIKA Technologies Inc. PADS for the PIKA WARP Appliance March 2009.
CCNA2 MODULE 5.
Boot Mode. Agenda 1.What can I do if I forget my password? 2.What to do if My Gateway can’t enter into [usr/config] mode?
Lab 4 Department of Computer Science and Information Engineering National Taiwan University Lab4 - Bootloader 2014/10/14/ 13 1.
Handheld TFTP Server with USB Andrew Pangborn Michael Nusinov RIT Computer Engineering – CE Design 03/20/2008.
Embedded Systems : WRT54GL Wireless Router B. Ramamurthy.
Embedded XINU SW & HW preparation 09/5/2008 David You.
Information Networking Security and Assurance Lab National Chung Cheng University F.I.R.E. Forensics & Incident Response Environment.
2004, Jei F.I.R.E. Forensics & Incident Response Environment Information Networking Security and Assurance Lab National Chung Cheng University.
Linux-MVME Targets Using Motorola Board Support
1 Semester 2 Module 2 Introduction to Routers Yuda college of business James Chen
COMPUTER SYSTEM LABORATORY Lab8 - Debugging II. Lab 8 Experimental Goal Learn how to debug Linux in source-level by Domingo and diagnose target boards.
1 Semester 2 Module 5 Managing Cisco IOS Software Yu da college of business James Chen
NET+OS Bootloader Overview Requirements How to Build How to Customize Changes to Applications Configuration Settings.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Configuring Network Devices Working at a Small-to-Medium Business or ISP – Chapter.
What is Router? Router is a device which makes communication between two or more networks present in different geographical locations. Routers are data.
Embedded Systems Principle of Debugger. Reference Materials kl.de/avr_projects/arm_projects/#winarmhttp://
Lab 3 Department of Computer Science and Information Engineering National Taiwan University Lab3 - Cross Tools 2014/10/7/ 20 1.
1 Embedded Linux porting Speaker: Yi-Ji Jheng Date:
Computer System Laboratory
02/2008 MATRIX VISION GmbH 1 Presentation The intelligent camera and Image processing sensor.
Chap 5 Startup and Setup Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Lab 11 Department of Computer Science and Information Engineering National Taiwan University Lab11 - Porting 2014/12/9/ 26 1.
1 Build a SIP of Environment Speaker: Yi-Ji Jheng Date:
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
1 Introduce Linux Speaker: Yi-Ji Jheng Date:
Porting Operating Systems Phan Duy Hùng (PhD) ES Lecturer – Hanoi FPT University.
Itty Bitty Computer Directions on how to install Linux on your flash drive and have the smallest computer you can afford right now!
COMPUTER SYSTEM LABORATORY Lab6 - Root Filesystem.
Terminal Servers in Schools A second life for your older computers.
Business Enabled Communications
SAM9260-EK WinCE DEMO AT91 SAM9 Product Group. Version 1.0 October 2006.
7200 Samsung Confidential & Proprietary Information Copyright 2006, All Rights Reserved. 1/16 OfficeServ 7200 Enterprise IP Solutions Data Server S/W Upgrade.
Business Enabled Communications Maintenance. Contents System Maintenance by Web-Admin Maintenance & Diagnostic by Web-Admin Maintenance Overview by Web-Admin.
AP-2000 Problem solving - Force Reload Entering Force Reload mode Force Reload is an emergency procedure to re-load the AP-2000 with new image file, when.
CCNA2 Chapter 2 Cisco IOS Software. Cisco’s operating system is called Cisco Internetwork Operating System (IOS) IOS provides the following network services:
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 Lab3 Porting μC/OS-II.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 – Bootloader + OS Kernel 2015/10/27/ 25 1.
Lab 8 Department of Computer Science and Information Engineering National Taiwan University Lab8 - Root Filesystem 2015/11/10/ 22 1.
Implementation of Embedded OS
안양대학교 전기전자공학과 서 삼 준 Kernel Fusing (Boot Loader & tftp 활용 )
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.
Lab 5 Department of Computer Science and Information Engineering National Taiwan University Lab5 - OS Kernel 2014/10/21/ 16 1.
Downloading a new OS kernel to the EBox. Connecting to the eBox Use Network Cable to connect Need to decide if you will be using a Static IP or DHCP Details.
1 Setup and Compile Linux Kernel Speaker: Yi-Ji Jheng Date:
Cisco 2 - Routers Perrine. J Page 16/26/2016 Chapter 2 Cisco IOS Software Cisco’s operating system is called Cisco Internetwork Operating System (IOS)
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
Chap. 4 ARM Boot Loader Internals. 2 S3C2500 ARM940T Core module ARM9TDMI CoreIC.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 2 Introduction to Routers.
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.
Configuring Network Devices
By Ganesan Alagu Ganesh Feb 26, 2008
Instructor Materials Chapter 6: Network Layer
Download Image to EVB Board and Flash Programming
CIT 384: Network Administration
Data Server S/W Upgrade Samsung Electronics Co., Ltd.
Cisco S2 C5 Router Startup.
Em4 Ethernet tutorial Remote connection.
AT91RM9200 Boot strategies This training module describes the boot strategies on the AT91RM9200 including the internal Boot ROM and the U-Boot program.
Linux-MVME Targets Using Motorola Board Support
Computer System Laboratory
Changing Ethernet config using IP changer FW upgrade
Lecture9: Embedded Network Operating System: cisco IOS
Computer System Laboratory
Operating System Kernel Compilation
Lecture9: Embedded Network Operating System: cisco IOS
Presentation transcript:

Embedded Linux porting Kernel Speaker: Yi-Ji Jheng Date: 2007.11.28

Outline Embedded Linux porting - Kernel

Embedded Linux porting Kernel

Target Board LAN DSP WAN Console port MIPS 8MB * 2 SDRAM 4MB FLASH

Source environment hardphone/ |-linux-2.4.17_mvl21.tar.gz |-opt.tar.gz

Install Toolchain #tar zxvf opt.tar.gz #PATH=$PATH:/usr/src/hardphone/opt/hardhat/devkit/mips/lexra_fp_be/bin #PATH=$PATH:/usr/src/hardphone/opt/tools

Make Kernel #tar zxvf linux-2.4.17_mvl21.tar.gz #cd ./linux-2.4.17_mvl21 #make clean && make mrproper #cp ./sd.config ./.config #touch ./arch/mips/ramdisk/ramdisk.gz #make menuconfig #make dep #make zImage

Download in Target Board 1. Use Winscp to get zImage on PC 2. Setup Target Board 3. Execute and setup tftp 4. Execute and setup Super Terminate 5. Load Kernel Image on Target Board 6. Run

Work Implement below pic.

replenish

Toolchain for compiler mips_lexra_fp_be-g++ mips_lexra_fp_be-cpp mips_lexra_fp_be-gcc mips_lexra_fp_be-ld mips_lexra_fp_be-as mips_lexra_fp_be-strip .

Toolchain for mkimage Add header on Kernel image to tell BootLoader some info. Header is 64 Byte (0x40) -a  set load address to ''addr'' (hex) -e  set entry point to ''ep'' (hex) -C  set compression type 'comp'

Point to menuconfig (1/2) Target Board Machine selection ---> [*] Support for Lexra LX-PB20K board (19200) Default BAUD Rate CPU CPU selection ---> (Lexra_LX45XXX) CPU type

Point to menuconfig (2/2) Network device Network device support ---> [*] Network device support Ethernet (10 or 100Mbit) ---> [*] Ethernet (10 or 100Mbit) [*] MIPS SD9218 embedded ethernet controller support Cross compiler Kernel hacking ---> [*] Are you using a crosscompiler

Makefile Find a parameter that call CROSS_COMPILE CROSS_COMPILE = mips_lexra_fp_be-

No ramdisk.gz error make[1]: Entering directory `/usr/src/hardphone/linux-2.4.17_mvl21/arch/mips/ramdisk' make[1]: *** No rule to make target `ramdisk.gz', needed by `ramdisk.o'. Stop. make[1]: Leaving directory `/usr/src/hardphone/linux-2.4.17_mvl21/arch/mips/ramdisk' make: *** [_dir_arch/mips/ramdisk] Error 2

Kernel Image of Location arch/mips/zboot/zImage 474Byte

Setup Target Board Ethernet - LAN Console port Power

Execute and setup tftp Where does kernel image ?

Execute and Setup Super Terminate (1/3) Any name

Execute and Setup Super Terminate (2/3) Select your console port

Execute and Setup Super Terminate (3/3)

Load Kernel Image in Target Board Power on hardphone Press any key into the Boot Mode, otherwise go into Linux

Boot Mode Command ? - print this menu f - load from Flash and go l - load from TFTP server to SDRAM, no go (no save to Flash) L - load from TFTP server to SDRAM and go @ - load from TFTP server to SDRAM, no go (save to Flash) b - show boot parameters c - change boot parameters p - ping test (ping other station from the target)

Setup that Download from tftp BOOT> c tftp server 140.125.33.177 – <tftp ip> tftpfile zLinuxR.img – <kernel image name> ip address 140.125.33.253 – <target board ip> subnetmask 255.255.255.0 – <netmask> gateway 140.125.33.254 – <defauly gw> bootstate 0 - <default>

Kernel panic Be very happy to see that We don’t make ramdisk.gz, so we don’t mount file system