Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 May 2014 07:35:22 -0400
From:      Winston Smith <smith.winston.101@gmail.com>
To:        fabiodive <fabiodive@gmail.com>, FreeBSD ARM <freebsd-arm@freebsd.org>
Subject:   Re: eMMC /dev/mmcsd1 doesn't exist on BBB FreeBSD 11
Message-ID:  <CADH-AwHLCCmEx31OZ9ZTTTUVjF3VyXkt1U9O-ZC2uA7OvNxMLA@mail.gmail.com>
In-Reply-To: <9090E42A-59BE-4DC4-AD1C-72278D9E00DF@gmail.com>
References:  <53BFE8F8-D615-4F4F-BC26-2886A537E134@gmail.com> <CADH-AwFi6zbUbs9QuJGV71HRR_u53Mp=MvKR%2BXcVtLLC%2B3rrDQ@mail.gmail.com> <9090E42A-59BE-4DC4-AD1C-72278D9E00DF@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I compared it to my bootlog, this is where it diverges:

sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 28 on simpl=
ebus0
mmc1: <MMC/SD bus> on sdhci_ti1
cpsw0: mmc1: No compatible cards found on bus


Where as I see:

sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 28 on simpl=
ebus0
mmc1: <MMC/SD bus> on sdhci_ti1
cpsw0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a103fff
irq 40,41,42,43 on simplebus0


I'm not entirely sure why ... it looks like you have a number of extra
ko's being loaded (is that a WLAN adapter?).  I'd try:

1) Looks like you last built CURRENT on 4/27, it might be time to
update & rebuild
2) Removing the WLAN adapter and any extra kernel modules (could the
WLAN adapter be intefering with eMMC?)

You haven't changed the stock DTS file right?



