Skip to content

Instantly share code, notes, and snippets.

@agrajag9
Last active May 18, 2020 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agrajag9/9a69b5baff70c8c1040fabeebd037214 to your computer and use it in GitHub Desktop.
Save agrajag9/9a69b5baff70c8c1040fabeebd037214 to your computer and use it in GitHub Desktop.
lx2160acex7 UEFI boot to FreeBSD-12.1-RELEASE-arm64-aarch64-memstick.img on SD via USB card reader
>> FreeBSD EFI boot block
Loader path: /boot/loader.efi
Initializing modules: ZFS UFS
Load Path: \efi\boot\BOOTaa64.efi
Load Device: VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000011030000000000)/U
SB(0x1,0x0)/USB(0x1,0x0)/HD(1,GPT,1086B3DF-FC60-11E9-90A5-0CC47AD8B808,0x3,0x640
)
BootCurrent: 0003
BootOrder: 0000 0001 0002 0003[*] 0004
Probing 5 block devices.......* done
ZFS found no pools
UFS found 1 partition
Consoles: EFI console
FreeBSD/arm64 EFI loader, Revision 1.1
Command line arguments: loader.efi
EFI version: 2.70
EFI Firmware: EDK II (rev 1.00)
Console: efi (0)
Load Path: HD(2,GPT,1086B3E4-FC60-11E9-90A5-0CC47AD8B808,0x643,0x1E7FC0)
Load Device: VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000011030000000000)/U
SB(0x1,0x0)/USB(0x1,0x0)/HD(2,GPT,1086B3E4-FC60-11E9-90A5-0CC47AD8B808,0x643,0x1
E7FC0)
BootCurrent: 0003
BootOrder: 0000 0001 0002 0003[*] 0004
BootInfo Path: Fv(1037C42B-8452-4C41-AAC7-41E6C31468DA)/FvFile(7C04A583-9E3E-
4F1C-AD65-E05268D0B4D1)
Ignoring Boot0003: Only one DP found
Trying ESP: VenHw(0D51905B-B77E-452A-A2C0-ECA0CC8D514A,000011030000000000)/USB(0
x1,0x0)/USB(0x1,0x0)/HD(2,GPT,1086B3E4-FC60-11E9-90A5-0CC47AD8B808,0x643,0x1E7FC
0)
Setting currdev to disk2p2:
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
?[0;37;40m\
?[H?[J?[8;48H ?[31m``` ?[31;1m`?[31m?[9;48H s` `.....---
...?[31;1m....--.``` -/?[31m?[10;48H +o .--` ?[31;1m/y:` +.?[31
m?[11;48H yo`:. ?[31;1m:o `+-?[31m?[12;48H y/ ?
[31;1m-/` -o/?[31m?[13;48H .- ?[31;1m::/sy+:.?[31m?[14;48H
/ ?[31;1m`-- /?[31m?[15;48H `: ?[3
1;1m:`?[31m?[16;48H `: ?[31;1m:`?[31m?[17;48H /
?[31;1m/?[31m?[18;48H .- ?[31;1m-.?[3
1m?[19;48H -- ?[31;1m-.?[31m?[20;48H `:`
?[31;1m`:`?[21;48H ?[31;1m.-- `--.?[22;48H .---....
.----.?[37m?[1;2H ______ ____ _____ _____ ?[2;2H | ____|
| _ \ / ____| __ \ ?[3;2H | |___ _ __ ___ ___ | |_) | (___ | | | |?[
4;2H | ___| '__/ _ \/ _ \| _ < \___ \| | | |?[5;2H | | | | | __/ __/| |_)
|____) | |__| |?[6;2H | | | | | | || | | |?[7;2H |_| |_
| \___|\___||____/|_____/|_____/ ?[9;2H/?[22;2H\?[9;44H\?[22;44H/?[9;3H--------
---------------------------------?[22;3H----------------------------------------
-?[10;2H|?[10;44H|?[11;2H|?[11;44H|?[12;2H|?[12;44H|?[13;2H|?[13;44H|?[14;2H|?[1
4;44H|?[15;2H|?[15;44H|?[16;2H|?[16;44H|?[17;2H|?[17;44H|?[18;2H|?[18;44H|?[19;2
H|?[19;44H|?[20;2H|?[20;44H|?[21;2H|?[21;44H|?[9;14HWelcome to FreeBSD?[11;5H1.
?[1mB?[22moot Multi user ?[1m[Enter]?[22m?[12;5H2. Boot ?[1mS?[22mingle user?[13
;5H3. ?[1mEsc?[22mape to loader prompt?[14;5H4. ?[1mR?[22meboot?[15;5H?[16;5HOpt
ions:?[17;5H5. ?[1mK?[22mernel: default/?[32mkernel?[37m (1 of 1)?[18;5H6. Boot
?[1mO?[22mptions?[25;0H?[23;4HAutoboot in 10 seconds, hit [Enter] to boot or any
other key to stop
?[25;0H?[23;4HAutoboot in 9 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 8 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 7 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 6 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 5 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 4 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 3 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 2 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 1 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0H?[23;4HAutoboot in 0 seconds, hit [Enter] to boot or any other key to sto
p
?[25;0HLoading kernel...
/boot/kernel/kernel text=0x8e9aa0 data=0x18a420+0x79a6a4 syms=[0x8+0x12bb68+0x8+
0x11a115]
Loading configured modules...
can't find '/boot/entropy'
Using DTB provided by EFI at 0xfa6e6018.
---<<BOOT>>---
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 12.1-RELEASE r354233 GENERIC arm64
FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1)
VT: init without driver.
Starting CPU 1 (1)
Starting CPU 2 (100)
Starting CPU 3 (101)
Starting CPU 4 (200)
Starting CPU 5 (201)
Starting CPU 6 (300)
Starting CPU 7 (301)
Starting CPU 8 (400)
Starting CPU 9 (401)
Starting CPU 10 (500)
Starting CPU 11 (501)
Starting CPU 12 (600)
Starting CPU 13 (601)
Starting CPU 14 (700)
Starting CPU 15 (701)
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
arc4random: no preloaded entropy cache
random: entropy device external interface
MAP f0d00000 mode 2 pages 112
MAP f1080000 mode 2 pages 80
MAP f10d0000 mode 2 pages 80
MAP f1120000 mode 2 pages 80
MAP f1170000 mode 2 pages 80
MAP f11c0000 mode 2 pages 160
MAP f1260000 mode 2 pages 80
MAP f12b0000 mode 2 pages 80
MAP f1300000 mode 2 pages 80
MAP f1350000 mode 2 pages 80
MAP f13a0000 mode 2 pages 80
MAP f13f0000 mode 2 pages 80
MAP f1440000 mode 2 pages 80
MAP f1530000 mode 2 pages 80
MAP f1580000 mode 2 pages 80
MAP f15d0000 mode 2 pages 80
MAP f1620000 mode 2 pages 80
MAP f1670000 mode 2 pages 80
MAP f16c0000 mode 2 pages 80
MAP f1710000 mode 2 pages 80
MAP f1760000 mode 2 pages 80
MAP fb000000 mode 2 pages 48
MAP 2040000 mode 0 pages 16
MAP 20c0000 mode 0 pages 16
MAP 20000000 mode 0 pages 16384
kbd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
clk_fixed0: <Fixed clock> on ofwbus0
simplebus0: <Flattened device tree simple bus> on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
gic0: <ARM Generic Interrupt Controller v3.0> mem 0x6000000-0x600ffff,0x6200000-0x63fffff,0xc0c0000-0xc0c1fff,0xc0d0000-0xc0d0fff,0xc0e0000-0xc0fffff irq 0 on ofwbus0
its0: <ARM GIC Interrupt Translation Service> mem 0x6020000-0x603ffff on gic0
generic_timer0: <ARMv8 Generic Timer> irq 1,2,3,4 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 25000050 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 25000050 Hz quality 1000
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
cpu1: <Open Firmware CPU> on cpulist0
cpu2: <Open Firmware CPU> on cpulist0
cpu3: <Open Firmware CPU> on cpulist0
cpu4: <Open Firmware CPU> on cpulist0
cpu5: <Open Firmware CPU> on cpulist0
cpu6: <Open Firmware CPU> on cpulist0
cpu7: <Open Firmware CPU> on cpulist0
cpu8: <Open Firmware CPU> on cpulist0
cpu9: <Open Firmware CPU> on cpulist0
cpu10: <Open Firmware CPU> on cpulist0
cpu11: <Open Firmware CPU> on cpulist0
cpu12: <Open Firmware CPU> on cpulist0
cpu13: <Open Firmware CPU> on cpulist0
cpu14: <Open Firmware CPU> on cpulist0
cpu15: <Open Firmware CPU> on cpulist0
syscon_generic0: <syscon> mem 0x1e60000-0x1e60003 on ofwbus0
syscon_generic1: <syscon> mem 0x1e00000-0x1e0ffff on simplebus0
uart0: <PrimeCell UART (PL011)> mem 0x21c0000-0x21c0fff irq 27 on simplebus0
uart0: console (115200,n,8,1)
uart1: <PrimeCell UART (PL011)> mem 0x21d0000-0x21d0fff irq 28 on simplebus0
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
Release APs...arc4random: no preloaded entropy cache
done
Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]...
CPU 0: ARM Cortex-A72 r0p3 affinity: 0 0
mountroot: waiting for device /dev/ufs/FreeBSD_Install...
Instruction Set Attributes 0 = <CRC32,SHA2,SHA1,AES+PMULL>
Instruction Set Attributes 1 = <>
Processor Features 0 = <GIC,AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 32>
Processor Features 1 = <0>
Memory Model Features 0 = <4k Granule,64k Granule,S/NS Mem,MixedEndian,16bit ASID,16TB PA>
Memory Model Features 1 = <>
Memory Model Features 2 = <32b CCIDX,48b VA>
Debug Features 0 = <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,PMUv3,Debug v8>
Debug Features 1 = <0>
Auxiliary Features 0 = <0>
Auxiliary Features 1 = <0>
CPU 1: ARM Cortex-A72 r0p3 affinity: 0 1
CPU 2: ARM Cortex-A72 r0p3 affinity: 1 0
CPU 3: ARM Cortex-A72 r0p3 affinity: 1 1
CPU 4: ARM Cortex-A72 r0p3 affinity: 2 0
CPU 5: ARM Cortex-A72 r0p3 affinity: 2 1
CPU 6: ARM Cortex-A72 r0p3 affinity: 3 0
CPU 7: ARM Cortex-A72 r0p3 affinity: 3 1
CPU 8: ARM Cortex-A72 r0p3 affinity: 4 0
CPU 9: ARM Cortex-A72 r0p3 affinity: 4 1
CPU 10: ARM Cortex-A72 r0p3 affinity: 5 0
CPU 11: ARM Cortex-A72 r0p3 affinity: 5 1
CPU 12: ARM Cortex-A72 r0p3 affinity: 6 0
CPU 13: ARM Cortex-A72 r0p3 affinity: 6 1
CPU 14: ARM Cortex-A72 r0p3 affinity: 7 0
CPU 15: ARM Cortex-A72 r0p3 affinity: 7 1
Mounting from ufs:/dev/ufs/FreeBSD_Install failed with error 19.
Loader variables:
vfs.root.mountfrom=ufs:/dev/ufs/FreeBSD_Install
vfs.root.mountfrom.options=ro,noatime
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:zroot/ROOT/default
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot> arc4random: no preloaded entropy cache
.
mountroot> ?
List of GEOM managed disk devices:
mountroot> random: unblocking device.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment