![]() |
Upcoming moOde 6.5.0 - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: Upcoming moOde 6.5.0 (/showthread.php?tid=2189) |
RE: Upcoming moOde 6.5.0 - adrii - 02-19-2020 Hi Tim I have just recently started building programs on a Raspberry Pi 4 that are also meant to work on the Pi Zero. All I have been doing is including the following in CPPFLAGS Code: -march=armv6 -mfpu=vfp I know some people use additional flags, but I haven't investigated which flags are necessary (depending on the program) and which are optimisations. Adrian. RE: Upcoming moOde 6.5.0 - Tim Curtis - 02-19-2020 Right except that lbrespot is written in Rust and not C. It's built using Cargo which invokes the Rust compiler. I imagine there are some flags for specifying the target architecture but it would take someone with Rust experience to know what they are and which ones to use. RE: Upcoming moOde 6.5.0 - TheOldPresbyope - 02-19-2020 (02-19-2020, 12:35 PM)Tim Curtis Wrote: Right except that lbrespot is written in Rust and not C. It's built using Cargo which invokes the Rust compiler. I imagine there are some flags for specifying the target architecture but it would take someone with Rust experience to know what they are and which ones to use. [Full disclosure - I haven't tried this yet] https://github.com/japaric/rust-cross and this issue explicitly saying cross-compiling to arm6 can be made to work: https://github.com/japaric/rust-cross/issues/42 Regards, Kent RE: Upcoming moOde 6.5.0 - TheOldPresbyope - 02-19-2020 @Tim Curtis More updates to our curated radio stations. (Caveat - the Swedish Classic Radio URL may not be the most general form - streamers do curious things balancing across multiple servers - but it works for me.) JB Radio-2 USA (320K): Code: http://cristina.torontocast.com:8007/mp3-320 Swedish Classic Radio: Code: https://live-cdn.sr.se/pool2/p2musik/p2musik.isml/p2musik-audio=192000.m3u8 WBJC Baltimore 91.5 - Classical: new URL Code: http://wbjc-ice.streamguys1.com:80/live ---- Not working (here in USA/MD) and I haven't had time to find alternatives Amys FM (320K) Amys FM Spirit of Soul (320K) Radio Monash Rinse FM VRT - Sporza [seriously? A sports station?] Regards, Kent RE: Upcoming moOde 6.5.0 - Tim Curtis - 02-19-2020 Thanks. I'll incorporate into 6.5.0 RE: Upcoming moOde 6.5.0 - Tim Curtis - 02-19-2020 (02-19-2020, 12:58 PM)TheOldPresbyope Wrote:(02-19-2020, 12:35 PM)Tim Curtis Wrote: Right except that lbrespot is written in Rust and not C. It's built using Cargo which invokes the Rust compiler. I imagine there are some flags for specifying the target architecture but it would take someone with Rust experience to know what they are and which ones to use. Looks kind of messy. I ran a brief test on a 1B and a 0W and in both cases the Rust install bombed with a memory error. Code: info: installing component 'rustc' Full log Code: pi@rp2:~ $ curl https://sh.rustup.rs -sSf | sh Rust installed just fine on armv7 Pi and no issues compiling librespot. This suggests that there is some sort of bug or resource requirement in the Rust install that causes it to crash on armv6. RE: Upcoming moOde 6.5.0 - Norbert - 02-20-2020 Hi, one more radiostation for the curated radio stations? Hirschmilch Prog-House:no advertising, no moderation, but best rhythms ![]() Code: https://hirschmilch.de:7001/prog-house.mp3 Regards Norbert [attachment=1018] RE: Upcoming moOde 6.5.0 - TheOldPresbyope - 02-20-2020 @Tim Curtis Sorry, I got tied up yesterday with doctor appointments. Re: Rust Turn on swap and try again. I enabled the default 100MB swapspace and saw (via htop) that as much as 55MB of it was used in installing rust. Result: Code: ... Regards, Kent RE: Upcoming moOde 6.5.0 - TheOldPresbyope - 02-20-2020 @Tim Curtis ...but, building librespot just failed. ![]() Code: pi@moode0w:~ $ cd ./librespot-master A little web searching and I turned up a hint to add the following to Cargo.toml (I added at end of existing file) Code: [profile.release] Now the build appears to be proceeding but it's taking a l.o.n.g time Code: pi@moode0w:~/librespot-master $ cargo build --release --features alsa-backend Regards, Kent RE: Upcoming moOde 6.5.0 - Tim Curtis - 02-20-2020 Cool. Ya it takes like 6 hours :-0 |