|
Сериальчики онлайн! | |
Общие правила форума/FAQ Правила оформления запросов/релизов Для правообладателей |
|
Опции темы | Поиск в этой теме |
22.09.2013, 13:03 | #26 | |
Talkers Member
Регистрация: 17.06.2008
Сообщений: 2,149
Сказал(а) спасибо: 656
Поблагодарили 265 раз(а) в 66 сообщениях
|
Цитата:
__________________
http://st65.ru/ |
|
22.09.2013, 13:22 | #27 |
Talkers Junior
|
Как-то так:
Код:
svn co svn://svn.openwrt.org/openwrt/trunk/ cd trunk make prereq && make tools/install && make toolchain/install make defconfig ... make menuconfig make
__________________
|
22.09.2013, 19:14 | #28 |
Talkers Junior
|
Кстати, из trunk уже что-то получается, но никак не выходит сохранять настройки на флеш-память устройства. Пытаюсь разобраться.
Никакого DSL точно не предвидится, а вот Wi-Fi не получается завести. Но до этого необходимо разобраться с сохранением изменений в файловую систему. Там /dev/mtdblock3 примонтирован в качестве overlayfs, но, похоже, ничего не работает. Лог загрузки HELO CPUI L1CI DRAM ---- PHYS PHYE DINT LSYN USYN MSYN LMBE PASS ---- ZBSS CODE DATA L12F MAIN CFE version 1.0.37-106.5 for BCM96328 (32bit,SP,BE) Build Date: Tue Nov 1 17:30:26 CST 2011 (wanghuaijia@txcpyjeb) Copyright (C) 2000-2009 Broadcom Corporation. spi_flash_init find device_id spi_flash_get_device_id device_id =c815 HS Serial flash device: name GD25Q32, id 0xc815 size 4096KB Total Flash size: 4096K with 1024 sectors FLASH_BASE = 0xb8000000 fInfo->flash_rootfs_start_offset = 0x00010000 fInfo->flash_meta_start_blk = 1016 fInfo->flash_syslog_start_blk = 0 fInfo->flash_syslog_number_blk = 0 fInfo->flash_syslog_length = 0x0 fInfo->flash_backup_psi_start_blk = 0 fInfo->flash_backup_psi_number_blk = 0 sp startAddr = 0xb83f8000 fInfo->flash_scratch_pad_start_blk = 1016 fInfo->flash_scratch_pad_number_blk = 2 fInfo->flash_scratch_pad_length = 0x2000 fInfo->flash_scratch_pad_blk_offset = 0x0 psi startAddr = b83fa000 fInfo->flash_persistent_start_blk = 1018 fInfo->flash_persistent_number_blk = 6 fInfo->flash_persistent_length = 0x6000 fInfo->flash_persistent_blk_offset = 0x0 Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz Main Thread: TP0 Memory Test Passed Total Memory: 67108864 bytes (64MB) Boot Address: 0xb8000000 Board IP address : 192.168.1.200:ffffff00 Host IP address : 192.168.1.1 Gateway IP address : Run from flash/host (f/h) : f Default host run file name : vmlinux Default host flash file name : openwrt.bin Boot delay (0-9 seconds) : 1 Board Id (0-4) : 96328A600 Number of MAC Addresses (1-32) : 10 Base MAC Address : 00:10:18:00:00:00 PSI Size (1-64) KBytes : 24 Enable Backup PSI [0|1] : 0 System Log Size (0-256) KBytes : 0 Main Thread Number [0|1] : 0 User's PSI Size (0-64) KBytes : 0 Voice Board Configuration (0-4) : LE88276 *** Press 'j' or 'J' to stop auto run (1 seconds) *** Auto run second count down: 110 Booting from only image (0xb8010000) ... Code Address: 0x80010000, Entry Address: 0x80010000 LZMA: Prossible old LZMA format, trying to decompress.. Decompression OK! Entry at 0x80010000 Closing network. Disabling Switch ports. Flushing Receive Buffers... 0 buffers found. Closing DMA Channels. Starting program at 0x80010000 [ 0.000000] Linux version 3.10.12 (jabberd@gemini-desktop) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38114) ) #6 Sun Sep 22 18:59:31 SAKT 2013 [ 0.000000] Detected Broadcom 0x6328 CPU revision b0 [ 0.000000] CPU frequency is 320 MHz [ 0.000000] 64MB of RAM installed [ 0.000000] registering 32 GPIOs [ 0.000000] board_bcm963xx: Boot address 0xb8000000 [ 0.000000] board_bcm963xx: CFE version: 1.0.37-106.5 [ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected ffffffff, got e2777034) [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 0002a075 (Broadcom BMIPS4350) [ 0.000000] board_bcm963xx: board name: 96328A600 [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 04000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x03ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x03ffffff] [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 16 bytes. [ 0.000000] Primary data cache 32kB, 2-way, VIPT, cache aliases, linesize 16 bytes [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 61496k/65536k available (2318k kernel code, 4040k reserved, 599k data, 216k init, 0k highmem) [ 0.000000] NR_IRQS:128 [ 0.000000] Calibrating delay loop... 318.46 BogoMIPS (lpj=636928) [ 0.036000] pid_max: default: 32768 minimum: 301 [ 0.040000] Mount-cache hash table entries: 512 [ 0.048000] NET: Registered protocol family 16 [ 0.276000] registering PCI controller with io_map_base unset [ 0.288000] bio: create slab <bio-0> at 0 [ 0.292000] PCI host bridge to bus 0000:00 [ 0.296000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x11efffff] [ 0.300000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0] [ 0.304000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] [ 0.308000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring [ 0.312000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff] [ 0.316000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit] [ 0.320000] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.324000] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff] [ 0.328000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 0.332000] Switching to clocksource MIPS [ 0.340000] NET: Registered protocol family 2 [ 0.348000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.352000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.360000] TCP: Hash tables configured (established 512 bind 512) [ 0.368000] TCP: reno registered [ 0.372000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.376000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.384000] NET: Registered protocol family 1 [ 0.392000] audit: initializing netlink socket (disabled) [ 0.396000] type=2000 audit(0.396:1): initialized [ 0.404000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.408000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.420000] msgmni has been set to 120 [ 0.424000] io scheduler noop registered [ 0.428000] io scheduler deadline registered (default) [ 0.436000] bcm63xx_uart.0: ttyS0 at MMIO 0xb0000100 (irq = 36) is a bcm63xx_uart [ 0.444000] console [ttyS0] enabled, bootconsole disabled [ 0.444000] console [ttyS0] enabled, bootconsole disabled [ 0.460000] m25p80 spi1.0: found gd25q32, expected m25p80 [ 0.468000] m25p80 spi1.0: gd25q32 (4096 Kbytes) [ 0.472000] bcm63xxpart: CFE boot tag found with version 6 and board type 96328A600 [ 0.480000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000 [ 0.488000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 10ff00 [ 0.492000] bcm63xxpart: Partition 2 is rootfs offset 120000 and length 2d0000 [ 0.500000] bcm63xxpart: Partition 3 is nvram offset 3f0000 and length 10000 [ 0.508000] bcm63xxpart: Partition 4 is linux offset 10000 and length 3e0000 [ 0.516000] bcm63xxpart: Spare partition is offset 330004 and length bfffc [ 0.524000] 5 bcm63xxpart partitions found on MTD device spi1.0 [ 0.528000] Creating 5 MTD partitions on "spi1.0": [ 0.532000] 0x000000000000-0x000000010000 : "CFE" [ 0.540000] 0x000000010100-0x000000120000 : "kernel" [ 0.548000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.564000] 0x000000120000-0x0000003f0000 : "rootfs" [ 0.572000] mtd: partition "rootfs" set to be root filesystem [ 0.576000] mtd: partition "rootfs_data" created automatically, ofs=0x330000, len=0xc0000 [ 0.584000] 0x000000330000-0x0000003f0000 : "rootfs_data" [ 0.592000] 0x0000003f0000-0x000000400000 : "nvram" [ 0.600000] 0x000000010000-0x0000003f0000 : "linux" [ 0.648000] b53_common: found switch: BCM63xx, rev 0 [ 0.652000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec [ 0.660000] TCP: cubic registered [ 0.664000] NET: Registered protocol family 17 [ 0.668000] 8021q: 802.1Q VLAN Support v1.8 [ 0.684000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 0.696000] Freeing unused kernel memory: 216K (802ea000 - 80320000) procd: Console is alive procd: - watchdog - [ 4.852000] Button Hotplug driver version 0.4.1 kmod: ran 8 iterations procd: - preinit - ifconfig: SIOCGIFFLAGS: No such device Press the [f] key and hit [enter] to enter failsafe mode mount_root: jffs2 is not ready - marker found ifconfig: SIOCGIFFLAGS: No such device procd: - early - procd: - watchdog - procd: - init - Please press Enter to activate this console. [ 10.000000] NET: Registered protocol family 10 [ 10.896000] wl: module license 'unspecified' taints kernel. [ 10.904000] Disabling lock debugging due to kernel taint [ 11.036000] SSB/BCMA glue driver successfully attached [ 11.044000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002) [ 11.048000] ------------[ cut here ]------------ [ 11.056000] WARNING: at mm/slab_common.c:377 kmalloc_slab+0x50/0xc4() [ 11.060000] Modules linked in: wl(P+) wl_glue bcma ipv6 arc4 crypto_blkcipher gpio_keys_polled input_polldev button_hotplug input_core crypto_hash [ 11.076000] CPU: 0 PID: 249 Comm: kmodloader Tainted: P 3.10.12 #6 [ 11.080000] Stack : 00000006 00000000 00000000 00000000 00000000 00000000 8034b396 00000042 83af1b60 80281c0c 8032b308 802d52db 000000f9 83b7740c b0f00000 00000000 00000001 80029520 00000003 80026eac 00000000 00000000 80283f94 83893984 00893984 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 83893910 ... [ 11.120000] Call Trace: [ 11.120000] [<8001ef0c>] show_stack+0x48/0x70 [ 11.124000] [<80027030>] warn_slowpath_common+0x78/0xa8 [ 11.132000] [<80027078>] warn_slowpath_null+0x18/0x24 [ 11.136000] [<800811f0>] kmalloc_slab+0x50/0xc4 [ 11.140000] [<80097468>] __kmalloc+0x20/0x104 [ 11.144000] [<82e2391c>] osl_malloc+0x24/0x6c [wl] [ 11.152000] [<82e15068>] nvram_init+0x58/0xb0 [wl] [ 11.160000] [<82e082d0>] si_pci_fixcfg+0x5d4/0xa18 [wl] [ 11.164000] [ 11.168000] ---[ end trace 6eb063a36465cbae ]--- [ 11.172000] Got version 2 SPROM from SSB [ 11.184000] wl0: 5.10.56.27 driver failed with code 13 [ 11.208000] nf_conntrack version 0.5.0 (964 buckets, 3856 max) [ 11.228000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 11.260000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 11.268000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 11.284000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 11.356000] xt_time: kernel timezone is -0000 [ 11.404000] cfg80211: Calling CRDA to update world regulatory domain [ 11.412000] cfg80211: World regulatory domain updated: [ 11.420000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 11.428000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.436000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.444000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 11.452000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.460000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 11.608000] PPP generic driver version 2.4.2 [ 11.616000] NET: Registered protocol family 24 [ 11.668000] Broadcom 43xx driver loaded [ Features: PNL ] [ 20.152000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 1, 100Mbps, full-duplex [ 20.160000] bcm63xx_enetsw bcm63xx_enetsw.0: link UP on Port 2, 100Mbps, full-duplex [ 22.924000] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0 [ 22.956000] jffs2_build_filesystem(): unlocking the mtd device... done. [ 22.960000] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 23.988000] jffs2: Newly-erased block contained word 0xdeadc0de at offset 0x00000000 [ 24.024000] done. [ 24.024000] jffs2: notice: (558) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 24.356000] jffs2: Node CRC ffffffff != calculated CRC f09e7845 for node at 000a0234 [ 24.376000] jffs2: Node CRC ffffffff != calculated CRC f09e7845 for node at 000a02cc [ 24.400000] jffs2: Node CRC ffffffff != calculated CRC f09e7845 for node at 000a0360 [ 24.424000] jffs2: Node CRC ffffffff != calculated CRC f09e7845 for node at 000a03f4 [ 24.480000] jffs2: Node CRC ffffffff != calculated CRC f09e7845 for node at 000a0480 procd: - init complete - BusyBox v1.19.4 (2013-09-22 16:39:31 SAKT) built-in shell (ash) Enter 'help' for a list of built-in commands. _______ ________ __ | |.-----.-----.-----.| | | |.----.| |_ | - || _ | -__| || | | || _|| _| |_______|| __|_____|__|__||________||__| |____| |__| W I R E L E S S F R E E D O M ----------------------------------------------------- BARRIER BREAKER (Bleeding Edge, r38114) ----------------------------------------------------- * 1/2 oz Galliano Pour all ingredients into * 4 oz cold Coffee an irish coffee mug filled * 1 1/2 oz Dark Rum with crushed ice. Stir. * 2 tsp. Creme d ----------------------------------------------------- root@OpenWrt:/# uname -a Linux OpenWrt 3.10.12 #6 Sun Sep 22 18:59:31 SAKT 2013 mips GNU/Linux root@OpenWrt:/# cat /proc/cpuinfo system type : bcm63xx/96328A600 (0x6328/0xB0) machine : Unknown processor : 0 cpu model : Broadcom BMIPS4350 V7.5 BogoMIPS : 318.46 wait instruction : yes microsecond timers : yes tlb_entries : 32 extra interrupt vector : yes hardware watchpoint : no isa : mips1 mips2 mips32r1 ASEs implemented : shadow register sets : 1 kscratch registers : 0 core : 0 VCED exceptions : not available VCEI exceptions : not available root@OpenWrt:/# cat /proc/meminfo MemTotal: 61712 kB MemFree: 43076 kB Buffers: 1960 kB Cached: 6580 kB SwapCached: 0 kB Active: 3932 kB Inactive: 5612 kB Active(anon): 1052 kB Inactive(anon): 20 kB Active(file): 2880 kB Inactive(file): 5592 kB Unevictable: 0 kB Mlocked: 0 kB SwapTotal: 0 kB SwapFree: 0 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 1020 kB Mapped: 1184 kB Shmem: 68 kB Slab: 4136 kB SReclaimable: 676 kB SUnreclaim: 3460 kB KernelStack: 232 kB PageTables: 168 kB NFS_Unstable: 0 kB Bounce: 0 kB WritebackTmp: 0 kB CommitLimit: 30856 kB Committed_AS: 3012 kB VmallocTotal: 1032116 kB VmallocUsed: 1296 kB VmallocChunk: 1025588 kB root@OpenWrt:/# mount rootfs on / type rootfs (rw) /dev/root on /rom type squashfs (ro,relatime) proc on /proc type proc (rw,noatime) sysfs on /sys type sysfs (rw,noatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime) tmpfs on /tmp/root type tmpfs (rw,noatime,mode=755) tmpfs on /dev type tmpfs (rw,relatime,size=512k,mode=755) devpts on /dev/pts type devpts (rw,relatime,mode=600) debugfs on /sys/kernel/debug type debugfs (rw,noatime) /dev/mtdblock3 on /overlay type jffs2 (rw,noatime) overlayfs:/overlay on / type overlayfs (rw,noatime,lowerdir=/,upperdir=/overlay) root@OpenWrt:/# df -h Filesystem Size Used Available Use% Mounted on rootfs 768.0K 268.0K 500.0K 35% / /dev/root 2.3M 2.3M 0 100% /rom tmpfs 30.1M 44.0K 30.1M 0% /tmp tmpfs 30.1M 24.0K 30.1M 0% /tmp/root tmpfs 512.0K 0 512.0K 0% /dev /dev/mtdblock3 768.0K 268.0K 500.0K 35% /overlay overlayfs:/overlay 768.0K 268.0K 500.0K 35% / root@OpenWrt:/# ifconfig eth0 Link encap:Ethernet HWaddr 00:10:18:00:00:00 inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fe80::210:18ff:fe00:0/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:14329 errors:0 dropped:14 overruns:0 frame:0 TX packets:76 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1956619 (1.8 MiB) TX bytes:7782 (7.5 KiB) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:4576 (4.4 KiB) TX bytes:4576 (4.4 KiB) root@OpenWrt:/# iwconfig lo no wireless extensions. eth0 no wireless extensions. root@OpenWrt:/# Файлы для модификации в trunk target/linux/brcm63xx/image/Makefile build_dir/target-mips_uClibc-0.9.33.2/linux-brcm63xx_generic/linux-3.10.12/arch/mips/bcm63xx/boards/board_bcm963xx.c staging_dir/target-mips_uClibc-0.9.33.2/root-brcm63xx/etc/uci-defaults/09_fix_crc
__________________
Последний раз редактировалось gemini; 22.09.2013 в 19:25. |
22.09.2013, 19:19 | #29 |
Talkers Junior
|
Пробовал RT43** выбрать для wifi?
__________________
#авытамдержитесь! #почемунет? |
22.09.2013, 20:05 | #30 |
Talkers Junior
|
Что ты имеешь в виду? Опцию в make menuconfig у openwrt?
__________________
|
22.09.2013, 22:03 | #31 |
Talkers Junior
|
__________________
#авытамдержитесь! #почемунет? |
22.09.2013, 23:49 | #32 |
Talkers Junior
|
Пробовал и открытые, и проприетарные дрова Wi-Fi. Никак не завелось. Пока что вернул к старнетовской прошивке и отложил эту затею =)
__________________
|
12.10.2013, 21:14 | #33 |
Junior Member
Регистрация: 09.12.2010
Сообщений: 17
Сказал(а) спасибо: 3
Поблагодарили 0 раз(а) в 0 сообщениях
|
Подскажите где можно найти прошивку на Ar 800 v1.1 модем черный
Последний раз редактировалось MR.MAY; 12.10.2013 в 21:16. |
12.10.2013, 22:26 | #34 |
Talkers Junior
|
Сам искал -нигде. Это вообще модем Conexant на самом деле.
__________________
#авытамдержитесь! #почемунет? |