Community discussions

MikroTik App
 
tmarch
just joined
Topic Author
Posts: 3
Joined: Tue Oct 05, 2021 6:53 pm
Location: Austria

Building docker images for CCR

Tue Oct 05, 2021 7:39 pm

Hi,
I've a spare CCR1036 to test out v7. I already installed the docker package but I'm unable to find information how to build containers for the Tile CPU.
There are a couple of search results for "Multi-Arch" containers. But I'm not sure this is what I'm looking for.

Also I'm not sure which is the right architecture string for this cpu. Is it "tilegx"?
Is it even possible? I didn't find any architecture flag for Qemu which has the string "tile" in it.

Has someone experience with this who can point me in a direction?

Thanks
 
mada3k
Long time Member
Long time Member
Posts: 682
Joined: Mon Jul 13, 2015 10:53 am
Location: Sweden

Re: Building docker images for CCR

Wed Oct 06, 2021 7:57 pm

I'm not an expert on Docker, but I guess you have to find an older GCC for Tile, but yes, tilegx is it's name.
https://centos.pkgs.org/7/epel-x86_64/g ... 4.rpm.html
https://gcc.gnu.org/onlinedocs/gcc/TILE-Gx-Options.html
 
tmarch
just joined
Topic Author
Posts: 3
Joined: Tue Oct 05, 2021 6:53 pm
Location: Austria

Re: Building docker images for CCR

Sun Oct 17, 2021 2:45 pm

Thanks for the info.
Sadly this doesn't make it any easier. I wasn't able to find any base image for tilegx.
To build a base image it is necessary to create a basic rootfs with libc,a shell, systemd, basic GNU utility's, network tools, developer tools and dependencies.
This seems a lot of work since it's not enough to create it once. It has to be updated and maintained.

Is there an easier way to do this? I was thinking something like debootstrap or pacstrap.
Is there even an existing Distro that supports Tile cpu's?
 
User avatar
deadkat
Frequent Visitor
Frequent Visitor
Posts: 57
Joined: Sun Nov 15, 2020 11:14 pm
Location: Alabama, USA

Re: Building docker images for CCR

Tue Oct 19, 2021 6:02 am

Is there even an existing Distro that supports Tile cpu's?
probably not, unfortunately.

based on news article here https://www.phoronix.com/scan.php?page= ... lean-Archs
you will need a distro running kernel 4.16 or older

Mikrotik is actively customizing the kernel on their devices to, among other things, include support for the tile architecture.
 
User avatar
mhenriques
newbie
Posts: 45
Joined: Sat Mar 23, 2019 8:45 pm
Location: BRAZIL
Contact:

Re: Building docker images for CCR

Fri Nov 11, 2022 9:04 pm

Currently container package is compatible with arm arm64 and x86 architectures.

Who is online

Users browsing this forum: No registered users and 5 guests