Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Mar 2018 16:19:43 +0530
From:      Udit agarwal <dev.madaari@gmail.com>
To:        freebsd-arm@freebsd.org
Subject:   FreeBSD bootup freeze when running it on BeagleBone Black
Message-ID:  <CAM0bxh85JDsP6TddXf6wqCnUKWLZP8qD-UsQbpD8Wr=K6Ykovg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,
I am trying to build FreeBSD 12.0 on BeagleBone Black. However, during
kernel initialization it's getting freeze. I took the image from here
<http://ftp.freebsd.org/pub/FreeBSD/snapshots/arm/armv7/ISO-IMAGES/12.0/>;
.Here's the error log:


FreeBSD/armv7 U-Boot loader, Revision 1.2

(Fri Feb 16 03:27:43 UTC 2018 root@releng3.nyi.freebsd.org)



DRAM: 512MB

Number of U-Boot devices: 3

U-Boot env: loaderdev not set, will probe all devices.

Found U-Boot device: disk

  Probing all disk devices...

  Checking unit=3D0 slice=3D<auto> partition=3D<auto>...
good.
Booting from disk0s2a:

/boot/kernel/kernel data=3D0x88095c+0x1df6a4 syms=3D[0x4+0x98e00+0x4+0xdded=
a]



Hit [Enter] to boot immediately, or any other key for command
prompt.
Booting [/boot/kernel/kernel]...

/boot/dtb/am335x-boneblack.dtb size=3D0xc8b3

Loaded DTB from file 'am335x-boneblack.dtb'.

Kernel entry at 0x82200100...

Kernel args: (null)

ARM Debug Architecture not supported

KDB: debugger backends: ddb

KDB: current backend: ddb

Copyright (c) 1992-2018 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.0-CURRENT #0 r329338: Fri Feb 16 04:47:49 UTC
2018
    root@releng3.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC
arm
FreeBSD clang version 6.0.0 (branches/release_60 324090) (based on LLVM
6.0.0)
WARNING: WITNESS option enabled, expect reduced
performance.
VT: init without driver.

module_register: cannot register simplebus/ahci from kernel; already loaded
frol
Module simplebus/ahci failed to register: 17

module_register: cannot register simplebus/ehci from kernel; already loaded
frol
Module simplebus/ehci failed to register: 17

module_register: cannot register simplebus/pcib from kernel; already loaded
frol
Module simplebus/pcib failed to register: 17

module_register: cannot register simplebus/ehci from kernel; already loaded
frol
Module simplebus/ehci failed to register: 17

CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000)

CPU Features:

  Thumb2, Security, VMSAv7

Optional instructions:

  UMULL, SMULL, SIMD(ext)

LoUU:2 LoC:3 LoUIS:1

Cache level 1:

 32KB/64B 4-way data cache WT WB Read-Alloc

 32KB/64B 4-way instruction cache Read-Alloc

Cache level 2:

 256KB/64B 8-way unified cache WT WB Read-Alloc
Write-Alloc
real memory  =3D 536870912 (512 MB)

avail memory =3D 507883520 (484 MB)

Texas Instruments AM335x Processor, Revision ES2.1

arc4random: no preloaded entropy cache

random: entropy device external interface

kbd0 at kbdmux0

ofwbus0: <Open Firmware Device Tree>

simplebus0: <Flattened device tree simple bus> on
ofwbus0
simplebus1: <Flattened device tree simple bus> on
simplebus0
simplebus2: <Flattened device tree simple bus> mem 0x210000-0x211fff on
simpleb1
ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2

regfix0: <Fixed Regulator> on ofwbus0

clk_fixed0: <Fixed clock> on ofwbus0

ti_aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on
simpleb0
ti_aintc0: Revision 5.0

am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on
simp1
am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000
MHz
cpulist0: <Open Firmware CPU Group> on ofwbus0

cpu0: <Open Firmware CPU> on cpulist0

pmu0: <Performance Monitoring Unit> mem 0x4b000000-0x4bffffff irq 0 on
ofwbus0
ti_pinmux0: <TI Pinmux Module> mem 0x800-0xa37 on
simplebus2
am335x_scm0: <AM335x Control Module Extension> on
ti_scm0
gpio0: <TI AM335x General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff irq
7 o0
gpiobus0: <OFW GPIO bus> on gpio0

gpioc0: <GPIO controller> on gpio0

gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0x4804c000-0x4804cfff irq
8 o0
gpiobus1: <OFW GPIO bus> on gpio1

gpioc1: <GPIO controller> on gpio1

gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ac000-0x481acfff irq
9 o0
gpiobus2: <OFW GPIO bus> on gpio2

gpioc2: <GPIO controller> on gpio2

gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ae000-0x481aefff irq
10 0
gpiobus3: <OFW GPIO bus> on gpio3

gpioc3: <GPIO controller> on gpio3

=EF=BF=BD=EF=BF=BDuart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e0=
afff irq 11 on
simpl0
uart0: console (115384,n,8,1)

iichb0: <TI I2C Controller> mem 0x44e0b000-0x44e0bfff irq 17 on
simplebus0
iichb0: I2C revision 4.0 FIFO size: 32 bytes

iichb1: <TI I2C Controller> mem 0x4819c000-0x4819cfff irq 19 on
simplebus0
iichb1: I2C revision 4.0 FIFO size: 32 bytes

sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 20 on
simplebus0
mmc0: <MMC/SD bus> on sdhci_ti0

sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 21 on
simplebus0
mmc1: <MMC/SD bus> on sdhci_ti1

ti_wdt0: <TI Watchdog Timer> mem 0x44e35000-0x44e35fff irq 23 on
simplebus0
ti_mbox0: <TI System Mailbox> mem 0x480c8000-0x480c81ff irq 26 on
simplebus0
ti_mbox0: revision 4.0

am335x_dmtimer0: <AM335x DMTimer2> mem 0x48040000-0x480403ff irq 28 on
simplebu0
Event timer "DMTimer2" frequency 24000000 Hz quality
500
am335x_dmtimer1: <AM335x DMTimer3> mem 0x48042000-0x480423ff irq 29 on
simplebu0
Timecounter "DMTimer3" frequency 24000000 Hz quality
500
am335x_rtc0: <AM335x RTC (power management mode)> mem 0x44e3e000-0x44e3efff
irq0
am335x_rtc0: AM335X RTC v1.0.6

usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff
on 0
usbss0: TI AM335X USBSS v0.0.13

musbotg0: <TI AM33xx integrated USB OTG controller> mem
0x47401400-0x474017ff,00
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO
RAM
usbus0 on musbotg0

musbotg1: <TI AM33xx integrated USB OTG controller> mem
0x47401c00-0x47401fff,00
usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO
RAM
usbus1 on musbotg1

cpswss0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,
0x4a101200
cpswss0: CPSW SS Version 1.12 (0)

cpswss0: Initial queue size TX=3D128 RX=3D384

cpswss0: Unable to fill RX queue

cpsw0: <Ethernet Switch Port> on cpswss0

miibus0: <MII bus> on cpsw0

smscphy0: <SMC LAN8710A 10/100 interface> PHY 0 on
miibus0
smscphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
auto
cpsw0: Ethernet address: 68:9e:19:6f:38:cd

cryptosoft0: <software crypto>

usbus0: 480Mbps High Speed USB v2.0

usbus1: 480Mbps High Speed USB v2.0


Right here, it's freezing!!
what could go possibly wrong?

Regards,
Udit agarwal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM0bxh85JDsP6TddXf6wqCnUKWLZP8qD-UsQbpD8Wr=K6Ykovg>