• Disclaimer: This Vendor's Forum is a paid-for commercial area. Unlike the rest of diyAudio, the Vendor has complete control of what may or may not be posted in this forum. If you wish to discuss technical matters outside the bounds of what is permitted by the Vendor, please use the non-commercial areas of diyAudio to do so.

Support for Botic Linux driver

Hi,
I 'm trying to boot Botic from eMMC.
I used script
Code:
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
to prepare eMMC but unfortunately Botic does't want to boot.
Using usb serial cable I connect my laptop to BBB and I can see following content/log:
Code:
U-Boot SPL 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06)


U-Boot 2015.01-00001-gb2412df (Jan 29 2015 - 15:01:06), Build: jenkins-github_Bootloader-Builder-105

       Watchdog enabled
I2C:   ready
DRAM:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
gpio: pin 53 (gpio 53) value is 1
Card did not respond to voltage select!
Card did not respond to voltage select!
gpio: pin 56 (gpio 56) value is 0
gpio: pin 55 (gpio 55) value is 0
gpio: pin 54 (gpio 54) value is 0
switch to partitions #0, OK
mmc1(part 0) is current device
gpio: pin 54 (gpio 54) value is 1
Checking for: /uEnv.txt ...
Checking for: /boot.scr ...
Checking for: /boot/boot.scr ...
Checking for: /boot/uEnv.txt ...
gpio: pin 55 (gpio 55) value is 1
475 bytes read in 26 ms (17.6 KiB/s)
Loaded environment from /boot/uEnv.txt
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-3.18.7-botic4 ...
5805792 bytes read in 351 ms (15.8 MiB/s)
loading /boot/dtbs/3.18.7-botic4/am335x-boneblack.dtb ...
30538 bytes read in 42 ms (710 KiB/s)
loading /boot/initrd.img-3.18.7-botic4 ...
2827214 bytes read in 186 ms (14.5 MiB/s)
debug: [console=ttyO0,115200n8 root=UUID=4a52107c-1015-492d-ba1f-99748ed452e5 ro rootfstype=ext4 rootwait fixrtc init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh] ...
debug: [bootz 0x82000000 0x88080000:2b23ce 0x88000000] ...
Kernel image @ 0x82000000 [ 0x000000 - 0x5896e0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Ramdisk to 8fd4d000, end 8ffff3ce ... OK
   Loading Device Tree to 8fd42000, end 8fd4c749 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.7-botic4 (root@lilek) (gcc version 4.8.3 20140401 (prerelease) (crosstool-NG linaro-1.13.1-4.8-2014.04 - Linaro GCC 4.8-2014.04) ) #1 PREEMPT Wed Feb 18 23:34:58 CET 2015
[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: TI AM335x BeagleBone Black
[    0.000000] cma: Reserved 16 MiB at 0x9e800000
[    0.000000] Memory policy: Data cache writeback
[    0.000000]   HighMem zone: 1048574 pages exceeds freesize 0
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM335X ES2.1 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=UUID=4a52107c-1015-492d-ba1f-99748ed452e5 ro rootfstype=ext4 rootwait fixrtc init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] allocated 1046528 bytes of page_cgroup
[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[    0.000000] Memory: 488340K/523264K available (5270K kernel code, 626K rwdata, 2900K rodata, 404K init, 777K bss, 34924K reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0802bb8   (8171 kB)
[    0.000000]       .init : 0xc0803000 - 0xc0868000   ( 404 kB)
[    0.000000]       .data : 0xc0868000 - 0xc0904ae4   ( 627 kB)
[    0.000000]        .bss : 0xc0904ae4 - 0xc09c7164   ( 778 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956969942ns
[    0.000028] OMAP clocksource: timer1 at 24000000 Hz
[    0.000277] Console: colour dummy device 80x30
[    0.000303] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[    0.089366] pid_max: default: 32768 minimum: 301
[    0.089472] Security Framework initialized
[    0.089545] AppArmor: AppArmor disabled by boot time parameter
[    0.089554] Yama: becoming mindful.
[    0.089730] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.089742] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090390] Initializing cgroup subsys memory
[    0.090426] Initializing cgroup subsys devices
[    0.090442] Initializing cgroup subsys freezer
[    0.090457] Initializing cgroup subsys net_cls
[    0.090476] Initializing cgroup subsys blkio
[    0.090489] Initializing cgroup subsys perf_event
[    0.090502] Initializing cgroup subsys net_prio
[    0.090555] CPU: Testing write buffer coherency: ok
[    0.090602] ftrace: allocating 27619 entries in 54 pages
[    0.156837] Setting up static identity map for 0x804f5008 - 0x804f5054
[    0.163826] devtmpfs: initialized
[    0.164670] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[    0.172883] omap_hwmod: tptc0 using broken dt data from edma
[    0.172977] omap_hwmod: tptc1 using broken dt data from edma
[    0.173059] omap_hwmod: tptc2 using broken dt data from edma
[    0.177301] omap_hwmod: debugss: _wait_target_disable failed
[    0.237960] pinctrl core: initialized pinctrl subsystem
[    0.238393] regulator-dummy: no parameters
[    0.245652] NET: Registered protocol family 16
[    0.247651] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.269351] cpuidle: using governor ladder
[    0.299341] cpuidle: using governor menu
[    0.302004] OMAP GPIO hardware version 0.1
[    0.308665] No ATAGs?
[    0.308689] hw-breakpoint: debug architecture 0x4 unsupported.
[    0.347765] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.348348] vmmcsd_fixed: 3300 mV
[    0.350554] usbcore: registered new interface driver usbfs
[    0.350619] usbcore: registered new interface driver hub
[    0.350712] usbcore: registered new device driver usb
[    0.351091] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.351114] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.351142] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_bb_i2c1_pins, deferring probe
[    0.351156] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.351244] media: Linux media interface: v0.10
[    0.351308] Linux video capture interface: v2.00
[    0.351403] pps_core: LinuxPPS API ver. 1 registered
[    0.351410] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.351435] PTP clock support registered
[    0.352216] Advanced Linux Sound Architecture Driver Initialized.
[    0.352832] NetLabel: Initializing
[    0.352841] NetLabel:  domain hash size = 128
[    0.352847] NetLabel:  protocols = UNLABELED CIPSOv4
[    0.352902] NetLabel:  unlabeled traffic allowed by default
[    0.353354] Switched to clocksource timer1
[    0.407349] NET: Registered protocol family 2
[    0.408073] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.408122] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.408160] TCP: Hash tables configured (established 4096 bind 4096)
[    0.408227] TCP: reno registered
[    0.408237] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.408253] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.408425] NET: Registered protocol family 1
[    0.408790] RPC: Registered named UNIX socket transport module.
[    0.408802] RPC: Registered udp transport module.
[    0.408808] RPC: Registered tcp transport module.
[    0.408815] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.409284] Unpacking initramfs...
[    0.579448] Freeing initrd memory: 2764K (cfd4d000 - d0000000)
[    0.579857] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[    0.581892] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.581995] audit: initializing netlink subsys (disabled)
[    0.582059] audit: type=2000 audit(0.530:1): initialized
[    0.583276] zpool: loaded
[    0.583295] zbud: loaded
[    0.583783] VFS: Disk quotas dquot_6.5.2
[    0.583852] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.584417] NFS: Registering the id_resolver key type
[    0.584481] Key type id_resolver registered
[    0.584490] Key type id_legacy registered
[    0.584514] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.584796] fuse init (API version 7.23)
[    0.585010] msgmni has been set to 991
[    0.586171] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.586329] io scheduler noop registered
[    0.586343] io scheduler deadline registered
[    0.586401] io scheduler cfq registered (default)
[    0.587371] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[    0.589201] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.590935] omap_uart 44e09000.serial: no wakeirq for uart0
[    0.591112] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 154, base_baud = 3000000) is a OMAP UART0
[    1.343003] console [ttyO0] enabled
[    1.348084] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.355276] [drm] Initialized drm 1.1.0 20060810
[    1.360202] usbcore: registered new interface driver udl
[    1.365811] Error: Driver 'tfp410' is already registered, aborting...
[    1.372764] slave hdmi: could not get i2c
[    1.377022] platform hdmi: Driver slave requests probe deferral
[    1.383453] platform 4830e000.lcdc: Driver tilcdc requests probe deferral
[    1.392611] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.399531] ehci-platform: EHCI generic platform driver
[    1.405161] ehci-omap: OMAP-EHCI Host Controller driver
[    1.412032] 47401300.usb-phy supply vcc not found, using dummy regulator
[    1.445491] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver
[    1.451788] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 1
[    1.460221] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.467366] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.474954] usb usb1: Product: MUSB HDRC host driver
[    1.480159] usb usb1: Manufacturer: Linux 3.18.7-botic4 musb-hcd
[    1.486469] usb usb1: SerialNumber: musb-hdrc.0.auto
[    1.492303] hub 1-0:1.0: USB hub found
[    1.496322] hub 1-0:1.0: 1 port detected
[    1.524201] 47401b00.usb-phy supply vcc not found, using dummy regulator
[    1.555393] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.561662] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 2
[    1.570086] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[    1.577228] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.584814] usb usb2: Product: MUSB HDRC host driver
[    1.590019] usb usb2: Manufacturer: Linux 3.18.7-botic4 musb-hcd
[    1.596520] usb usb2: SerialNumber: musb-hdrc.1.auto
[    1.602313] hub 2-0:1.0: USB hub found
[    1.606337] hub 2-0:1.0: 1 port detected
[    1.640928] mousedev: PS/2 mouse device common for all mice
[    1.648171] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.656037] i2c /dev entries driver
[    1.659805] IR XMP protocol handler initialized
[    1.665890] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.673472] sdhci: Secure Digital Host Controller Interface driver
[    1.679951] sdhci: Copyright(c) Pierre Ossman
[    1.763573] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.770401] ledtrig-cpu: registered to indicate activity on CPUs
[    1.776894] hidraw: raw HID events driver (C) Jiri Kosina
[    1.786688] usbcore: registered new interface driver usbhid
[    1.792533] usbhid: USB HID core driver
[    1.797939] asoc-botic-card botic: using 'default' pinconfig
[    1.804171] asoc-botic-card botic: ASoC: CPU DAI (null) not registered
[    1.811107] asoc-botic-card botic: snd_soc_register_card failed (-517)
[    1.818103] platform botic: Driver asoc-botic-card requests probe deferral
[    1.829414] oprofile: using arm/armv7
[    1.833612] TCP: cubic registered
[    1.837176] NET: Registered protocol family 10
[    1.842695] mip6: Mobile IPv6
[    1.845922] NET: Registered protocol family 17
[    1.850720] Key type dns_resolver registered
[    1.855269] mpls_gso: MPLS GSO support
[    1.859427] omap_voltage_late_init: Voltage driver support not added
[    1.866155] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
[    1.874708] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
[    1.883594] platform cpufreq-dt.0: Driver cpufreq-dt requests probe deferral
[    1.891052] mmc1: BKOPS_EN bit is not set
[    1.895460] ThumbEE CPU extension supported.
[    1.899968] Registering SWP/SWPB emulation handler
[    1.905055] SmartReflex Class3 initialized
[    1.910234] registered taskstats version 1
[    1.915545] mmc1: new high speed MMC card at address 0001
[    1.922355] mmcblk0: mmc1:0001 MMC04G 3.65 GiB
[    1.933836] input: tps65217_pwr_but as /devices/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0
[    1.942952] mmcblk0boot0: mmc1:0001 MMC04G partition 1 1.00 MiB
[    1.949717] mmcblk0boot1: mmc1:0001 MMC04G partition 2 1.00 MiB
[    1.956975] vdds_dpr: at 1500 mV
[    1.961581] vdd_mpu: 925 <--> 1325 mV at 1325 mV
[    1.966689]  mmcblk0: p1 p2
[    1.971261] vdd_core: 925 <--> 1150 mV at 1125 mV
[    1.977863] vio,vrtc,vdds: at 1800 mV
[    1.982579] vdd_3v3aux: at 3300 mV
[    1.987096] vdd_1v8: 1800 mV
[    1.990981] vdd_3v3a: at 3300 mV
[    1.996992] tps65217 0-0024: TPS65217 ID 0xe version 1.2, OFF:1
[    2.003243] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    2.010118] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz
[    2.135765] tda998x 0-0070: found TDA19988
[    2.141043] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    2.148015] [drm] No driver support for vblank timestamp query.
[    2.154569] tilcdc 4830e000.lcdc: No connectors reported connected with modes
[    2.162060] [drm] Cannot find any crtc or sizes - going 1024x768
[    2.177468] Console: switching to colour frame buffer device 128x48
[    2.190098] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[    2.195953] tilcdc 4830e000.lcdc: registered panic notifier
[    2.223388] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[    2.230068] asoc-botic-card botic: using 'default' pinconfig
[    2.236814] asoc-botic-card botic: dac-hifi <-> 48038000.mcasp mapping ok
[    2.244697] asoc-botic-card botic: 48k ext, 44k1 ext, use format switch
[    2.313391] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.319793] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.332183] libphy: 4a101000.mdio: probed
[    2.336543] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[    2.346888] cpsw 4a100000.ethernet: Detected MACID = 54:4a:16:bf:a9:7c
[    2.354951] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    2.364108] sr_init: No PMIC hook to init smartreflex
[    2.369576] sr_init: platform driver register failed for SR
[    2.379407] ALSA device list:
[    2.382521]   #0: Botic
[    2.385916] Freeing unused kernel memory: 404K (c0803000 - c0868000)
Loading, please wait...
[    2.438668] systemd-udevd[73]: starting version 204
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[    3.107985] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
Starting eMMC Flasher
-----------------------------
Checking for Valid BBB EEPROM header
[    3.790886] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    3.790886]
[    3.800485] CPU: 0 PID: 1 Comm: init-eMMC-flash Not tainted 3.18.7-botic4 #1
[    3.807923] [<c001231d>] (unwind_backtrace) from [<c0010085>] (show_stack+0x11/0x14)
[    3.816060] [<c0010085>] (show_stack) from [<c04ed825>] (panic+0x75/0x18c)
[    3.823278] [<c04ed825>] (panic) from [<c0035a53>] (do_exit+0x77b/0x788)
[    3.830308] [<c0035a53>] (do_exit) from [<c0035abb>] (do_group_exit+0x2f/0x84)
[    3.837884] [<c0035abb>] (do_group_exit) from [<c0035b23>] (SyS_exit_group+0x13/0x14)
[    3.846098] [<c0035b23>] (SyS_exit_group) from [<c000d561>] (ret_fast_syscall+0x1/0x44)
[    3.854495] drm_kms_helper: panic occurred, switching back to text console
[    3.861723] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000200
[    3.861723]
What can I do to fix this?
Thanks,
B
 
