Hello Developers,
coming from http://forums.slimdevices.com/showth...ages-available I am trying to compile SqueezeOS for "baby" (Squeezebox Radio). I checked out http://svn.slimdevices.com/repos/jive/7.8/trunk/ and follwed the instructions at http://wiki.slimdevices.com/index.ph...d_Instructions as well as http://wiki.slimdevices.com/index.ph...ezeos_Building (using the scripts in the parabuild subdirectory).
I selected MACHINE=baby to build for the Squeezebox Radio and figured out some minor problems like the missing fakeroot 1.9.4. I am now stuck at the stage were squeezeplay is compiled. At some point it looks like bitbake tries to "bake" squeezeos-dsp-src_svn.bb, which can not succeed as I did not set "SQUEEZEOS_PRIVATE_SVN".
I would be very thankful for some advice! (or an baby-UBI-firmware-image)
Best regards
Robert
Results 1 to 5 of 5
-
2013-05-23, 14:08 #1
- Join Date
- May 2013
- Location
- Dortmund, Germany
- Posts
- 4
Compile SqueezeOS for "Baby" - missing babydsp.so (BB/Poky recipe - Private_SVN)
-
2020-02-06, 06:50 #2
I've managed to workaround the missing private babydsp sources to successfully build the radio firmware.
Copy /usr/lib/alsa-lib/libasound_module_pcm_babydsp.so from a radio to your poky build system and rename it using scp.
Code:$ scp -p root@radio:/usr/lib/alsa-lib/libasound_module_pcm_babydsp.so libasound_module_pcm_babydsp.so.0.0.0 libasound_module_pcm_babydsp.so 100% 33KB 33.5KB/s 00:00
Code:$ tar -tzvf babydsp-7.7.3r16676.tar.gz drwxr-xr-x ralphy/ralphy 0 2020-02-05 16:31 squeezeos_dsp/ drwxr-xr-x ralphy/ralphy 0 2020-02-05 16:10 squeezeos_dsp/.libs/ -rw-r--r-- ralphy/ralphy 34271 1969-12-31 19:00 squeezeos_dsp/.libs/libasound_module_pcm_babydsp.so.0.0.0
Code:md5sum babydsp-7.7.3r16676.tar.gz > babydsp-7.7.3r16676.tar.gz.md5
Update squeezeos-dsp-src_svn.bb. We only want bitbake to perform the install step. File attached.
I used a url to a local apache server running on my build VM in the SRC_URI to host the files, but bitbake won't try to download them as long as the tar and md5 files are already in poky/sources.
Code:DESCRIPTION = "SqueezeOS DSP - Private code" LICENSE = "Confidential" PV = "${DISTRO_VERSION}+svnr${SRCREV}" PR = "r3" PROVIDES = "squeezeos-dsp" DEPENDS += "alsa-lib" # no thumb here thanks! ARM_INSTRUCTION_SET = "arm" # SRC_URI="${SQUEEZEOS_PRIVATE_SVN};module=squeezeos_dsp" SRC_URI="http://poky/babydsp-7.7.3r16676.tar.gz;module=squeezeos_dsp" S = "${WORKDIR}/squeezeos_dsp" #inherit autotools #do_configure_prepend() { # cd ${S}/openmax # tar -xzf openmax-arm-98665.tgz # cd ${S} #} do_install() { mkdir -p ${D}/${libdir}/alsa-lib pwd install -m 0644 .libs/libasound_module_pcm_babydsp.so.0.0.0 ${D}/${libdir}/alsa-lib/libasound_module_pcm_babydsp.so } PACKAGES = "squeezeos-dsp squeezeos-dsp-dbg" FILES_squeezeos-dsp = "${libdir}/alsa-lib" FILES_squeezeos-dsp-dbg = "${libdir}/alsa-lib/.debug"
Set MACHINE ?= "baby" in poky/build/conf/local.conf
Setup your bitbake environment variables and run bitbake.Last edited by ralphy; 2020-02-06 at 07:06.
Ralphy
1-Touch, 5-Classics, 3-Booms, 1-UE Radio
Squeezebox client builds donations always appreciated.
-
2020-02-06, 07:15 #3
[SlimDevices: Jive] Compile SqueezeOS for "Baby" - missingbabydsp.so (BB/Poky recipe - Private_SVN)
> I've managed to workaround the missing private babydsp sources to
> successfully build the radio firmware.
Let me start by saying you're crazy.
What's the motivation to build your own firmware? You're obviously aware
of the missing features (AAC/WMA)...
--
Michael
-
2020-02-06, 07:55 #4
- Join Date
- May 2010
- Location
- London, UK
- Posts
- 699
-
2020-02-06, 08:50 #5Ralphy
1-Touch, 5-Classics, 3-Booms, 1-UE Radio
Squeezebox client builds donations always appreciated.