Skip to content

Instantly share code, notes, and snippets.

@hyphop
Created October 8, 2019 07:29
Show Gist options
  • Save hyphop/12aadae1ccad5a180ed6a62b1bc82bc1 to your computer and use it in GitHub Desktop.
Save hyphop/12aadae1ccad5a180ed6a62b1bc82bc1 to your computer and use it in GitHub Desktop.
khadas_edgev_4g_boot_test.log
U-Boot TPL 2019.10-rc3 (Sep 26 2019 - 12:14:50)
Trying to boot from BOOTROM
Returning to boot ROM...
U-Boot SPL 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300)
Trying to boot from MMC1
U-Boot 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300)
Model: Khadas Edge-V
DRAM: 3.9 GiB
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p2:
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Oct 3 11:44:55 MSK 2019 ro t@dev.kubsu.ru)
Command line arguments: loader.efi
EFI versio : 2.80
Fi mware: Das U-Boot (rev 8217.4096)
Console: efi (0)
L ad D vice: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x
01,0,0x8c00,0x233400)
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x01,0
,0x8c00,0x233400)
Setting currdev to disk0p2:
Load /boot/default /loader.conf
Kernel and Modu es (Ctrl-C to Abort)
...................................................................
/boot/kernel/kernel text=0x93bea4 data=0x18d5a0+0x778444 syms=[0x8+0x1359c0+0x8+
0x12299f]
/boot/dtb/rk3399-khadas-edge-v.dtb size=0x123bd
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
Using DTB from loaded file '/boot/dtb/rk3399-khadas-edge-v.dtb'.
---<<BOOT>>---
KDB: debugger backends: ddb
KDB: current backend: ddb
Type Physical Virtual #Pages Attr
ConventionalMemory 000000200000 200000 00007eec WB
BootServicesData 0000080ec000 80ec000 00000028 WB
ConventionalMemory 000008114000 8114000 000e2bc6 WB
LoaderData 0000eacda000 eacda000 00008001 WB
LoaderCode 0000f2cdb000 f2cdb000 0000008e WB
Reserved 0000f2d69000 f2d69000 00000002 WB
LoaderData 0000f2d6b000 f2d6b000 00002193 WB
LoaderCode 0000f4efe000 f4efe000 00000016 WB
Reserved 0000f4f14000 f4f14000 00000007 WB
BootServicesData 0000f4f1b000 f4f1b000 00000001 WB
RuntimeServicesData 0000f4f1c000 f4f1c000 00000001 WB RUNTIME
BootServicesData 0000f4f1d000 f4f1d000 00000002 WB
Reserved 0000f4f1f000 f4f1f000 00000005 WB
BootServicesData 0000f4f24000 f4f24000 00000002 WB
RuntimeServicesData 0000f4f26000 f4f26000 00000001 WB RUNTIME
LoaderData 0000f4f27000 f4f27000 00003019 WB
RuntimeServicesCode 0000f7f40000 f7f40000 00000010 WB RUNTIME
LoaderData 0000f7f50000 f7f50000 000000b0 WB
Physical memory chunk(s):
0x00200000 - 0xf2d68fff, 3883 MB ( 994153 pages)
0xf2d6b000 - 0xf4f13fff, 33 MB ( 8617 pages)
0xf4f1b000 - 0xf4f1efff, 0 MB ( 4 pages)
0xf4f24000 - 0xf7f3ffff, 48 MB ( 12316 pages)
0xf7f50000 - 0xf7ffffff, 0 MB ( 176 pages)
Excluded memory regions:
0xeae00000 - 0xec4edfff, 22 MB ( 5870 pages) NoAlloc
0xf2d69000 - 0xf2d6afff, 0 MB ( 2 pages) NoAlloc
0xf4f14000 - 0xf4f1afff, 0 MB ( 7 pages) NoAlloc
0xf4f1c000 - 0xf4f1cfff, 0 MB ( 1 pages) NoAlloc
0xf4f1f000 - 0xf4f23fff, 0 MB ( 5 pages) NoAlloc
0xf4f26000 - 0xf4f26fff, 0 MB ( 1 pages) NoAlloc
0xf7f40000 - 0xf7f4ffff, 0 MB ( 16 pages) NoAlloc
Found 6 CPUs in the device tree
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #0 r353007M: Thu Oct 3 11:42:07 MSK 2019
root@dev.kubsu.ru:/usr/crochet/work/obj/usr/src/arm64.aarch64/sys/KHADAS-EDGE arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffff0000014c2000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff0000014caf70.
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
Starting CPU 4 (100)
Starting CPU 5 (101)
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
VIMAGE (virtualized network stack) enabled
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ULE: setup cpu 4
ULE: setup cpu 5
random: entropy device external interface
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
Clock: ppll, parent: xin24m(0), freq: 672000000
Clock: pclk_pmu_src, parent: ppll(0), freq: 48000000
Clock: clk_i2c0_pmu, parent: ppll(0), freq: 168000000
Clock: clk_i2c4_pmu, parent: ppll(0), freq: 224000000
Clock: clk_i2c8_pmu, parent: ppll(0), freq: 168000000
Clock: pclk_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_gpio0_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_gpio1_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c0_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c4_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c8_pmu, parent: pclk_pmu_src(0), freq: 48000000
rk3399_pmucru0: Set ppll to 676000000
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
@hyphop
Copy link
Author

hyphop commented Oct 8, 2019

U-Boot TPL 2019.10-rc3 (Sep 26 2019 - 12:14:50)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300)
Trying to boot from MMC1


U-Boot 2019.10-rc3 (Sep 26 2019 - 12:14:50 +0300)














    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p2:                             
