Committed to Code

OpenWrt is described as a Linux distribution for embedded devices.

Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application.

Code Analysis


Recent Highlights

Anon32

Large commit — amazon: update amazon target to kernel 3.3

More than 1000 lines of source code were added or removed in this commit.

In commit /p/openwrt/commits/178228580 by hauke on 2012-05-13 (10 days ago)

Avatar

Large commit — [coldfire]: switch to 2.6.38

More than 1000 lines of source code were added or removed in this commit.

In commit /p/openwrt/commits/176435333 by Imre Kaloz (Using name ‘kaloz’) on 2012-05-01 (22 days ago)

Anon32

Large commit — [lantiq] adds 3.3 patches and files

More than 1000 lines of source code were added or removed in this commit.

In commit /p/openwrt/commits/172565536 by blogic on 2012-04-16 (about 1 month ago)

Avatar
Repository came back to life!

A repository received new code changes after 2 months of inactivity.

In commit /p/openwrt/commits/170472439 by mirkovogt (Using name ‘mirko’) on 2012-03-26 (about 1 month ago)

Anon32

Large commit — [lantiq] bump kernel to 3.2.12

More than 1000 lines of source code were added or removed in this commit.

In commit /p/openwrt/commits/170418955 by blogic on 2012-03-25 (about 1 month ago)

See all highlights…


News

New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support in News : News

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

Message: I tried to load OpenWrt on Pirelli Alice Business Gate 2 Plus, and obtained the following output on serial console:
Code:CFE version 1.0.37-3.1 P8 for ... [More] BCM96338 (32bit,SP,BE)
Build Date: dom mar 26 11:03:56 CEST 2006 (root@RanmaLinux)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbf800000

Initializing Arena.
Initializing Devices.
cfi_flash_get_device_id
Parallel flash device: name AM29LV640MT, id 0x2201, size 8192KB
CPU type 0x29010: 240MHz
Total memory: 16777216 bytes (16MB)

Total memory used by CFE: 0x80401000 - 0x805281B0 (1208752)
Initialized Data: 0x8041DED0 - 0x8041F930 (6752)
BSS Area: 0x8041F930 - 0x804261B0 (26752)
Local Heap: 0x804261B0 - 0x805261B0 (1048576)
Stack Area: 0x805261B0 - 0x805281B0 (8192)
Text (code) segment: 0x80401000 - 0x8041DED0 (118480)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000

Board IP address : 192.168.1.1:ffffff00
Host IP address : 192.168.1.100
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Boot image (0=latest, 1=previous) : 0
Board Id Name : AG2-Plus
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1d:8b:2d:a2:46
Ethernet PHY Type : External Switch Using Reverse MII
Memory size in MB : 16

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from latest image (0xbfc00000) ...
Code Address: 0x80010000, Entry Address: 0x80010000
8192 size flash memory detected
starting image at [BFC00100] image length 2cff04

CRC from tag 7ec7ba85 - CRC image calculated 7ec7ba85
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.27.26 (mattia@jiraiya) (gcc version 4.1.2) #1 Sun Jul 12 14:29
Detected Broadcom 0x6338 CPU revision a2
CPU frequency is 240000000 Hz
16MB of RAM installed
registering 8 GPIOs
board_bcm963xx: CFE version: 1.0.37-3.1
board_bcm963xx: unknown bcm963xx board: AG2-Plus
console [early0] enabled
CPU revision is: 00029010 (Broadcom BCM3302)
Kernel panic - not syncing: unable to detect bcm963xx board
Support for Pirelli Alice Gate VoIP 2 Plus Wi-Fi was added by florian:https://dev.openwrt.org/ticket/4366I heard of imagetags and code versions... and that Pirelli modified the broadcom code so it has different imagetags.What should I do to add support for this board? Where do I find the imagetag to make a patch and build a working image? [Less]


New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support in News : News

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