> On May 2, 2014, at 12:03 , Winston Smith <smith.winston.101@gmail.com> wr=
ote:
>> Could you post the bootlog? (ideally from the uart0 since dmesg won't
>> have the u-boot messages).
>>
>> -W
>
> U-Boot SPL 2014.01 (Apr 20 2014 - 20:49:40)
> reading args
> spl: error reading image args, err - -1
> reading bb-uboot.img
> reading bb-uboot.img
>
>
> U-Boot 2014.01 (Apr 20 2014 - 20:49:40)
>
> I2C:   ready
> DRAM:  512 MiB
> NAND:  0 MiB
> MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
> *** Warning - readenv() failed, using default environment
>
> Net:   <ethaddr> not set. Validating first E-fuse MAC
> cpsw, usb_ether
> Hit any key to stop autoboot:  0
> mmc0 is current device
> SD/MMC found on device 0
> reading bb-uEnv.txt
> reading bbubldr
> 251113 bytes read in 17 ms (14.1 MiB/s)
> reading bboneblk.dtb
> 16072 bytes read in 5 ms (3.1 MiB/s)
> ## Starting application at 0x88000054 ...
> Consoles: U-Boot console
> Compatible U-Boot API signature found @9f62b240
>
> FreeBSD/armv6 U-Boot loader, Revision 1.2
> (seaman@bluewaters, Sun Apr 27 02:56:40 WEST 2014)
>
> DRAM: 512MB
> Number of U-Boot devices: 2
> 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.
> Loading /boot/defaults/loader.conf
> /boot/kernel/kernel data=3D0x513948+0x286b8 syms=3D[0x4+0x76630+0x4+0x50c=
ea]
> /boot/kernel/geom_label.ko text=3D0x499c data=3D0x854+0x30 syms=3D[0x4+0x=
f80+0x4+0xfb6]
> /boot/kernel/if_run.ko text=3D0x1b660 data=3D0x3f0+0x18 syms=3D[0x4+0x1a4=
0+0x4+0x101c]
> /boot/kernel/runfw.ko text=3D0x504 data=3D0x212c syms=3D[0x4+0x350+0x4+0x=
2a9]
> /boot/kernel/wlan_acl.ko text=3D0x117c data=3D0x184+0x4 syms=3D[0x4+0x6d0=
+0x4+0x4ab]
> /boot/modules/cuse4bsd.ko text=3D0x4308 data=3D0x2e8+0xa20 syms=3D[0x4+0x=
b50+0x4+0x74a]
>
> Hit [Enter] to boot immediately, or any other key for command prompt.
> Booting [/boot/kernel/kernel]...
> Using DTB provided by U-Boot at address 0x0x80000100.
> Kernel entry at 0x80200100...
> Kernel args: (null)
> Copyright (c) 1992-2014 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 11.0-CURRENT #0 r264989: Sun Apr 27 02:49:17 WEST 2014
>     seaman@bluewaters:/usr/local/crochet-freebsd/work/obj/arm.armv6/usr/l=
ocal/freebsd_src_11/sys/BBBELFARO arm
> FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216
> module run already present!
> module runfw_fw already present!
> CPU: Cortex A8-r3 rev 2 (Cortex-A core)
>  Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext
>  WB disabled EABT branch prediction enabled
> LoUU:2 LoC:2 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 515964928 (492 MB)
> Texas Instruments AM3358 Processor, Revision ES1.1
> random device not loaded; using insecure entropy
> Cuse4BSD v0.1.33 @ /dev/cuse
> wlan: mac acl policy registered
> random: <Software, Yarrow> initialized
> ofwbus0: <Open Firmware Device Tree>
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simp=
lebus0
> aintc0: Revision 5.0
> ti_scm0: <TI Control Module> mem 0x44e10000-0x44e11fff on simplebus0
> am335x_prcm0: <AM335x Power and Clock Management> mem 0x44e00000-0x44e012=
ff on simplebus0
> am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz
> am335x_dmtimer0: <AM335x DMTimer> mem 0x44e05000-0x44e05fff,0x44e31000-0x=
44e31fff,0x48040000-0x48040fff,0x48042000-0x48042fff,0x48044000-0x48044fff,=
0x48046000-0x48046fff,0x48048000-0x48048fff,0x4804a000-0x4804afff irq 66,67=
,68,69,92,93,94,95 on simplebus0
> Timecounter "AM335x Timecounter" frequency 24000000 Hz quality 1000
> Event timer "AM335x Eventtimer" frequency 24000000 Hz quality 1000
> ti_adc0: <TI ADC controller> mem 0x44e0d000-0x44e0efff irq 16 on simplebu=
s0
> ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0
> gpio0: <TI General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff,0x4804c0=
00-0x4804cfff,0x481ac000-0x481acfff,0x481ae000-0x481aefff irq 96,97,98,99,3=
2,33,62,63 on simplebus0
> gpioc0: <GPIO controller> on gpio0
> gpiobus0: <OFW GPIO bus> on gpio0
> gpioled0: <GPIO led> at pin(s) 53 on gpiobus0
> gpioled1: <GPIO led> at pin(s) 54 on gpiobus0
> gpioled2: <GPIO led> at pin(s) 55 on gpiobus0
> gpioled3: <GPIO led> at pin(s) 56 on gpiobus0
> uart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e09fff irq 72 on s=
implebus0
> uart0: console (115384,n,8,1)
> ti_edma30: <TI EDMA Controller> mem 0x49000000-0x490fffff,0x49800000-0x49=
8fffff,0x49900000-0x499fffff,0x49a00000-0x49afffff irq 12,13,14 on simplebu=
s0
> ti_edma30: EDMA revision 40014c00
> sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 64 on sim=
plebus0
> mmc0: <MMC/SD bus> on sdhci_ti0
> sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 28 on sim=
plebus0
> mmc1: <MMC/SD bus> on sdhci_ti1
> cpsw0: mmc1: No compatible cards found on bus
> am335x_pmic0: TPS65217C ver 1.2 powered by AC
> random: unblocking device.
> Trying to mount root from ufs:/dev/mmcsd0s2a [rw,noatime]...
> warning: no time-of-day clock registered, system time will not be set acc=
urately
> Setting hostuuid: 242cfaba-cdb2-11e3-a4fa-9059af69c1b4.
> Setting hostid: 0xd23a31f9.
> Entropy harvesting: interrupts ethernet point_to_point swi.
> Starting file system checks:
> /dev/mmcsd0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS
> /dev/mmcsd0s2a: clean, 574113 free (577 frags, 71692 blocks, 0.1% fragmen=
tation)
> Mounting local file systems:.
> Writing entropy file:.
> Setting hostname: beaglebone.
> cpsw0: link state changed to UP
> Starting Network: lo0 cpsw0.
> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=3D600003<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
>         nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
> cpsw0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu =
1500
>         options=3D8000b<RXCSUM,TXCSUM,VLAN_MTU,LINKSTATE>
>         ether 90:59:af:69:c1:b4
>         inet 192.168.113.18 netmask 0xffffff00 broadcast 192.168.113.255
>         inet6 fe80::9259:afff:fe69:c1b4%cpsw0 prefixlen 64 scopeid 0x1
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
>         nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> Starting devd.
> Starting pflogd:
> add net default: gateway 192.168.113.1
> 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
> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
> Creating and/or trimming log files.
> NFS access cache time=3D60
> Starting casperd.
> Clearing /tmp (X related).
> Starting rpcbind.
> Starting statd.
> Starting lockd.
> Updating motd:.
> Mounting late file systems:.
> Performing sanity check on sshd configuration.
> Starting sshd.
> Starting hostapd.
> Configuration file: /etc/hostapd.conf
> Failed to get link-level address for interface 'wlan0'.
> bsd driver initialization failed.
> /etc/rc: WARNING: failed to start hostapd
> Starting background file system checks in 60 seconds.
>
> Wed Apr 30 21:10:14 UTC 2014
>
> FreeBSD/arm (beaglebone) (ttyu0)
>
> login:
>
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADH-AwHLCCmEx31OZ9ZTTTUVjF3VyXkt1U9O-ZC2uA7OvNxMLA>