Z tym, że pliczek *.pem, który to trzeba sobie skleić jak podano tu, ma się niby składać z jakiegoś fullchain.pem. Skąd to wziąć?
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
eko.one.pl → Posty przez kurwicycek
Z tym, że pliczek *.pem, który to trzeba sobie skleić jak podano tu, ma się niby składać z jakiegoś fullchain.pem. Skąd to wziąć?
Ok, a jak nie mam publicznego ip?
Nie zależy mi na podpisie, tylko szyfrowaniu.
Czy udało się komuś uruchomić domoticz na openwrt przez https? Czy prócz zmiany w /etc/config/domoticz na option sslwww '443' (i scieżki certyfikatów, firewall...) coś jeszcze trzeba ustawić, żeby to zatrybiło? Nic mi nie działa na tym porcie. Domoticz też nie
.
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1831/uhttpd
tcp 0 0 10.0.0.4:53 0.0.0.0:* LISTEN 1301/dnsmasq
tcp 0 0 172.22.1.227:53 0.0.0.0:* LISTEN 1301/dnsmasq
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 1301/dnsmasq
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1661/dropbear
tcp 0 0 127.0.0.1:9050 0.0.0.0:* LISTEN 1711/tor
tcp 0 0 :::6144 :::* LISTEN 2101/domoticz
tcp 0 0 :::8080 :::* LISTEN 2101/domoticz
tcp 0 0 :::80 :::* LISTEN 1831/uhttpd
tcp 0 0 fe80::280:64ff:fe71:956f:53 :::* LISTEN 1301/dnsmasq
tcp 0 0 ::1:53 :::* LISTEN 1301/dnsmasq
tcp 0 0 :::22 :::* LISTEN 1661/dropbear
udp 0 0 10.0.0.4:53 0.0.0.0:* 1301/dnsmasq
udp 0 0 172.22.1.227:53 0.0.0.0:* 1301/dnsmasq
udp 0 0 127.0.0.1:53 0.0.0.0:* 1301/dnsmasq
udp 0 0 0.0.0.0:46903 0.0.0.0:* -
udp 0 0 0.0.0.0:49007 0.0.0.0:* -
udp 0 0 :::547 :::* 1479/odhcpd
udp 0 0 fe80::280:64ff:fe71:956f:53 :::* 1301/dnsmasq
udp 0 0 ::1:53 :::* 1301/dnsmasq
udp 0 0 :::49007 :::* -Czy da radę te certyfikaty wygenerować jakoś samemu?
Co ma dać zmiana regionu i ten rzekomy zysk o kilka db? Czego oczekujesz? Bo to nic nie da, tym bardziej że urządzenie odpowie ze swoją mocą.
Zważywszy na to, że wzrost o 3dBm oznacza dwukrotny wzrost mocy nadawania, spodziewałbym się istotnej poprawy.
Odpowiedź na pytanie kolegi znajduje się w pierwszym zdaniu na tej stronie. Wytłuszczonym drukiem.
Nie wiedziałem. Skoro tak, to faktycznie bez sensu. Dzięki za info.
Mam problem z kompilacją domoticza stąd pod 18.06. Gdy wrzucę pliki do katalogu /package nie widać go potem w make menuconfig. Z LEDE działa. Co może być przyczyną takiego stanu rzeczy?
A co takiego ma ta supla czego nie ma domoticz, który działa na openwrt/lede?
Dziś dotarł do mnie ten moduł i zabawiłem się nim trochę.
U4 to jest mikrokontroler i gada on z ESP8266 przez UART, ale co i jak - nie mam pojęcia.
Jest za to prosty sposób na to ,żeby sterować przekaźnikiem przez Rx (GPIO3) w ESP-01. Trzeba wylutować U4, zewrzeć jego pola 6 i 7 oraz zamienić R3 na 4,7k.
Wy to naprawdę potraficie sobie utrudnić prostą sprawę
Przecież wystarczy wgrać mojego U-Boota, a resztę dograć sobie przez www (firmware, art). A jak już naprawdę chcesz mieć gotowy wsad do wgrania na całą kość, to zamiast bawić się w edytorze hex i machać myszką, wygeneruj go sobie przy pomocy dd.
Nie wiem jak inni, ale ja jestem dość biegły we wciskaniu Ctrl+C i Ctrl+V, więc ten sposób wydał mi się najprostszy. Poza tym mam jedynie Windowsa na swoim pececie, a mój tani chiński programator i tak zawsze nagrywa całą kość.
Ja to robiłem tak: kopiowałem osiem razy zawartość (doklejałem do końca pliku) w hexedytorze, na początek wklejałem u-boot od peke2k i potem wgrywałem soft na działającym ruterze przez u-boot. Bez problemów.
W przypadku flasha 2MB partycję art masz od 1F0000 do końca pliku. Z resztą spróbuj wyciąć 64kB od 1F1000
.
Aha, przerabiałem kilka takich ruterów i pięknie działają. Można też dolutować gniazdo USB.
Oczywiście można wstawiać ART w odpowiednie miejsce, liczyć bajty, zamieniać na system szesnastkowy... tylko po co?
Nie łatwiej otworzyć sczytaną zawartość flash w hexedytorze, skopiować i dokleić trzy razy do końca pliku (zakładając migrację z 4MiB do 16MiB)? Nagrywasz to potem na nowy flash i masz U-boot, MAC i ART na swoim miejscu, a reszta i tak jest nadpisywana/kasowana przy wgraniu OpenWrt albo LEDE. Szybko, łatwo i bezproblemowo.
Nie jestem specjalistą tylko lamusem
.
W rzeczonym terminalu jest faktycznie dużo wolnych GPIO, ale do każdego trzeba się dobierać bezpośrednio do CPU z drugiej strony PCB. Wprawa w lutowaniu niezbędna.
Tobie polecam zainteresować się tym.
Nie testowałem tak długo tego sprzętu, bo to tylko tak dla zabawy. Mam terminal Wyse S10 z CC i tam działa stabilnie kilka miesięcy. Na OpenWrt miałem problemy jedynie gdy brakowało ramu.
Da się - zwykłą lutownicą na gorące powietrze
. W sumie to ja i opalarką dał bym radę, ale mam spore doświadczenie
.
Koszt to $0.99 na AliExpress, albo wylutować z kości SO-DIMM, które są po cenie złomu.
Zgadza się.
Możesz też użyć mojej kompilacji.
Stąd.
Działa bardzo ładnie.
Moim zdaniem nie warto kupować anten do wifi. Ceny naprawdę dobrych są dużo za wysokie.
Polecę z kolei inną konstrukcję do rutera, ewentualnie inną, kierunkową. Na kanale tego kolesia znajdziesz ich kilka.
Ogarnięty szałem lutowania postanowiłem zmienić RAM w tym ruterze i udało się zwiększyć ją dwukrotnie:
HELO
CPUI
L1CI
DRAM
----
PHYS
ZQDN
PHYE
DINT
LSYN
USYN
MSYN
LMBE
PASS
----
ZBSS
CODE
DATA
L12F
MAIN
CFE version 5.38.7 for BCM96328 (32bit,SP,BE)
Build Date: Fri Aug 10 17:44:02 CST 2012 (liruicong@SZ01007.DONGGUAN.CN)
Copyright (C) 2005-2010 SAGEM Corporation.
HS Serial flash device: name S25FL064, id 0x0116 size 8192KB
Total Flash size: 8192K with 128 sectors
Chip ID: BCM6328B0, MIPS: 320MHz, DDR: 320MHz, Bus: 160MHz
Main Thread: TP0
Memory Test Passed
Total Memory: 134217728 bytes (128MB)
Boot Address: 0xb8000000
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
Board Id (0-5) : F@ST2704V2
Number of MAC Addresses (1-32) : 11
Base MAC Address : 7c:03:d8:96:f0:c2
PSI Size (1-64) KBytes : 40
Enable Backup PSI [0|1] : 0
System Log Size (0-256) KBytes : 0
Main Thread Number [0|1] : 0
*** Press any key to stop auto run (1 seconds) ***
Auto run second count down: 0
Booting from only image (0xb8010000) ...
Code Address: 0x80A00000, Entry Address: 0x80a00000
LZMA: Prossible old LZMA format, trying to decompress..
Decompression OK!
Entry at 0x80a00000
Closing network.
Disabling Switch ports.
Flushing Receive Buffers...
0 buffers found.
Closing DMA Channels.
Starting program at 0x80a00000
[ 0.000000] Linux version 3.18.23 (cezary@eko.one.pl) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #5 Sat Jan 2 21:04:18 CET 2016
[ 0.000000] Detected Broadcom 0x6328 CPU revision b0
[ 0.000000] CPU frequency is 320 MHz
[ 0.000000] 128MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xb8000000
[ 0.000000] board_bcm963xx: CFE version: 53.46.51-56.46-55
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a075 (Broadcom BMIPS4350)
[ 0.000000] board: board name: F@ST2704V2
[ 0.000000] MIPS: machine is Sagem F@ST2704V2
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x07ffffff]
[ 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: 32512
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 124692K/131072K available (2815K kernel code, 138K rwdata, 664K rodata, 1304K init, 192K bss, 6380K reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] Calibrating delay loop... 319.74 BogoMIPS (lpj=639488)
[ 0.040000] pid_max: default: 32768 minimum: 301
[ 0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] NET: Registered protocol family 16
[ 0.300000] registering PCI controller with io_map_base unset
[ 0.324000] PCI host bridge to bus 0000:00
[ 0.328000] pci_bus 0000:00: root bus resource [mem 0x10f00000-0x10ffffff]
[ 0.332000] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.336000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.340000] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.344000] pci 0000:00:00.0: BAR 8: assigned [mem 0x10f00000-0x10ffffff]
[ 0.348000] pci 0000:01:00.0: BAR 0: assigned [mem 0x10f00000-0x10f03fff 64bit]
[ 0.352000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.356000] pci 0000:00:00.0: bridge window [mem 0x10f00000-0x10ffffff]
[ 0.360000] Switched to clocksource MIPS
[ 0.364000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 0.372000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 0.376000] bcma: bus0: Found chip with id 43225, rev 0x01 and package 0x0A
[ 0.384000] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x22, class 0x0)
[ 0.392000] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x17, class 0x0)
[ 0.404000] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x0F, class 0x0)
[ 0.536000] bcma: bus0: Invalid SPROM read from the PCIe card, trying to use fallback SPROM
[ 0.544000] bcma: bus0: Using fallback SPROM failed (err -2)
[ 0.548000] bcma: bus0: No SPROM available
[ 0.564000] bcma: bus0: Bus registered
[ 0.568000] NET: Registered protocol family 2
[ 0.576000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.584000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.588000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.596000] TCP: reno registered
[ 0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.604000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.612000] NET: Registered protocol family 1
[ 0.620000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.628000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.636000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.644000] msgmni has been set to 243
[ 0.652000] io scheduler noop registered
[ 0.656000] io scheduler deadline registered (default)
ú[ 0.672000] console [ttyS0] enabled MMIO 0xb0000100 (irq = 36, base_baud = 1562500) is a bcm63xx_uart
[ 0.672000] console [ttyS0] enabled
[ 0.680000] bootconsole [early0] disabled
[ 0.680000] bootconsole [early0] disabled
[ 0.692000] m25p80 spi1.0: found s25sl064p, expected m25p80
[ 0.696000] m25p80 spi1.0: s25sl064p (8192 Kbytes)
[ 0.704000] bcm63xxpart: CFE boot tag found with version 6 and board type F@ST2704V2
[ 0.712000] bcm63xxpart: Partition 0 is CFE offset 0 and length 10000
[ 0.716000] bcm63xxpart: Partition 1 is kernel offset 10100 and length 136469
[ 0.724000] bcm63xxpart: Partition 2 is rootfs offset 146569 and length 6a9a97
[ 0.732000] bcm63xxpart: Partition 3 is nvram offset 7f0000 and length 10000
[ 0.740000] bcm63xxpart: Partition 4 is linux offset 10000 and length 7e0000
[ 0.748000] 5 bcm63xxpart partitions found on MTD device spi1.0
[ 0.752000] Creating 5 MTD partitions on "spi1.0":
[ 0.756000] 0x000000000000-0x000000010000 : "CFE"
[ 0.764000] 0x000000010100-0x000000146569 : "kernel"
[ 0.772000] 0x000000146569-0x0000007f0000 : "rootfs"
[ 0.776000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.792000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.800000] 0x0000003c0000-0x0000007f0000 : "rootfs_data"
[ 0.808000] 0x0000007f0000-0x000000800000 : "nvram"
[ 0.816000] 0x000000010000-0x0000007f0000 : "linux"
[ 0.860000] b53_common: found switch: BCM63xx, rev 0
[ 0.864000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.876000] TCP: cubic registered
[ 0.876000] NET: Registered protocol family 17
[ 0.884000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.896000] Bridge firewalling registered
[ 0.900000] 8021q: 802.1Q VLAN Support v1.8
[ 0.920000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.944000] Freeing unused kernel memory: 1304K (8039a000 - 804e0000)
[ 2.724000] init: Console is alive
[ 2.728000] init: - watchdog -
[ 3.512000] random: nonblocking pool is initialized
[ 5.432000] usbcore: registered new interface driver usbfs
[ 5.436000] usbcore: registered new interface driver hub
[ 5.444000] usbcore: registered new device driver usb
[ 5.540000] SCSI subsystem initialized
[ 5.560000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.572000] ehci-platform: EHCI generic platform driver
[ 5.680000] ehci-platform ehci-platform: EHCI Host Controller
[ 5.684000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 5.692000] ehci-platform ehci-platform: irq 50, io mem 0xb0002500
[ 5.712000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored
[ 5.720000] hub 1-0:1.0: USB hub found
[ 5.724000] hub 1-0:1.0: 1 port detected
[ 5.736000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.744000] ohci-platform: OHCI generic platform driver
[ 5.752000] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 5.756000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 5.768000] ohci-platform ohci-platform: irq 49, io mem 0xb0002600
[ 5.832000] hub 2-0:1.0: USB hub found
[ 5.836000] hub 2-0:1.0: 1 port detected
[ 5.852000] usbcore: registered new interface driver usb-storage
[ 6.772000] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 11.292000] mount_root: loading kmods from internal overlay
[ 11.676000] jffs2: notice: (268) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 11.696000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 11.716000] block: extroot: not configured
[ 11.768000] jffs2: notice: (265) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 11.952000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 11.972000] block: extroot: not configured
[ 11.980000] mount_root: switching to jffs2 overlay
[ 12.044000] procd: - early -
[ 12.048000] procd: - watchdog -
[ 12.988000] procd: - ubus -
[ 14.000000] procd: - init -
Please press Enter to activate this console.
[ 15.936000] NET: Registered protocol family 10
[ 15.976000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 16.008000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 16.016000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 16.028000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 16.056000] nf_conntrack version 0.5.0 (1968 buckets, 7872 max)
[ 16.136000] xt_time: kernel timezone is -0000
[ 16.200000] cfg80211: Calling CRDA to update world regulatory domain
[ 16.256000] cfg80211: World regulatory domain updated:
[ 16.260000] cfg80211: DFS Master region: unset
[ 16.264000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 16.276000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 16.284000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 16.292000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 16.300000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 16.308000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 16.316000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 16.324000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 16.332000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 16.460000] PPP generic driver version 2.4.2
[ 16.468000] NET: Registered protocol family 24
[ 16.528000] b43-phy0: Broadcom 43225 WLAN found (core revision 23)
[ 16.536000] b43-phy0: Found PHY: Analog 8, Type 4 (N), Revision 6
[ 16.540000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2056, Revision 11, Version 0
[ 16.548000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 28.160000] device eth0.1 entered promiscuous mode
[ 28.168000] device eth0 entered promiscuous mode
[ 28.180000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.184000] br-lan: port 1(eth0.1) entered forwarding state
[ 30.188000] br-lan: port 1(eth0.1) entered forwarding state
BusyBox v1.23.2 (2015-09-10 18:36:24 CEST) built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
----------------------------------------------------------------
| |
| OpenWrt Chaos Calmer 15.05 (r48023) |
| Build time: 2016-01-02 21:01 CET |
| |
| Cezary Jackiewicz (obsy), http://eko.one.pl |
| |
----------------------------------------------------------------
| Machine: Sagem F@ST2704V2 |
| Uptime: 0d, 00:06:31 |
| Load: 0.08 0.11 0.06 |
| Flash: total: 4.2MB, free: 3.9MB, used: 7% |
| Memory: total: 123.0MB, free: 112.9MB, used: 8% |
| WAN: |
| LAN: 192.168.1.1 |
----------------------------------------------------------------
root@OpenWrt:/# free
total used free shared buffers
Mem: 125996 18836 107160 64 1988
-/+ buffers: 16848 109148
Swap: 0 0 0
root@OpenWrt:/#Użyłem do tego celu kostki HY5PS1G1631C zdjętej z SO-DIMM o pojemności 512, ale nada się chyba każda o organizacji 64Mx16.
Oczywiste jest, że to raczej ciekawostka, ale ktoś może się pokusi o coś podobnego...
Może teraz domoticz będzie na tym działał stabilnie? Przy 64MiB stale się wysypywał. Sprawdzę niebawem.
No i gdzie ci wielcy fachowcy,nagle zamilkli a może temat zatrudny.Pozdrawiam
Bez przesady! Nikt nie jest tutaj zobowiązany nikomu pomagać. To, że ktoś to zrobi zależy wyłącznie od jego dobrej woli.
Poza tym jestem niemal pewien, że nic z tego. Nie znam fachowej terminologii, ale zanim ładuje się U-Boot, wyświetlany jest rozmiar RAM-u (64MiB), więc albo pamięć nie ta, albo czegoś innego brakuje. Trochę szkoda, bo jestem bardzo dumny ze swojego lutowania
.
Zachciało mi się rozbudować pamięć tytułowego sprzętu, głównie dla zabawy i sprawdzenia, czy da się przelutować pamięć BGA z kości SO-DIMM bez sit, kulek czy pasty. Okazuje się, że się da i sprzęt działa, ale wykrywa tylko połowę ze 128MiB.
Pomyślałem sobie: bootloader, więc podszperałem trochę i znalazłem ten link. Ściągnąłem, zmieniłem w konfigu RAM na 128 oraz procesor i pamięć na 600 i 300MHz, skompilowałem i dupa:
ROM VER: 1.1.4
CFG 05
ROM VER: 1.1.4
CFG 05
DDR autotuning Rev 0.3d
DDR size from 0xa0000000 - 0xa3ffffff
DDR check ok... start booting...
U-Boot 2010.06-LANTIQ-v-2.0.40 (Apr 07 2017 - 18:30:26)
CLOCK CPU 600M RAM 300M
DRAM: 128 MiB
Using default environment
In: serial
Out: serial
Err: serial
Net: Internal phy(GE) firmware version: 0x841d
vr9 Switch8192 KiB W25Q64 at 0:3 is now current device
Type "run flash_nfs" to mount root filesystem over NFS
Hit any key to stop autoboot: 0
8192 KiB W25Q64 at 0:3 is now current device
8192 KiB W25Q64 at 0:3 is now current device
Uncompressing ...
Starting kernel ...
[ 0.000000] Linux version 3.18.29 (cezary@eko.one.pl) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 unknown) ) #3 Fri Apr 15 21:37:33 CEST 2016
[ 0.000000] SoC: VR9 rev 1.2
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019556 (MIPS 34Kc)
[ 0.000000] MIPS: machine is TDW8970 - TP-LINK TD-W8970
[ 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] Initmem setup node 0 [mem 0x00000000-0x03ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 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] Writing ErrCtl register=00030400
[ 0.000000] Readback ErrCtl register=00030400
[ 0.000000] Memory: 59812K/65536K available (3454K kernel code, 152K rwdata, 1028K rodata, 208K init, 206K bss, 5724K reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 600MHz
[ 0.000000] Calibrating delay loop... 397.82 BogoMIPS (lpj=795648)
[ 0.032000] pid_max: default: 32768 minimum: 301
[ 0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] pinctrl core: initialized pinctrl subsystem
[ 0.048000] NET: Registered protocol family 16
[ 0.052000] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.056000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.160000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.272000] ath9k,eeprom ath9k_eep: failed to load eeprom address
[ 0.284000] usbcore: registered new interface driver usbfs
[ 0.288000] usbcore: registered new interface driver hub
[ 0.292000] usbcore: registered new device driver usb
[ 0.296000] PCI host bridge to bus 0000:00
[ 0.300000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.304000] pci_bus 0000:00: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.308000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.312000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.324000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
[ 0.328000] pci 0000:00:00.0: BAR 9: assigned [mem 0x1c100000-0x1c1fffff pref]
[ 0.332000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c01ffff 64bit]
[ 0.336000] pci 0000:01:00.0: BAR 6: assigned [mem 0x1c100000-0x1c10ffff pref]
[ 0.340000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.344000] pci 0000:00:00.0: bridge window [mem 0x1c000000-0x1c0fffff]
[ 0.348000] pci 0000:00:00.0: bridge window [mem 0x1c100000-0x1c1fffff pref]
[ 0.352000] ifx_pcie_bios_map_irq port 0 dev 0000:00:00.0 slot 0 pin 1
[ 0.356000] ifx_pcie_bios_map_irq dev 0000:00:00.0 irq 144 assigned
[ 0.360000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.364000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.368000] Switched to clocksource MIPS
[ 0.372000] NET: Registered protocol family 2
[ 0.376000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.384000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.388000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.396000] TCP: reno registered
[ 0.400000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.404000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.412000] NET: Registered protocol family 1
[ 0.416000] gptu: totally 6 16-bit timers/counters
[ 0.420000] gptu: misc_register on minor 63
[ 0.424000] gptu: succeeded to request irq 126
[ 0.432000] gptu: succeeded to request irq 127
[ 0.436000] gptu: succeeded to request irq 128
[ 0.440000] gptu: succeeded to request irq 129
[ 0.444000] gptu: succeeded to request irq 130
[ 0.448000] gptu: succeeded to request irq 131
[ 0.452000] phy-xrx200 gphy-xrx200: requesting lantiq/vr9_phy11g_a2x.bin
[ 0.460000] phy-xrx200 gphy-xrx200: booting GPHY0 firmware at 3940000
[ 0.468000] phy-xrx200 gphy-xrx200: booting GPHY1 firmware at 3940000
[ 0.576000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.596000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.600000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.616000] msgmni has been set to 116
[ 0.620000] io scheduler noop registered
[ 0.624000] io scheduler deadline registered (default)
[ 0.628000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 0.640000] console [ttyLTQ0] enabled
[ 0.640000] console [ttyLTQ0] enabled
[ 0.648000] bootconsole [early0] disabled
[ 0.648000] bootconsole [early0] disabled
[ 0.660000] m25p80 spi32766.0: found s25fl064k, expected en25q64
[ 0.664000] m25p80 spi32766.0: s25fl064k (8192 Kbytes)
[ 0.668000] 4 ofpart partitions found on MTD device spi32766.0
[ 0.676000] Creating 4 MTD partitions on "spi32766.0":
[ 0.680000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.684000] 0x000000020000-0x0000007c0000 : "firmware"
[ 0.692000] 0x0000001a6bf8-0x0000007c0000 : "rootfs"
[ 0.696000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.704000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.708000] 0x0000005c0000-0x0000007c0000 : "rootfs_data"
[ 1.464000] 0x0000007c0000-0x0000007d0000 : "config"
[ 1.468000] 0x0000007d0000-0x000000800000 : "boardconfig"
[ 1.576000] libphy: lantiq,xrx200-mdio: probed
[ 1.648000] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:00, irq=-1)
[ 1.716000] eth0: attached PHY [Lantiq XWAY PEF7071] (phy_addr=0:05, irq=-1)
[ 1.784000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 1.852000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 1.860000] wdt 1f8803f0.watchdog: Init done
[ 1.864000] TCP: cubic registered
[ 1.864000] NET: Registered protocol family 17
[ 1.868000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.880000] Bridge firewalling registered
[ 1.884000] 8021q: 802.1Q VLAN Support v1.8
[ 1.956000] ath9k,eeprom ath9k_eep: using led pin 0.
[ 1.960000] ath9k,eeprom ath9k_eep: loaded ath9k eeprom
[ 1.968000] UBIFS error (pid 1): ubifs_mount: cannot open "ubi0:rootfs", error -19
[ 2.080000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.088000] Freeing unused kernel memory: 208K (8048c000 - 804c0000)
[ 15.272000] init: Console is alive
[ 15.272000] init: - watchdog -
[ 32.968000] random: nonblocking pool is initialized
[ 37.644000] SCSI subsystem initialized
[ 37.652000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 37.660000] ehci-platform: EHCI generic platform driver
[ 37.668000] dwc2 1e101000.ifxhcd: requested GPIO 489
[ 38.528000] dwc2 1e101000.ifxhcd: DWC OTG Controller
[ 38.528000] dwc2 1e101000.ifxhcd: new USB bus registered, assigned bus number 1
[ 38.536000] dwc2 1e101000.ifxhcd: irq 62, io mem 0x00000000
[ 38.544000] dwc2 1e101000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 38.544000] dwc2 1e101000.ifxhcd: falling back to buffer DMA mode.
[ 38.556000] hub 1-0:1.0: USB hub found
[ 38.560000] hub 1-0:1.0: 1 port detected
[ 39.424000] dwc2 1e106000.ifxhcd: DWC OTG Controller
[ 39.424000] dwc2 1e106000.ifxhcd: new USB bus registered, assigned bus number 2
[ 39.432000] dwc2 1e106000.ifxhcd: irq 91, io mem 0x00000000
[ 39.440000] dwc2 1e106000.ifxhcd: Hardware does not support descriptor DMA mode -
[ 39.440000] dwc2 1e106000.ifxhcd: falling back to buffer DMA mode.
[ 39.452000] hub 2-0:1.0: USB hub found
[ 39.456000] hub 2-0:1.0: 1 port detected
[ 39.464000] usbcore: registered new interface driver usb-storage
[ 40.468000] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 44.144000] mount_root: loading kmods from internal overlay
[ 50.080000] jffs2: notice: (312) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 50.096000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 50.180000] block: extroot: not configured
[ 51.440000] jffs2: notice: (309) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 56.060000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 56.120000] block: extroot: not configured
[ 56.124000] mount_root: switching to jffs2 overlay
[ 56.168000] procd: - early -
[ 56.172000] procd: - watchdog -
[ 56.964000] procd: - ubus -
[ 57.972000] procd: - init -
Please press Enter to activate this console.
[ 65.980000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 65.992000] NET: Registered protocol family 8
[ 65.996000] NET: Registered protocol family 20
[ 66.016000] gre: GRE over IPv4 demultiplexor driver
[ 66.020000] ip_gre: GRE over IPv4 tunneling driver
[ 66.032000] PPP generic driver version 2.4.2
[ 66.052000] MEI CPE Driver, Version 1.2.0
[ 66.056000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###
Lantiq CPE API Driver version: DSL CPE API V4.11.4
[ 66.080000]
[ 66.080000] Predefined debug level: 2
[ 66.100000] u32 classifier
[ 66.104000] input device check on
[ 66.108000] Actions configured
[ 66.116000] Mirror/redirect action on
[ 66.180000] fuse init (API version 7.23)
[ 66.204000] usbcore: registered new interface driver cdc_acm
[ 66.208000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 66.216000] usbcore: registered new interface driver cdc_wdm
[ 66.224000] Loading modules backported from Linux version v4.4-rc5-1913-gc8fdf68
[ 66.232000] Backport generated by backports.git backports-20151218-0-g2f58d9d
[ 66.256000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 66.284000] Infineon Technologies DEU driver version 2.0.0
[ 66.288000] IFX DEU DES initialized (multiblock).
[ 66.300000] IFX DEU AES initialized (multiblock).
[ 66.312000] IFX DEU ARC4 initialized (multiblock).
[ 66.312000] IFX DEU SHA1 initialized.
[ 66.320000] IFX DEU MD5 initialized.
[ 66.320000] IFX DEU SHA1_HMAC initialized.
[ 66.328000] IFX DEU MD5_HMAC initialized.
[ 66.336000] nf_conntrack version 0.5.0 (937 buckets, 3748 max)
[ 66.376000] PPP MPPE Compression module registered
[ 66.380000] NET: Registered protocol family 24
[ 66.384000] PPTP driver version 0.8.5
[ 66.392000] usbcore: registered new interface driver usblp
[ 66.408000] usbcore: registered new interface driver usbserial
[ 66.412000] usbcore: registered new interface driver usbserial_generic
[ 66.416000] usbserial: USB Serial support registered for generic
[ 66.492000] xt_time: kernel timezone is -0000
[ 66.500000] usbcore: registered new interface driver cdc_ether
[ 66.508000] usbcore: registered new interface driver cdc_ncm
[ 66.724000] usbcore: registered new interface driver huawei_cdc_ncm
[ 66.976000] usbcore: registered new interface driver qmi_wwan
[ 66.984000] usbcore: registered new interface driver rndis_host
[ 66.992000] usbcore: registered new interface driver sierra
[ 66.996000] usbserial: USB Serial support registered for Sierra USB modem
[ 67.004000] usbcore: registered new interface driver sierra_net
[ 67.040000] usbcore: registered new interface driver cdc_mbim
[ 67.048000] usbcore: registered new interface driver option
[ 67.056000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 67.064000] usbcore: registered new interface driver qcserial
[ 67.068000] usbserial: USB Serial support registered for Qualcomm USB modem
[ 67.088000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 67.092000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 67.116000] ieee80211 phy0: Atheros AR9300 Rev:3 mem=0xbc000000, irq=144
ioctl ATM_SETESI: No such device
[ 81.968000] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 81.968000] ifxmips_ptm: PTM init succeed
[ 82.404000] device eth0.1 entered promiscuous mode
[ 82.404000] device eth0 entered promiscuous mode
[ 103.016000] device wlan0 entered promiscuous mode
[ 103.016000] br-lan: port 2(wlan0) entered forwarding state
[ 103.024000] br-lan: port 2(wlan0) entered forwarding state
[ 103.128000] PCIe RC error intr 161
[ 103.128000] PCIe RC error intr 161
[ 103.252000] br-lan: port 2(wlan0) entered disabled state
[ 109.004000] br-lan: port 2(wlan0) entered forwarding state
[ 109.008000] br-lan: port 2(wlan0) entered forwarding state
[ 111.012000] br-lan: port 2(wlan0) entered forwarding state
BusyBox v1.23.2 (2016-03-29 22:00:35 CEST) built-in shell (ash)
_ _____ _____
| | / ____|_ _|
| | _ _| | | |
| | | | | | | | |
| |___| |_| | |____ _| |_
|______\__,_|\_____|_____|
----------------------------------------------------------------
| |
| OpenWrt Chaos Calmer 15.05.1 (r49172) |
| Build time: 2016-04-15 21:34 CEST |
| |
| Cezary Jackiewicz (obsy), http://eko.one.pl |
| |
----------------------------------------------------------------
| Machine: TP-LINK TD-W8970 |
| Uptime: 0d, 00:03:02 |
| Load: 1.53 1.10 0.45 |
| Flash: total: 2MB, free: 1.8MB, used: 11% |
| Memory: total: 58.6MB, free: 43.3MB, used: 26% |
| WAN: |
| LAN: 192.168.1.1 |
| radio0: mode: ap, ssid: OpenWrt, channel: 11, conn: 0 |
----------------------------------------------------------------
root@OpenWrt:/# free
total used free shared buffers
Mem: 60020 29436 30584 84 3716
-/+ buffers: 25720 34300
Swap: 0 0 0
root@OpenWrt:/#Niby U-boot pokazuje 128MiB, ale system tego nie widzi. Proszę o pomoc, co na to poradzić?
Użyłem pamięci Samsung K4T1G164QF-BCF7, takiej samej jak w ruterze BT HomeHub 5.0 Type A, który ma identyczny procesor.
Zastanawia mnie linijka DDR size from 0xa0000000 - 0xa3ffffff. Wynika z niej, że w systemie jest 64MiB ramu i to przed U-Bootem. Czyżby więc nic z tego?
Otwórz go i sprawdź, czy nie ma jakiegoś napuchniętego kondensatora. Rozwiązałem kiedyś podobny problem wymieniając go.
A w czym problem?
Wygląda, jakby wszystko miał na swoim miejscu. Pochwal się, czy Ci się udało
.
eko.one.pl → Posty przez kurwicycek
Forum oparte o PunBB, wspierane przez Informer Technologies, Inc