Bern, I assume you tried to use botic v4 (=beta) image, but you used the "beaglebone-black-make-microSD-flasher-from-eMMC.sh" script for flashing, right?

Please try to boot BBB boot using another working SD card (any distro should be OK) and execute following commands:

mkdir /mnt2
mount /dev/mmcblk1p2 /mnt2
nano /mnt2/boot/uEnv.txt

In the editor comment out line with init-eMMC-flasher-v3.sh using # character or delete it completely.

Then save the file, and reboot from the eMMC again.

For Botic v4 image the "/opt/scripts/tools/eMMC/generic-eMMC-flasher-12mb.sh" script needs to be used.
 
Hi,
Thanks Miero.
At the end I've returned to Botic 3.16.1.:)
Standard procedure for flashing eMMC :
Code:
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
works just fine for me.

Over the last days I'm testing my own build of squeezelite on Botc with (resampling and ffmpeg features switched on).
Most audio formats are played fine except WMA..
For example when i play WMA radio stream squeezelite shows:
Code:
[14:23:53.694391] decode_flush:190 decode flush
[14:23:53.694434] process_flush:172 process flush
[14:23:53.694505] output_flush:423 flush output buffer
[14:23:53.694561] sendSTAT:171 STAT: STMf
[14:23:54.535457] process:494 audg
[14:23:54.535695] process_audg:413 audg gainL: 3840 gainR: 3840 adjust: 0
[14:23:54.535759] set_volume:246 setting internal gain left: 65536 right: 65536
[14:23:54.543827] process:494 strm
[14:23:54.543939] process_strm:256 strm command s
[14:23:54.543985] process_strm:325 strm s autostart: 3 transition period: 10 transition type: 0 codec: w
[14:23:54.544031] sendSTAT:171 STAT: STMf
[14:23:54.544155] codec_open:218 codec open: 'w'
[14:23:54.544321] codec_open:235 closing codec: 'm'
[14:23:54.544398] ff_open_wma:552 open wma chunking: 1 playstream: 0 metadatastream: 4
[14:23:54.544496] stream_sock:384 connecting to 195.245.217.7:80
[14:23:54.568754] stream_sock:413 header: GET /program2 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/8.0.0.3802
Host: stream.polskieradio.pl
Pragma: xClientGUID={0ea31572-3280-2656-c418-70defdfd459d}
Pragma: no-cache,rate=1.0000000,stream-offset=0:0,max-duration=0
Pragma: stream-time=0
Pragma: request-context=2
Pragma: LinkBW=2147483647, AccelBW=1048576, AccelDuration=21000
Pragma: Speed=5.000
Pragma: xPlayStrm=1
Pragma: stream-switch-count=2
Pragma: stream-switch-entry=ffff:1:0 ffff:4:0 


