Banana PI BPI-W2 New image:Debian 9 Linux Image Release 2018-09-18

Banana Pi BPI-W2 New Image Release: Debian 9 Demo

image

1.About this release

  • This release is for banana pi W2 board which is based on realtek RTD1296, and it is based on Debian 9 operation system with kernel 4.9.119.

2.Supported Features & limitations

3.Image link:

4.FAQ:

video demo:

2 Likes

nice,thanks ! hope opensource,!

the spi-rom update has brought a big improvement. All previous kernels boot much more stable

Banana Pi BPI-W2 source code public on github

Thanks for publishing the sources.

To the above images I noticed some things.

gmac: used 4.9 compared to 4.4, another driver recognizes only eth0.

# uname -a
Linux bpi-w2 4.9.119-BPI-W2-Kernel #1 SMP PREEMPT Fri Sep 14 17:32:19 CST 2018 aarch64 GNU/Linux

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:10:20:30:40:50 brd ff:ff:ff:ff:ff:ff
    inet 192.168.22.133/24 brd 192.168.22.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::210:20ff:fe30:4050/64 scope link
       valid_lft forever preferred_lft forever

[    3.797886] r8169 Gigabit Ethernet driver 2.5LK-NAPI loaded
[    3.813225] r8169 98016000.gmac eth0: RTL8168g/8111g at 0xffffff80081b7000, XID 10900800 IRQ 17
[    3.822171] r8169 98016000.gmac eth0: jumbo features [frames: 9200 bytes, tx checksumming: ko]
[    3.831133] [Ethernet] Watch link status change.
...
[   12.106856] r8169 98016000.gmac eth0: rtl_csiar_cond == 0 (loop: 100, delay: 10).
[   12.115857] r8169 98016000.gmac eth0: rtl_csiar_cond == 1 (loop: 100, delay: 10).
[   12.125298] r8169 98016000.gmac eth0: link down
[   12.125315] r8169 98016000.gmac eth0: link down
[   12.138209] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
...
[   15.794656] r8169 98016000.gmac eth0: link up
[   15.799330] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   15.822278] r8169 98016000.gmac eth0: rtl_csiar_cond == 0 (loop: 100, delay: 10).
[   15.831350] r8169 98016000.gmac eth0: rtl_csiar_cond == 1 (loop: 100, delay: 10).
[   15.840510] r8169 98016000.gmac eth0: link up

Both nodes are present in the device tree.

# uname -a
Linux bpi-w2 4.4.18-ning #1 SMP Wed May 23 14:55:41 CST 2018 aarch64 GNU/Linux

# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:10:20:30:40:50 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 00:10:20:30:40:51 brd ff:ff:ff:ff:ff:ff
    inet 192.168.22.133/24 brd 192.168.22.255 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::210:20ff:fe30:4051/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:10:20:30:40:52 brd ff:ff:ff:ff:ff:ff
5: peth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 00:10:20:30:40:50 brd ff:ff:ff:ff:ff:ff
6: bond0: <BROADCAST,MULTICAST,MASTER> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether f6:ab:9e:fa:54:8e brd ff:ff:ff:ff:ff:ff




[    5.946325] rtd1295-hwnat driver loaded
[    5.946345] re865x_probe:13589: IRQ = 9
[    5.946409] re865x_probe:13612: HWNAT start 0x98060000, rtl_hwnat_mmio = 0xffffff800d000000
[    5.946413] re865x_probe:13615: HW NAT offload_enable = enable
[    5.946417] re865x_probe:13619: rgmii_enable = enable
[    5.946421] re865x_probe:13623: RGMII voltage = 1 (1:1.8V, 2:2.5V, 3:3.3V)
[    5.946424] re865x_probe:13627: RGMII TX delay = 1 (0.5 ns per step)
[    5.946428] re865x_probe:13631: RGMII RX delay = 1 (0.5 ns per step)
[    5.946432] re865x_probe:13635: mac0_enable = enable
[    5.946435] re865x_probe:13644: mac0_mode = RGMII
[    5.946439] re865x_probe:13648: mac5_conn_to = PHY
[    5.946442] re865x_probe:13652: mac0_phy_id = 2
[    5.946446] re865x_probe:13656: mac4_phy_id = 4
[    5.946450] re865x_probe:13660: mac5_phy_id = 1
[    5.946453] re865x_probe:13664: LED mode = 1
[    5.946456] re865x_probe:13668: gpio_link_led_enable = 1
[    5.946505] rtl_set_vlanconfig_mac_addr:13428: MAC address base = 00:10:20:30:40:50
[    5.946517] reset-rtk: ASSERT      0x0801a000 [0x9fdaf355 -> 0x9fdaf355] D 0x00000000, M 0x00000002
[    5.946523] reset-rtk: DEASSERT    0x0801a000 [0x9fdaf355 -> 0x9fdaf357] D 0x00000002, M 0x00000002
[    5.946582] reset-rtk: DEASSERT    0x08022088 [0x00001f82 -> 0x00001f82] D 0x00000000, M 0x00000200
[    5.946588] reset-rtk: DEASSERT    0x08022088 [0x00001f82 -> 0x00001f82] D 0x00000000, M 0x00000400
[    5.947604] reset-rtk: DEASSERT    0x08022088 [0x00001f82 -> 0x00001f82] D 0x00000000, M 0x00000200
[    5.948613] reset-rtk: DEASSERT    0x0801a000 [0x9fdaf357 -> 0x9fdaf357] D 0x00000000, M 0x00000002
[    6.069800] NAT: fail to request GPIO pin 254
[    6.079496] eth0 added. vid=8 Member port 0x10...
[    6.079875] eth1 added. vid=9 Member port 0x20...
[    6.080245] eth2 added. vid=9 Member port 0x1...
[    6.080599] [peth0] added, mapping to [eth0]...
...
[   17.315259] eth1 link down
[   17.318379] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
...
[   40.658508] eth1 link up
[   40.658579] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready

