follow me

MZK-DP150N、新リビジョンで起動可能に

MZK-DP150N、新しいリビジョン(おそらくは2017頃からのモデル)ではOpenWrtでFlashが認識できない問題が発生していましたが、パッチが入ったので起動できる様になりました。
注意:snapshotビルドのみ対応されています。
r7020-43d70a7で当方動作確認済み。

該当する修正はこちら。
kernel: Add support spi-nor, Eon EN25QH32
ramipsは既に4.14に移行しているが、他のカーネルバージョンにも適応される様にしてあるので、他の機種で同じチップが使われている場合にも救える筈。
同様の問題は聞いていないので該当機種が存在するかは不明。


Eon EN25QH32の対応自体は、linux-mtdに入るので、OpenWrtに関わらず対応する形になる。
mtd: spi-nor: Add support for EN25QH32
データシートは、以下から入手可能。(EONはESMTに買収されているのもあり、EONのサイトからダウンロードできなくなってる。。。)
http://www.esmt.com.tw/english/main_products.asp


起動ログを張り付け。
BusyBox v1.28.3 () built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r7020-43d70a7
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~#
root@OpenWrt:~#
root@OpenWrt:~# dmesg
[    0.000000] Linux version 4.14.42 (buildbot@slashdirt-03) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r7020-43d70a7)) #0 Wed May 23 13:40:16 2018
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is Planex MZK-DP150N
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 80448e40, node_mem_map 81000040
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x47c with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 27576K/32768K available (3422K kernel code, 169K rwdata, 800K rodata, 208K init, 210K bss, 5192K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] CPU Clock: 360MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 583261500 ns
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 10618113593 ns
[    0.000020] sched_clock: 32 bits at 180MHz, resolution 5ns, wraps every 11930464253ns
[    0.015712] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.098036] pid_max: default: 32768 minimum: 301
[    0.107621] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120736] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.142934] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.162499] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.174747] pinctrl core: initialized pinctrl subsystem
[    0.187787] NET: Registered protocol family 16
[    0.249804] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.260945] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.273978] rt2880_gpio 10000660.gpio: registering 6 gpios
[    0.284946] rt2880_gpio 10000660.gpio: registering 6 irq handlers
[    0.306919] clocksource: Switched to clocksource MIPS
[    0.319215] NET: Registered protocol family 2
[    0.329746] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.343631] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.356202] TCP: Hash tables configured (established 1024 bind 1024)
[    0.369211] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.380846] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.393789] NET: Registered protocol family 1
[    0.408555] rt-timer 10000100.timer: maximum frequency is 3662Hz
[    0.422131] Crashlog allocated RAM at address 0x1f00000
[    0.436505] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.459808] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.471408] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.516039] io scheduler noop registered
[    0.523813] io scheduler deadline registered (default)
[    0.535684] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.554208] console [ttyS0] disabled
[    0.561394] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20, base_baud = 2500000) is a Palmchip BK-3103
[    0.581114] console [ttyS0] enabled
[    0.594886] bootconsole [early0] disabled
[    0.611791] cacheinfo: Failed to find cpu0 device node
[    0.622162] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.651435] spi spi0.0: force spi mode3
[    0.660530] m25p80 spi0.0: en25qh32 (4096 Kbytes)
[    0.670112] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.682826] Creating 4 MTD partitions on "spi0.0":
[    0.692430] 0x000000000000-0x000000030000 : "uboot"
[    0.704019] 0x000000030000-0x000000040000 : "uboot-env"
[    0.716338] 0x000000040000-0x000000050000 : "factory"
[    0.728527] 0x000000050000-0x000000400000 : "firmware"
[    0.774220] 2 uimage-fw partitions found on MTD device firmware
[    0.786163] 0x000000050000-0x0000001b79f4 : "kernel"
[    0.798114] 0x0000001b79f4-0x000000400000 : "rootfs"
[    0.809814] mtd: device 5 (rootfs) set to be root filesystem
[    0.824796] 1 squashfs-split partitions found on MTD device rootfs
[    0.837282] 0x000000380000-0x000000400000 : "rootfs_data"
[    0.850933] libphy: Fixed MDIO Bus: probed
[    0.867574] rt3050-esw 10110000.esw: link changed 0x00
[    0.880844] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.898407] rt2880_wdt 10000120.watchdog: Initialized
[    0.911073] NET: Registered protocol family 10
[    0.929121] Segment Routing with IPv6
[    0.936636] NET: Registered protocol family 17
[    0.945772] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    0.971707] 8021q: 802.1Q VLAN Support v1.8
[    0.998162] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    1.014558] Freeing unused kernel memory: 208K
[    1.023535] This architecture does not have kernel memory protection.
[    2.475647] init: Console is alive
[    2.483196] init: - watchdog -
[    2.576970] random: fast init done
[    4.139910] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.439721] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.465221] init: - preinit -
[    6.432829] rt3050-esw 10110000.esw: link changed 0x00
[    6.748812] random: procd: uninitialized urandom read (4 bytes read)
[    8.663155] rt3050-esw 10110000.esw: link changed 0x10
[   10.084393] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   10.148423] urandom-seed: Seed file not found (/etc/urandom.seed)
[   10.352866] procd: - early -
[   10.359060] procd: - watchdog -
[   11.139644] procd: - watchdog -
[   11.146783] procd: - ubus -
[   11.239819] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.254562] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.268546] random: ubusd: uninitialized urandom read (4 bytes read)
[   11.284254] procd: - init -
[   11.991403] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.017217] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   12.052958] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   12.069081] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   12.091031] ip_tables: (C) 2000-2006 Netfilter Core Team
[   12.119493] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   12.262119] xt_time: kernel timezone is -0000
[   12.372126] PPP generic driver version 2.4.2
[   12.386498] NET: Registered protocol family 24
[   12.443764] rt2800_wmac 10180000.wmac: loaded eeprom from mtd device "factory"
[   12.458350] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev 0500 detected
[   12.473883] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350 detected
[   12.488934] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   12.537427] kmodloader: done loading kernel modules from /etc/modules.d/*
[   14.022890] urandom_read: 5 callbacks suppressed
[   14.022906] random: jshn: uninitialized urandom read (4 bytes read)
[   19.984456] rt3050-esw 10110000.esw: link changed 0x00
[   22.065740] rt3050-esw 10110000.esw: link changed 0x10
[   24.658143] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   24.706979] jffs2_build_filesystem(): unlocking the mtd device...
[   24.707001] done.
[   24.723209] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   28.547284] done.
[   28.566189] jffs2: notice: (867) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   29.346182] overlayfs: upper fs does not support tmpfile.
[   32.211682] br-lan: port 1(eth0.1) entered blocking state
[   32.222595] br-lan: port 1(eth0.1) entered disabled state
[   32.234106] device eth0.1 entered promiscuous mode
[   32.243831] device eth0 entered promiscuous mode
[   32.430134] br-lan: port 1(eth0.1) entered blocking state
[   32.441047] br-lan: port 1(eth0.1) entered forwarding state
[   32.452942] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   33.187667] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[  127.197046] random: crng init done
root@OpenWrt:~#
MZK-DP150N、新リビジョンで起動可能に | 0 件のコメント | アカウント登録
サイト管理者はコメントに関する責任を負いません。