[14:23:54.568920] sendSTAT:171 STAT: STMc
[14:23:54.569057] process_strm:357 set fade mode: 0
[14:23:54.569156] process:494 audg
[14:23:54.569278] process_audg:413 audg gainL: 3840 gainR: 3840 adjust: 0
[14:23:54.569328] set_volume:246 setting internal gain left: 65536 right: 65536
[14:23:54.614348] stream_thread:176 headers: len: 500
HTTP/1.0 200 OK
Content-Type: application/x-mms-framed
Server: Cougar/9.6.7600.16564
Date: Thu, 23 Apr 2015 14:23:53 GMT
Pragma: no-cache, client-id=933772195, xResetStrm=1, features="broadcast", AccelBW=1048576, AccelDuration=20139, Speed=1.000
Cache-Control: no-cache
Last-Modified: Thu, 23 Apr 2015 14:23:53 GMT
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
Connection: keep-alive


[14:23:54.614594] sendRESP:202 RESP
[14:23:54.617550] process:494 cont
[14:23:54.617669] process_cont:371 cont metaint: 0 loop: 0
[14:23:54.665385] process:494 strm
[14:23:54.665548] process_strm:256 strm command t
[14:23:54.665603] sendSTAT:171 STAT: STMt
[14:23:54.847658] process:494 strm
[14:23:54.847886] process_strm:256 strm command t
[14:23:54.847945] sendSTAT:171 STAT: STMt
[14:23:54.966030] process:494 strm
[14:23:54.966302] process_strm:256 strm command t
[14:23:54.966370] sendSTAT:171 STAT: STMt
[14:23:54.992506] _parse_packlen:147 asf packet len: 5493
[14:23:54.995521] ff_decode:288 format: name:asf lname:ASF format
[14:23:55.007590] _read_data:207 chunk parser stalled bytes: 0 0
[14:23:55.007920] ffmpeg: decoding for stream 1 failed
[14:23:55.008114] ffmpeg: Estimating duration from bitrate, this may be inaccurate
[14:23:55.008191] ff_decode:298 using wma stream sent from server: 0
[14:23:55.015371] ff_decode:340 setting track_start
[14:23:55.015515] resample_newstream:188 resampling from 48000 -> 192000
[14:23:55.015574] resample_newstream:213 resampling with soxr_quality_spec_t[precision: 28.0, passband_end: 0.911510, stopband_begin: 1.000000, phase_response: 25.0, flags: 0x00], soxr_io_spec_t[scale: 0.89]
[14:23:55.221186] process_newstream:123 processing: active
[14:23:55.221444] process_newstream:144 creating process buf in frames: 32768
[14:23:55.221512] process_newstream:151 creating process buf out frames: 131072
[14:23:55.348003] _output_frames:61 start buffer frames: 45752
[14:23:55.348274] _output_frames:146 track start sample rate: 192000 replay_gain: 0
[14:23:55.358401] output_thread:638 open output device: hw:CARD=BOTICAudio,DEV=0
[14:23:55.358886] alsa_open:355 opening device at: 192000
[14:23:55.359830] alsa_open:411 unable to open audio device requested format: S24_LE
[14:23:55.512632] sendSTAT:171 STAT: STMs
[14:23:55.513069] sendSTAT:171 STAT: STMt
[14:23:55.516820] ffmpeg: overflow in spectral RLE, ignoring
[14:23:55.517601] ffmpeg: next_block_len_bits 5 out of range
[14:23:55.517731] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not permitted
[14:23:55.866109] ffmpeg: overflow in spectral RLE, ignoring
[14:23:55.867068] ffmpeg: next_block_len_bits 4 out of range
[14:23:55.867225] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not permitted
[14:23:56.092844] ffmpeg: overflow in spectral RLE, ignoring
[14:23:56.093438] ffmpeg: next_block_len_bits 6 out of range
[14:23:56.093536] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not permitted
[14:23:56.355090] ff_decode:357 codec end of file
[14:23:56.355347] ff_decode:357 codec end of file
[14:23:56.355403] ff_decode:357 codec end of file
[14:23:56.355446] ff_decode:357 codec end of file
[14:23:56.355486] ff_decode:357 codec end of file
[14:23:56.355524] ff_decode:357 codec end of file
[14:23:56.355562] ff_decode:357 codec end of file
[14:23:56.355600] ff_decode:357 codec end of file
[14:23:56.355638] ff_decode:357 codec end of file
[14:23:56.355676] ff_decode:357 codec end of file
[14:23:56.355713] ff_decode:357 codec end of file
[14:23:56.355751] ff_decode:357 codec end of file
[14:23:56.355788] ff_decode:357 codec end of file
Before compiling squeezelite I've installed among others:
Code:
apt-get install libavformat-dev libavcodec53 libavformat53 libavutil51
Squeezelite build ended without any errors....
I suspect that may be some other ffmeg libs are missing but at the other hand a squeezelite build ended without any errors....