Poweroff fünktioniert over 4.4. not yet correct.

[  OK  ] Reached target Shutdown.
[  226.879796] reboot: Power down
[  263.920929] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP
[  263.926552] Modules linked in:
[  263.929695] CPU: 0 PID: 1 Comm: systemd-shutdow Tainted: G        W       4.9.119-BPI-W2-Kernel #1
[  263.938866] Hardware name: Realtek_RTD1296 (DT)
[  263.943504] task: ffffffc07d592d80 task.stack: ffffffc07d594000
[  263.949570] PC is at rtk_iso_suspend+0x74/0x9c
[  263.954119] LR is at rtk_iso_suspend+0x6c/0x9c
[  263.958668] pc : [<ffffff8008744a84>] lr : [<ffffff8008744a7c>] pstate: 600003c5
[  263.966238] sp : ffffffc07d597c30
[  263.969630] x29: ffffffc07d597c30 x28: ffffffc07d592d80
[  263.975093] x27: ffffff8008e82000 x26: 000000000000008e
[  263.980556] x25: 0000000000000123 x24: 0000000000000015
[  263.986018] x23: 6420002e66666f20 x22: fffffffffee1dead
[  263.991480] x21: 0000000000000001 x20: 0000000000000001
[  263.996940] x19: 0000000000000000 x18: 0000000000000001
[  264.002401] x17: 0000000000000000 x16: fffffffffffffffe
[  264.007862] x15: 00000000ffffff80 x14: 0000000000000040
[  264.013322] x13: 0000000000000484 x12: 0000000000000000
[  264.018783] x11: 0000000000000001 x10: 0000000000000006
[  264.024243] x9 : 0000000000000484 x8 : 0000000000000001
[  264.029705] x7 : 0000000000000000 x6 : ffffffc07d5979f0
[  264.035165] x5 : 0000000000000000 x4 : ffffffc07ff62090
[  264.040626] x3 : 0000000002000000 x2 : 0000000002000000
[  264.046086] x1 : 0000000040000002 x0 : 0000000000989680
[  264.051548]
[  264.051548] SP: 0xffffffc07d597bb0:
[  264.056631] 7bb0  fee1dead ffffffff 66666f20 6420002e 00000015 00000000 00000123 00000000
[  264.065114] 7bd0  0000008e 00000000 08e82000 ffffff80 7d592d80 ffffffc0 7d597c30 ffffffc0
[  264.073595] 7bf0  08744a7c ffffff80 7d597c30 ffffffc0 08744a84 ffffff80 600003c5 00000000
[  264.082074] 7c10  7d597c30 ffffffc0 08744a7c ffffff80 ffffffff 0000007f 00000001 00000000
[  264.090554] 7c30  7d597c50 ffffffc0 0829951c ffffff80 000001c0 00000000 08744a10 ffffff80
[  264.099033] 7c50  7d597d50 ffffffc0 08742f44 ffffff80 00000000 00000000 4321fedc 00000000
[  264.107513] 7c70  09351bd8 ffffff80 7d597d50 ffffffc0 a755e570 0000007f 00000000 00000000
[  264.115992] 7c90  00000000 00000000 00000000 00000000 00300000 00000000 b5593519 00000032
[  264.124473]
[  264.124473] X4: 0xffffffc07ff62010:
[  264.129555] 2010  08003000 ffffff80 7ff62090 ffffffc0 7ff62030 ffffffc0 0828177c ffffff80
[  264.138035] 2030  7ff62080 ffffffc0 082830f0 ffffff80 7bf6f860 ffffffc0 ffffffff 0000007f
[  264.146515] 2050  7bf6f990 ffffffc0 082d33b8 ffffff80 80000145 00000000 00000001 00000000
[  264.154994] 2070  7ff5e0a0 ffffffc0 00000000 00000000 7bf6f990 ffffffc0 7bf6f860 ffffffc0
[  264.163474] 2090  00000000 00000000 00000000 00000000 7b8b7a60 ffffffc0 00000000 00000000
[  264.171953] 20b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.180432] 20d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.188911] 20f0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.197391]
[  264.197391] X6: 0xffffffc07d597970:
[  264.202474] 7970  00000000 00000000 00003658 0000000b 7d5979c0 ffffffc0 0828b8f4 ffffff80
[  264.210954] 7990  7d597b00 ffffffc0 7d597b00 ffffffc0 0828b930 ffffff80 f2000800 00000000
[  264.219433] 79b0  a7244514 0000007f 08303518 00000165 7d5979e0 ffffffc0 0828b960 ffffff80
[  264.227913] 79d0  7d597b00 ffffffc0 08303a14 ffffff80 7d597a00 ffffffc0 082851c0 ffffff80
[  264.236393] 79f0  f2000800 00000000 0828515c ffffff80 7d597a30 ffffffc0 08281658 ffffff80
[  264.244872] 7a10  00000090 00000000 09445a48 ffffff80 7d597b00 ffffffc0 00000000 00000000
[  264.253352] 7a30  7d597c30 ffffffc0 08282fa0 ffffff80 00000000 00000000 ffffffff 0000007f
[  264.261831] 7a50  7d597c30 ffffffc0 08744a84 ffffff80 600003c5 00000000 0000003d 00000000
[  264.270317]
[  264.270317] X22: 0xfffffffffee1de2d:
[  264.275489] de2c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.283973] de4c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.292453] de6c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.300933] de8c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.309413] deac  ******** ******** ******** ******** ******** ******** ******** ********
[  264.317893] decc  ******** ******** ******** ******** ******** ******** ******** ********
[  264.326373] deec  ******** ******** ******** ******** ******** ******** ******** ********
[  264.334853] df0c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.343333] df2c  ******** ******** ******** ******** ******** ******** ******** ********
[  264.351815]
[  264.351815] X28: 0xffffffc07d592d00:
[  264.356985] 2d00  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.365465] 2d20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.373944] 2d40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.382423] 2d60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  264.390902] 2d80  00000008 00000000 ffffffff ffffffff 00000001 00000000 00000000 00000000
[  264.399381] 2da0  7d594000 ffffffc0 00000002 04400100 00000000 00000000 00000000 00000000
[  264.407862] 2dc0  00000001 00000000 00000019 00000000 ffffb880 00000000 7d5bef00 ffffffc0
[  264.416341] 2de0  00000000 00000001 00000078 00000078 00000078 00000000 08e89890 ffffff80
[  264.424822]
[  264.424822] X29: 0xffffffc07d597bb0:
[  264.429992] 7bb0  fee1dead ffffffff 66666f20 6420002e 00000015 00000000 00000123 00000000
[  264.438471] 7bd0  0000008e 00000000 08e82000 ffffff80 7d592d80 ffffffc0 7d597c30 ffffffc0
[  264.446952] 7bf0  08744a7c ffffff80 7d597c30 ffffffc0 08744a84 ffffff80 600003c5 00000000
[  264.455433] 7c10  7d597c30 ffffffc0 08744a7c ffffff80 ffffffff 0000007f 00000001 00000000
[  264.463913] 7c30  7d597c50 ffffffc0 0829951c ffffff80 000001c0 00000000 08744a10 ffffff80
[  264.472392] 7c50  7d597d50 ffffffc0 08742f44 ffffff80 00000000 00000000 4321fedc 00000000
[  264.480872] 7c70  09351bd8 ffffff80 7d597d50 ffffffc0 a755e570 0000007f 00000000 00000000
[  264.489352] 7c90  00000000 00000000 00000000 00000000 00300000 00000000 b5593519 00000032
[  264.497831]
[  264.499357] Process systemd-shutdow (pid: 1, stack limit = 0xffffffc07d594000)
[  264.506750] Stack: (0xffffffc07d597c30 to 0xffffffc07d598000)
[  264.512634] 7c20:                                   ffffffc07d597c50 ffffff800829951c
[  264.520651] 7c40: 00000000000001c0 ffffff8008744a10 ffffffc07d597d50 ffffff8008742f44
[  264.528667] 7c60: 0000000000000000 000000004321fedc ffffff8009351bd8 ffffffc07d597d50
[  264.536683] 7c80: 0000007fa755e570 0000000000000000 0000000000000000 0000000000000000
[  264.544699] 7ca0: 0000000000300000 00000032b5593519 ffffff8008282000 0000000000001000
[  264.552716] 7cc0: 0000000000000008 0000000034d5d91d 0000004076c75000 ffffffc07d592d80
[  264.560732] 7ce0: ffffffc07d597c50 00000000ffffffc8 ffffffc07d597c50 ffffff8008299510
[  264.568748] 7d00: 00000000000001c0 ffffff8008744a10 0000000000000001 fffffffffee1dead
[  264.576765] 7d20: 6420002e66666f20 0000000000000015 0000000000000123 000000000000008e
[  264.584781] 7d40: ffffff8008e82000 ffffffc07d592d80 ffffffc07d597d60 ffffff80082865cc
[  264.592798] 7d60: ffffffc07d597d70 ffffff80082cc240 ffffffc07d597d80 ffffff80082cc3e8
[  264.600814] 7d80: 0000000000000000 ffffff8008283a00 ffffffffffffff61 0000004076c8c000
[  264.608830] 7da0: ffffffffffffffff 0000007fa7269944 0000000000000000 000000000000000d
[  264.616847] 7dc0: 0000007fa746adf0 0000000000000001 0000000060000000 0000000000000024
[  264.624863] 7de0: 000000009200004f 0000007fe2b3ae40 00000055920c6e98 ffffffc07d592d80
[  264.632880] 7e00: ffffffc07d597e40 ffffff8008404740 ffffffc078eb4900 0000007fe2b3b528
[  264.640896] 7e20: ffffffc078eb4900 0000000000000005 0000000000000000 0000007fa71eb99c
[  264.648912] 7e40: ffffffc07d597e90 ffffff8008405984 0000000000000003 0000007fe2b3b528
[  264.656929] 7e60: 0000000000000005 0000007fa7268f28 0000000020000000 ffffff80082c59a4
[  264.664945] 7e80: ffffffc07d597eb0 0000000000000000 0000000000000000 ffffff8008283a00
[  264.672962] 7ea0: ffffffffffffff1d 0000004076c8c000 ffffffffffffffff ffffff8008283a00
[  264.680978] 7ec0: fffffffffee1dead 0000000028121969 000000004321fedc 6420002e66666f20
[  264.688995] 7ee0: 0000000000000028 0000800000000000 0000007fa753a6c8 7f7f7f7f7f7f7f7f
[  264.697011] 7f00: 000000000000008e 0000007fe2b3b3d0 0000000000000000 0000000000000020
[  264.705027] 7f20: 0000000000000000 0000000000000000 0000000000000001 0000000000000001
[  264.713043] 7f40: 00000055920e0eb0 0000007fa7269928 0000000000000000 0000007fe2b3c348
[  264.721059] 7f60: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  264.729076] 7f80: 00000055920e2170 0000007fe2b3c0d0 00000055920c75a8 0000000000000000
[  264.737092] 7fa0: 00000055920c7000 0000007fe2b3bf60 00000055920c5a38 0000007fe2b3bf40
[  264.745108] 7fc0: 0000007fa7269944 0000000000000000 fffffffffee1dead 000000000000008e
[  264.753124] 7fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[  264.761139] Call trace:
[  264.763643] Exception stack(0xffffffc07d597a40 to 0xffffffc07d597b70)
[  264.770238] 7a40: 0000000000000000 0000007fffffffff ffffffc07d597c30 ffffff8008744a84
[  264.778254] 7a60: 00000000600003c5 000000000000003d 0000000000000123 ffffff800830413c
[  264.786271] 7a80: ffffffc07d597b70 ffffff80090ba628 0000000000000001 fffffffffee1dead
[  264.794287] 7aa0: 6420002e66666f20 0000000000000015 0000000000000123 000000000000008e
[  264.802303] 7ac0: ffffff8008e82000 ffffffc07d592d80 0000000000000000 ffffff80094e3d50
[  264.810320] 7ae0: ffffff8000000000 000000217d592d80 ffffffc07d597c10 ffffffc07d597c10
[  264.818336] 7b00: 0000000000989680 0000000040000002 0000000002000000 0000000002000000
[  264.826352] 7b20: ffffffc07ff62090 0000000000000000 ffffffc07d5979f0 0000000000000000
[  264.834368] 7b40: 0000000000000001 0000000000000484 0000000000000006 0000000000000001
[  264.842383] 7b60: 0000000000000000 0000000000000484
[  264.847378] [<ffffff8008744a84>] rtk_iso_suspend+0x74/0x9c
[  264.852998] [<ffffff800829951c>] cpu_suspend+0x58/0xa0
[  264.858261] [<ffffff8008742f44>] rtk_poweroff+0x34/0x3c
[  264.863612] [<ffffff80082865cc>] machine_power_off+0x28/0x30
[  264.869408] [<ffffff80082cc240>] kernel_power_off+0x6c/0x74
[  264.875114] [<ffffff80082cc3e8>] SyS_reboot+0x148/0x208
[  264.880464] [<ffffff8008283a00>] el0_svc_naked+0x34/0x38
[  264.885904] Code: f2a01300 97fc5270 71000673 54ffff81 (d4210000)
[  264.892172] INFO: rcu_preempt self-detected stall on CPU
[  264.897626]  0-...: (1 ticks this GP) idle=4b9/140000000000001/0 softirq=8542/8542 fqs=0
[  264.905996]   (t=9504 jiffies g=2252 c=2251 q=792)
[  264.910916] rcu_preempt kthread starved for 9504 jiffies! g2252 c2251 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x1
[  264.920710] rcu_preempt     S    0     7      2 0x00000000
[  264.926338] Call trace:
[  264.928845] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  264.934107] [<ffffff8008e71b78>] __schedule+0x184/0x6a0
[  264.939457] [<ffffff8008e720d0>] schedule+0x3c/0x9c
[  264.944452] [<ffffff8008e751a8>] schedule_timeout+0x18c/0x3ec
[  264.950336] [<ffffff800831568c>] rcu_gp_kthread+0x538/0x7ac
[  264.956043] [<ffffff80082c8a64>] kthread+0xdc/0xf0
[  264.960949] [<ffffff8008283980>] ret_from_fork+0x10/0x50
[  264.966409] Task dump for CPU 0:
[  264.969713] systemd-shutdow R  running task        0     1      0 0x0000000a
[  264.976953] Call trace:
[  264.979458] [<ffffff800828b3f8>] dump_backtrace+0x0/0x28c
[  264.984987] [<ffffff800828b708>] show_stack+0x24/0x30
[  264.990159] [<ffffff80082d95e0>] sched_show_task+0x138/0x184
[  264.995955] [<ffffff80082dc268>] dump_cpu_task+0x48/0x54
[  265.001396] [<ffffff80083993a0>] rcu_dump_cpu_stacks+0xa8/0xf0
[  265.007367] [<ffffff8008316634>] rcu_check_callbacks+0x970/0xb64
[  265.013518] [<ffffff800831cd70>] update_process_times+0x34/0x5c
[  265.019579] [<ffffff800832dcdc>] tick_sched_handle.isra.12+0x54/0x6c
[  265.026085] [<ffffff800832dd4c>] tick_sched_timer+0x58/0x9c
[  265.031791] [<ffffff800831d810>] __hrtimer_run_queues+0xc0/0x300
[  265.037941] [<ffffff800831e304>] hrtimer_interrupt+0xb4/0x1e8
[  265.043825] [<ffffff8008b08ba0>] arch_timer_handler_phys+0x3c/0x4c
[  265.050153] [<ffffff800830ae0c>] handle_percpu_devid_irq+0xa4/0x288
[  265.056571] [<ffffff8008305508>] generic_handle_irq+0x34/0x4c
[  265.062455] [<ffffff8008305c0c>] __handle_domain_irq+0x8c/0xf8
[  265.068427] [<ffffff8008281768>] gic_handle_irq+0x60/0xc0
[  265.073953] Exception stack(0xffffffc07d597830 to 0xffffffc07d597960)
[  265.080547] 7820:                                   0000000000000001 ffffff80094dc2d0
[  265.088564] 7840: 0000000000000280 0000000000000080 0000004076c75000 ffffff8008ed8c28
[  265.096580] 7860: ffffff80094e1964 6634352033373630 6428203138666666 000000000000050b
[  265.104597] 7880: 0000000000000002 000000000000000f 0000000000000000 000000000000050a
[  265.112613] 78a0: 3030303030303020 00000000ffffff80 fffffffffffffffe 0000000000000000
[  265.120630] 78c0: 0000000000000001 ffffff80094db0f8 0000000000000001 ffffff8009062838
[  265.128646] 78e0: ffffffc07d597b00 ffffffc07d592d80 ffffff8009445ad8 0000000000000123
[  265.136663] 7900: 000000000000008e ffffff8008e82000 ffffffc07d592d80 ffffffc07d597960
[  265.144679] 7920: ffffff800828b7d8 ffffffc07d597960 ffffff8008e762c4 0000000060000345
[  265.152696] 7940: ffffff80094db000 0000000000000001 0000007fffffffff ffffff8008669734
[  265.160712] [<ffffff80082830f0>] el1_irq+0xb0/0x124
[  265.165707] [<ffffff8008e762c4>] _raw_spin_unlock_irq+0x28/0x58
[  265.171768] [<ffffff800828b7d8>] die+0xc4/0x198
[  265.176407] [<ffffff800828b8f4>] bug_handler.part.4+0x48/0x84
[  265.182291] [<ffffff800828b960>] bug_handler+0x30/0x3c
[  265.187552] [<ffffff80082851c0>] brk_handler+0x94/0xe0
[  265.192812] [<ffffff8008281658>] do_debug_exception+0x8c/0x138
[  265.198782] Exception stack(0xffffffc07d597a40 to 0xffffffc07d597b70)
[  265.205377] 7a40: 0000000000000000 0000007fffffffff ffffffc07d597c30 ffffff8008744a84
[  265.213393] 7a60: 00000000600003c5 000000000000003d 0000000000000123 ffffff800830413c
[  265.221410] 7a80: ffffffc07d597b70 ffffff80090ba628 0000000000000001 fffffffffee1dead
[  265.229426] 7aa0: 6420002e66666f20 0000000000000015 0000000000000123 000000000000008e
[  265.237443] 7ac0: ffffff8008e82000 ffffffc07d592d80 0000000000000000 ffffff80094e3d50
[  265.245459] 7ae0: ffffff8000000000 000000217d592d80 ffffffc07d597c10 ffffffc07d597c10
[  265.253475] 7b00: 0000000000989680 0000000040000002 0000000002000000 0000000002000000
[  265.261492] 7b20: ffffffc07ff62090 0000000000000000 ffffffc07d5979f0 0000000000000000
[  265.269508] 7b40: 0000000000000001 0000000000000484 0000000000000006 0000000000000001
[  265.277523] 7b60: 0000000000000000 0000000000000484
[  265.282518] [<ffffff8008282fa0>] el1_dbg+0x18/0x74
[  265.287424] [<ffffff800829951c>] cpu_suspend+0x58/0xa0
[  265.292686] [<ffffff8008742f44>] rtk_poweroff+0x34/0x3c
[  265.298036] [<ffffff80082865cc>] machine_power_off+0x28/0x30
[  265.303830] [<ffffff80082cc240>] kernel_power_off+0x6c/0x74
[  265.309536] [<ffffff80082cc3e8>] SyS_reboot+0x148/0x208
[  265.314886] [<ffffff8008283a00>] el0_svc_naked+0x34/0x38
[  265.320323] Task dump for CPU 1:
[  265.323625] swapper/1       R  running task        0     0      1 0x00000000
[  265.330865] Call trace:
[  265.333370] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.338630] [<0000000000000002>] 0x2
[  265.342289] Task dump for CPU 2:
[  265.345593] swapper/2       R  running task        0     0      1 0x00000000
[  265.352833] Call trace:
[  265.355337] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.360597] [<0000000000000004>] 0x4
[  265.364256] Task dump for CPU 3:
[  265.367559] swapper/3       R  running task        0     0      1 0x00000000
[  265.374799] Call trace:
[  265.377304] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.382563] [<0000000000000008>] 0x8
[  265.402668] [RTK_SB2_DBG] sb2 get int 0x00000002 from SB2_INV_INTSTAT
[  265.409262] [RTK_SB2_DBG] Invalid access issued by SCPU
[  265.415500] [RTK_SB2_DBG] Invalid address is 0x98013820
[  265.421826] [RTK_SB2_DBG] Timeout threshold(0x0000004d)
[  265.463696] INFO: rcu_sched detected stalls on CPUs/tasks:
[  265.469342]  1-O..: (1 GPs behind) idle=9b5/1/0 softirq=6632/6633 fqs=0
[  265.476205]  2-O..: (2 GPs behind) idle=0c7/1/0 softirq=7552/7986 fqs=0
[  265.483066]  3-O..: (0 ticks this GP) idle=e65/1/0 softirq=9247/9247 fqs=0
[  265.490191]  (detected by 0, t=9647 jiffies, g=-100, c=-101, q=0)
[  265.496445] Task dump for CPU 1:
[  265.499750] swapper/1       R  running task        0     0      1 0x00000000
[  265.506991] Call trace:
[  265.509504] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.514764] [<0000000000000002>] 0x2
[  265.518424] Task dump for CPU 2:
[  265.521727] swapper/2       R  running task        0     0      1 0x00000000
[  265.528966] Call trace:
[  265.531471] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.536730] [<0000000000000004>] 0x4
[  265.536730] [<0000000000000004>] 0x4
[  265.543694] swapper/3       R  running task        0     0      1 0x00000000
[  265.550933] Call trace:
[  265.553438] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.558698] [<0000000000000008>] 0x8
[  265.562361] rcu_sched kthread starved for 9647 jiffies! g18446744073709551516 c18446744073709551515 f0x0 RCU_GP_WAIT_FQS(3) ->st1
[  265.574820] rcu_sched       S    0     8      2 0x00000000
[  265.580447] Call trace:
[  265.582952] [<ffffff8008286bf0>] __switch_to+0xb8/0xf4
[  265.588215] [<ffffff8008e71b78>] __schedule+0x184/0x6a0
[  265.593564] [<ffffff8008e720d0>] schedule+0x3c/0x9c
[  265.598560] [<ffffff8008e751a8>] schedule_timeout+0x18c/0x3ec
[  265.604445] [<ffffff800831568c>] rcu_gp_kthread+0x538/0x7ac
[  265.610152] [<ffffff80082c8a64>] kthread+0xdc/0xf0
[  265.615059] [<ffffff8008283980>] ret_from_fork+0x10/0x50
[  265.633189] rtk_sdmmc_get_cd: SD card exists, regCARD_EXIST = 4
[  265.650101] ---[ end trace 3d6a50c69858a84b ]---
[  265.659020] systemd-shutdow: 2 output lines suppressed due to ratelimiting
[  265.666185] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[  265.666185]
[  265.675540] Kernel Offset: disabled
[  265.679113] Memory Limit: none
[  265.682248] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[  265.682248]

