160 likes | 279 Views
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.
E N D
Agenda • compile • flash
Download • http://downloads.openwrt.org/ new edition Old edition
brcm means broadcom which is the cpu we use We use kernel 2.4 I download this to compile
*.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
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.
what’s in packages? • I’ll show you later
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
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
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.