Message: SVN revision 16733. 1. System hang?2. CPU revision is: 00029010 (Broadcom BCM3302)maybe add cosmetic fix?
Code:CFE version 1.0.37-6.8 for BCM96338 ... [More] (32bit,SP,BE)
Build Date: Sat Nov 17 12:16:45 HKT 2007 (root@lijian)
Copyright (C) 2000-2005 Broadcom Corporation.

Boot Address 0xbfc00000

Initializing Arena.
Initializing Devices.
Parallel flash device: name AM29LV160B, id 0x2249, size 2048KB
totalBlks=35
totalSize=2048K
NvramData is in the first sector!
fInfo.flash_nvram_start_blk = 0
fInfo.flash_nvram_blk_offset = 0x580
fInfo.flash_nvram_number_blk = 1
fInfo.flash_nvram_length = 1024
psi startAddr = bfdfa000
fInfo.flash_persistent_start_blk = 34
fInfo.flash_persistent_blk_offset = 0xa000
fInfo.flash_persistent_number_blk = 1
fInfo.flash_persistent_length = 24576
100 MB Full-Duplex (auto-neg)
CPU type 0x29010: 240MHz
Total memory: 8388608 bytes (8MB)

Total memory used by CFE: 0x80401000 - 0x805287B0 (1210288)
Initialized Data: 0x8041E310 - 0x8041FEB0 (7072)
BSS Area: 0x8041FEB0 - 0x804267B0 (26880)
Local Heap: 0x804267B0 - 0x805267B0 (1048576)
Stack Area: 0x805267B0 - 0x805287B0 (8192)
Text (code) segment: 0x80401000 - 0x8041E304 (119556)
Boot area (physical): 0x00529000 - 0x00569000
Relocation Factor: I:00000000 - D:00000000

Board IP address : 192.168.1.1
Host IP address : 192.168.1.10
Gateway IP address :
Run from flash/host (f/h) : f
Default host run file name : vmlinux
Default host flash file name : bcm963xx_fs_kernel
Boot delay (0-9 seconds) : 1
Board Id Name : 96338L-2M-8M
Psi size in KB : 24
Number of MAC Addresses (1-32) : 11
Base MAC Address : 00:1e:e3:a7:3d:c6
Ethernet PHY Type : Internal
Memory size in MB : 8
CMT Thread Number : 0

*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 110
Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Closing network.
Starting program at 0x80010000
Linux version 2.6.27.26 (Administrator@server00) (gcc version 4.1.2) #71 Thu Jul 9 22:16:59 2009
Detected Broadcom 0x6338 CPU revision a2
CPU frequency is 240000000 Hz
8MB of RAM installed
registering 8 GPIOs
board_bcm963xx: CFE version: 1.0.37-6.8
console [early0] enabled
CPU revision is: 00029010 (Broadcom BCM3302)
board_bcm963xx: board name: 96338L-2M-8M
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00000800
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00000800
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 16kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 8kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 32 (order: 5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 5608k/8192k available (1842k kernel code, 2584k reserved, 330k data, 124k init, 0k highmem)
Calibrating delay loop... 239.10 BogoMIPS (lpj=478208)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 512 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 512 bind 512)
TCP reno registered
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.320:1): initialized
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) ┬й 2001-2006 Red Hat, Inc.
msgmni has been set to 16
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0300 (irq = 10) is a bcm63xx_uart
console handover: boot [early0] -> real [ttyS0]
bcm963xx_flash: 0x00400000 at 0x1fc00000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6, board type 96338L-2M-8M, and tagid bc221.
bcm963xx_flash: Partition 0 is CFE offset 0 and length 10000
bcm963xx_flash: Partition 1 is kernel offset 10100 and length bff00
bcm963xx_flash: Partition 2 is rootfs offset d0000 and length 120000
bcm963xx_flash: Partition 3 is nvram offset 1f0000 and length 10000
bcm963xx_flash: Partition 4 is linux offset 10000 and length 1e0000
Creating 5 MTD partitions on "bcm963xx":
0x00000000-0x00010000 : "CFE"
0x00010100-0x000d0000 : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000d0000-0x001f0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=1D0000, len=20000
0x001d0000-0x001f0000 : "rootfs_data"
0x001f0000-0x00200000 : "nvram"
0x00010000-0x001f0000 : "linux"
bcm63xx_wdt started, timer margin: 30 sec
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 124k freed
Please be patient, while OpenWrt loads ... [Less]


