Skip to content

Instantly share code, notes, and snippets.

@hanetzer
Created April 28, 2022 05:12
Show Gist options
  • Save hanetzer/24233da5bed5753626da62085e92230b to your computer and use it in GitHub Desktop.
Save hanetzer/24233da5bed5753626da62085e92230b to your computer and use it in GitHub Desktop.
stdin
hisilicon # tftp 0x82000000 uImage.hi3535;tftp 0x84000000 rootfs.cpio.uboot;bootm 0x82000000 0x84000000
MAC: 00-00-23-34-45-66
TFTP from server 192.168.99.91; our IP address is 192.168.99.76
Download Filename 'uImage.hi3535'.
Download to address: 0x82000000
Downloading: #################################################
done
Bytes transferred = 4336640 (422c00 hex)
MAC: 00-00-23-34-45-66
TFTP from server 192.168.99.91; our IP address is 192.168.99.76
Download Filename 'rootfs.cpio.uboot'.
Download to address: 0x84000000
Downloading: #################################################
done
Bytes transferred = 1177741 (11f88d hex)
## Booting kernel from Legacy Image at 82000000 ...
Image Name: Linux-5.17.0-dirty
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4336576 Bytes = 4.1 MiB
Load Address: 80008000
Entry Point: 80008000
## Loading init Ramdisk from Legacy Image at 84000000 ...
Image Name:
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 1177677 Bytes = 1.1 MiB
Load Address: 00000000
Entry Point: 00000000
Loading Kernel Image ... OK
OK
Starting kernel ...
DTB:0x80428FD0 (0x00001BF0)
C:0x800080E0-0x8042AC80->0x80B9B500-0x80FBE0A0
DTB:0x80FBC3F0 (0x00001C9D)
Uncompressing Linux... done, booting the kernel.
[ 0.000000][ T0] Booting Linux on physical CPU 0x0
[ 0.000000][ T0] Linux version 5.17.0-dirty (hanetzer@proprietary-killer) (clang version 14.0.1, LLD 14.0.1) #12 SMP PREEMPT Wed Apr 27 23:56:14 CDT 2022
[ 0.000000][ T0] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c5387d
[ 0.000000][ T0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000][ T0] OF: fdt: Machine model: Reolink RLN-16 NVR
[ 0.000000][ T0] printk: bootconsole [earlycon0] enabled
[ 0.000000][ T0] earlycon: pl11 at MMIO32 0x01326580 (options '')
[ 0.000000][ T0] printk: bootconsole [pl11] enabled
[ 0.000000][ T0] Memory policy: Data cache writealloc
[ 0.000000][ T0] Zone ranges:
[ 0.000000][ T0] Normal [mem 0x0000000080000000-0x00000000afffffff]
[ 0.000000][ T0] HighMem [mem 0x00000000b0000000-0x00000000ffffefff]
[ 0.000000][ T0] Movable zone start for each node
[ 0.000000][ T0] Early memory node ranges
[ 0.000000][ T0] node 0: [mem 0x0000000080000000-0x00000000ffffefff]
[ 0.000000][ T0] Initmem setup node 0 [mem 0x0000000080000000-0x00000000ffffefff]
[ 0.000000][ T0] percpu: Embedded 9 pages/cpu s14924 r0 d21940 u36864
[ 0.000000][ T0] Built 1 zonelists, mobility grouping on. Total pages: 522751
[ 0.000000][ T0] Kernel command line: console=ttyAMA0,115200 earlyprintk earlycon=pl011,mmio32,20080000
[ 0.000000][ T0] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[ 0.000000][ T0] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000][ T0] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[ 0.000000][ T0] Memory: 2067604K/2097148K available (7168K kernel code, 618K rwdata, 1232K rodata, 1024K init, 260K bss, 29544K reserved, 0K cma-reserved, 1310716K highmem)
[ 0.000000][ T0] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000][ T0] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000][ T0] rcu: RCU event tracing is enabled.
[ 0.000000][ T0] rcu: RCU restricting CPUs from NR_CPUS=16 to nr_cpu_ids=1.
[ 0.000000][ T0] Trampoline variant of Tasks RCU enabled.
[ 0.000000][ T0] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[ 0.000000][ T0] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000][ T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000][ T0] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000][ T0] L2C-310 full line of zeros enabled for Cortex-A9
[ 0.000000][ T0] L2C-310 dynamic clock gating enabled, standby mode enabled
[ 0.000000][ T0] L2C-310 cache controller enabled, 16 ways, 256 kB
[ 0.000000][ T0] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x46030001
[ 0.000000][ T0] random: get_random_bytes called from start_kernel+0x1e8/0x3a0 with crng_init=0
[ 0.000000][ T0] hi3535_crg_early_init:88
[ 0.000000][ T0] hi3535_sysctrl_init:166
[ 0.000000][ T0] timer_probe:25:timer@20000000
[ 0.000000][ T0] clocksource: arm,sp804: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000002][ T0] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.022522][ T0] timer_probe:25:timer@20010000
[ 0.022610][ T0] timer_probe:25:timer@20130000
[ 0.035022][ T0] timer_probe:25:timer@20140000
[ 0.047876][ T0] Console: colour dummy device 80x30
[ 0.073943][ T0] Calibrating delay loop... 753.66 BogoMIPS (lpj=376832)
[ 0.100908][ T0] pid_max: default: 32768 minimum: 301
[ 0.115349][ T0] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.136524][ T0] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[ 0.158868][ T0] 8<--- cut here ---
[ 0.168775][ T0] Unable to handle kernel paging request at virtual address fffffe3b
[ 0.189685][ T0] [fffffe3b] *pgd=affff841, *pte=00000000, *ppte=00000000
[ 0.208129][ T0] Internal error: Oops: 27 [#1] PREEMPT SMP ARM
[ 0.224205][ T0] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.17.0-dirty #12
[ 0.243267][ T0] Hardware name: Generic DT based system
[ 0.257735][ T0] PC is at kmem_cache_alloc+0x54/0x1e4
[ 0.271761][ T0] LR is at kmem_cache_alloc+0x28/0x1e4
[ 0.285767][ T0] pc : [<c021fea0>] lr : [<c021fe74>] psr: a0000053
[ 0.304128][ T0] sp : c0b01f28 ip : 00000000 fp : 00000000
[ 0.319740][ T0] r10: c1001240 r9 : 00000dc0 r8 : c02c51dc
[ 0.335346][ T0] r7 : 00001f40 r6 : fffffdfb r5 : 00000004 r4 : 00000000
[ 0.354396][ T0] r3 : 2e59b000 r2 : c0a4fa80 r1 : 00000040 r0 : 00000030
[ 0.373446][ T0] Flags: NzCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment none
[ 0.394344][ T0] Control: 10c5387d Table: 8000404a DAC: 00000051
[ 0.411331][ T0] Register r0 information: non-paged memory
[ 0.426471][ T0] Register r1 information: non-paged memory
[ 0.441629][ T0] Register r2 information: non-slab/vmalloc memory
[ 0.458390][ T0] Register r3 information: non-paged memory
[ 0.473551][ T0] Register r4 information: NULL pointer
[ 0.487788][ T0] Register r5 information: non-paged memory
[ 0.502943][ T0] Register r6 information: non-paged memory
[ 0.518101][ T0] Register r7 information: non-paged memory
[ 0.533255][ T0] Register r8 information: non-slab/vmalloc memory
[ 0.550014][ T0] Register r9 information: non-paged memory
[ 0.565170][ T0] Register r10 information: slab kmem_cache start c1001240 pointer offset 0
[ 0.587705][ T0] Register r11 information: NULL pointer
[ 0.602175][ T0] Register r12 information: NULL pointer
[ 0.616641][ T0] Process swapper/0 (pid: 0, stack limit = 0x(ptrval))
[ 0.634322][ T0] Stack: (0xc0b01f28 to 0xc0b02000)
[ 0.647654][ T0] 1f20: 00000000 00000004 00000000 00001f40 80fbc3f0 00000002
[ 0.671066][ T0] 1f40: 00000000 c02c51dc 00001f40 80fbc3f0 414fc091 10c5387d 00000000 00000004
[ 0.694478][ T0] 1f60: c0b04fac 00001f40 80fbc3f0 414fc091 10c5387d c0a19648 00000000 00000004
[ 0.717889][ T0] 1f80: c0b04fac c0a17c8c 00000004 c0b04fb0 c0b04fb4 00000000 00000000 c0a17570
[ 0.741288][ T0] 1fa0: 00000000 c0b04c84 00000000 c0a178a8 0000002c 00000024 00000000 c0a10ea8
[ 0.764695][ T0] 1fc0: c0b9b030 c0a00aa4 ffffffff ffffffff 00000000 c0a00c04 00000000 c0a3da38
[ 0.788102][ T0] 1fe0: e8915c61 00000000 c0a004c0 00000051 10c0387d 00000000 00000000 00000000
[ 0.811516][ T0] kmem_cache_alloc from kernfs_create_root+0x28/0x110
[ 0.829236][ T0] kernfs_create_root from sysfs_init+0x18/0x70
[ 0.845338][ T0] sysfs_init from mnt_init+0xfc/0x168
[ 0.859366][ T0] mnt_init from vfs_caches_init+0x80/0x90
[ 0.874326][ T0] vfs_caches_init from start_kernel+0x2f8/0x3a0
[ 0.890661][ T0] start_kernel from 0x0
[ 0.901484][ T0] Code: e0831002 e5910004 ea000011 e59a101c (e7961001)
[ 0.919421][ T0] ---[ end trace 0000000000000000 ]---
[ 0.933455][ T0] Kernel panic - not syncing: Attempted to kill the idle task!
[ 0.952972][ T0] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment