安装armbian
我购买了OrangePi zero puls H5 ,他里面预装的安卓系统,启动要一分钟,我是服的。所以我想给他安装armbian。
我首先去下载了armbian对应的镜像,并且烧录到了sd卡中。
出现以下问题
U-Boot 2017.11-armbian (Jan 25 2018 - 08:05:45 +0100) Allwinner Technology
CPU: Allwinner H5 (SUN50I)
Model: OrangePi Zero Plus2
DRAM: 512 MiB
MMC: SUNXI SD/MMC: 0, SUNXI SD/MMC: 1
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: No ethernet found.
starting USB...
No controllers found
Autoboot in 1 seconds, press <Space> to stop
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3100 bytes read in 200 ms (14.6 KiB/s)
## Executing script at 4fc00000
U-boot loaded from SD
Boot script loaded from mmc
143 bytes read in 161 ms (0 Bytes/s)
29656 bytes read in 324 ms (88.9 KiB/s)
504 bytes read in 547 ms (0 Bytes/s)
Applying kernel provided DT overlay sun50i-h5-usbhost2.dtbo
504 bytes read in 556 ms (0 Bytes/s)
Applying kernel provided DT overlay sun50i-h5-usbhost3.dtbo
4179 bytes read in 422 ms (8.8 KiB/s)
Applying kernel provided DT fixup script (sun50i-h5-fixup.scr)
## Executing script at 44000000
4914909 bytes read in 517 ms (9.1 MiB/s)
12943368 bytes read in 900 ms (13.7 MiB/s)
## Loading init Ramdisk from Legacy Image at 4fe00000 ...
Image Name: uInitrd
Image Type: AArch64 Linux RAMDisk Image (gzip compressed)
Data Size: 4914845 Bytes = 4.7 MiB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Loading Ramdisk to 49b50000, end 49fffe9d ... OK
reserving fdt memory region: addr=4fa00000 size=6d000
Loading Device Tree to 0000000049ae0000, end 0000000049b4ffff ... OK
Starting kernel ...
Loading, please wait...
starting version 232
[ 2.248875] Internal error: undefined instruction: 0 [#1] SMP
[ 2.254645] Modules linked in:
[ 2.257718] CPU: 2 PID: 190 Comm: systemd-udevd Not tainted 4.14.14-sunxi64 #10
[ 2.265022] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 2.270678] task: ffff8000155a6c00 task.stack: ffff000009340000
[ 2.276623] PC is at __alloc_fd+0x90/0x1d8
[ 2.280725] LR is at __alloc_fd+0x84/0x1d8
[ 2.283839] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 2.295503] pc : [<ffff0000082121c8>] lr : [<ffff0000082121bc>] pstate: 20000145
[ 2.302890] sp : ffff000009343de0
[ 2.306203] x29: ffff000009343de0 x28: ffff8000155a6c00
[ 2.311514] x27: ffff000008971000 x26: 0000000000000038
[ 2.316827] x25: 00000000000a0000 x24: 0000000000000400
[ 2.322138] x23: 0000000000000000 x22: ffff800016920f28
[ 2.327449] x21: 0000000000000040 x20: ffff800016920f00
[ 2.332759] x19: 0000000000000005 x18: 0000000000000000
[ 2.338069] x17: 0000ffffab3ddb68 x16: ffff0000081ed988
[ 2.343379] x15: 0000000000000038 x14: 0000000000000017
[ 2.348689] x13: ffffffff00000000 x12: 0101010101010101
[ 2.353998] x11: 0000000000000000 x10: fefefefefefefeff
[ 2.359309] x9 : ffff800016a2001c x8 : fefeff736d647564
[ 2.364619] x7 : 000000000000002d x6 : 0000000000000000
[ 2.369931] x5 : ffffffffffffffff x4 : 0000000000000000
[ 2.375242] x3 : ffffffffffffffff x2 : 0000000000000000
[ 2.380552] x1 : 0000000000000000 x0 : 0000000000000000
[ 2.385865] Process systemd-udevd (pid: 190, stack limit = 0xffff000009340000)
[ 2.393081] Call trace:
[ 2.395533] Exception stack(0xffff000009343ca0 to 0xffff000009343de0)
[ 2.401972] 3ca0: 0000000000000000 0000000000000000 0000000000000000 ffffffffffffffff
[ 2.409798] 3cc0: 0000000000000000 ffffffffffffffff 0000000000000000 000000000000002d
[ 2.417624] 3ce0: fefeff736d647564 ffff800016a2001c fefefefefefefeff 0000000000000000
[ 2.425450] 3d00: 0101010101010101 ffffffff00000000 0000000000000017 0000000000000038
[ 2.433278] 3d20: ffff0000081ed988 0000ffffab3ddb68 0000000000000000 0000000000000005
[ 2.441105] 3d40: ffff800016920f00 0000000000000040 ffff800016920f28 0000000000000000
[ 2.448930] 3d60: 0000000000000400 00000000000a0000 0000000000000038 ffff000008971000
[ 2.456757] 3d80: ffff8000155a6c00 ffff000009343de0 ffff0000082121bc ffff000009343de0
[ 2.464587] 3da0: ffff0000082121c8 0000000020000145 ffff000009343df0 ffff0000082010b8
[ 2.472419] 3dc0: 0001000000000000 0000ffffd4f25c90 ffff000009343de0 ffff0000082121c8
[ 2.480248] [<ffff0000082121c8>] __alloc_fd+0x90/0x1d8
[ 2.485389] [<ffff000008212334>] get_unused_fd_flags+0x24/0x30
[ 2.491215] [<ffff0000081ed830>] do_sys_open+0x118/0x248
[ 2.496528] [<ffff0000081ed998>] SyS_openat+0x10/0x18
[ 2.501576] Exception stack(0xffff000009343ec0 to 0xffff000009344000)
[ 2.508015] 3ec0: ffffffffffffff9c 0000ffffd4f25c90 0000000000080000 0000000000000000
[ 2.515840] 3ee0: 0000000000000008 0000000000080000 0000aaaac16db7ce 0000000000080000
[ 2.523668] 3f00: 0000000000000038 7f7f7f7f7f7f7f7f fefefefefefeff20 7f7f7f7f7f7f7f7f
[ 2.531498] 3f20: 0101010101010101 ffffffff00000000 0000000000000017 0000000000000038
[ 2.539326] 3f40: 0000ffffab4ae008 0000ffffab3ddb68 0000000000000000 0000000000080000
[ 2.547153] 3f60: 0000aaaac16db7c8 0000000000000008 0000000000000001 0000ffffd4f25c90
[ 2.554979] 3f80: 0000aaaac1710000 000000000000000a 0000ffffd4f25d60 0000ffffd4f25d50
[ 2.562807] 3fa0: 0000aaaaee355520 0000ffffd4f259d0 0000ffffab3d5dcc 0000ffffd4f259d0
[ 2.570633] 3fc0: 0000ffffab425850 0000000080000000 ffffffffffffff9c 0000000000000038
[ 2.578448] 3fe0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
[ 2.586273] [<ffff000008082fb0>] el0_svc_naked+0x24/0x28
[ 2.591582] Code: 940c7e96 531a6402 6b0202bf 540002e3 (f9400ec0)
[ 2.597670] ---[ end trace 5d08190421d0d3b3 ]---
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 ... Scanning for Btrfs filesystems
done.
Begin: Will now check root file system ... fsck from util-linux 2.29.2
[/sbin/fsck.ext4 (1) -- /dev/mmcblk0p1] fsck.ext4 -a -C0 /dev/mmcblk0p1
/dev/mmcblk0p1: recovering journal
[ 3.551143] random: crng init done
/dev/mmcblk0p1: clean, 37218/101504 files, 283456/405504 blocks
done.
[ 3.645521] EXT4-fs (mmcblk0p1): mounted filesystem with writeback data mode. Opts: (null)
done.
Begin: Running /scripts/local-bottom ... done.
Begin: Running /scripts/init-bottom ... done.
[ 4.280152] systemd[1]: System time before build time, advancing clock.
[ 4.333308] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 4.352137] systemd[1]: Detected architecture arm64.
Welcome to Debian GNU/Linux 9 (stretch)!
[ 4.369487] systemd[1]: Set hostname to <orangepizeroplus2>.
[ 4.488580] swapper/2[0]: undefined instruction: pc=ffff000008107788
[ 4.495715] Code: 8b13033c f9407380 f9401395 91000400 (f9007380)
[ 4.501981] Internal error: undefined instruction: 0 [#2] SMP
[ 4.507729] Modules linked in: sunxi musb_hdrc
[ 4.512564] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G D 4.14.14-sunxi64 #10
[ 4.521186] Hardware name: Xunlong Orange Pi Zero Plus2 (DT)
[ 4.527025] task: ffff800016969b00 task.stack: ffff000008df8000
[ 4.532976] PC is at rcu_check_callbacks+0x110/0x788
[ 4.537941] LR is at rcu_check_callbacks+0x20c/0x788
[ 4.542899] pc : [<ffff000008107788>] lr : [<ffff000008107884>] pstate: 200001c5
[ 4.550285] sp : ffff000008013d60
[ 4.553595] x29: ffff000008013d60 x28: ffff800017fa7b00
[ 4.558904] x27: ffff800017fa2dc0 x26: ffff000008c54000
[ 4.564211] x25: ffff000008c28b00 x24: 0000000000000000
[ 4.569520] x23: ffff000008c38000 x22: ffff000008c38000
[ 4.574827] x21: ffff000008c54000 x20: ffff000008c54000
[ 4.580134] x19: 000080000f37f000 x18: 0000000000000000
[ 4.585444] x17: 0000ffff803bb5f0 x16: 0000ffff802d2c18
[ 4.590754] x15: 000000000000071d x14: 0000000000000000
[ 4.596061] x13: 0000000000000000 x12: 0000000000000000
[ 4.601369] x11: 0000000000000000 x10: 0000000000000040
[ 4.606677] x9 : ffff000008c28b00 x8 : ffff800016400248
[ 4.611984] x7 : ffff800016400270 x6 : 00000000143712e4
[ 4.617293] x5 : 00ffffffffffffff x4 : ffff000008c54800
[ 4.622620] x3 : 0000000000000000 x2 : 0000000000000000
[ 4.627934] x1 : 0000000000000000 x0 : 000000000000027b
[ 4.633245] Process swapper/2 (pid: 0, stack limit = 0xffff000008df8000)
[ 4.639936] Call trace:
[ 4.642381] Exception stack(0xffff000008013c20 to 0xffff000008013d60)
[ 4.648815] 3c20: 000000000000027b 0000000000000000 0000000000000000 0000000000000000
[ 4.656638] 3c40: ffff000008c54800 00ffffffffffffff 00000000143712e4 ffff800016400270
[ 4.664460] 3c60: ffff800016400248 ffff000008c28b00 0000000000000040 0000000000000000
[ 4.672282] 3c80: 0000000000000000 0000000000000000 0000000000000000 000000000000071d
[ 4.680104] 3ca0: 0000ffff802d2c18 0000ffff803bb5f0 0000000000000000 000080000f37f000
[ 4.687926] 3cc0: ffff000008c54000 ffff000008c54000 ffff000008c38000 ffff000008c38000
[ 4.695749] 3ce0: 0000000000000000 ffff000008c28b00 ffff000008c54000 ffff800017fa2dc0
[ 4.703571] 3d00: ffff800017fa7b00 ffff000008013d60 ffff000008107884 ffff000008013d60
[ 4.711393] 3d20: ffff000008107788 00000000200001c5 ffff000008013d50 ffff000008104328
[ 4.719215] 3d40: 0001000000000000 ffff800017fa7000 ffff000008013d60 ffff000008107788
[ 4.727042] [<ffff000008107788>] rcu_check_callbacks+0x110/0x788
[ 4.733043] [<ffff00000810b794>] update_process_times+0x2c/0x58
[ 4.738961] [<ffff00000811b3e8>] tick_sched_handle.isra.5+0x30/0x48
[ 4.745222] [<ffff00000811b440>] tick_sched_timer+0x40/0x90
[ 4.750789] [<ffff00000810c40c>] __hrtimer_run_queues+0xec/0x168
[ 4.756789] [<ffff00000810c688>] hrtimer_interrupt+0xa0/0x228
[ 4.762530] [<ffff0000087b11d8>] arch_timer_handler_phys+0x28/0x40
[ 4.768705] [<ffff0000080fbe98>] handle_percpu_devid_irq+0x80/0x138
[ 4.774966] [<ffff0000080f62bc>] generic_handle_irq+0x24/0x38
[ 4.780707] [<ffff0000080f696c>] __handle_domain_irq+0x5c/0xb0
[ 4.786535] [<ffff000008080df8>] gic_handle_irq+0x58/0xa8
[ 4.791926] Exception stack(0xffff000008dfbe20 to 0xffff000008dfbf60)
[ 4.798360] be20: 0000000000000000 0000000000000000 0000000000000001 0000000000000000
[ 4.806182] be40: 0000000000000000 ffff000008dfbf60 000080000f37f000 0000000000000001
[ 4.814004] be60: ffff80001696a4e0 ffff000008dfbed0 0000000000000980 0000000000000000
[ 4.821826] be80: 0000000000000000 0000000000000000 0000000000000000 000000000000071d
[ 4.829648] bea0: 0000ffff802d2c18 0000ffff803bb5f0 0000000000000000 ffff000008c1e000
[ 4.837471] bec0: ffff000008c38000 ffff000008c38000 ffff000008c26bd8 ffff000008c38e9c
[ 4.845293] bee0: 0000000000000000 0000000000000000 ffff800016969b00 0000000000000000
[ 4.853115] bf00: 0000000000000000 ffff000008dfbf60 ffff00000808499c ffff000008dfbf60
[ 4.860937] bf20: ffff0000080849a0 0000000000000145 0000000000000000 0000000000000000
[ 4.868759] bf40: ffffffffffffffff ffff0000080e9434 ffff000008dfbf60 ffff0000080849a0
[ 4.876582] [<ffff0000080828f0>] el1_irq+0xb0/0x140
[ 4.881456] [<ffff0000080849a0>] arch_cpu_idle+0x10/0x18
[ 4.886765] [<ffff0000080e9488>] do_idle+0x120/0x1d8
[ 4.891724] [<ffff0000080e96e4>] cpu_startup_entry+0x24/0x28
[ 4.897380] [<ffff00000808e9d0>] secondary_start_kernel+0xf8/0x108
[ 4.903556] Code: 8b13033c f9407380 f9401395 91000400 (f9007380)
[ 4.909645] ---[ end trace 5d08190421d0d3b4 ]---
[ 4.914257] Kernel panic - not syncing: Fatal exception in interrupt
[ 4.920605] SMP: stopping secondary CPUs
[ 5.976607] SMP: failed to stop secondary CPUs 2-3
[ 5.981392] Kernel Offset: disabled
[ 5.984876] CPU features: 0x002004
[ 5.988273] Memory Limit: none
[ 5.991324] Rebooting in 10 seconds..
解决问题
我去armbian的论坛找了一下,大家可以下载这个链接的镜像:https://dl.armbian.com/orangepizeroplus2-h5/archive/Armbian_5.42_Orangepizeroplus2-h5_Debian_stretch_dev_4.16.0.7z
安装即可。登录账户为root 密码为1234。