hello people, i want to restore my chromebook to its original state after installing windows. i booted it into a live ubuntu usb and i connected it into the internet, i installed curl and then i ran this command:

cd ~; curl -L -O https://coolstar.org/chromebook/setup... && sudo bash setup-firmware.sh

it gave me an error cuz they removed the file so i downloaded an archived one using the wayback machine. then i did sudo bash setup-firmware.sh and it gave me this error:  Getting device/system info...
Unable to read current firmware; cannot continue.

Either add 'iomem=relaxed' to your kernel parameters,
or trying running from a Live USB with a more permissive kernel (eg, Ubuntu).

See https://www.flashrom.org/FAQ for more info