[  OK  ] Reached target Shutdown.
[ACPU] receive rtk_if_prepare_suspend
enter rtk_standby_main, watchdog sec 0  0x00000000
[ACPU] IR version 2 is  0xa001f150
[ACPU] IR version 2 is magic  0x49525641
[ACPU] IR[0] key  0x00000018 mask  0x00ff0000 shift 16
[ACPU] IR[0] custom  0x00007f80 mask  0x0000ffff shift 0
GET_SUSPEND_VERSION == 2
wait rtk_check_system_ready_to_suspend author 1 notify 0
[ACPU] suspend PLATFORM_HANDSHAKE_ADDR  0x40000002
[ACPU] suspend SelfRefresh 0 WFI 0 force_reboot 0
[ACPU] video HDMI is off
[AO][--]_AO_hdmi_disable(0)
[AUDIO WARNING]
[AO][_AO_hdmi_disable]do nothing, HDMI not enable  0x00000000  0x00000000
[+][_AO_suspend_hw_process]
[+][AO][aio_HWDisable]
[AO]ao_SetDACAnalogOff:
set AIO_O_ACANA_GCTL1 [ 0x98006604]: 0x000a2aac
get AIO_O_ACANA_GCTL1 [ 0x98006604]: 0x24900004
set AIO_I_ACANA_ADC_GCTL2 [ 0x98006610]: 0x880a2a00
[AO]aio_CRTOff:
set SYS_CLOCK_ENABLE1 [ 0x9800000c]: 0x937f8071
[AO]aio_PowerControlDACOff_clk:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8f10415
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8f10415
[AO]aio_PowerControlHDMIOff:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8e10415
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8e10415
[AO]aio_PowerControlSPDIFOff:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8c10415
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8c10415
[AO]aio_PowerControlI2SOff:
set SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8010415
SYS_CLOCK_ENABLE2 [ 0x98000010]: 0xd8010415
set SYS_SOFT_RESET1 [ 0x98000000]: 0x9ff8e357
[+][AO][aio_HWDisable]
[-][_AO_suspend_hw_process]
[ACPU] ori gpio_wakeup_enable[0:23]  0x00000000
[ACPU] ori gpio_wakeup_activity  0x00000000
[ACPU] ori gpio_wakeup_enable1[24:34|47]  0x00000200
[ACPU] ori gpio_wakeup_activity1  0x00000000
[ACPU] wakeflag 5]cec 4]timer 3]rtc 2]gpio 1]ir 0]lan  0x0000002e
[ACPU] gpio_wakeup_enable[0:31]  0x00000000 bt  0x00000000
[ACPU] gpio_wakeup_activity  0x00000000
[ACPU] audio_reciprocal_timer_sec  0x00000000
[ACPU] gpio_wakeup_enable1[32:34]  0x00000002
[ACPU] gpio_wakeup_activity1  0x00000000
[ACPU] enter suspend_core
enter rtk_standby_handler  0x90010eb8  0x27bdffa8
enter rtk_standby_handler s  0x81cfff20 e  0x81d02a40 sram  0x27bdfff8 imem  0x27bdfff8here

                                                                                           OFF
                                                                                              123D4567

