Ok dzięki!

Chciałbym mieć obraz mifi ale z obsługą i2c i 1wire. Skąd mogę pobrać pliki do kompilacji z wbudowanym mifi i wszystkimi innymi bajerami z gotowych obrazów? Jak skompilowałem z githuba openwrt to nie mam mifi ani innych rzeczy (użyłem tego configa : http://dl.eko.one.pl/openwrt-21.02/targ … info.usb). Do tego nie wykrywa mi i2c (zrobiłem zmiany w pliku dts jak opisano to wyżej)

Dzięki wielkie za pomoc. Doinstalowałem wget-ssl i wszystko działa.

Na to wygląda.

# opkg install wget
Package uclient-fetch (2021-05-14-6a6011df-1) installed in root is up to date.
Usage: wget [options] <URL>
Options:
        -4                              Use IPv4 only
        -6                              Use IPv6 only
        -O <file>                       Redirect output to file (use "-" for stdout)
        -P <dir>                        Set directory for output files
        --quiet | -q                    Turn off status messages
        --continue | -c                 Continue a partially-downloaded file
        --user=<user>                   HTTP authentication username
        --password=<password>           HTTP authentication password
        --user-agent | -U <str>         Set HTTP user agent
        --post-data=STRING              use the POST method; send STRING as the data
        --post-file=FILE                use the POST method; send FILE as the data
        --spider | -s                   Spider mode - only check file existence
        --timeout=N | -T N              Set connect/request timeout to N seconds
        --proxy=on | -Y on              Enable interpretation of proxy env vars (default)
        --proxy=off | -Y off |
        --no-proxy                      Disable interpretation of proxy env vars

HTTPS options:
        --ca-certificate=<cert>         Load CA certificates from file <cert>
        --no-check-certificate          don't validate the server's certificate
        --ciphers=<cipherlist>          Set the cipher list string

Znalazłem w skrypcie huawei-hilink.sh użycie wgeta z sesjami a posiadany wget tego nie obsługuje na to wygląda

Zainstalowałem na OpenWrt 22.03-SNAPSHOT r19812-5c0c01d226 więc chyba najnowszy jaki jest.
Po wpisaniu 3ginfo dostaję: /usr/bin/wget: unrecognized option: keep-session-cookies

Dzięki udało się odratować. Usunąłem wget-nossl i zainstalowałem pełnego wget-a. Jednak nie mogę pobrać informacji o modemie hilink. Do tego potrzebny jest wget-nossl

Ok w sumie to racja... Da się jakoś ogarnąć to żeby działały repozytoria razem z 3ginfo??

Napotkałem problem związany z 3ginfo.
Zainstalowałem tak jak podano na początku wątku i doinstalowałem wget-nossl żeby pobierał dane z modemu. Od tej pory przestał działać opkg update. Czy da się to jakoś uratować?

Cezary napisał/a:

3ginfo nigdy nie podawało adresu IP . Więc o czym w ogóle piszesz?

Wydawało mi się że było ale to moja pomyłka. Dzięki za info

Cześć!

Odkopie trochę temat.

Mam E3372 z najnowszym dostępnym softem: 22.286.03.03.1202
3ginfo nie podaje mi WAN IP.
Jak podłącze się modemem do kompa i to na stronie w informacjach o urządzeniu jest adres ip WAN.
Czy da się jakoś to "wyciągnąć" w 3ginfo?

TP-Link TL-MR3020 v3 z OpenWrt 22.03-SNAPSHOT r19812-5c0c01d226 z mifi.

12

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Ok spróbowałem tak: pobrałem friendlywrt_4.14_armhf ze strony friendlyelec oraz rootfs z najnowszego openWRT. Następnie skompilowałem ten rootfs poleceniem:

./build-rootfs-img.sh

Dalej zrobiłem własny obraz boot.img (z zawartością partycji boot.img z friendlywrt_4.14_armhf w programie imgburn) gdzie wrzuciłem najnowszy uImage z obrazu openWRT (zamiast oryginalnego zImage) oraz w pliku uEnv.txt:

#################################################################
# General options
#################################################################
ramdisk=rootfs.cpio.gz
kernel=zImage
fix_addr 0x44500000
kernel_addr=0x46000000
ramdisk_addr=0x47000000
dtb_addr=0x48000000

debug_port=ttyS0,115200
fsck.repair=yes

# 0 = /dev/fb0, First framebuffer
# 1 = /dev/fb1, Second framebuffer
# README: linux/Documentation/fb/fbcon.txt
fbcon=map:0





#################################################################
# Overlay options
# README: /overlays/README.txt
#################################################################

#uart0/enable=no
#uart1/enable=no
#uart2/enable=no
#uart3/enable=no

#i2c0/enable=no
#i2c1/enable=no
#i2c2/enable=no

#spi0/enable=no

#pwm0/enable=no

#ir/enable=no

#tft28/enable=no
#tft28/speed=50000000
#tft28/rotate=90
#tft28/fps=33
#tft28/debug=0x0

#tft13/enable=no
#tft13/speed=50000000
#tft13/rotate=0
#tft13/fps=0x0
#tft13/debug=0x0

zmieniłem

kernel=zImage

na

kernel=uImage

Następnie skompilowałem jeszcze raz u-boot'a poleceniem

./build-uboot.sh

Dalej zrobiłem obraz poleceniem

sudo ./mk-sd-image.sh

Wyczyściłem eMMC płytki przez fdisk-a i wrzuciłem obraz poleceniem dd
Po restarcie otrzymuję:

U-Boot SPL 2017.11-g5e8607b (Sep 12 2022 - 18:27:56)
DRAM: 1024 MiB(408MHz)
CPU Freq: 408MHz
memory test: 1
Pattern 55aa  Writing...Reading...OK
Trying to boot from MMC2
Boot device: emmc


U-Boot 2017.11-g5e8607b (Sep 12 2022 - 18:27:56 +0200) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  1 GiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-r1
starting USB...
No controllers found
Hit any key to stop autoboot:  0
** Unrecognized filesystem type **
## Executing script at 43100000
Bad data crc
=>

Chyba znowu coś pokopałem...

13

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Udało mi się skompilować rootfs i zrobić z tego obraz eMMC. Ogólnie działa i uruchomił się router z eMMC. Niestety mam kernel 4.14.111 + nie działają interfejsy sieciowe. Musiałem coś pochrzaniłem kompilując rootfs samemu...
Skąd wziąć obraz rootfs z openWRT do podmianki razem z kernelem. Znajdę coś gotowego? Albo jakiś opis jak to skompilować dobrze dla NanoPi R1

14

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Dzięki za odp. Właśnie kompiluje openWRT z zaznaczoną opcją eksportu rootfs. Jak się skompiluję to spróbuję podmienić i zbudować obraz. Wydaje mi się że tak już próbowałem ale nie jestem pewien więc spróbuję jeszcze raz smile

15

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Dopiero teraz znalazłem czas, żeby się pobawić. Udało mi się skompilować ze źródeł najnowszy OpenWRT pod moją płytkę jednak dostaję ten sam rodzaj obrazu co można pobrać ze strony OpenWRT, obraz ma dwie partycje: 0.fat i 1.img i niestety nie działa po wgraniu na eMMC płytki. Z tego co wyczaiłem to potrzebuję żeby obraz składał się z: boot.img, info.conf, partmap.txt, rootfs.img, u-boot-sunxi-with-spl.bin, userdata.img. Taki obraz mogę zbudować narzędziem od friendlyelec: https://github.com/friendlyarm/sd-fuse_h3 niestety z tego obrazu co mam nie działa tym narzędziem... na stronie githuba jest napisane: "You can build the following OS: friendlycore-focal_4.14_armhf, friendlycore-xenial_4.14_armhf, friendlywrt_4.14_armhf." Jakieś podpowiedzi jak to skompilować żeby działało z tym eflasherem/sd-fuse h3?

16

(14 odpowiedzi, napisanych Oprogramowanie / Software)

To musiałem coś pochrzanić... Znalazłem jeszcze coś takiego: https://wiki.friendlyelec.com/wiki/inde … riendlyWrt i też tam jest napisane, że wersja openWRT dla mojej płytki to 19.07.1... Może da się jakoś skompilować wersję 21.02.3? Na techdata openWRT taka właśnie jest ostatnią obsługiwaną przez moją pytkę. Niestety nie za bardzo wiem jak się za to zabrać

17

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Może ktoś coś....
Próbuje zrobić obraz openWRT ale napotykam problem...
Zagłębiłem się w eflasher-a. Na wiki http://wiki.friendlyelec.com/wiki/index.php/EFlasher jest rozdział o tworzeniu własnego obrazu: https://github.com/friendlyarm/sd-fuse_h3. Kombinuje tak:
pobrałem obraz openWRT dla mojej płytki. Rozpakowałem. Skopiowałem całą zawartość do folderu i z zrobiłem z tego rootfs poleceniem: "./build-rootfs-img.sh" i następnie z tego co dostałem zrobiłem obraz poleceniem: "sudo ./mk-sd-image.sh". Wgrałem to do pamięci eMMC. Wyciągnąłem kartę i uruchamiam. Leci i naptykam problem - pogrubiłem, nie jestem pewien czy on powoduje reboot loopa...

U-Boot 2017.11-gfb5b710dd9 (May 11 2021 - 18:42:24 +0800) Allwinner Technology

CPU:   Allwinner H3 (SUN8I 1680)
Model: FriendlyElec NanoPi H3
DRAM:  1 GiB
CPU Freq: 1008MHz
MMC:   SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   No ethernet found.
BOARD: nanopi-r1
starting USB...
No controllers found
Hit any key to stop autoboot:  0
reading boot.scr
1478 bytes read in 19 ms (75.2 KiB/s)
## Executing script at 43100000
running boot.scr
reading uEnv.txt
968 bytes read in 18 ms (51.8 KiB/s)
reading zImage
5902792 bytes read in 289 ms (19.5 MiB/s)
reading rootfs.cpio.gz
5880768 bytes read in 288 ms (19.5 MiB/s)
reading sun8i-h3-nanopi-r1.dtb
36147 bytes read in 25 ms (1.4 MiB/s)
overlays is empty
reading overlays/sun8i-h3-fixup.scr
4109 bytes read in 33 ms (121.1 KiB/s)
## Executing script at 44500000
## Flattened Device Tree blob at 48000000
   Booting using the fdt blob at 0x48000000
   Loading Ramdisk to 49a64000, end 49fffbc0 ... OK
   reserving fdt memory region: addr=48000000 size=6f000
   Loading Device Tree to 499f2000, end 49a63fff ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.14.111 (tzs@tzs-i7pc) (gcc version 4.9.3 (ctng-1.21.0-229g-FA)) #1 SMP Tue May 11 18:37:06 CST 2021
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: FriendlyElec NanoPi-R1
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created CMA memory pool at 0x000000007bc00000, size 64 MiB
[    0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: Using PSCI v0.1 Function IDs from DT
[    0.000000] percpu: Embedded 17 pages/cpu @ef69b000 s37120 r8192 d24320 u69632
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260416
[    0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 fbcon=map:0  data=/dev/mmcblk0p3 snd-soc-core.pmdown_time=3600000
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 949260K/1048576K available (10240K kernel code, 391K rwdata, 2080K rodata, 2048K init, 303K bss, 33780K reserved, 65536K cma-reserved, 196600K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0c00000   (12256 kB)
[    0.000000]       .init : 0xc1000000 - 0xc1200000   (2048 kB)
[    0.000000]       .data : 0xc1200000 - 0xc1261f00   ( 392 kB)
[    0.000000]        .bss : 0xc126a884 - 0xc12b6850   ( 304 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000215] Console: colour dummy device 80x30
[    0.000253] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=120000)
[    0.000267] pid_max: default: 32768 minimum: 301
[    0.000435] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000450] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001157] CPU: Testing write buffer coherency: ok
[    0.001593] CPU0: update cpu_capacity 1024
[    0.001606] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001965] Setting up static identity map for 0x40200000 - 0x40200060
[    0.002088] Hierarchical SRCU implementation.
[    0.002643] smp: Bringing up secondary CPUs ...
[    0.013433] CPU1: update cpu_capacity 1024
[    0.013439] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.024334] CPU2: update cpu_capacity 1024
[    0.024341] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.035133] CPU3: update cpu_capacity 1024
[    0.035139] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.035225] smp: Brought up 1 node, 4 CPUs
[    0.035254] SMP: Total of 4 processors activated (192.00 BogoMIPS).
[    0.035260] CPU: All CPU(s) started in HYP mode.
[    0.035266] CPU: Virtualization extensions available.
[    0.036026] devtmpfs: initialized
[    0.043040] random: get_random_u32 called from bucket_table_alloc+0xf0/0x240 with crng_init=0
[    0.043644] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.043901] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302231375000 ns
[    0.043925] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.046554] xor: measuring software checksum speed
[    0.094909]    arm4regs  :  1372.800 MB/sec
[    0.144965]    8regs     :   769.600 MB/sec
[    0.195020]    32regs    :   850.400 MB/sec
[    0.245078]    neon      :  1283.200 MB/sec
[    0.245085] xor: using function: arm4regs (1372.800 MB/sec)
[    0.245103] pinctrl core: initialized pinctrl subsystem
[    0.246052] NET: Registered protocol family 16
[    0.247367] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.248303] cpuidle: using governor ladder
[    0.248459] cpuidle: using governor menu
[    0.248858] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.248868] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.268365] SCSI subsystem initialized
[    0.268796] usbcore: registered new interface driver usbfs
[    0.268861] usbcore: registered new interface driver hub
[    0.268943] usbcore: registered new device driver usb
[    0.269128] media: Linux media interface: v0.10
[    0.269163] Linux video capture interface: v2.00
[    0.269262] pps_core: LinuxPPS API ver. 1 registered
[    0.269269] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.269287] PTP clock support registered
[    0.269615] Advanced Linux Sound Architecture Driver Initialized.
[    0.271170] clocksource: Switched to clocksource arch_sys_counter
[    0.271389] VFS: Disk quotas dquot_6.6.0
[    0.271461] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.271606] FS-Cache: Loaded
[    0.278476] NET: Registered protocol family 2
[    0.279128] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.279221] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.279335] TCP: Hash tables configured (established 8192 bind 8192)
[    0.279444] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.279517] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.279749] NET: Registered protocol family 1
[    0.280215] RPC: Registered named UNIX socket transport module.
[    0.280227] RPC: Registered udp transport module.
[    0.280233] RPC: Registered tcp transport module.
[    0.280239] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.280447] Unpacking initramfs...
[    0.577679] Freeing initrd memory: 5744K
[    0.578100] kvm [1]: 8-bit VMID
[    0.578760] kvm [1]: vgic interrupt IRQ16
[    0.578856] kvm [1]: Hyp mode initialized successfully
[    0.581739] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.586246] zbud: loaded
[    0.587817] FS-Cache: Netfs 'nfs' registered for caching
[    0.588326] NFS: Registering the id_resolver key type
[    0.588362] Key type id_resolver registered
[    0.588368] Key type id_legacy registered
[    0.588384] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.588399] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.589291] fuse init (API version 7.26)
[    0.594629] async_tx: api initialized (async)
[    0.594713] bounce: pool size: 64 pages
[    0.594808] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
[    0.594964] io scheduler noop registered (default)
[    0.594975] io scheduler deadline registered
[    0.595150] io scheduler cfq registered
[    0.595159] io scheduler mq-deadline registered
[    0.595287] io scheduler bfq registered
[    0.595963] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO, pinctrl may not init
[    0.599703] sun8i-h3-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.601250] sun8i-h3-r-pinctrl 1f02c00.pinctrl: initialized sunXi PIO driver
[    0.606707] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.608592] console [ttyS0] disabled
[    0.628773] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 46, base_baud = 1500000) is a U6_16550A
[    1.394222] console [ttyS0] enabled
[    1.420472] 1c28400.serial: ttyS1 at MMIO 0x1c28400 (irq = 47, base_baud = 1500000) is a U6_16550A
[    1.452086] 1c28800.serial: ttyS2 at MMIO 0x1c28800 (irq = 48, base_baud = 1500000) is a U6_16550A
[    1.481734] 1c28c00.serial: ttyS3 at MMIO 0x1c28c00 (irq = 49, base_baud = 1500000) is a U6_16550A
[    1.493016] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.499650] [drm] No driver support for vblank timestamp query.
[    1.514988] sun4i-drm display-engine: bound 1100000.mixer (ops 0xc0c51b68)
[    1.522065] sun4i-drm display-engine: No panel or bridge found... RGB output disabled
[    1.529913] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0c5086c)
[    1.661258] sun8i-dw-hdmi 1ee0000.hdmi: Detected HDMI TX controller v1.32a with HDCP (sun8i_dw_hdmi_phy)
[    1.671136] sun8i-dw-hdmi 1ee0000.hdmi: registered DesignWare HDMI I2C bus driver
[    1.678858] sun4i-drm display-engine: bound 1ee0000.hdmi (ops 0xc0c51ee8)
[    1.685705] [drm] Cannot find any crtc or sizes - going 1920x1080
[    1.729667] Console: switching to colour frame buffer device 240x67
[    1.760539] sun4i-drm display-engine: fb0:  frame buffer device
[    1.766913] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.783106] loop: module loaded
[    1.801364] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[    1.807721] osst :I: Tape driver with OnStream support version 0.99.4
[    1.807721] osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
[    1.821072] SCSI Media Changer driver v0.25
[    1.827398] libphy: Fixed MDIO Bus: probed
[    1.831538] tun: Universal TUN/TAP device driver, 1.6
[    1.836766] CAN device driver interface
[    1.841369] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    1.847565] PPP generic driver version 2.4.2
[    1.852016] PPP BSD Compression module registered
[    1.856738] PPP Deflate Compression module registered
[    1.861819] PPP MPPE Compression module registered
[    1.866614] NET: Registered protocol family 24
[    1.871168] usbcore: registered new interface driver qmi_wwan
[    1.876953] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.883492] ehci-platform: EHCI generic platform driver
[    1.888934] ehci-platform 1c1a000.usb: EHCI Host Controller
[    1.894549] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    1.902680] ehci-platform 1c1a000.usb: irq 30, io mem 0x01c1a000
[    1.921193] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    1.927485] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.934285] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.941509] usb usb1: Product: EHCI Host Controller
[    1.946392] usb usb1: Manufacturer: Linux 4.14.111 ehci_hcd
[    1.951968] usb usb1: SerialNumber: 1c1a000.usb
[    1.957017] hub 1-0:1.0: USB hub found
[    1.960796] hub 1-0:1.0: 1 port detected
[    1.965412] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.971630] ohci-platform: OHCI generic platform driver
[    1.977063] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    1.983704] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    1.991668] ohci-platform 1c1a400.usb: irq 31, io mem 0x01c1a400
[    2.060341] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.067151] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.074379] usb usb2: Product: Generic Platform OHCI controller
[    2.080302] usb usb2: Manufacturer: Linux 4.14.111 ohci_hcd
[    2.085877] usb usb2: SerialNumber: 1c1a400.usb
[    2.093279] hub 2-0:1.0: USB hub found
[    2.097075] hub 2-0:1.0: 1 port detected
[    2.101743] usbcore: registered new interface driver cdc_acm
[    2.107419] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    2.115516] usbcore: registered new interface driver usblp
[    2.121047] usbcore: registered new interface driver cdc_wdm
[    2.126757] usbcore: registered new interface driver uas
[    2.132154] usbcore: registered new interface driver usb-storage
[    2.138241] usbcore: registered new interface driver usbserial
[    2.144110] usbcore: registered new interface driver usbserial_generic
[    2.150664] usbserial: USB Serial support registered for generic
[    2.156705] usbcore: registered new interface driver option
[    2.162305] usbserial: USB Serial support registered for GSM modem (1-port)
[    2.169404] usbcore: registered new interface driver qcserial
[    2.175196] usbserial: USB Serial support registered for Qualcomm USB modem
[    2.182964] mousedev: PS/2 mouse device common for all mice
[    2.189034] sun6i-rtc 1f00000.rtc: rtc core: registered rtc-sun6i as rtc0
[    2.195835] sun6i-rtc 1f00000.rtc: RTC enabled
[    2.200355] i2c /dev entries driver
[    2.205721] lirc_dev: IR Remote Control driver registered, major 244
[    2.212106] IR NEC protocol handler initialized
[    2.216644] IR RC5(x/sz) protocol handler initialized
[    2.221698] IR RC6 protocol handler initialized
[    2.226230] IR JVC protocol handler initialized
[    2.230753] IR Sony protocol handler initialized
[    2.235371] IR SANYO protocol handler initialized
[    2.240067] IR Sharp protocol handler initialized
[    2.244772] IR MCE Keyboard/mouse protocol handler initialized
[    2.250604] IR LIRC bridge handler initialized
[    2.255049] IR XMP protocol handler initialized
[    2.260422] thermal thermal_zone0: failed to read out thermal zone (-16)
[    2.267656] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    2.275949] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[    2.326228] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    2.334020] sunxi-mmc 1c10000.mmc: allocated mmc-pwrseq
[    2.586206] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[    2.607525] mmc2: queuing unknown CIS tuple 0x80 (2 bytes)
[    2.614538] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.621536] mmc2: queuing unknown CIS tuple 0x80 (3 bytes)
[    2.629728] mmc2: queuing unknown CIS tuple 0x80 (7 bytes)
[    2.631531] sunxi-mmc 1c11000.mmc: initialized, max. request size: 16384 KB
[    2.638504] mmc2: queuing unknown CIS tuple 0x81 (9 bytes)
[    2.647686] ledtrig-cpu: registered to indicate activity on CPUs
[    2.653987] hidraw: raw HID events driver (C) Jiri Kosina
[    2.659542] usbcore: registered new interface driver usbhid
[    2.665122] usbhid: USB HID core driver
[    2.683957] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[    2.691061] random: fast init done
[    2.694053] Initializing XFRM netlink socket
[    2.699370] NET: Registered protocol family 10
[    2.717969] mmc0: new DDR MMC card at address 0001
[    2.722466] Segment Routing with IPv6
[    2.723345] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB
[    2.726565] NET: Registered protocol family 17
[    2.731260] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB
[    2.735488] NET: Registered protocol family 15
[    2.741555] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB
[    2.745811] can: controller area network core (rev 20170425 abi 9)
[    2.758029]  mmcblk0: p1 p2 p3
[    2.758057] NET: Registered protocol family 29
[    2.765599] can: raw protocol (rev 20170425)
[    2.769934] can: broadcast manager protocol (rev 20170425 t)
[    2.775630] can: netlink gateway (rev 20170425) max_hops=1
[    2.781985] rfkill_gpio rfkill_bt: sunxi-bt device registered.
[    2.788002] Key type dns_resolver registered
[    2.792617] Registering SWP/SWPB emulation handler
[    2.798815] registered taskstats version 1
[    2.810963] mmc2: new high speed SDIO card at address 0001
[    2.816208] Key type encrypted registered
[    2.826049] vcc1v2: supplied by vcc5v0
[    2.830173] vcc-dram: supplied by vcc5v0
[    2.834427] vdd-cpux-en: supplied by vcc5v0
[    2.840724] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    2.846643] dwmac-sun8i 1c30000.ethernet: Will use external PHY
[    2.961350] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    2.967030] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    2.974254] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    2.979916] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    2.987142] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    2.992110] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    2.999480] libphy: stmmac: probed
[    3.008739] ehci-platform 1c1b000.usb: EHCI Host Controller
[    3.014373] ehci-platform 1c1b000.usb: new USB bus registered, assigned bus number 3
[    3.022587] ehci-platform 1c1b000.usb: irq 32, io mem 0x01c1b000
[    3.041198] ehci-platform 1c1b000.usb: USB 2.0 started, EHCI 1.00
[    3.047514] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[    3.054309] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.061531] usb usb3: Product: EHCI Host Controller
[    3.066412] usb usb3: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.071985] usb usb3: SerialNumber: 1c1b000.usb
[    3.077096] hub 3-0:1.0: USB hub found
[    3.080877] hub 3-0:1.0: 1 port detected
[    3.085518] ehci-platform 1c1c000.usb: EHCI Host Controller
[    3.091135] ehci-platform 1c1c000.usb: new USB bus registered, assigned bus number 4
[    3.099208] ehci-platform 1c1c000.usb: irq 34, io mem 0x01c1c000
[    3.116185] ehci-platform 1c1c000.usb: USB 2.0 started, EHCI 1.00
[    3.122437] usb usb4: New USB device found, idVendor=1d6b, idProduct=0002
[    3.129232] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.136457] usb usb4: Product: EHCI Host Controller
[    3.141337] usb usb4: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.146913] usb usb4: SerialNumber: 1c1c000.usb
[    3.151912] hub 4-0:1.0: USB hub found
[    3.155687] hub 4-0:1.0: 1 port detected
[    3.160249] ehci-platform 1c1d000.usb: EHCI Host Controller
[    3.165856] ehci-platform 1c1d000.usb: new USB bus registered, assigned bus number 5
[    3.173867] ehci-platform 1c1d000.usb: irq 36, io mem 0x01c1d000
[    3.191177] ehci-platform 1c1d000.usb: USB 2.0 started, EHCI 1.00
[    3.197417] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[    3.204213] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.211439] usb usb5: Product: EHCI Host Controller
[    3.216321] usb usb5: Manufacturer: Linux 4.14.111 ehci_hcd
[    3.221895] usb usb5: SerialNumber: 1c1d000.usb
[    3.226873] hub 5-0:1.0: USB hub found
[    3.230648] hub 5-0:1.0: 1 port detected
[    3.235190] ohci-platform 1c1b400.usb: Generic Platform OHCI controller
[    3.241844] ohci-platform 1c1b400.usb: new USB bus registered, assigned bus number 6
[    3.249789] ohci-platform 1c1b400.usb: irq 33, io mem 0x01c1b400
[    3.315318] usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
[    3.322118] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.329343] usb usb6: Product: Generic Platform OHCI controller
[    3.335266] usb usb6: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.340843] usb usb6: SerialNumber: 1c1b400.usb
[    3.346114] hub 6-0:1.0: USB hub found
[    3.349913] hub 6-0:1.0: 1 port detected
[    3.354462] ohci-platform 1c1c400.usb: Generic Platform OHCI controller
[    3.361114] ohci-platform 1c1c400.usb: new USB bus registered, assigned bus number 7
[    3.369178] ohci-platform 1c1c400.usb: irq 35, io mem 0x01c1c400
[    3.426191] usb 3-1: new high-speed USB device number 2 using ehci-platform
[    3.437373] usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
[    3.444179] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.451404] usb usb7: Product: Generic Platform OHCI controller
[    3.457331] usb usb7: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.462909] usb usb7: SerialNumber: 1c1c400.usb
[    3.467920] hub 7-0:1.0: USB hub found
[    3.471718] hub 7-0:1.0: 1 port detected
[    3.476273] ohci-platform 1c1d400.usb: Generic Platform OHCI controller
[    3.482920] ohci-platform 1c1d400.usb: new USB bus registered, assigned bus number 8
[    3.490887] ohci-platform 1c1d400.usb: irq 37, io mem 0x01c1d400
[    3.560316] usb usb8: New USB device found, idVendor=1d6b, idProduct=0001
[    3.567118] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.574345] usb usb8: Product: Generic Platform OHCI controller
[    3.580269] usb usb8: Manufacturer: Linux 4.14.111 ohci_hcd
[    3.585846] usb usb8: SerialNumber: 1c1d400.usb
[    3.590891] hub 8-0:1.0: USB hub found
[    3.594685] hub 8-0:1.0: 1 port detected
[    3.599316] usb_phy_generic usb_phy_generic.3.auto: usb_phy_generic.3.auto supply vcc not found, using dummy regulator
[    3.610416] musb-hdrc musb-hdrc.4.auto: MUSB HDRC host driver
[    3.616238] musb-hdrc musb-hdrc.4.auto: new USB bus registered, assigned bus number 9
[    3.624258] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002
[    3.631061] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.638291] usb usb9: Product: MUSB HDRC host driver
[    3.643262] usb usb9: Manufacturer: Linux 4.14.111 musb-hcd
[    3.648839] usb usb9: SerialNumber: musb-hdrc.4.auto
[    3.654318] hub 9-0:1.0: USB hub found
[    3.658131] hub 9-0:1.0: 1 port detected
[    3.662534] usb 3-1: New USB device found, idVendor=0bda, idProduct=8152
[    3.669250] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.676390] usb 3-1: Product: USB 10/100 LAN
[    3.680656] usb 3-1: Manufacturer: Realtek
[    3.684760] usb 3-1: SerialNumber: 000000000000
[    3.692207] asoc-simple-card soc:sound: i2s-hifi <-> 1c22800.i2s mapping ok
[    3.702150] input: r_gpio_keys as /devices/platform/r_gpio_keys/input/input0
[    3.709912] sun6i-rtc 1f00000.rtc: setting system clock to 1970-01-01 00:00:09 UTC (9)
[    3.718286] vcc3v0: disabling
[    3.721285] vcc5v0: disabling
[    3.724257] usb0-vbus: disabling
[    3.727494] ALSA device list:
[    3.730457]   #0: Dummy 1
[    3.733085]   #1: Loopback 1
[    3.735961]   #2: H3 Audio Codec
[    3.739190]   #3: allwinner,hdmi
[    3.744828] Freeing unused kernel memory: 2048K
Loading, please wait...
starting version 237
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    4.437381] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Will now check userdata file system ... fsck from util-linux 2.31.1
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p3] fsck.ext4 -y -C0 /dev/mmcblk0p3
e2fsck 1.44.1 (24-Mar-2018)
userdata: clean, 11/44800 files, 3877/210348 blocks
done.
[    4.522132] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
Begin: Resizing ext4 file system on /dev/mmcblk0p3 ... Model: MMC 8GTF4R (sd/mmc)
Disk /dev/mmcblk0: 100%
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start  End    Size   Type     File system  Flags
1      0.32%  0.86%  0.54%  primary  fat16
2      0.86%  1.77%  0.91%  primary  ext4
3      1.77%  100%   98.2%  primary  ext4

