New building tool

Started by arjepsen, March 20, 2021, 04:05:18 pm

Previous topic - Next topic

arjepsen

I can see that there's a new building tool put up on github:
https://github.com/OLIMEX/olimage

It would be awesome if there would be a bit of information about how to use it exactly :-)

Best regards.

LubOlimex

Technical support and documentation manager at Olimex

arjepsen

Thanks, but not entirely.
I do a:
git clone https://github.com/olimex/olimage

in the olimage directory, only mount.sh is executable..?
so I change the permissions for build.sh, and run it:
sudo ./build.sh

it runs a bit, but ends with:
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: open /dev/ptmx: no such device: unknown.

LubOlimex

What board do you want to compile for?
Technical support and documentation manager at Olimex

arjepsen


LubOlimex

The issue you report seems to be related to docker installation. However, the command to compile for A13 boards would be:

bash run.sh -v image A13-OLinuXino buster minimal A13-OLinuXino-buster-minimal-$(date +%Y%m%d-%H%M%S).img

This builds the test image.

For release you would need to run:

env ARGS=-r bash run.sh -v image A13-OLinuXino buster minimal A13-OLinuXino-buster-minimal-$(date +%Y%m%d-%H%M%S).img
Technical support and documentation manager at Olimex

arjepsen

March 26, 2021, 04:11:39 pm #6 Last Edit: March 28, 2021, 06:10:54 pm by arjepsen
Thanks a lot.

bash run.sh -v image A13-OLinuXino buster minimal A13-OLinuXino-buster-minimal-$(date +%Y%m%d-%H%M%S).img
This worked well.