IP Calculator
ipcalc takes an IP address and netmask and calculates the resulting broadcast, network, Cisco wildcard mask, and host range. By giving a second netmask, you can design subnets and supernets. It is also intended to be a teaching tool and presents the subnetting results as easy-to-understand binary values.
Wednesday, April 29, 2009
Monday, April 27, 2009
Friday, April 24, 2009
Thursday, April 23, 2009
MMC/SD on u-boot
Card Information
Load bootpImage from MMC/SD Card
u-boot # mmcinfo
mmc_init
version_2 = 1
Manufacturer ID: 03
OEM/Application ID: 5344
Product name: SD08G
Product Revision: 8.0
Product Serial Number: 59007
Manufacturing Date: 08/12
MMC/SD RCA = 0x8FE4
CSD data: 400e0032 5b590000 3cdc7f80 0a404000
CSD structure version: 1
Card command classes: 5b5
Read block length: 512
Does not support partial reads
Write block length: 512
Does not support partial writes
Does not support group WP
Card capacity: 7977472 Kbytes
File format: 0/0
Write protection:
u-boot # fatinfo mmc 0
Interface: MMC
Device 0: Vendor: Man 035344 Snr 0000e67f Rev: 8 0 Prod: SD08G
Type: Removable Hard Disk
Capacity: 7790.5 MB = 7.6 GB (15954944 x 512)
Partition 1: Filesystem: FAT32 "NO NAME "
u-boot # fatls mmc 0
3745704 bootpimage
1 file(s), 0 dir(s)
u-boot # fatload mmc 0 0x1000000 bootpImage
reading bootpImage
3745704 bytes read
u-boot # go 0x1000000
Download Patch
Reference:
1. Simplified Physical Layer Spec. (Version 2.00)
2. Simplified SD Host Controller Spec. (Version 2.00)
3. Simplified SDIO Card Spec. (Version 2.00)
Load bootpImage from MMC/SD Card
u-boot # mmcinfo
mmc_init
version_2 = 1
Manufacturer ID: 03
OEM/Application ID: 5344
Product name: SD08G
Product Revision: 8.0
Product Serial Number: 59007
Manufacturing Date: 08/12
MMC/SD RCA = 0x8FE4
CSD data: 400e0032 5b590000 3cdc7f80 0a404000
CSD structure version: 1
Card command classes: 5b5
Read block length: 512
Does not support partial reads
Write block length: 512
Does not support partial writes
Does not support group WP
Card capacity: 7977472 Kbytes
File format: 0/0
Write protection:
u-boot # fatinfo mmc 0
Interface: MMC
Device 0: Vendor: Man 035344 Snr 0000e67f Rev: 8 0 Prod: SD08G
Type: Removable Hard Disk
Capacity: 7790.5 MB = 7.6 GB (15954944 x 512)
Partition 1: Filesystem: FAT32 "NO NAME "
u-boot # fatls mmc 0
3745704 bootpimage
1 file(s), 0 dir(s)
u-boot # fatload mmc 0 0x1000000 bootpImage
reading bootpImage
3745704 bytes read
u-boot # go 0x1000000
Download Patch
Reference:
1. Simplified Physical Layer Spec. (Version 2.00)
2. Simplified SD Host Controller Spec. (Version 2.00)
3. Simplified SDIO Card Spec. (Version 2.00)
Monday, April 6, 2009
Linux SMP Kernel boot-up messages on ARM11 MPCore based Platform
Linux version 2.6.27-arm1 (scott.shu@gmail.com) (gcc version 4.3.2 (G9
CPU: ARMv6-compatible processor [410fb020] revision 0 (ARMv7), cr=00c5387f
Machine: S---- ARM11 MPCore
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c022a8c0, node_mem_map c0261000
DMA zone: 65024 pages, LIFO batch:15
CPU0: D VIPT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: root=/dev/ram0 rw init=/linuxrc mem=256M console=ttyS0,3840
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254592KB available (2008K code, 281K data, 104K init)
Calibrating delay loop... 104.24 BogoMIPS (lpj=521216)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CNS3000: no. of cores (4) greater than configured maximum of 2 - clipping
Calibrating local timer... 131.10MHz.
CPU1: Booted secondary processor
CPU1: D VIPT write-back cache
CPU1: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU1: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Calibrating delay loop... 104.65 BogoMIPS (lpj=523264)
Brought up 2 CPUs
SMP: Total of 2 processors activated (208.89 BogoMIPS).
CPU0 attaching sched-domain:
domain 0: span 0-1 level CPU
groups: 0 1
CPU1 attaching sched-domain:
domain 0: span 0-1 level CPU
groups: 1 0
net_namespace: 596 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2571K
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 502
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x78000000 (irq = 37) is a 16550A
brd: module loaded
loop: module loaded
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 3
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 104K
# cat /proc/interrupts
CPU0 CPU1
32: 50 0 GIC Timer Tick
37: 4542 0 GIC serial
IPI: 334 493
LOC: 25087 25099
Err: 0
# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 0 (v6l)
processor : 0
BogoMIPS : 104.24
processor : 1
BogoMIPS : 104.65
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb02
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 32768
I assoc : 4
I line length : 32
I sets : 256
D size : 32768
D assoc : 4
D line length : 32
D sets : 256
Hardware : S---- ARM11 MPCore
Revision : 0000
Serial : 0000000000000000
CPU: ARMv6-compatible processor [410fb020] revision 0 (ARMv7), cr=00c5387f
Machine: S---- ARM11 MPCore
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c022a8c0, node_mem_map c0261000
DMA zone: 65024 pages, LIFO batch:15
CPU0: D VIPT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
Kernel command line: root=/dev/ram0 rw init=/linuxrc mem=256M console=ttyS0,3840
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
console [ttyS0] enabled
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 254592KB available (2008K code, 281K data, 104K init)
Calibrating delay loop... 104.24 BogoMIPS (lpj=521216)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CNS3000: no. of cores (4) greater than configured maximum of 2 - clipping
Calibrating local timer... 131.10MHz.
CPU1: Booted secondary processor
CPU1: D VIPT write-back cache
CPU1: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU1: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Calibrating delay loop... 104.65 BogoMIPS (lpj=523264)
Brought up 2 CPUs
SMP: Total of 2 processors activated (208.89 BogoMIPS).
CPU0 attaching sched-domain:
domain 0: span 0-1 level CPU
groups: 0 1
CPU1 attaching sched-domain:
domain 0: span 0-1 level CPU
groups: 1 0
net_namespace: 596 bytes
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
NET: Registered protocol family 1
checking if image is initramfs...it isn't (no cpio magic); looks like an initrd
Freeing initrd memory: 2571K
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 502
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver1 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x78000000 (irq = 37) is a 16550A
brd: module loaded
loop: module loaded
TCP cubic registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 3
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 104K
# cat /proc/interrupts
CPU0 CPU1
32: 50 0 GIC Timer Tick
37: 4542 0 GIC serial
IPI: 334 493
LOC: 25087 25099
Err: 0
# cat /proc/cpuinfo
Processor : ARMv6-compatible processor rev 0 (v6l)
processor : 0
BogoMIPS : 104.24
processor : 1
BogoMIPS : 104.65
Features : swp half thumb fastmult vfp edsp java
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xb02
CPU revision : 0
Cache type : write-back
Cache clean : cp15 c7 ops
Cache lockdown : format C
Cache format : Harvard
I size : 32768
I assoc : 4
I line length : 32
I sets : 256
D size : 32768
D assoc : 4
D line length : 32
D sets : 256
Hardware : S---- ARM11 MPCore
Revision : 0000
Serial : 0000000000000000
Subscribe to:
Posts (Atom)