In multiuser.target no hdmi output.

best regards

My W2 did not recognize eth1 when running 4.9 either. I suspect that some drivers are not built with the 4.9 kernel. Could you please run sudo lshw -C network on the 4.4 kernel to see what driver is loaded for the ethernet interfaces?

# lshw -C network
  *-network:0 DISABLED
       description: Ethernet interface
       physical id: 9
       logical name: eth2
       serial: 00:10:20:30:40:52
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rtd1295-hwnat multicast=yes
  *-network:1 DISABLED
       description: Ethernet interface
       physical id: a
       logical name: peth0
       serial: 00:10:20:30:40:50
       capabilities: ethernet physical
       configuration: broadcast=yes multicast=yes
  *-network:2 DISABLED
       description: Ethernet interface
       physical id: b
       logical name: bond0
       serial: 6e:aa:19:1f:23:5c
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=bonding driverversion=3.7.1 firmware=2 link=no master=yes multicast=s
  *-network:3
       description: Ethernet interface
       physical id: c
       logical name: eth1
       serial: 00:10:20:30:40:51
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rtd1295-hwnat ip=192.168.22.133 multicast=yes
  *-network:4 DISABLED
       description: Ethernet interface
       physical id: d
       logical name: eth0
       serial: 00:10:20:30:40:50
       capabilities: ethernet physical
       configuration: broadcast=yes driver=rtd1295-hwnat multicast=yes

