1 / 16

Agenda

Agenda. compile flash. Download. http://downloads.openwrt.org/. new edition. Old edition. The edition we use. brcm means broadcom which is the cpu we use. We use kernel 2.4. I download this to compile.

kobe
Download Presentation

Agenda

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agenda • compile • flash

  2. Download • http://downloads.openwrt.org/ new edition Old edition

  3. The edition we use

  4. brcm means broadcom which is the cpu we use We use kernel 2.4 I download this to compile

  5. *.bin file is used when your router don’t use openwrt, because the file contains some information of the router; *.trx file is used when you want to upgrade your openwrt. squashfs is the file system we use http://hi.baidu.com/puddingrrlife/blog/item/fe8461bf406c2c0f18d81fab.html

  6. compile1—make menuconfig

  7. compile2--make • The first step will help you get the right openwrt configuration for your machine/router ( the configuration will be stored in .config file) • The second step will help you get what you want – openwrt.

  8. what we got – familiar?

  9. what’s in packages? • I’ll show you later

  10. flash openwrt  router • 1. via vendor supplied web interface • 2. via tftp • 3. via CFE • 4. via JTAG • 5. via the OpenWrt commandline backup : dd if=/dev/mtdblock/1 of=/tmp/firmware.trx upgrade : mtd –r write openwrt-brcm-2.4-squashfs.trx

  11. mtd & mtdblock • They have much to do with embedded systems and I’m not familiar with them. • more information about install openwrt : http://wiki.openwrt.org/OpenWrtDocs/Installing

  12. packages

  13. iPKG • iPKG is a very lightweight package management system. It was designed for Linux installations with severe storage limitations such as handheld computers. iPKG is more than just an embedded Linux flash image builder, (although it does that fairly well). It also allows for dynamic installation/removal of packages on a running system.

  14. content in ipkg.c

More Related