Date: Thu, 26 Sep 2019 23:24:31 -0700 (MST) From: klaus4 <maciphone2@googlemail.com> To: freebsd-arm@freebsd.org Subject: Re: Booting FreeBSD on Rock64 Message-ID: <1569565471370-0.post@n6.nabble.com> In-Reply-To: <20190204110049.GB78675@server.rulingia.com> References: <20190203012316.GA77009@server.rulingia.com> <CAGtf9xM8P7oOj=%2BbGQ7OOZJUc9k2GyesQ_fBoifms4n9Xn1bpA@mail.gmail.com> <20190204110049.GB78675@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
sudo minicom -D /dev/ttyAMA0 -b 1500000 8N1 Willkommen zu minicom 2.7 Optionen: I18n=20 =C3=9Cbersetzt am Apr 22 2017, 09:14:19. Port /dev/ttyAMA0, 08:13:05 Dr=C3=BCcken Sie CTRL-A Z f=C3=BCr Hilfe zu speziellen Tasten =C3=BF=C3=BF=C3=BF=C3=BE=C3=BE=C3=BC=C3=BF=C3=BE=C3=BC=C3=BF=C3=BE=C3=BE=C3= =BF=C3=BC=C3=B0=C3=BE=C3=BC=C3=A0=E2=82=ACDDR version 1.13 20180428 ID:0x805 Y In LPDDR3 786MHz Bus Width=3D32 Col=3D11 Bank=3D8 Row=3D15/15 CS=3D2 Die Bus-Width=3D32 Size= =3D4096MB ddrconfig:7 OUT U-Boot SPL 2017.09-rockchip-ayufan-1065-g95f6152134 (Aug 26 2019 - 12:40:32= ) board_init_sdmmc_pwr_en setup_ddr_param 1 booted from SPI flash Trying to boot from SPI NOTICE: BL31: v1.3(debug):9d3f591 NOTICE: BL31: Built : 14:39:02, Jan 17 2018 = =20 NOTICE: BL31:Rockchip release version: v1.3 = =20 INFO: ARM GICv2 driver initialized = =20 INFO: Using opteed sec cpu_context! = =20 INFO: boot cpu mask: 1 = =20 INFO: plat_rockchip_pmu_init: pd status 0xe = =20 INFO: BL31: Initializing runtime services = =20 WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE iniK ERROR: Error initializing runtime service opteed_fast = =20 INFO: BL31: Preparing for EL3 exit to normal world = =20 INFO: Entry point address =3D 0x200000 = =20 INFO: SPSR =3D 0x3c9 = =20 = =20 = =20 U-Boot 2017.09-rockchip-ayufan-1065-g95f6152134 (Aug 26 2019 - 12:41:04 +0000) =20 = =20 Model: Pine64 Rock64 = =20 DRAM: 4 GiB = =20 MMC: rksdmmc@ff520000: 0, rksdmmc@ff500000: 1 = =20 SF: Detected gd25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB =20 *** Warning - bad CRC, using default environment = =20 = =20 In: serial@ff130000 = =20 Out: serial@ff130000 = =20 Err: serial@ff130000 = =20 Model: Pine64 Rock64 = =20 misc_init_r = =20 Reading loader env vars from /efi/freebsd/loader.env = =20 etting currdev to disk0: = =20 reeBSD/arm64 EFI loader, Revision 1.1 = =20 Fri Sep 20 05:47:33 UTC 2019 root@releng1.nyi.freebsd.org) = =20 = =20 Command line arguments: loader.efi = =20 EFI version: 2.05 = =20 EFI Firmware: Das U-boot (rev 0.00) = =20 Console: efi (0) = =20 Load Path: \efi\boot\bootaa64.efi tb = =20 Load Device: UNKNOWN(0001,0004) = =20 rying ESP: UNKNOWN(0001,0004) boot/bootaa64.efi = =20 etting currdev to disk0: = =20 fipart_readwrite: rw=3D1, blk=3D62333945/size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D623339450size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945csize=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8 status=3D7 = =20 tartup error in /boot/lua/loader.lua: = =20 UA ERROR: cannot open /boot/lua/loader.lua:bno such file or directory. = =20 b = =20 fipart_readwrite: rw=3D1, blk=3D62333945 size=3D8bstatus=3D7 = =20 fipart_readwrite: rw=3D1,2blk=3D62333945msize=3D8bstatus=3D7 = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 MMC: block number 0x3b72401 exceeds max(0x3b72400) = =20 an't load 'kernel' 2 m b = =20 2 m b = =20 ype '?' for a list of commands, 'help' for more detailed help. = =20 K lsdev = =20 isk devices: = =20 disk0: 62333953 X 512 blocks (removable) = =20 disk0s1: DOS/Windows = =20 disk0s2: FreeBSD = =20 disk0s2a: FreeBSD UFS = =20 ttp: (unknown) = =20 et devices: = =20 net0: = =20 K boot disk0s2:/boot/kernel/kernel = =20 isk0s2:/boot/kernel/ker2el text=3D0x953d8c data=3D0x194c50+0x778494 syms=3D[0x8+0x13c=20 e8+0x8+0x1286e1] = =20 sing DTB provided by EFI at 0x8200000. = =20 ---<<BOOT>>--- = =20 KDB: debugger backends: ddb = =20 KDB: current backend: ddb = =20 Copyright (c) 1992-2019 The FreeBSD Project. = =20 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 = =20 The Regents of the University of California. All rights reserved. = =20 FreeBSD is a registered trademark of The FreeBSD Foundation. = =20 FreeBSD 13.0-CURRENT #4 14aef6dfca9-c262785(master)-dirty: Sun Sep 22 01:31:32 9 root@generic:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 = =20 FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.) WARNING: WITNESS option enabled, expect reduced performance. = =20 VT: init without driver. = =20 module firmware already present! = =20 Starting CPU 1 (1) = =20 Starting CPU 2 (2) = =20 Starting CPU 3 (3) = =20 FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs = =20 arc4random: WARNING: initial seeding bypassed the cryptographic random device b. random: entropy device external interface = =20 MAP fbefc000 mode 2 pages 1 = =20 MAP fefa4000 mode 2 pages 1 = =20 kbd0 at kbdmux0 = =20 ofwbus0: <Open Firmware Device Tree> = =20 simplebus0: <Flattened device tree simple bus> on ofwbus0 = =20 clk_fixed0: <Fixed clock> on ofwbus0 = =20 rk_grf0: <RockChip General Register Files> mem 0xff100000-0xff100fff on ofwbus0=20 rk3328_cru0: <Rockchip RK3328 Clock and Reset Unit> mem 0xff440000-0xff440fff o0 rk3328_cru0: cannot get parent at idx 6 = =20 clk_fixed1: <Fixed clock> on ofwbus0 = =20 regfix0: <Fixed Regulator> on ofwbus0 = =20 regfix1: <Fixed Regulator> on ofwbus0 = =20 regfix2: <Fixed Regulator> on ofwbus0 = =20 regfix3: <Fixed Regulator> on ofwbus0 = =20 simple_mfd0: <Simple MFD (Multi-Functions Device)> mem 0xff450000-0xff45fff= f on0 psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0 = =20 gic0: <ARM Generic Interrupt Controller> mem 0xff811000-0xff811fff,0xff812000-00 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 160 = =20 rk_pinctrl0: <RockChip Pinctrl controller> on ofwbus0 = =20 gpio0: <RockChip GPIO Bank controller> mem 0xff210000-0xff2100ff irq 51 on rk_p0 gpiobus0: <OFW GPIO bus> on gpio0 = =20 gpio1: <RockChip GPIO Bank controller> mem 0xff220000-0xff2200ff irq 52 on rk_p0 gpiobus1: <OFW GPIO bus> on gpio1 = =20 gpio2: <RockChip GPIO Bank controller> mem 0xff230000-0xff2300ff irq 53 on rk_p0 gpiobus2: <OFW GPIO bus> on gpio2 = =20 gpio3: <RockChip GPIO Bank controller> mem 0xff240000-0xff2400ff irq 54 on rk_p0 gpiobus3: <OFW GPIO bus> on gpio3 = =20 rk_i2c0: <RockChip I2C> mem 0xff160000-0xff160fff irq 16 on ofwbus0 = =20 iicbus0: <OFW I2C bus> on rk_i2c0 = =20 rk805_pmu0: <RockChip RK805 PMIC> at addr 0x30 irq 55 on iicbus0 = =20 generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0 = =20 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 = =20 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 = =20 cpulist0: <Open Firmware CPU Group> on ofwbus0 = =20 cpu0: <Open Firmware CPU> on cpulist0 = =20 cpufreq_dt0: <Generic cpufreq driver> on cpu0 = =20 cpu1: <Open Firmware CPU> on cpulist0 = =20 cpufreq_dt1: <Generic cpufreq driver> on cpu1 = =20 cpu2: <Open Firmware CPU> on cpulist0 = =20 cpufreq_dt2: <Generic cpufreq driver> on cpu2 = =20 cpu3: <Open Firmware CPU> on cpulist0 = =20 cpufreq_dt3: <Generic cpufreq driver> on cpu3 = =20 uart0: <16750 or compatible> mem 0xff130000-0xff1300ff irq 14 on ofwbus0 = =20 uart0: console (-1,n,8,1) = =20 iic0: <I2C generic I/O> on iicbus0 = =20 rockchip_dwmmc0: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)0 rockchip_dwmmc0: Hardware version ID is 270a = =20 mmc0: <MMC/SD bus> on rockchip_dwmmc0 = =20 rockchip_dwmmc1: <Synopsys DesignWare Mobile Storage Host Controller (RockChip)0 rockchip_dwmmc1: Hardware version ID is 270a = =20 mmc1: <MMC/SD bus> on rockchip_dwmmc1 = =20 dwc0: <Rockchip Gigabit Ethernet Controller> mem 0xff540000-0xff54ffff irq 43 o0 miibus0: <MII bus> on dwc0 = =20 rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on miibus0 = =20 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, o rgephy1: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0 = =20 rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, o dwc0: Ethernet address: 32:d3:b2:c6:ff:d0 = =20 dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0xff580000-0xff5bffff irq 0 usbus0 on dwcotg0 = =20 ohci0: <Generic OHCI Controller> mem 0xff5d0000-0xff5dffff irq 47 on ofwbus= 0 =20 usbus1 on ohci0 = =20 gpioc0: <GPIO controller> on gpio0 = =20 gpioc1: <GPIO controller> on gpio1 = =20 gpioc2: <GPIO controller> on gpio2 = =20 gpioc3: <GPIO controller> on gpio3 = =20 cryptosoft0: <software crypto> = =20 Timecounters tick every 1.000 msec = =20 usbus0: 480Mbps High Speed USB v2.0 = =20 usbus1: 12Mbps Full Speed USB v1.0 = =20 ugen0.1: <DWCOTG OTG Root HUB> at usbus0 = =20 uhub0 on usbus0 = =20 uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 = =20 ugen1.1: <Generic OHCI root HUB> at usbus1 = =20 uhub1 on usbus1 = =20 uhub1: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 = =20 mmcsd0: 32GB <SDHC SM32G 8.0 SN 6C99163C MFG 04/2019 by 3 SD> at mmc0 50.0MHz/4k mmc1: No compatible cards found on bus = =20 Release APs...done = =20 CPU 0: ARM Cortex-A53 r0p4 affinity: 0 = =20 Instruction Set Attributes 0 =3D <CRC32,SHA2,SHA1,AES+PMULL> = =20 Instruction Set Attributes 1 =3D <> = =20 Processor Features 0 =3D <AdvSIMD,Float,EL3 32,EL2 32,EL1 32,EL0 3= 2> =20 Processor Features 1 =3D <0> = =20 Memory Model Features 0 =3D <4k Granule,64k Granule,S/NS Mem,MixedEndian,16> Memory Model Features 1 =3D <> = =20 Memory Model Features 2 =3D <32b CCIDX,48b VA> = =20 Debug Features 0 =3D <2 CTX Breakpoints,4 Watchpoints,6 Breakpoints,> Debug Features 1 =3D <0> = =20 Auxiliary Features 0 =3D <0> = =20 Trying to mount root from ufs:/dev/ufs/rootfs [rw]... = =20 Auxiliary Features 1 =3D <0> = =20 CPU 1: ARM Cortex-A53 r0p4 affinity: 1 = =20 CPU 2: ARM Cortex-A53 r0p4 affinity: 2 = =20 CPU 3: ARM Cortex-A53 r0p4 affinity: 3 = =20 WARNING: WITNESS option enabled, expect reduced performance. = =20 Warning: no time-of-day clock registered, system time will not be set accurately uhub1: 1 port with 1 removable, self powered = =20 uhub0: 1 port with 1 removable, self powered = =20 Setting hostuuid: 37316433-3437-3062-3162-313663326400. = =20 Setting hostid: 0x9163075c. = =20 No suitable dump device was found. = =20 Starting file system checks: = =20 /dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS = =20 /dev/ufs/rootfs: clean, 2040734 free (1478 frags, 254907 blocks, 0.0% fragmenta) Mounting local filesystems:. = =20 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/b random: unblocking device. = =20 Setting hostname: generic. = =20 Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUD Feeding entropy: . = =20 lo0: link state changed to UP = =20 dwc0: link state changed to DOWN = =20 Starting Network: lo0 dwc0. = =20 lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 = =20 options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6> = =20 inet6 ::1 prefixlen 128 = =20 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 = =20 inet 127.0.0.1 netmask 0xff000000 = =20 groups: lo = =20 nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL> = =20 dwc0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 150= 0 =20 options=3D80008<VLAN_MTU,LINKSTATE> = =20 ether 32:d3:b2:c6:ff:d0 = =20 media: Ethernet autoselect (none) = =20 status: no carrier = =20 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> = =20 Starting devd. = =20 dwc0: link state changed to UP = =20 Starting dhclient. = =20 DHCPREQUEST on dwc0 to 255.255.255.255 port 67 = =20 DHCPACK from 192.168.1.1 = =20 bound to 192.168.1.54 -- renewal in 43200 seconds. = =20 add host 127.0.0.1: gateway lo0 fib 0: route already in table = =20 add host ::1: gateway lo0 fib 0: route already in table = =20 add net fe80::: gateway ::1 = =20 add net ff02::: gateway ::1 = =20 add net ::ffff:0.0.0.0: gateway ::1 = =20 add net ::0.0.0.0: gateway ::1 = =20 Creating and/or trimming log files. = =20 Starting syslogd. = =20 Clearing /tmp (X related). = =20 Updating motd:. = =20 Mounting late filesystems:. = =20 Performing sanity check on sshd configuration. = =20 Starting sshd. = =20 Starting cron. = =20 Starting background file system checks in 60 seconds. = =20 = =20 Sun Sep 22 20:32:29 UTC 2019 = =20 = =20 FreeBSD/arm64 (generic) (ttyu0) = =20 = =20 login: root = =20 Password: = =20 Sep 22 20:32:35 generic login[939]: ROOT LOGIN (root) ON ttyu0 = =20 Last login: Sun Sep 22 20:31:54 from klss-mbp = =20 FreeBSD 13.0-CURRENT (GENERIC) #4 14aef6dfca9-c262785(master)-dirty: Sun Se= p 229 = =20 Welcome to FreeBSD! = =20 = =20 Release Notes, Errata: https://www.FreeBSD.org/releases/ = =20 Security Advisories: https://www.FreeBSD.org/security/ = =20 FreeBSD Handbook: https://www.FreeBSD.org/handbook/ = =20 FreeBSD FAQ: https://www.FreeBSD.org/faq/ = =20 Questions List: https://lists.FreeBSD.org/mailman/listinfo/freebsd-questions/ =20 FreeBSD Forums: https://forums.FreeBSD.org/ = =20 = =20 Documents installed with the system are in the /usr/local/share/doc/freebsd= / =20 directory, or can be installed later with: pkg install en-freebsd-doc = =20 For other languages, replace "en" with a language code like de or fr. = =20 = =20 Show the version of FreeBSD installed: freebsd-version ; uname -a = =20 Please include that output and any error messages when posting questions. = =20 Introduction to manual pages: man man = =20 FreeBSD directory layout: man hier = =20 = =20 Edit /etc/motd.template to change this login announcement.=20 -- Regards=20 Klaus -- Sent from: http://freebsd.1045724.x6.nabble.com/freebsd-arm-f4199244.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1569565471370-0.post>