On 4.9:

  *-network:1
       description: Ethernet interface
       physical id: 2
       logical name: eth0
       serial: 00:10:20:30:40:50
       size: 100Mbit/s
       capacity: 1Gbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.5LK-NAPI duplex=full link=yes multicast=yes port=MII speed=100Mbit/s

So the ethernet interface driver is rtd1295-hwnat on 4.4 and r8169 on 4.9. I can’t find any module named rtd1295-hwnat on 4.9. I guess the rtd1295-hwnat module is the key for the kernel to recognize multiple ethernet interfaces but it hasn’t been ported to the latest kernel.

The name of the various images suggests that they flash for sd and emmc. A boot from the emmc but I have not succeeded.

emmc / sw->0

C1:80000000
C2
?
C3hswitch frequency to 0x00000046
frequency divider is 0x00000080
switch frequency to 0x00000046
frequency divider is 0x00000004
switch to SDR 8 bit
switch bus width to 0x00000008 bits success
0000001
C1:80000000
C2
?uu3-1

sd / sw ->1

Banana Pi BPI-W2(SPI ROM:20180907)
C1:80000000
C2
?
C3h
SD card is detected !!
C4
BPI: try bootcode_from_sdcard !!
BPI: support boot from sdcard

Is there a guide to it?

Referring to redme.md

