Skip to content

Instantly share code, notes, and snippets.

@madaari madaari/bootup log
Created Apr 17, 2018

Embed
What would you like to do?
Working SDIO driver
199 bytes read in 4 ms (47.9 KiB/s)
Running bootscript from mmc0 ...
## Executing script at 82000000
** Bad device : 0x82000000 **
Cannot load ubldr.bin
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
199 bytes read in 5 ms (38.1 KiB/s)
## Executing script at 80000000
reading ubldr.bin
239216 bytes read in 22 ms (10.4 MiB/s)
## Starting application at 0x82000000 ...
Consoles: U-Boot console
Compatible U-Boot API signature found @0x9df30c58
FreeBSD/armv6 U-Boot loader, Revision 1.2
(Sat Apr 14 22:18:05 UTC 2018 root@rtemsbuild1)
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=0 slice=<auto> partition=<auto>... good.
Booting from disk0s2a:
/boot/kernel/kernel data=0x65e1a0+0x19de60 syms=[0x4+0x71080+0x4+0xa4e2b]
Hit [Enter] to boot immediately, or any other key for command prompt.
Booting [/boot/kernel/kernel]...
/boot/dtb/am335x-boneblack.dtb size=0x10271
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-2017 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: Sat Apr 14 22:46:45 UTC 2018
root@rtemsbuild1:/BBB/obj/arm.armv6/BBB/src/sys/BEAGLEBONE-MMCCAM arm
FreeBSD clang version 5.0.0 (tags/RELEASE_500/final 312559) (based on LLVM 5.0.0svn)
WARNING: WITNESS option enabled, expect reduced performance.
VT: init without driver.
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 = 536870912 (512 MB)
avail memory = 509980672 (486 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 simplebus1
ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2
ti_aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simplebus0
ti_aintc0: Revision 5.0
am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on simplebus1
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> 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 on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpioc0: <GPIO controller> on gpio0
gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0x4804c000-0x4804cfff irq 8 on simplebus0
gpiobus1: <OFW GPIO bus> on gpio1
gpioc1: <GPIO controller> on gpio1
gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ac000-0x481acfff irq 9 on simplebus0
gpiobus2: <OFW GPIO bus> on gpio2
gpioc2: <GPIO controller> on gpio2
gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ae000-0x481aefff irq 10 on simplebus0
gpiobus3: <OFW GPIO bus> on gpio3
gpioc3: <GPIO controller> on gpio3
��uart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e0afff irq 11 on simplebus0
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
sdhci_ti0: Custom-disabling 8-bit bus
mmc_alloc_device()
sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 21 on simplebus0
sdhci_ti1: Custom-disabling 8-bit bus
mmc_alloc_device()
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 simplebus0
Event timer "DMTimer2" frequency 24000000 Hz quality 500
am335x_dmtimer1: <AM335x DMTimer3> mem 0x48042000-0x480423ff irq 29 on simplebus0
Timecounter "DMTimer3" frequency 24000000 Hz quality 500
am335x_rtc0: <AM335x RTC (power management mode)> mem 0x44e3e000-0x44e3efff irq 34,35 on simplebus0
am335x_rtc0: AM335X RTC v1.0.6
usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff on simplebus0
usbss0: TI AM335X USBSS v0.0.13
musbotg0: <TI AM33xx integrated USB OTG controller> mem 0x47401400-0x474017ff,0x47401000-0x474011ff irq 50
usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus0 on musbotg0
musbotg1: <TI AM33xx integrated USB OTG controller> mem 0x47401c00-0x47401fff,0x47401800-0x474019ff irq 50
usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM
usbus1 on musbotg1
cpswss0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 38,39,40,0
cpswss0: CPSW SS Version 1.12 (0)
cpswss0: Initial queue size TX=128 RX=384
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
fb0: <AM335x LCD controller> mem 0x4830e000-0x4830efff irq 43 on simplebus0
ti_adc0: <TI ADC controller> mem 0x44e0d000-0x44e0dfff irq 44 disabled on simplebus0
ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0
gpioled0: <GPIO LEDs> on ofwbus0
cryptosoft0: <software crypto>
Timecounters tick every 1.000 msec
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
am335x_pmic0: <TI TPS65217 Power Management IC> at addr 0x48 irq 58 on iicbus0
iicbus0: <unknown card> at addr 0xa0
tda0 at addr 0xe0 on iicbus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1
iicbus1: <unknown card> at addr 0xa8
iicbus1: <unknown card> at addr 0xaa
iicbus1: <unknown card> at addr 0xac
iicbus1: <unknown card> at addr 0xae
(noperiph:sdhci_slot0:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED)
mmc_dev_async(async_code=0x20, path_id=0, target_id=0, lun_id=0
Got AC_PATH_REGISTERED -- whatever...
mmc_dev_async(async_code=0x20, path_id=0, target_id=ffffffff, lun_id=ffffffff
(noperiph:sdhci_slot1:0:-1:ffffffff): xpt_async(AC_PATH_REGISTERED)
mmc_dev_async(async_code=0x20, path_id=1, target_id=0, lun_id=0
Got AC_PATH_REGISTERED -- whatever...
mmc_dev_async(async_code=0x20, path_id=1, target_id=ffffffff, lun_id=ffffffff
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
(noperiph:sdhci_slot0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN}
(noperiph:sdhci_slot0:0:0:0): ugen0.1: <Mentor Graphics OTG Root HUB> at usbus0
uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Mentor Graphics OTG Root HUB> at usbus1
uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
XPT_SCAN_{BUS,TGT,LUN}
(noperiph:sdhci_slot0:0:0:0): Set up the mmcprobe device...
(mmcprobe0:sdhci_slot0:0:0:0): Periph created
(mmcprobe0:sdhci_slot0:0:0:0): Probe started
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_INVALID to PROBE_RESET
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
(mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_RESET
sdhci_ti0-slot0: Power mode => 0
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=0, clk=0, bus_width=0, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
am335x_pmic0: TPS65217C ver 1.2 powered by USB
tda0: TDA19988
sdhci_ti0-slot0: Clock => 0
sdhci_ti0-slot0: VDD => 18
sdhci_ti0-slot0: CS => 0
sdhci_ti0-slot0: Bus width => 0
sdhci_ti0-slot0: Power mode => 1
sdhci_ti0-slot0: Bus mode => 1
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=1, clk=0, bus_width=0, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
tda0: failed to read EDID
sdhci_ti0-slot0: Clock => 375000
sdhci_ti0-slot0: uhub0: 1 port with 1 removable, self powered
Power mode => 2
sdhci_ti0-slot0: Timing => 0
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
uhub1: 1 port with 1 removable, self powered
sdhci_ti0: Custom-disabling 8-bit bus
sdhci_ti0-slot0: CS => 1
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
(mmcprobe0:sdhci_slot0:0:0:0): Send first XPT_MMC_IO
(noperiph:sdhci_slot1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN}
(noperiph:sdhci_slot1:0:0:0): XPT_SCAN_{BUS,TGT,LUN}
(noperiph:sdhci_slot1:0:0:0): Set up the mmcprobe device...
(mmcprobe1:sdhci_slot1:0:0:0): Periph created
(mmcprobe1:sdhci_slot1:0:0:0): Probe started
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_INVALID to PROBE_RESET
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): ugen0.2: <FreeBSD foundation USB Memory Stick> at usbus0
Start with PROBE_RESET
sdhci_ti1-slot0: Power mode => 0
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=0, clk=0, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
Starting completion of PROBE_RESET
(mmcprobe0:sdhci_slot0:0:0:0): done with PROBE_RESET
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_RESET to PROBE_SEND_IF_COND
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
(mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SEND_IF_COND
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): SD 2.0 interface conditions: OK
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
(mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_RESET
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000
ugen0.2: <FreeBSD foundation USB Memory Stick> at usbus0 (disconnected)
ugen0.2: <FreeBSD foundation USB Memory Stick> at usbus0
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
(mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_INIT
mmc_probedone: remaining freezecnt 1
sdhci_ti1-slot0: Clock => 0
sdhci_ti1-slot0: VDD => 18
sdhci_ti1-slot0: CS => 0
sdhci_ti1-slot0: Bus width => 0
sdhci_ti1-slot0: Power mode => 1
sdhci_ti1-slot0: Bus mode => 1
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=1, clk=0, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): Card OCR: 40ff8000
(mmcprobe0:sdhci_slot0:0:0:0): -> sending OCR to card
(mmcprobe0:sdhci_slot0:0:0:0): Card is SDHC
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): Card not ready: 40ff8000
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_SEND_APP_OP_COND
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
sdhci_ti1-slot0: Clock => 375000
sdhci_ti1-slot0: Power mode => 2
sdhci_ti1-slot0: Timing => 0
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): Card OCR: c1ff8000
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_GET_CID
(mmcprobe0:sdhci_slot0:0:0:0): Card is SDHC
(mmcprobe0:sdhci_slot0:0:0:0): Card supports 1.8V signaling
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): CID 28424532624c535009164c5987010aa5
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_GET_CID to PROBE_SEND_RELATIVE_ADDR
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): Card published RCA: 1
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_RELATIVE_ADDR to PROBE_GET_CSD
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): CSD 400e00325b59000077577f800a4000dd
(mmcprobe0:sdhci_slot0:0:0:0): sdhci_ti1-slot0: CS => 1
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
Probe PROBE_GET_CSD to PROBE_SELECT_CARD
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): Send first XPT_MMC_IO
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done
(mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SELECT_CARD to PROBE_DONE
(mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start
(mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_DONE
sdhci_ti0-slot0: Bus mode => 2
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
mmc_probedone: remaining freezecnt 0
(mmcprobe0:sdhci_slot0:0:0:0): Periph invalidated
(mmcprobe0:sdhci_slot0:0:0:0): Periph destroyed
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
Starting completion of PROBE_RESET
(mmcprobe1:sdhci_slot1:0:0:0): done with PROBE_RESET
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_RESET to PROBE_SEND_IF_COND
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_SEND_IF_COND
mmc_probedone: remaining freezecnt 1
(noperiph:sdhci_slot0:0:0:0): xpt_async(AC_FOUND_DEVICE)
mmc_dev_async(async_code=0x80, path_id=0, target_id=0, lun_id=0
Got AC_FOUND_DEVICE -- whatever...
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): IF_COND: error 1, pattern 00000000
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_SDIO_RESET
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_SDIO_INIT
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): APP_OP_COND: error 1, resp 00000000
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_MMC_INIT
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_MMC_INIT
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): MMC card, OCR 00ff8080
(mmcprobe1:sdhci_slot1:0:0:0): -> sending OCR to card
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_MMC_INIT
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): MMC card, OCR 00ff8080
(mmcprobe1:sdhci_slot1:0:0:0): Card is still powering up
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_MMC_INIT
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): MMC card, OCR c0ff8080
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_MMC_INIT to PROBE_GET_CID
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): CID fe014e4d4d43303447428900535f6129
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_GET_CID to PROBE_MMC_SET_RELATIVE_ADDR
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_MMC_SET_RELATIVE_ADDR to PROBE_GET_CSD
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): CSD d04f01320f5913ffffffffe78a40008f
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_GET_CSD to PROBE_SELECT_CARD
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
mmc_probedone: remaining freezecnt 1
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_done
(mmcprobe1:sdhci_slot1:0:0:0): Probe PROBE_SELECT_CARD to PROBE_DONE
(mmcprobe1:sdhci_slot1:0:0:0): mmcprobe_start
(mmcprobe1:sdhci_slot1:0:0:0): Start with PROBE_DONE
sdhci_ti1-slot0: Bus mode => 2
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=375000, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
mmc_probedone: remaining freezecnt 0
(mmcprobe1:sdhci_slot1:0:0:0): Periph invalidated
(mmcprobe1:sdhci_slot1:0:0:0): Periph destroyed
(noperiph:sdhci_slot1:0:0:0): xpt_async(AC_FOUND_DEVICE)
mmc_dev_async(async_code=0x80, path_id=1, target_id=0, lun_id=0
Got AC_FOUND_DEVICE -- whatever...
(sdda0:sdhci_slot0:0:0:0): Periph created
(sdda1:sdhci_slot1:0:0:0): Periph created
(pass0:sdhci_slot0:0:0:0): Periph created
(pass1:sdhci_slot1:0:0:0): Periph created
(sdda0:sdhci_slot0:0:0:0): Capacity: 16018046976, sectors: 31285248
WARNING: WITNESS option enabled, expect reduced performance.
Trying to mount root from ufs:/dev/sdda0s2a [rw,noatime]...
mountroot: waiting for device /dev/sdda0s2a...
(sdda0:sdhci_slot0:0:0:0): Card supports HS
(sdda0:sdhci_slot0:0:0:0): Set SD freq to 50 MHz (min out of host f=96 MHz and card f=50 MHz)
sdhci_ti0-slot0: Clock => 48000000
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=0, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
(sdda0:sdhci_slot0:0:0:0): Set bus width to 4-bit (min of host 4-bit and card 4-bit)
sdhci_ti0-slot0: Bus width => 2
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=2, timing=0
sdhci_ti0: Custom-disabling 8-bit bus
sdhci_ti0-slot0: Timing => 1
sdhci_ti0-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=2, timing=1
sdhci_ti0: Custom-disabling 8-bit bus
(sdda0:sdhci_slot0:0:0:0): Partition type 'default', size 16018046976
uma_zalloc_arg: zone "128" with the following non-sleepable locks held:
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xc2d87c64) locked @ /BBB/src/sys/cam/mmc/2
stack backtrace:
sdda0 at sdhci_slot0 bus 0 scbus0 target 0 lun 0
sdda0: Relative addr: 00000001
Card features: <Memory High-Capacity SD2.0-Conditions >
Card memory OCR: 40ff8000
sdda0: Serial Number 164C598
(sdda0:sdhci_slot0:0:0:0): mmc_announce_periph: called
XPT info: CLK 2DC6C00, ...
sdda0: SDHC 2bLSP 0.9 SN 164C5987 MFG 10/2016 by 40 BE
(sdda1:sdhci_slot1:0:0:0): Capacity: 3925868544, sectors: 7667712
(sdda1:sdhci_slot1:0:0:0): Set SD freq to 52 MHz (min out of host f=96 MHz and card f=52 MHz)
sdhci_ti1-slot0: Clock => 48000000
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=0, timing=0
sdhci_ti1: Custom-disabling 8-bit bus
(sdda1:sdhci_slot1:0:0:0): Set bus width to 8-bit (min of host 8-bit and card 8-bit)
sdhci_ti1-slot0: Bus width => 3
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=3, timing=0
sdhci_ti1: Custom-enabling 8-bit bus
sdhci_ti1-slot0: Timing => 1
sdhci_ti1-slot0: sdhci_cam_update_ios: power_mode=2, clk=48000000, bus_width=3, timing=1
sdhci_ti1: Custom-enabling 8-bit bus
(sdda1:sdhci_slot1:0:0:0): Partition type 'default', size 3925868544
uma_zalloc_arg: zone "128" with the following non-sleepable locks held:
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xc2dcac64) locked @ /BBB/src/sys/cam/mmc/2
stack backtrace:
(sdda1:sdhci_slot1:0:0:0): Partition type 'boot0', size 1048576
uma_zalloc_arg: zone "128" with the following non-sleepable locks held:
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xc2dcac64) locked @ /BBB/src/sys/cam/mmc/0
stack backtrace:
(sdda1:sdhci_slot1:0:0:0): Partition type 'boot1', size 1048576
uma_zalloc_arg: zone "128" with the following non-sleepable locks held:
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xc2dcac64) locked @ /BBB/src/sys/cam/mmc/0
stack backtrace:
(sdda1:sdhci_slot1:0:0:0): Partition type 'RPMB', size 131072
uma_zalloc_arg: zone "128" with the following non-sleepable locks held:
exclusive sleep mutex CAM device lock (CAM device lock) r = 0 (0xc2dcac64) locked @ /BBB/src/sys/cam/mmc/0
stack backtrace:
(sdda1:sdhci_slot1:0:0:0): Don't know what to do with RPMB partitions yet
sdda1 at sdhci_slot1 bus 0 scbus1 target 0 lun 0
sdda1: Relative addr: 00000002
Card features: <MMC Memory High-Capacity >
Card memory OCR: 00ff8080
sdda1: Serial Number 8900535
(sdda1:sdhci_slot1:0:0:0): mmc_announce_periph: called
XPT info: CLK 2DC6C00, ...
sdda1: MMCHC MMC04G 4.2 SN 8900535F MFG 06/1998 by 254 0x004e
(sdda1:sdhci_slot1:0:0:0): Partition 0 -> 1
(sdda1:sdhci_slot1:0:0:0): Partition 1 -> 2
WARNING: /: TRIM flag on fs but disk does not support TRIM
Warning: no time-of-day clock registered, system time will not be set accurately
(sdda1:sdhci_slot1:0:0:0): Partition 2 -> 0
Setting hostuuid: b304e402-6e18-11e7-899d-689e196f38cd.
Setting hostid: 0xe7cbff38.
No suitable dump device was found.
Starting file system checks:
/dev/sdda0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/sdda0s2a: clean, 134523 free (211 frags, 16789 blocks, 0.0% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat
random: unblocking device.
Setting hostname: beaglebone.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHD
Feeding entropy: .
cpsw0: link state changed to DOWN
Starting Network: lo0 cpsw0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
inet 127.0.0.1 netmask 0xff000000
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
cpsw0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
ether 68:9e:19:6f:38:cd
media: Ethernet autoselect (none)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Generating host.conf.
Waiting 30s for the default route interface: .....(no carrier)
Creating and/or trimming log files.
Starting syslogd.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
Performing sanity check on sshd configuration.
Starting sshd.
Starting cron.
Starting background file system checks in 60 seconds.
root@beaglebone:~ # camcontrol devlist -v
scbus0 on sdhci_slot0 bus 0:
<SDHC 2bLSP 0.9 SN 164C5987 MFG 10/2016 > at scbus0 target 0 lun 0 (pass0,sdda0)
scbus1 on sdhci_slot1 bus 0:
<MMCHC MMC04G 4.2 SN 8900535F MFG 06/199> at scbus1 target 0 lun 0 (pass1,sdda1)
scbus-1 on xpt0 bus 0:
<> at scbus-1 target -1 lun ffffffff (xpt0)
root@beaglebone:~ # camcontrol mmcsdcmd pass1 -I
Host controller information
Host OCR: 0x60000
Min frequency: 375 KHz
Max frequency: 96 MHz
Supported bus width: 4 bit
8 bit
Current settings:
Bus width: 8 bit
Freq: 48.000 MHz(high-speed timing)
root@beaglebone:~ #
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.