Skip to content

Instantly share code, notes, and snippets.

@hyphop
Created October 9, 2019 08:07
Show Gist options
  • Save hyphop/3cac505c2443051169ac69beef6486e2 to your computer and use it in GitHub Desktop.
Save hyphop/3cac505c2443051169ac69beef6486e2 to your computer and use it in GitHub Desktop.
edge_bsd.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)
Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p2:
FreeBSD/arm64 EFI loader, Revision 1.1
(Tu Oct 8 21:18:57 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=0x89fb64 data=0x17b3a0+0x777f44 syms=[0x8+0x121398+0x8+
0x112066]
/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 - 0xec419fff, 22 MB ( 5658 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 r353313M: Tue Oct 8 22:39:02 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 0xffff0000013ee000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff0000013f6f70.
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
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
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
rk3399_pmucru0: rk_cru_attach 0
rk3399_pmucru0: rk_cru_attach 1
rk3399_pmucru0: rk_cru_attach 2
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register
rk3399_pmucru0: rk_cru_attach 3
rk3399_pmucru0: rk_cru_attach 4
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: rk_cru_attach 5
rk3399_pmucru0: Set ppll to 676000000
rk3399_pmucru0: rk_cru_attach 6
rk3399_pmucru0: rk_cru_attach 7
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
rk3399_cru0: rk3399_cru_attach Start OK
rk3399_cru0: rk3399_cru_attach rk3399_gates OK
rk3399_cru0: rk3399_cru_attach rk3399_clks OK
rk3399_cru0: rk_cru_attach 0
rk3399_cru0: rk_cru_attach 1
rk3399_cru0: rk_cru_attach 2
@hyphop
Copy link
Author

hyphop commented Oct 9, 2019

    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p2:                             
FreeBSD/arm64 EFI loader, Revision 1.1
(Tu  Oct  8 21:18:57 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=0x89fb84 data=0x17b3a0+0x777f44 syms=[0x8+0x121398+0x8+
0x112066]                                                                       
/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 - 0xec419fff,    22 MB (   5658 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 r353313M: Wed Oct  9 11:20:21 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 0xffff0000013ee000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff0000013f6f70.
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
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
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
rk3399_pmucru0: rk_cru_attach 1
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register Start
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach 2
rk3399_pmucru0: rk_cru_attach 3
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: rk_cru_attach 4
rk3399_pmucru0: Set ppll to 676000000
rk3399_pmucru0: rk_cru_attach 5
rk3399_pmucru0: rk_cru_attach 6
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
rk3399_cru0: rk_cru_attach 1
rk3399_cru0: rk_cru_attach rk3399_clk_pll_register Start

@hyphop
Copy link
Author

hyphop commented Oct 9, 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
(Tu  Oct  8 21:18:57 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=0x8a0124 data=0x17b3a0+0x777f44 syms=[0x8+0x121398+0x8+
0x112066]                                                                       
/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 - 0xec419fff,    22 MB (   5658 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 r353313M: Wed Oct  9 11:52:39 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 0xffff0000013ee000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff0000013f6f70.
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
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
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
rk3399_pmucru0: rk_cru_attach 1
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register Start
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach 2
rk3399_pmucru0: rk_cru_attach 3
rk3399_clk_pll_recalc:(ppll)con0: 70
rk3399_clk_pll_recalc:(ppll)con1: 1202
rk3399_clk_pll_recalc:(ppll)con2: 8000031f
rk3399_clk_pll_recalc:(ppll)con3: 108
rk3399_clk_pll_recalc:(ppll)fbdiv: 112
rk3399_clk_pll_recalc:(ppll)postdiv1: 2
rk3399_clk_pll_recalc:(ppll)postdiv2: 1
rk3399_clk_pll_recalc:(ppll)refdiv: 2
rk3399_clk_pll_recalc:(ppll)fracdiv: 0
rk3399_clk_pll_recalc:(ppll)dsmpd: 1
rk3399_clk_pll_recalc:(ppll)parent freq=24000000
rk3399_clk_pll_recalc:(ppll)foutvco: 1344000000
rk3399_clk_pll_recalc:(ppll)freq: 672000000
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: rk_cru_attach 4
rk3399_clk_pll_recalc:(ppll)con0: a9
rk3399_clk_pll_recalc:(ppll)con1: 1203
rk3399_clk_pll_recalc:(ppll)con2: ffff0000
rk3399_clk_pll_recalc:(ppll)con3: 108
rk3399_clk_pll_recalc:(ppll)fbdiv: 169
rk3399_clk_pll_recalc:(ppll)postdiv1: 2
rk3399_clk_pll_recalc:(ppll)postdiv2: 1
rk3399_clk_pll_recalc:(ppll)refdiv: 3
rk3399_clk_pll_recalc:(ppll)fracdiv: 0
rk3399_clk_pll_recalc:(ppll)dsmpd: 1
rk3399_clk_pll_recalc:(ppll)parent freq=24000000
rk3399_clk_pll_recalc:(ppll)foutvco: 1352000000
rk3399_clk_pll_recalc:(ppll)freq: 676000000
rk3399_pmucru0: Set ppll to 676000000
rk3399_pmucru0: rk_cru_attach 5
rk3399_pmucru0: rk_cru_attach 6
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
rk3399_cru0: rk_cru_attach 1
rk3399_cru0: rk_cru_attach rk3399_clk_pll_register Start

@hyphop
Copy link
Author

hyphop commented Oct 14, 2019

master@peace:/mnt/temp/khadas/bsd$ gzip -d FreeBSD-aarch64-13-KHADAS-Khadas-EDGE-V-20191011-2336.img.gz 


U-Boot TPL 2019.10-rc3 (Oct 11 2019 - 21:51:35)
Trying to boot from BOOTROM
Returning to boot ROM...

U-Boot SPL 2019.10-rc3 (Oct 11 2019 - 21:51:35 +0300)
Trying to boot from MMC1


U-Boot 2019.10-rc3 (Oct 11 2019 - 21:51:35 +0300)














FreeBSD/arm64 EFI loader, Revision 1.1                  
(Fri Oct 11 19:16:14 MSK 2019 root@dev.kubsu.ru)        
                                                
   Command line arguments: loader.efi           
   EFI version: 2.80                            
   EFI Firmware: Das U-Boot (rev 8217.4096)
   Console: efi (0)                        
   Load Device: /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:                                                     
Loading /boot/defaults/loader.conf                                              
Loading Kernel and Modules (Ctrl-C to Abort)
...................................................................
/boot/kernel/kernel text=0x8a15a4 data=0x17b3a0 data=0x0+0x777ed8 syms=[0x8+0x12
1428+0x8+0x1120c8]                                                              
/boot/dtb/rk3399-khadas-edge-v.dtb size=0x123bd                                 
/boot/kernel/umodem.ko text=0x2100 text=0x13a0 data=0x6e0+0x10 syms=[0x8+0xf48+0
x8+0xb6e]                                                                       
                                                                                
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 - 0xec43ffff,    22 MB (   5696 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 r353380M: Fri Oct 11 22:03:54 MSK 2019
    root@dev.kubsu.ru:/usr/crochet/work/obj/usr/src/arm64.aarch64/sys/KHADAS arm64
FreeBSD clang version 9.0.0 (tags/RELEASE_900/final 372316) (based on LLVM 9.0.0)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
Preloaded elf kernel "/boot/kernel/kernel" at 0xffff000001413000.
Preloaded dtb "/boot/dtb/rk3399-khadas-edge-v.dtb" at 0xffff00000141bfb0.
Preloaded elf module "/boot/kernel/umodem.ko" at 0xffff00000141c010.
KLD file umodem.ko is missing dependencies
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
MAP f4f1c000 mode 2 pages 1
MAP f4f26000 mode 2 pages 1
MAP f7f40000 mode 2 pages 16
null: <full device, null device, zero device>
openfirm: <Open Firmware control device>
nfslock: pseudo-device
crypto: <crypto core>
kbd0 at kbdmux0
mem: <memory>
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
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register Start
rk3399_clk_pll_register 1
rk3399_clk_pll_register 2
rk3399_clk_pll_register 3
rk3399_clk_pll_register 4
rk3399_clk_pll_register 5
rk3399_clk_pll_init Start
rk3399_clk_pll_register 6
rk3399_pmucru0: rk_cru_attach rk3399_clk_pll_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register Start
rk3399_pmucru0: rk_cru_attach rk_clk_composite_register OK
rk3399_clk_pll_recalc:(ppll)con0: 70
rk3399_clk_pll_recalc:(ppll)con1: 1202
rk3399_clk_pll_recalc:(ppll)con2: 8000031f
rk3399_clk_pll_recalc:(ppll)con3: 108
rk3399_clk_pll_recalc:(ppll)fbdiv: 112
rk3399_clk_pll_recalc:(ppll)postdiv1: 2
rk3399_clk_pll_recalc:(ppll)postdiv2: 1
rk3399_clk_pll_recalc:(ppll)refdiv: 2
rk3399_clk_pll_recalc:(ppll)fracdiv: 0
rk3399_clk_pll_recalc:(ppll)dsmpd: 1
rk3399_clk_pll_recalc:(ppll)parent freq=24000000
rk3399_clk_pll_recalc:(ppll)foutvco: 1344000000
rk3399_clk_pll_recalc:(ppll)freq: 672000000
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_clk_pll_recalc:(ppll)con0: a9
rk3399_clk_pll_recalc:(ppll)con1: 1203
rk3399_clk_pll_recalc:(ppll)con2: ffff0000
rk3399_clk_pll_recalc:(ppll)con3: 108
rk3399_clk_pll_recalc:(ppll)fbdiv: 169
rk3399_clk_pll_recalc:(ppll)postdiv1: 2
rk3399_clk_pll_recalc:(ppll)postdiv2: 1
rk3399_clk_pll_recalc:(ppll)refdiv: 3
rk3399_clk_pll_recalc:(ppll)fracdiv: 0
rk3399_clk_pll_recalc:(ppll)dsmpd: 1
rk3399_clk_pll_recalc:(ppll)parent freq=24000000
rk3399_clk_pll_recalc:(ppll)foutvco: 1352000000
rk3399_clk_pll_recalc:(ppll)freq: 676000000
rk3399_pmucru0: Set ppll to 676000000
rk3399_cru0: <Rockchip RK3399 Clock and Reset Unit> mem 0xff760000-0xff760fff on ofwbus0
rk3399_cru0: rk_cru_attach rk3399_clk_pll_register Start
rk3399_clk_pll_register 1
rk3399_clk_pll_register 2
rk3399_clk_pll_register 3
rk3399_clk_pll_register 4
rk3399_clk_pll_register 5
rk3399_clk_pll_init Start
rk3399_clk_pll_init normal_mode

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