is under point 4 that one starts with pwr key the w2. This is not on my board so it starts immediately after power connection. Was this erroneously taken over by r2?

Is it possible to install openmediavault on it? i tried but without result.

spi-rom就是安装在emmc上的吗? emmc还能不能安装其他系统? 8g的emmc只能安装个bootloader太浪费了。

Have you booted from emmc?

Hello,

yes I managed to boot from emmc.

Boot Select-SW is to be left for both boot options to 1 to about spi-rom either SD or when there is nothing is found, to boot as a fallback by EMMC.

1 Like

I am trapped in the same deadlock of a missing eth1 with a fresh Debian 10 release. Surprisingly, there are no network card modules built with the system root@bpi-iot-ros-ai:/var/log# uname -a Linux bpi-iot-ros-ai 4.9.119-BPI-W2-Kernel #4 SMP PREEMPT Mon Apr 29 15:13:32 CST 2019 aarch64 GNU/Linux root@bpi-iot-ros-ai:/var/log# lsmod Module Size Used by mali_kbase 449039 0 I wonder if the BPi sources repository will allow to switch on the modules for the network interfaces in kernel config and rebuild it as modules. Has anybody possibility checking it?

Hi Jofri, Do you know what does it mean “rtk_standby_handler 0x90010eb8 0x27bdffa8 enter rtk_standby_handler s 0x81cfff20 e 0x81d02a40 sram 0x27bdfff8 imem 0x27bdfff8here”? There is also a set gpio_wakeup_XXX addresses at the end of shutdown/suspend process. Does anybody knows how to use these adresses to wake up processor from aka hibernation? Best Regards,