I tried to create my own image using the build script for Orange Pi Zero. But starting this crashes immediately. Any suggestions?
U-Boot 2017.09-1 (Oct 13 2017 - 11:04:53 +0200)
CPU: Allwinner H3 (SUN8I 1680)
Model: Xunlong Orange Pi Zero
DRAM: 512 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: phy interface0
eth0: ethernet@1c30000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot/boot.scr
3382 bytes read in 125 ms (26.4 KiB/s)
## Executing script at 43100000
U-boot loaded from SD
Boot script loaded from mmc
105 bytes read in 112 ms (0 Bytes/s)
6756432 bytes read in 594 ms (10.8 MiB/s)
Found mainline kernel configuration
31232 bytes read in 532 ms (56.6 KiB/s)
780 bytes read in 996 ms (0 Bytes/s)
Applying kernel provided DT overlay sun8i-h3-spi-spidev.dtbo
506 bytes read in 751 ms (0 Bytes/s)
Applying kernel provided DT overlay sun8i-h3-uart3.dtbo
4179 bytes read in 557 ms (6.8 KiB/s)
Applying kernel provided DT fixup script (sun8i-h3-fixup.scr)
## Executing script at 44000000
## Flattened Device Tree blob at 43000000
Booting using the fdt blob at 0x43000000
reserving fdt memory region: addr=43000000 size=6d000
Loading Device Tree to 49f90000, end 49ffffff ... OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 4.033284] Internal error: Oops - undefined instruction: 0 [#1] SMP THUMB2
[ 4.040328] Modules linked in:
[ 4.043436] CPU: 2 PID: 1 Comm: init Not tainted 4.13.7-sunxi #1
[ 4.049216] Hardware name: Allwinner sun8i Family
[ 4.053961] task: db0f6c00 task.stack: db0f8000
[ 4.058551] PC is at ret_fast_syscall+0x2/0x4c
[ 4.063045] LR is at SyS_brk+0x115/0x13c
[ 4.067002] pc : [<c0106602>] lr : [<c01fdae5>] psr: 60000013
[ 4.073309] sp : db0f9fa8 ip : 50c5387d fp : 00001000
[ 4.078571] r10: 00000000 r9 : db0f8000 r8 : c01067c4
[ 4.083836] r7 : 0000002d r6 : b6f45cf8 r5 : 00451034 r4 : 0000000a
[ 4.090406] r3 : 00040d07 r2 : 00040d07 r1 : 00000000 r0 : 01f2c000
[ 4.096978] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 4.104158] Control: 50c5387d Table: 5a37006a DAC: 00000051
[ 4.109942] Process init (pid: 1, stack limit = 0xdb0f8210)
[ 4.115553] Stack: (0xdb0f9fa8 to 0xdb0fa000)
[ 4.119961] 9fa0: 0000000a 00451034 00000000 00000063 00001
[ 4.128204] 9fc0: 0000000a 00451034 b6f45cf8 0000002d 00000001 00000001 00000
[ 4.136446] 9fe0: 0046ff68 be9e1dac b6f5bbb0 b6f5cfa8 60000010 00000000 00000
[ 4.144702] Code: bfcc2807 20012000 0000bd08 b6720000 (1000f8d9)
[ 4.150843] ---[ end trace b5fe179284fe5f90 ]---
[ 4.156218] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0b
[ 4.156218]
[ 4.165444] CPU0: stopping
[ 4.168202] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.13.7-11
[ 4.175674] Hardware name: Allwinner sun8i Family
[ 4.180494] [<c010d5b5>] (unwind_backtrace) from [<c010a02d>] (show_stack+0x)
[ 4.188375] [<c010a02d>] (show_stack) from [<c082d9dd>] (dump_stack+0x69/0x7)
[ 4.195732] [<c082d9dd>] (dump_stack) from [<c010c695>] (handle_IPI+0x261/0x)
[ 4.203257] [<c010c695>] (handle_IPI) from [<c01013e7>] (gic_handle_irq+0x67)
[ 4.210952] [<c01013e7>] (gic_handle_irq) from [<c010a9a5>] (__irq_svc+0x65/)
[ 4.218540] Exception stack(0xc0d01f38 to 0xc0d01f80)
[ 4.223665] 1f20: 00000
[ 4.231968] 1f40: 00000000 c0116001 ffffe000 c0d03fcc c0d03f6c c0ca13b8 c0dd0
[ 4.240272] 1f60: 00000000 dffffac0 01400000 c0d01f88 c010708b c010708c 4000f
[ 4.248581] [<c010a9a5>] (__irq_svc) from [<c010708c>] (arch_cpu_idle+0x28/0)
[ 4.256115] [<c010708c>] (arch_cpu_idle) from [<c014c43d>] (do_idle+0x115/0x)
[ 4.263646] [<c014c43d>] (do_idle) from [<c014c689>] (cpu_startup_entry+0x19)
[ 4.271354] [<c014c689>] (cpu_startup_entry) from [<c0c00ab9>] (start_kernel)
[ 4.279644] CPU3: stopping
[ 4.282435] CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.13.7-11
[ 4.289933] Hardware name: Allwinner sun8i Family
[ 4.294737] [<c010d5b5>] (unwind_backtrace) from [<c010a02d>] (show_stack+0x)
[ 4.302610] [<c010a02d>] (show_stack) from [<c082d9dd>] (dump_stack+0x69/0x7)
[ 4.309962] [<c082d9dd>] (dump_stack) from [<c010c695>] (handle_IPI+0x261/0x)
[ 4.317484] [<c010c695>] (handle_IPI) from [<c01013e7>] (gic_handle_irq+0x67)
[ 4.325178] [<c01013e7>] (gic_handle_irq) from [<c010a9a5>] (__irq_svc+0x65/)
[ 4.332766] Exception stack(0xdb121f78 to 0xdb121fc0)
[ 4.337889] 1f60: 00000
[ 4.346193] 1f80: 00000000 c0116001 ffffe000 c0d03fcc c0d03f6c c0ca13b8 c0dd0
[ 4.354496] 1fa0: 00000000 00000000 01400000 db121fc8 c010708b c010708c 4000f
[ 4.362804] [<c010a9a5>] (__irq_svc) from [<c010708c>] (arch_cpu_idle+0x28/0)
[ 4.370334] [<c010708c>] (arch_cpu_idle) from [<c014c43d>] (do_idle+0x115/0x)
[ 4.377862] [<c014c43d>] (do_idle) from [<c014c689>] (cpu_startup_entry+0x19)
[ 4.385558] [<c014c689>] (cpu_startup_entry) from [<40101491>] (0x40101491)
[ 4.392595] CPU1: stopping
[ 4.395386] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G D 4.13.7-11
[ 4.402883] Hardware name: Allwinner sun8i Family
[ 4.407687] [<c010d5b5>] (unwind_backtrace) from [<c010a02d>] (show_stack+0x)
[ 4.415562] [<c010a02d>] (show_stack) from [<c082d9dd>] (dump_stack+0x69/0x7)
[ 4.422914] [<c082d9dd>] (dump_stack) from [<c010c695>] (handle_IPI+0x261/0x)
[ 4.430436] [<c010c695>] (handle_IPI) from [<c01013e7>] (gic_handle_irq+0x67)
[ 4.438130] [<c01013e7>] (gic_handle_irq) from [<c010a9a5>] (__irq_svc+0x65/)
[ 4.445718] Exception stack(0xdb11df78 to 0xdb11dfc0)
[ 4.450842] df60: 00000
[ 4.459145] df80: 00000000 c0116001 ffffe000 c0d03fcc c0d03f6c c0ca13b8 c0dd0
[ 4.467448] dfa0: 00000000 00000000 01400000 db11dfc8 c010708b c010708c 4000f
[ 4.475756] [<c010a9a5>] (__irq_svc) from [<c010708c>] (arch_cpu_idle+0x28/0)
[ 4.483285] [<c010708c>] (arch_cpu_idle) from [<c014c43d>] (do_idle+0x115/0x)
[ 4.490814] [<c014c43d>] (do_idle) from [<c014c689>] (cpu_startup_entry+0x19)
[ 4.498508] [<c014c689>] (cpu_startup_entry) from [<40101491>] (0x40101491)
[ 4.505568] Rebooting in 10 seconds..