SSブログ

IODATA WN-G300DGR OpenWrt #7 専用ファームウェア作成

OpenWrt trunk のソースを追加,変更して,WN-G300DGR 用のファームウェアを作成した。sitecom WL-351 のソースコードに追加,変更したが,LED やWPSボタン等,GPIO関係は変更していない。
dmesg でマシン名が正しく表示された。
[    0.000000] Kernel command line:  board=WN-G300DGR console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x
[    0.120000] MIPS: machine is IODATA WN-G300DGR

root@OpenWrt:/# dmesg
[ 0.000000] Linux version 3.7.9 (wn@bt) (gcc version 4.6.4 20121210 (prerelease) (Linaro GCC 4.6-2012.12) ) #4 Fri Mar 8 09:09:04 JST 2013
[ 0.000000] prom: fw_arg0=00000001, fw_arg1=01f5ffb0, fw_arg2=01f603b0, fw_arg3=00000000
[ 0.000000] env[0]: memsize=32
[ 0.000000] env[1]: initrd_start=0x00000000
[ 0.000000] env[2]: initrd_size=0x0
[ 0.000000] env[3]: flash_start=0xBF000000
[ 0.000000] env[4]: flash_size=0x400000
[ 0.000000] env[0]: memsize=32
[ 0.000000] env[1]: initrd_start=0x00000000
[ 0.000000] env[2]: initrd_size=0x0
[ 0.000000] env[3]: flash_start=0xBF000000
[ 0.000000] env[4]: flash_size=0x400000
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80255c70, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8128 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=WN-G300DGR console=ttyS1,57600 mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),2880k(rootfs),3776k@0x50000(firmware) rootfstype=squashfs,jffs2
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] __ex_table already sorted, skipping sort
[ 0.000000] Writing ErrCtl register=00030414
[ 0.000000] Readback ErrCtl register=00030414
[ 0.000000] Memory: 29632k/32768k available (1970k kernel code, 3136k reserved, 472k data, 180k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:48
[ 0.000000] console [ttyS1] enabled, bootconsole disabled
[ 0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[ 0.090000] pid_max: default: 32768 minimum: 301
[ 0.100000] Mount-cache hash table entries: 512
[ 0.110000] NET: Registered protocol family 16
[ 0.120000] MIPS: machine is IODATA WN-G300DGR
[ 0.140000] bio: create slab <bio-0> at 0
[ 0.150000] Switching to clocksource MIPS
[ 0.160000] NET: Registered protocol family 2
[ 0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.210000] TCP: reno registered
[ 0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.240000] NET: Registered protocol family 1
[ 0.280000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.290000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.310000] msgmni has been set to 57
[ 0.320000] io scheduler noop registered
[ 0.330000] io scheduler deadline registered (default)
[ 0.340000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.350000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[ 0.370000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[ 0.380000] physmap platform flash device: 00800000 at bf000000
[ 0.390000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a7
[ 0.420000] physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
[ 0.420000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.430000] Amd/Fujitsu Extended Query version 1.1.
[ 0.440000] physmap-flash.0: Swapping erase regions for top-boot CFI table.
[ 0.450000] number of CFI chips: 1
[ 0.460000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[ 0.470000] Creating 6 MTD partitions on "physmap-flash.0":
[ 0.480000] 0x000000000000-0x000000030000 : "u-boot"
[ 0.490000] 0x000000030000-0x000000040000 : "u-boot-env"
[ 0.510000] 0x000000040000-0x000000050000 : "factory"
[ 0.520000] 0x000000050000-0x000000130000 : "kernel"
[ 0.530000] 0x000000130000-0x000000400000 : "rootfs"
[ 0.550000] mtd: partition "rootfs" set to be root filesystem
[ 0.560000] mtd: partition "rootfs_data" created automatically, ofs=2F0000, len=110000
[ 0.570000] 0x0000002f0000-0x000000400000 : "rootfs_data"
[ 0.590000] 0x000000050000-0x000000400000 : "firmware"
[ 0.610000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[ 0.630000] TCP: cubic registered
[ 0.630000] NET: Registered protocol family 17
[ 0.640000] 8021q: 802.1Q VLAN Support v1.8
[ 0.660000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 0.670000] Freeing unused kernel memory: 180k freed
[ 2.750000] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[ 2.860000] Button Hotplug driver version 0.4.1
[ 2.930000] Registered led device: wl-351:amber:power
[ 2.930000] Registered led device: wl-351:amber:unpopulated
[ 2.930000] Registered led device: wl-351:blue:unpopulated
[ 7.750000] Compat-drivers backport release: compat-drivers-2013-01-21-1
[ 7.770000] Backport based on wireless-testing.git master-2013-02-22
[ 7.780000] compat.git: wireless-testing.git
[ 7.820000] cfg80211: Calling CRDA to update world regulatory domain
[ 7.830000] cfg80211: World regulatory domain updated:
[ 7.840000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.860000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.870000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.890000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.900000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.920000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 8.410000] usbcore: registered new interface driver usbfs
[ 8.420000] usbcore: registered new interface driver hub
[ 8.430000] usbcore: registered new device driver usb
[ 8.760000] phy0 -> rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'soc_wmac.eeprom'.
[ 8.940000] phy0 -> rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[ 8.950000] rt2800_wmac: probe of rt2800_wmac.0 failed with error -2
[ 9.010000] PPP generic driver version 2.4.2
[ 9.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 9.420000] NET: Registered protocol family 24
[ 9.450000] nf_conntrack version 0.5.0 (465 buckets, 1860 max)
[ 9.760000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[ 9.770000] rtl8366rb rtl8366rb: using GPIO pins 1 (SDA) and 2 (SCK)
[ 9.790000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[ 9.870000] libphy: rtl8366rb: probed
[ 9.960000] dwc_otg: version 2.72a 24-JUN-2008
[ 9.970000] dwc_otg: Core Release: 2.66a
[ 10.180000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
[ 10.190000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
[ 10.200000] dwc_otg: Using DMA mode
[ 10.210000] dwc_otg: Device using Buffer DMA mode
[ 10.220000] dwc_otg dwc_otg.0: DWC OTG Controller
[ 10.230000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
[ 10.240000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
[ 10.250000] dwc_otg: Init: Port Power? op_state=1
[ 10.260000] dwc_otg: Init: Power Port (0)
[ 10.270000] hub 1-0:1.0: USB hub found
[ 10.280000] hub 1-0:1.0: 1 port detected
[ 14.920000] device eth0.1 entered promiscuous mode
[ 14.930000] device eth0 entered promiscuous mode
[ 14.950000] br-lan: port 1(eth0.1) entered forwarding state
[ 14.960000] br-lan: port 1(eth0.1) entered forwarding state
[ 15.910000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33
[ 16.960000] br-lan: port 1(eth0.1) entered forwarding state
[ 30.710000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 30.750000] jffs2_build_filesystem(): unlocking the mtd device... done.
[ 30.760000] jffs2_build_filesystem(): erasing all blocks after the end marker... done.
[ 43.490000] jffs2: notice: (957) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.




nice!(3)  コメント(0)  トラックバック(0) 

nice! 3

コメント 0

コメントを書く

お名前:
URL:
コメント:
画像認証:
下の画像に表示されている文字を入力してください。

Facebook コメント

トラックバック 0

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。