New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support in News : News

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

Message: BCM63XX BCM6345 system hang in synchronize_rcu()SVN revision 16733. I can give the additional information. Write that is necessary. And as it to ... [More] receive.
Code:Code Address: 0x80010000, Entry Address: 0x80010000
Decompression OK!
Entry at 0x80010000
Starting program at 0x80010000
Linux version 2.6.27.26 (Administrator@server00) (gcc version 4.1.2) #6 Sun Jul 5 13:01:10 2009
Detected Broadcom 0x6345 CPU revision a0
CPU frequency is 140000000 Hz
8MB of RAM installed
registering 16 GPIOs
board_bcm963xx: CFE version: 1.2.3-4.5
console [early0] enabled
CPU revision is: 00028000 (Broadcom BCM6345)
board_bcm963xx: board name: R
Determined physical RAM map:
memory: 00800000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
Normal 0x00000000 -> 0x00000800
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0x00000000 -> 0x00000800
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
PID hash table entries: 32 (order: 5, 128 bytes)
Dentry cache hash table entries: 1024 (order: 0, 4096 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 5608k/8192k available (1842k kernel code, 2584k reserved, 331k data, 124k init, 0k highmem)
Calibrating delay loop... 92.41 BogoMIPS (lpj=184832)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16 [Less]


New HAL release for Atheros Hardware in News : News

Topic: New HAL release for Atheros Hardware

Message: trac address has changedhttps://dev.openwrt.org/changeset/12429


New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support in News : News

Topic: New Broadcom BCM63xx codebase with GPL'd Ethernet and USB support

Message: saraj wrote:@t3l3m4k0Thank you, It's:> cat /proc/cpuinfosystem type             : D-4P-Wprocessor               : 0cpu model               : BCM6348 V0.7 This ... [More] this seems complicated to me. You say I should make a patch to include name of your board. The board is the same like in US version of DSL-2640B, which is probably the model that is already included in the code. It's about "Firmware model" that I couldn't find in code to patch it to "EU_DSL-2640B". Can you or someone else patch the code please? If not, I would have to go through the whole procedure in order to understand it. Would I have to compile it myself or this trunk is compiled from time to time?
hello saraj.i have asus am604g with similar board ID
Code:[root@Cohens]:[~]% cat /proc/cpuinfo
system type : bcm63xx/D-4P-W (0x6348/0x00A2)
processor : 0
cpu model : Broadcom BCM6348 V0.7
BogoMIPS : 255.48
wait instruction : yes
microsecond timers : yes
tlb_entries : 32
extra interrupt vector : yes
hardware watchpoint : no
ASEs implemented :
shadow register sets : 1
core : 0
VCED exceptions : not available
VCEI exceptions : not available

[root@Cohens]:[~]%
i've edited the files :    1)   target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c          static struct board_info __initdata board_96348 = {                   .name                           = "D-4P-W",                   .expected_cpu_id                = 0x6348,                   .has_enet0                      = 1,                   .has_enet1                      = 1,                   .has_pci                        = 1,                   .enet0 = {                        .has_phy                = 1,                        .use_internal_phy       = 1,                    },                   .enet1 = {                        .force_speed_100        = 1,                        .force_duplex_full      = 1,                    },                    .has_ohci0 = 1,          };    & at the end of same file check for :          #ifdef CONFIG_BCM63XX_CPU_6348              &board_96348,          #endif   2)   target/linux/brcm63xx/image/Makefile      added           $(call Image/Build/CFE,$(1),96348,6348,bc221,,bc221,-y 5)be aware that part (2) is depend on you routers CFE. this line is ok for ASUS am604g,but you will need to check.regardsavico [Less]


Read all OpenWrt articles…

Edit RSS feeds.