I launch squeezelite using following command:
Code:
./squeezelite -m ab:cd:ef:12:34:53 -o hw:CARD=BOTICAudio,DEV=0 -a 16384:1024:24: -R -u vI:::28 -r 192000 -n BBB -z
 
bern, I think the problem is here:

Code:
[14:23:55.358401] output_thread:638 open output device: hw:CARD=BOTICAudio,DEV=0
[14:23:55.358886] alsa_open:355 opening device at: 192000
[14:23:55.359830] alsa_open:411 unable to open audio device requested format: S24_LE

and following errors are result of cancelled decoding, but it is strange that only WMA file triggers this error.

I'll try compile squeezelite and check this...
 
miero
I've change initial squeezelite alsa parameters from:
Code:
-a 16384:1024:24:
to:
Code:
-a 16384:1024::
(to not fixing 24 bit output) but it does not change much...

Code:
[17:35:18.939567] process:494 strm
[17:35:18.939809] process_strm:256 strm command q
[17:35:18.939867] decode_flush:190 decode flush
[17:35:18.939910] process_flush:172 process flush
[17:35:18.939952] output_flush:423 flush output buffer
[17:35:18.940000] sendSTAT:171 STAT: STMf
[17:35:19.670286] process:494 audg
[17:35:19.670525] process_audg:413 audg gainL: 3840 gainR: 3840 adjust: 0
[17:35:19.670585] set_volume:246 setting internal gain left: 65536 right: 65536
[17:35:19.680196] process:494 strm
[17:35:19.680304] process_strm:256 strm command s
[17:35:19.680347] process_strm:325 strm s autostart: 3 transition period: 10 transition type: 0 codec: w
[17:35:19.680393] sendSTAT:171 STAT: STMf
[17:35:19.680946] codec_open:218 codec open: 'w'
[17:35:19.681015] codec_open:235 closing codec: 'm'
[17:35:19.681085] ff_open_wma:552 open wma chunking: 1 playstream: 0 metadatastream: 4
[17:35:19.681272] stream_sock:384 connecting to 195.245.217.7:80
[17:35:19.711629] stream_sock:413 header: GET /program3 HTTP/1.0
Accept: */*
User-Agent: NSPlayer/8.0.0.3802
Host: stream.polskieradio.pl
Pragma: xClientGUID={0ea31572-3280-2656-c418-70defdfd459d}
Pragma: no-cache,rate=1.0000000,stream-offset=0:0,max-duration=0
Pragma: stream-time=0
Pragma: request-context=2
Pragma: LinkBW=2147483647, AccelBW=1048576, AccelDuration=21000
Pragma: Speed=5.000
Pragma: xPlayStrm=1
Pragma: stream-switch-count=2
Pragma: stream-switch-entry=ffff:1:0 ffff:4:0 


[17:35:19.711796] sendSTAT:171 STAT: STMc
[17:35:19.711929] process_strm:357 set fade mode: 0
[17:35:19.712028] process:494 audg
[17:35:19.712145] process_audg:413 audg gainL: 3840 gainR: 3840 adjust: 0
[17:35:19.712198] set_volume:246 setting internal gain left: 65536 right: 65536
[17:35:19.764736] stream_thread:176 headers: len: 501
HTTP/1.0 200 OK
Content-Type: application/x-mms-framed
Server: Cougar/9.6.7600.16564
Date: Thu, 23 Apr 2015 17:35:17 GMT
Pragma: no-cache, client-id=4022286256, xResetStrm=1, features="broadcast", AccelBW=1048576, AccelDuration=20139, Speed=1.000
Cache-Control: no-cache
Last-Modified: Thu, 23 Apr 2015 17:35:17 GMT
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.predstrm, com.microsoft.wm.fastcache, com.microsoft.wm.startupprofile
Connection: keep-alive


[17:35:19.765074] sendRESP:202 RESP
[17:35:19.768418] process:494 cont
[17:35:19.768593] process_cont:371 cont metaint: 0 loop: 0
[17:35:19.800658] process:494 strm
[17:35:19.800859] process_strm:256 strm command t
[17:35:19.800916] sendSTAT:171 STAT: STMt
[17:35:20.037654] _parse_packlen:147 asf packet len: 4127
[17:35:20.040640] ff_decode:288 format: name:asf lname:ASF format
[17:35:20.052281] _read_data:207 chunk parser stalled bytes: 0 0
[17:35:20.052581] ffmpeg: decoding for stream 1 failed
[17:35:20.052771] ffmpeg: Estimating duration from bitrate, this may be inaccurate
[17:35:20.052852] ff_decode:298 using wma stream sent from server: 0
[17:35:20.060661] ff_decode:340 setting track_start
[17:35:20.060841] resample_newstream:188 resampling from 48000 -> 192000
[17:35:20.060900] resample_newstream:213 resampling with soxr_quality_spec_t[precision: 28.0, passband_end: 0.911510, stopband_begin: 1.000000, phase_response: 25.0, flags: 0x00], soxr_io_spec_t[scale: 0.89]
[17:35:20.267576] process_newstream:123 processing: active
[17:35:20.267822] process_newstream:144 creating process buf in frames: 32768
[17:35:20.267889] process_newstream:151 creating process buf out frames: 131072
[17:35:20.391079] _output_frames:61 start buffer frames: 45752
[17:35:20.391336] _output_frames:146 track start sample rate: 192000 replay_gain: 0
[17:35:20.391823] sendSTAT:171 STAT: STMs
[17:35:20.392044] sendSTAT:171 STAT: STMt
[17:35:20.392142] process:494 strm
[17:35:20.392314] process_strm:256 strm command t
[17:35:20.392363] sendSTAT:171 STAT: STMt
[17:35:20.392529] process:494 strm
[17:35:20.392576] process_strm:256 strm command t
[17:35:20.392664] sendSTAT:171 STAT: STMt
[17:35:20.401459] output_thread:638 open output device: hw:CARD=BOTICAudio,DEV=0
[17:35:20.401925] alsa_open:355 opening device at: 192000
[17:35:20.402864] alsa_open:406 opened device hw:CARD=BOTICAudio,DEV=0 using format: S32_LE sample rate: 192000 mmap: 1
[17:35:20.403025] alsa_open:485 buffer: 16384 period: 1024 -> buffer size: 16384 period size: 1024
[17:35:21.232889] ffmpeg: overflow in spectral RLE, ignoring
[17:35:21.236079] ffmpeg: len -1 invalid
[17:35:21.236231] ff_decode:377 avcodec_decode_audio4 error: -1 Operation not permitted
[17:35:21.452536] sendSTAT:171 STAT: STMt
[17:35:21.927652] ff_decode:357 codec end of file
[17:35:21.927915] ff_decode:357 codec end of file
[17:35:21.927979] ff_decode:357 codec end of file
[17:35:21.928021] ff_decode:357 codec end of file
[17:35:21.928061] ff_decode:357 codec end of file
[17:35:21.928099] ff_decode:357 codec end of file
[17:35:21.928137] ff_decode:357 codec end of file
[17:35:21.928174] ff_decode:357 codec end of file
[17:35:21.928213] ff_decode:357 codec end of file
[17:35:21.928251] ff_decode:357 codec end of file
[17:35:21.928289] ff_decode:357 codec end of file
[17:35:21.928327] ff_decode:357 codec end of file
[17:35:21.928365] ff_decode:357 codec end of file
 
Last edited:
And thanks for "forcing" me into squeezelite. I'm playing music from my favorite network stream service! :)

Your welcome:) and hope I do not push you too much;)
In my opinion Botic+squeezelie+LMS together with dedicated hardware have great potential.

I'm trying to follow your instruction but I'm stuck at packages installation:
Code:
root@bbb:~# apt-get update
...
....
...
Reading package lists... Done
W: GPG error: http://www.deb-multimedia.org wheezy-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117


root@bbb:~# apt-get install git gcc make libasound2-dev libavcodec-dev libavformat-dev libavutil-dev libflac-dev libmad0-dev libvorbis-dev libfaad-dev libmpg123-dev cmake
Reading package lists... Done
Building dependency tree
Reading state information... Done
git is already the newest version.
libasound2-dev is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libavcodec-dev : Depends: libavcodec54 (= 10:1.2.12-dmo1+wheezy+bp1) but it is not going to be installed
                  Depends: libfaac-dev but it is not installable
 libavformat-dev : Depends: libavformat54 (= 10:1.2.12-dmo1+wheezy+bp1) but it is not going to be installed
 libavutil-dev : Depends: libavutil52 (= 10:1.2.12-dmo1+wheezy+bp1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
root@bbb:~#
 
I think it will help to uninstall that older packages you've installed before ...
apt-get remove libavcodec53 libavformat53 libavutil51
(maybe something more)

miero,
I desided to reinstal Botic 3.2 on eMMC
When I boot from SD and use script:
Code:
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
again then it seems like old packed are still remain on eMMC.
How could I install fresh Botic on eMMC?
 
miero,
I desided to reinstal Botic 3.2 on eMMC
When I boot from SD and use script:
Code:
/opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh
again then it seems like old packed are still remain on eMMC.
How could I install fresh Botic on eMMC?
you can hook your bbb through USB to a computer ,emmc will be detected as a drive,just format it and install the neW one
 
Why are you guys so keen to install onto the eMMC?
Not criticising, just wondering what the benefit is...
I much prefer having on OS on the sd card cos then it's easy to swap and change and I can make easy changes by putting the sd card into my laptop.
I got fed up with having to hold down the boot button to boot off the sd card, so I set the eMMC to be non bootable. I don't recall exactly, but it was a very simple change to make, just 1 edit to 1 file I believe.
 
One advantage of eMMC is that it cannot be accidentaly removed, beside that you will have one SD slot available.
The second advantage is a speed of booting. eMMC should be faster.

miero
I followed your excellent squeezelite’s installation guidance on fresh Botic.
Please consider two additional points .
I had error:
Code:
W: GPG error: http://www.deb-multimedia.org wheezy-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117
and ibavcodec-dev libavformat-dev libavutil-dev packets did not want to install
Code:
apt-get install deb-multimedia-keyring
resolved isuee.
It turned out that squeezelite resample feature didn’t work.
Code:
load_soxr:249 dlerror: libsoxr.so.0: cannot open shared object file: No such file or directory
It seems like squeezelite want to have ‘libsoxr’ in /usr/lib/ instead of /usr/local/lib/
 
You can try following:
Code:
make OPTS="-DDSD -DFFMPEG -DRESAMPLE -I/usr/local/include" LDFLAGS="-lasound -lpthread -lm -lrt -L/usr/local/lib"

Also check that libsoxr is correctly installed:
# find /usr/local -name "*soxr*"
/usr/local/share/doc/libsoxr
/usr/local/include/soxr-lsr.h
/usr/local/include/soxr.h
/usr/local/lib/pkgconfig/soxr.pc
/usr/local/lib/pkgconfig/soxr-lsr.pc
/usr/local/lib/libsoxr.so.0
/usr/local/lib/libsoxr.so.0.1.0
/usr/local/lib/libsoxr-lsr.so.0.1.9
/usr/local/lib/libsoxr-lsr.so.0
/usr/local/lib/libsoxr.so
/usr/local/lib/libsoxr-lsr.so