WDCommunity / wdpksrc

Cross compilation framework to create native packages for the Western Digital My Cloud
BSD 3-Clause "New" or "Revised" License
218 stars 54 forks source link

[entware] install fails on MyCloudEX4 #29

Closed jaysquared2 closed 5 years ago

jaysquared2 commented 5 years ago

Tried to install WDMyCloudEX4_entware_1.04.bin via webgui on my MyCloudEX4 and it seemed to install fine.

However, running opkg gives 'Illegal Instruction' error. Investigating further, it seems the install script is installing entware meant for armv7 devices. I think the EX4 is armv5?

uname -a on my device yields:

Linux WDMyCloudEX4 3.2.40 #1 Fri Nov 16 11:50:03 CST 2018 armv5tel GNU/Linux

Same thing with the docker package; I believe armv7 binary is installed so it fails in the same way.

stefaang commented 5 years ago

Thanks for your report. What is the firmware version on your My Cloud EX4? I will update the entware installer to pick the correct armv5 branch.

I'm not sure if docker is supported on armv5, so I may have to remove those builds.

stefaang commented 5 years ago

Any luck with this package? You may need to use this command before installing

rm -rf /shares/Volume_1/entware

WDMyCloudEX4_entware_1.05.zip

stefaang commented 5 years ago

BTW, I had already removed the MyCloud, EX2 and EX4 docker binaries from the website. Did I forget to clean up somewhere else?

jaysquared2 commented 5 years ago

I can confirm 1.05 works. I've installed several packages with opkg and they all persisted through a reboot. This issue can be closed.

My EX4 version is 2.12.127.

Docker v18.03.1 for MyCloud, EX2 and EX4 can still be downloaded from the github release page.

Awesome work btw. Now my EX4 is infinitely more useful. Thank you!

stefaang commented 5 years ago

Thanks for the feedback, I'll add a fix for another upgrade issue and then release the 1.05 packages.