resize2fs 1.44.1 (24-Mar-2018)
Resizing the filesystem on /dev/mmcblk0p3 to 1874944 (4k) blocks.
The filesystem on /dev/mmcblk0p3 is now 1874944 (4k) blocks long.

done.
[    6.764914] EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.

mount: mounting /run on /overlay/run failed: No such file or directory
run-init: /sbin/init: I/O error
[    6.896654] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000100
[    6.896654]
[    6.905803] CPU: 3 PID: 1 Comm: run-init Not tainted 4.14.111 #1
[    6.911803] Hardware name: sun8i
[    6.915078] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[    6.922832] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8)
[    6.930062] [<c0a1ba3c>] (dump_stack) from [<c0240dd0>] (panic+0xdc/0x254)
[    6.936943] [<c0240dd0>] (panic) from [<c0245194>] (complete_and_exit+0x0/0x1c)
[    6.944254] [<c0245194>] (complete_and_exit) from [<ef04bf70>] (0xef04bf70)
[    6.951222] CPU2: stopping
[    6.953938] CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.111 #1
[    6.960023] Hardware name: sun8i
[    6.963267] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[    6.971014] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8)
[    6.978241] [<c0a1ba3c>] (dump_stack) from [<c02278c8>] (handle_IPI+0x174/0x194)
[    6.985642] [<c02278c8>] (handle_IPI) from [<c0201560>] (gic_handle_irq+0x74/0x78)
[    6.993213] [<c0201560>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[    7.000690] Exception stack(0xef07df78 to 0xef07dfc0)
[    7.005741] df60:                                                       00000001 00000000
[    7.013915] df80: 00000000 c0231bc0 ef07c000 c1203f88 c1203f38 c1068a78 ef07dfd0 00000000
[    7.022089] dfa0: 00000000 00000000 2e65c000 ef07dfc8 c0222964 c0222968 60000013 ffffffff
[    7.030267] [<c0225e78>] (__irq_svc) from [<c0222968>] (arch_cpu_idle+0x38/0x3c)
[    7.037666] [<c0222968>] (arch_cpu_idle) from [<c0278b9c>] (do_idle+0x164/0x1f8)
[    7.045064] [<c0278b9c>] (do_idle) from [<c0278ea8>] (cpu_startup_entry+0x18/0x1c)
[    7.052633] [<c0278ea8>] (cpu_startup_entry) from [<4020182c>] (0x4020182c)
[    7.059588] CPU0: stopping
[    7.062303] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.111 #1
[    7.068388] Hardware name: sun8i
[    7.071632] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[    7.079379] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8)
[    7.086606] [<c0a1ba3c>] (dump_stack) from [<c02278c8>] (handle_IPI+0x174/0x194)
[    7.094004] [<c02278c8>] (handle_IPI) from [<c0201560>] (gic_handle_irq+0x74/0x78)
[    7.101575] [<c0201560>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[    7.109050] Exception stack(0xc1201f30 to 0xc1201f78)
[    7.114101] 1f20:                                     00000001 00000000 00000000 c0231bc0
[    7.122275] 1f40: c1200000 c1203f88 c1203f38 c1068a78 c1201f88 00000000 00000000 c1049a28
[    7.130447] 1f60: 2e63a000 c1201f80 c0222964 c0222968 600e0013 ffffffff
[    7.137066] [<c0225e78>] (__irq_svc) from [<c0222968>] (arch_cpu_idle+0x38/0x3c)
[    7.144462] [<c0222968>] (arch_cpu_idle) from [<c0278b9c>] (do_idle+0x164/0x1f8)
[    7.151858] [<c0278b9c>] (do_idle) from [<c0278ea8>] (cpu_startup_entry+0x18/0x1c)
[    7.159433] [<c0278ea8>] (cpu_startup_entry) from [<c1000c98>] (start_kernel+0x3c8/0x3d4)
[    7.167603] CPU1: stopping
[    7.170317] CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.14.111 #1
[    7.176403] Hardware name: sun8i
[    7.179647] [<c02287fc>] (unwind_backtrace) from [<c0225398>] (show_stack+0x10/0x14)
[    7.187394] [<c0225398>] (show_stack) from [<c0a1ba3c>] (dump_stack+0x94/0xa8)
[    7.194620] [<c0a1ba3c>] (dump_stack) from [<c02278c8>] (handle_IPI+0x174/0x194)
[    7.202018] [<c02278c8>] (handle_IPI) from [<c0201560>] (gic_handle_irq+0x74/0x78)
[    7.209588] [<c0201560>] (gic_handle_irq) from [<c0225e78>] (__irq_svc+0x58/0x74)
[    7.217063] Exception stack(0xef07bf78 to 0xef07bfc0)
[    7.222112] bf60:                                                       00000001 00000000
[    7.230286] bf80: 00000000 c0231bc0 ef07a000 c1203f88 c1203f38 c1068a78 ef07bfd0 00000000
[    7.238460] bfa0: 00000000 00000000 2e64b000 ef07bfc8 c0222964 c0222968 600e0013 ffffffff
[    7.246639] [<c0225e78>] (__irq_svc) from [<c0222968>] (arch_cpu_idle+0x38/0x3c)
[    7.254035] [<c0222968>] (arch_cpu_idle) from [<c0278b9c>] (do_idle+0x164/0x1f8)
[    7.261431] [<c0278b9c>] (do_idle) from [<c0278ea8>] (cpu_startup_entry+0x18/0x1c)
[    7.268999] [<c0278ea8>] (cpu_startup_entry) from [<4020182c>] (0x4020182c)
[    7.275968] Rebooting in 10 seconds..

Nie jestem super biegły w systemach linuxowych i nie znalazłem też nic godnego uwagi u wujka Googla.

18

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Próbowałem też za wiki eflasher-a zrobić własny obraz przez 'sd-fuse_h3' ale to zadziałało tylko z ich obrazami...jak chciałem zrobić taki obraz eflasher-a z oryginalnego obrazu openWRt to się nie udało. W takim razie muszę poszukać jak zrobić taki obraz.

19

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Niestety nie działa. tzn wgrałem obraz openWRT na pamięć eMMC przez polecenie 'dd' i po wyciągnięciu karty microSD routerek nie startuje. Świeci tylko czerwona dioda.



root@OpenWrt:~# fdisk -l
Disk /dev/loop0: 100.19 MiB, 105054208 bytes, 205184 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0: 1.83 GiB, 1967128576 bytes, 3842048 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x07b1a0a4

Device         Boot  Start     End Sectors  Size Id Type
/dev/mmcblk0p1 *      2048   43007   40960   20M  c W95 FAT32 (LBA)
/dev/mmcblk0p2       45056  258047  212992  104M 83 Linux
/dev/mmcblk0p3      258048 3842047 3584000  1.7G 83 Linux


Disk /dev/mmcblk2: 7.28 GiB, 7818182656 bytes, 15269888 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5452574f

Device         Boot Start    End Sectors  Size Id Type
/dev/mmcblk2p1 *     2048  43007   40960   20M  c W95 FAT32 (LBA)
/dev/mmcblk2p2      45056 258047  212992  104M 83 Linux
root@OpenWrt:~#

Tak to wygląda. /dev/mmcblk0p3 jest moją partycją zrobioną dla testu na karcie microsd

20

(14 odpowiedzi, napisanych Oprogramowanie / Software)

Czołem

Mam NanoPi R1 (wersję z 8GB pamięci eMMC). Chciałbym postawić na nim OpenWRT. Póki co mam wgrane na kartę SD jednak chciałbym pozbyć się karty i mieć wgrany system na pamięć wewnętrzną. I tutaj pojawia się problem... Dostępny obraz OpenWRT (a dokładnie to friendlyWRT...) na pamięć eMMC na oficjalnej stronie NanoPi jest.... dwu letni...
Z mojego research-u wynika, że nawet nie da się go zaktualizować do najnowszej wersji.
Skąd mogę pobrać jakiś "nowożytny" obraz na pamięć eMMC? Byłoby idealnie gdybym mógł wykorzystać te 8GB pamięci

21

(7 odpowiedzi, napisanych Sprzęt / Hardware)

MiG25 napisał/a:

Te punkty tuż przed J3 i J5 są po to ,żeby wlutować się bezpośrednio przewodem antenowym ( pod nimi są masy do wlutowaniu ekranu tego przewodu).

Tak się domyślałem. I chyba trzeba rozlutować zworkę J3/j5

22

(7 odpowiedzi, napisanych Sprzęt / Hardware)

W sumie pomysł niezły. Dzięki, zamówię gniazdo i pigtaile i zobaczymy smile

23

(7 odpowiedzi, napisanych Sprzęt / Hardware)

Nie spodziewam się cudów ale troszkę chciałbym poprawić zasięg. A mogę zrobić tak jak myślę i rozlutować zworkę i wlutować się w pady czy lepiej na samej antenie ? (widać, że za zworką a przed antenką są elementy dyskretne)

24

(7 odpowiedzi, napisanych Sprzęt / Hardware)

Cześć forumowicze!

Od jakiegoś czasu bawię się tym routerkiem i postawiłem na nim OpenWrt. Wasze forum było mi mocno pomocne a zwłaszcza przy konfiguracji połączenia 3G. Jednak tym razem nie o tym. Z racji tego, że urządzonko ma słaby zasięg wifi (pracuje jako AP -> internet z modemu daje na inne urządzenia po wifi) zacząłem myśleć nad modem dodającym zewnętrzną antenę. Niestety elektronikiem jestem amatorem i dlatego wolałbym się dopytać bardziej doświadczonych użytkowników.

Mam wersję 3.20 "mocniejszą" z microusb. Znalazłem w necie poradniki jak dodać antenę ale wszystkie są do wersji słabszej a widać na pierwszy rzut oka, że płytki się od siebie różnią, stąd moje wątpliwości.

PunBB bbcode test
Na płytce widać dwie antenki (J21 i J22) do której mam się dolutować ? W poradnikach dopinają się do antenki AN2, co jak mi się wydaje, będzie J22. Czy mogę rozlutować zworkę J5 i dolutować się do padów przed zworką? Na ścieżce będzie "+" a na polu masowym "-"? Wszędzie w poradnikach przecinają ścieżkę na samej antenie i wlutowują się bezpośrednio w nią.
Dodam, że planuje wlutować gniazdo uFL i podpiąć pigtail uFL -> SMA i wkręcić antenkę 3dBi

Z góry dzięki za pomoc i przepraszam jeśli moje pytanie jest głupie tongue