Getting Started with HSM4: Unable to locate package zk*

Hi,

I’m going through the getting started document on my RPi4B with raspbian bullseye.
When I exec the following command, the prompt returns without rebooting:
curl -G https://s3.amazonaws.com/zk-sw-repo/install_zk_sw.sh | sudo bash

According to my brief investigation, it seems this “apt install” command in the script doesn’t work:
apt install -y libzk libzymkeyssl zkbootrtc zkifc zkapputilslib zksaapps zkpkcs11 cryptsetup
I tried “apt serach”, but cannot find libzk, libzymkeyssl etc.

Is there a workaround?

Best regards,
Goki

@gok - Are you using bullseye 64 or bullseye 32? If you are using 32-bit, please edit /boot/config.txt and add the following line to the bottom of the file, then reboot and try the install again.

arm_64bit=0

Raspberry PI OS 32-bit images install the 64-bit kernel along with the 32-bit root filesystem. This does not allow our installation script to work.

@Bob_of_Zymbit
I’m using bullseye 64, so I skipped this process.

@Bob_of_Zymbit
So sorry, I seem to use bullseye 32!

$ getconf LONG_BIT
32

The installation works well after appending ‘arm_64bit=0’.
Thank you!