FreeBSD/arm64 EFI loader, Revision 1.1
(Thu Oct  3 11:44:55 MSK 2019 ro t@dev.kubsu.ru)
                                                
   Command line arguments: loader.efi
   EFI versio : 2.80                 
       Fi mware: Das U-Boot (rev 8217.4096)
   Console: efi (0)                        
   L ad D vice: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x
01,0,0x8c00,0x233400)                                                           
Trying ESP: /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(1)/SD(1)/HD(2,0x01,0
,0x8c00,0x233400)                                                               
Setting currdev to disk0p2:
Load    /boot/default /loader.conf
        Kernel and Modu es (Ctrl-C to Abort)
...................................................................
/boot/kernel/kernel text=0x93bea4 data=0x18d5a0+0x778444 syms=[0x8+0x1359c0+0x8+
0x12299f]                                                                       
/boot/dtb/rk3399-khadas-edge-v.dtb size=0x123bd
                                               
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...                                     
Using DTB from loaded file '/boot/dtb/rk3399-khadas-edge-v.dtb'.
---<<BOOT>>---                                                                 
KDB: debugger backends: ddb
KDB: current backend: ddb
                   Type     Physical      Virtual   #Pages Attr
     ConventionalMemory 000000200000       200000 00007eec WB 
       BootServicesData 0000080ec000      80ec000 00000028 WB 
     ConventionalMemory 000008114000      8114000 000e2bc6 WB 
             LoaderData 0000eacda000     eacda000 00008001 WB 
             LoaderCode 0000f2cdb000     f2cdb000 0000008e WB 
               Reserved 0000f2d69000     f2d69000 00000002 WB 
             LoaderData 0000f2d6b000     f2d6b000 00002193 WB 
             LoaderCode 0000f4efe000     f4efe000 00000016 WB 
               Reserved 0000f4f14000     f4f14000 00000007 WB 
       BootServicesData 0000f4f1b000     f4f1b000 00000001 WB 
    RuntimeServicesData 0000f4f1c000     f4f1c000 00000001 WB RUNTIME
       BootServicesData 0000f4f1d000     f4f1d000 00000002 WB 
               Reserved 0000f4f1f000     f4f1f000 00000005 WB 
       BootServicesData 0000f4f24000     f4f24000 00000002 WB 
    RuntimeServicesData 0000f4f26000     f4f26000 00000001 WB RUNTIME
             LoaderData 0000f4f27000     f4f27000 00003019 WB 
    RuntimeServicesCode 0000f7f40000     f7f40000 00000010 WB RUNTIME
             LoaderData 0000f7f50000     f7f50000 000000b0 WB 
Physical memory chunk(s):
  0x00200000 - 0xf2d68fff,  3883 MB ( 994153 pages)
  0xf2d6b000 - 0xf4f13fff,    33 MB (   8617 pages)
  0xf4f1b000 - 0xf4f1efff,     0 MB (      4 pages)
  0xf4f24000 - 0xf7f3ffff,    48 MB (  12316 pages)
  0xf7f50000 - 0xf7ffffff,     0 MB (    176 pages)
Excluded memory regions:
  0xeae00000 - 0xec4edfff,    22 MB (   5870 pages) NoAlloc 
  0xf2d69000 - 0xf2d6afff,     0 MB (      2 pages) NoAlloc 
  0xf4f14000 - 0xf4f1afff,     0 MB (      7 pages) NoAlloc 
  0xf4f1c000 - 0xf4f1cfff,     0 MB (      1 pages) NoAlloc 
  0xf4f1f000 - 0xf4f23fff,     0 MB (      5 pages) NoAlloc 
  0xf4f26000 - 0xf4f26fff,     0 MB (      1 pages) NoAlloc 
  0xf7f40000 - 0xf7f4ffff,     0 MB (     16 pages) NoAlloc 
Found 6 CPUs in the device tree
Copyright (c) 1992-2019 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #0 r353007M: Thu Oct  3 11:42:07 MSK 2019
    root@dev.kubsu.ru:/usr/crochet/work/obj/usr/src/arm64.aarch64/sys/KHADAS-EDGE arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffff0000014c2000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff0000014caf70.
Starting CPU 1 (1)
Starting CPU 2 (2)
Starting CPU 3 (3)
Starting CPU 4 (100)
Starting CPU 5 (101)
FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs
arc4random: WARNING: initial seeding bypassed the cryptographic random device because it was not yet seeded and the knob 'bypass_before_seeding' was enabled.
VIMAGE (virtualized network stack) enabled
ULE: setup cpu 0
ULE: setup cpu 1
ULE: setup cpu 2
ULE: setup cpu 3
ULE: setup cpu 4
ULE: setup cpu 5
random: entropy device external interface
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
rk_grf0: <RockChip General Register Files> mem 0xff320000-0xff320fff on ofwbus0
rk3399_pmucru0: <Rockchip RK3399 PMU Clock and Reset Unit> mem 0xff750000-0xff750fff on ofwbus0
Clock: ppll, parent: xin24m(0), freq: 672000000
Clock: pclk_pmu_src, parent: ppll(0), freq: 48000000
Clock: clk_i2c0_pmu, parent: ppll(0), freq: 168000000
Clock: clk_i2c4_pmu, parent: ppll(0), freq: 224000000
Clock: clk_i2c8_pmu, parent: ppll(0), freq: 168000000
Clock: pclk_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_gpio0_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_gpio1_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c0_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c4_pmu, parent: pclk_pmu_src(0), freq: 48000000
Clock: pclk_i2c8_pmu, parent: pclk_pmu_src(0), freq: 48000000
rk3399_pmucru0: Set ppll to 676000000
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment