wireless and ndiswrapper
Posted in Wireless
Atheros AR9271 – k2
NIC Bonding On Linux
http://www.howtoforge.org/nic-bonding-on-debian-lenny
http://b.cpalm.org/?p=420
http://www.linuxfoundation.org/print/5270
http://cha.homeip.net/blog/archives/2007/03/linux_bonding.html
http://benjr.tw/?q=node/78
http://www.enterprisenetworkingplanet.com/nethub/print.php/3697756
Posted in Uncategorized
Wikipedia: DDR 1/2/3 SDRAM
Modem help: broadcom 63xx
DULG Manual for PPC440EP (yosemite)
Field Replaceable Unit
FRU(Field Replaceable Unit) 現場可更換單元。
廠商為了節省成本,把設備分成多個FRU,大到power supply,小到fan之類的。直接更換而不修,所以大家以後想更換零件先看看它是不是fru。如果設備上沒有表示fru,那麼有part number(或者product number,serial number) 的就是FRU。
PART NUBMER 是廠商給用戶看的,如果你想買某個部件,那PARTS就是跟價格相關的。 PRODUCT NUMBER 是給廠商自己看的,同一個部件(PARTS)可能有多個product number.廠商給你供貨、保修時是看這個的。
SERIAL NUMBER,配合PART NUMBER 廠商可以確認設備的真假,合同,保修情況等。
Posted in Uncategorized
U-boot and Linux kernel version for 440EP yosemite boards

440EP yosemite board:
u-boot: 1.3.3
kernel: 2.6.25
Download u-boot.bin for AMCC boards:ftp://ftp.denx.de/pub/u-boot/images/amcc/
Posted in AMCC
Installing OpenWrt on a Microtik Routerboard RB433
AP91 OpenWRT

U-Boot 1.1.4 (Apr 23 2009 – 11:58:47)
AP91 (ar7240) U-boot
DRAM:
sri
#### TAP VALUE 1 = 8, 2 = 9
32 MB
Top of RAM usable for U-Boot at: 82000000
Reserving 243k for U-Boot at: 81fc0000
Reserving 192k for malloc() at: 81f90000
Reserving 44 Bytes for Board Info at: 81f8ffd4
Reserving 36 Bytes for Global Data at: 81f8ffb0
Reserving 128k for boot params() at: 81f6ffb0
Stack Pointer at: 81f6ff98
Now running in RAM – U-Boot at: 81fc0000
id read 0×100000ff
flash size 4194304, sector count = 64
Flash: 4 MB
*** Warning – bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: ag7240_enet_initialize…
Fetching MAC Address from 0×81fe6e50
: cfg1 0xf cfg2 0×7014
eth0: 00:03:7f:e0:02:f6
eth0 up
No valid address in Flash. Using fixed address
: cfg1 0xf cfg2 0×7214
eth1: 00:03:7f:09:0b:ad
ATHRS26: resetting s26
ATHRS26: s26 reset done
eth1 up
eth0, eth1
Hit any key to stop autoboot: 0
ar7240> loadb 80400000
## Ready for binary (kermit) download to 0×80400000 at 115200 bps…
(Back at localhost.localdomain)
—————————————————-
(/home/ben/) C-Kermit>cd trunk/bin/
(/home/ben/trunk/bin/) C-Kermit>send openwrt-ar71xx-uImage-lzma.bin
(/home/ben/trunk/bin/) C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
—————————————————-
## Total Size = 0×000d4943 = 870723 Bytes
## Start Addr = 0×80400000
ar7240> printenv
bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ar7240-nor0:192k(u-boot),64k(nvram),960k(linux),2752k(rootfs),64k(MAC),64k(ART)
bootcmd=bootm 0xbf040000
bootdelay=1
baudrate=115200
ethaddr=0×00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.1.10
serverip=192.168.1.27
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
filesize=D4943
Environment size: 373/65532 bytes
ar7240> set bootcmd bootm 80400000
ar7240> iminfo 80400000
## Checking Image at 80400000 …
Image Name: MIPS OpenWrt Linux-2.6.30.9
Created: 2009-10-30 2:07:05 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 870659 Bytes = 850.3 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum … OK
ar7240> boot
## Booting image at 80400000 …
Image Name: MIPS OpenWrt Linux-2.6.30.9
Created: 2009-10-30 2:07:05 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 870659 Bytes = 850.3 kB
Load Address: 80060000
Entry Point: 80060000
Verifying Checksum … OK
LZMA Umcompressing Kernel Image … Image loaded from 80060000-802e2200
OK
No initrd
## Transferring control to Linux (at address 80060000) …
## Giving linux memsize in bytes, 33554432
Starting kernel …
Linux version 2.6.30.9 (ben@arch) (gcc version 4.3.3 (GCC) ) #3 Thu Oct 29 21:06:53 CDT 2009
console [early0] enabled
CPU revision is: 00019374 (MIPS 24Kc)
Atheros AR7240 rev 2, CPU:350.000 MHz, AHB:175.000 MHz, DDR:350.000 MHz
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
User-defined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty – disabling initrd
Zone PFN ranges:
Normal 0×00000000 -> 0×00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
0: 0×00000000 -> 0×00002000
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
Kernel command line: rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200 console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ar7240-nor0:192k(u-boot),64k(nvram),960k(linux),2752k(rootfs),64k(MAC),64k(ART) mem=32M
Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Writing ErrCtl register=00000000
Readback ErrCtl register=00000000
NR_IRQS:56
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29436k/32768k available (1994k kernel code, 3332k reserved, 435k data, 140k init, 0k highmem)
SLUB: Genslabs=7, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop… 232.65 BogoMIPS (lpj=1163264)
Mount-cache hash table entries: 512
net_namespace: 1008 bytes
NET: Registered protocol family 16
MIPS: machine is Generic AR71xx board
bio: create slab at 0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
yaffs Oct 28 2009 22:29:38 Installing.
msgmni has been set to 57
alg: No test for lzma (lzma-generic)
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0×18020000 (irq = 11) is a 16550A
console handover: boot [early0] -> real [ttyS0]
Atheros AR71xx SPI Controller driver version 0.2.4
Atheros AR71xx hardware watchdog driver version 0.1.0
TCP westwood registered
NET: Registered protocol family 17
Bridge firewalling registered
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Cannot open root device “31:03″ or unknown-block(31,3)
Please append a correct “root=” boot option; here are the available partitions:
Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(31,3)
Posted in Uncategorized

