A RPi Zero wireless won't boot of AlpineLinux v 3.4.0, upon which the image provided is based. It will boot off of AlpineLinux v3.6.0 and higher. And, I can't get SonosAmpJuicePi to work with a newer version of AlpineLinux.
I setup AlpineLinux v3.7.0 as it was with the AlpineLinux v3.4.0 image, adding wireless support as there is no ethernet option for the zero W, and added all content in the EXT4 portion of the SD-card. I could get Jishi's sonos_http_api to run but not your SonosAmpJuicePi. SonosAmpJuicePi repeatedly threw the error in SonosAmpJuicePi.log:
Error: Error relocating /flash/apps/SonosAmpJuicePi/node_modules/rpio/build/Release/rpio.node: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi: symbol not found
at Object.Module._extensions..node (module.js:664:18)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at bindings (/flash/apps/SonosAmpJuicePi/node_modules/rpio/node_modules/bindings/bindings.js:76:44)
at Object. (/flash/apps/SonosAmpJuicePi/node_modules/rpio/lib/rpio.js:17:34)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
/flash/apps/SonosAmpJuicePi/node_modules/rpio/node_modules/bindings/bindings.js:83
throw e
^
I also tried an apk Update and apk Upgrade on the original AlpineLinux v3.4.0 image (run on a RPi 3b and then tried in the RPi zero Wireless) and it provided the same error. Note, such an Update/Upgrade looks like it doesn't update the kernel but does claim an update to the OS.
I know your code was based upon Jishi's original work on the older AlpineLinux v3.4.0. Any help you can provide to get it to work on a newer version of AlpineLinux would be greatly appreciated. I'd really like to get it to run on my RPi zero W.
A RPi Zero wireless won't boot of AlpineLinux v 3.4.0, upon which the image provided is based. It will boot off of AlpineLinux v3.6.0 and higher. And, I can't get SonosAmpJuicePi to work with a newer version of AlpineLinux.
I setup AlpineLinux v3.7.0 as it was with the AlpineLinux v3.4.0 image, adding wireless support as there is no ethernet option for the zero W, and added all content in the EXT4 portion of the SD-card. I could get Jishi's sonos_http_api to run but not your SonosAmpJuicePi. SonosAmpJuicePi repeatedly threw the error in SonosAmpJuicePi.log:
Error: Error relocating /flash/apps/SonosAmpJuicePi/node_modules/rpio/build/Release/rpio.node: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEi: symbol not found at Object.Module._extensions..node (module.js:664:18) at Module.load (module.js:554:32) at tryModuleLoad (module.js:497:12) at Function.Module._load (module.js:489:3) at Module.require (module.js:579:17) at require (internal/module.js:11:18) at bindings (/flash/apps/SonosAmpJuicePi/node_modules/rpio/node_modules/bindings/bindings.js:76:44) at Object. (/flash/apps/SonosAmpJuicePi/node_modules/rpio/lib/rpio.js:17:34)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
/flash/apps/SonosAmpJuicePi/node_modules/rpio/node_modules/bindings/bindings.js:83
throw e
^
I also tried an apk Update and apk Upgrade on the original AlpineLinux v3.4.0 image (run on a RPi 3b and then tried in the RPi zero Wireless) and it provided the same error. Note, such an Update/Upgrade looks like it doesn't update the kernel but does claim an update to the OS.
I know your code was based upon Jishi's original work on the older AlpineLinux v3.4.0. Any help you can provide to get it to work on a newer version of AlpineLinux would be greatly appreciated. I'd really like to get it to run on my RPi zero W.