Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: aademir on June 11, 2021, 09:23:43 PM

Title: Latest images for A13-SOM-256
Post by: aademir on June 11, 2021, 09:23:43 PM
Hello everyone,

I'm trying to find the latest images for A13-SOM-256 (Not for A13-OLinuXino). Actually, I tried to follow the instructions at the wiki page first. This (https://www.olimex.com/wiki/A13-SOM#Linux) image is worked but unfortunately I realized too late that the wiki page is outdated. After that, I found this post (https://olimex.wordpress.com/2020/04/21/olimage-mainline-linux-images-building-script-for-all-of-our-olinuxino-and-som-boards/) from other topics. But I guess the mentioned website in the blog post (http://images.olimex.com/release/a13/) is only for A13-OlinuXino. I tried the build script (https://github.com/OLIMEX/olimage/blob/master/build.sh) as well. But I couldn't get it to work.

Please, can anyone (especially @LubOlimex) help me to find or build the latest image for A13-SOM-256?
Title: Re: Latest images for A13-SOM-256
Post by: LubOlimex on June 14, 2021, 08:51:19 AM
Well you have to get the script working. What exactly did you did and what exactly didn't work, any messages or log?

Did you do:

apt-get install qemu-user-static

?

What command did you use for the script? Something like:

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

?

Title: Re: Latest images for A13-SOM-256
Post by: aademir on June 16, 2021, 09:28:32 PM
I did what you said. I ran "apt-get install qemu-user-static" and "ARGS=-r bash run.sh -v image A13-OLinuXino buster base      A13-OLinuXino-buster-base-$(date +%Y%m%d-%H%M%S).img" commands. But still I got the following message.

E
: Unable to locate package olinuxino-overlays

E: Unable to locate package u-boot-olinuxino
E: Unable to locate package u-boot-tools-olinuxino
E: Unable to locate package olinuxino-tools
Traceback (most recent call last):
  File "/olimage/olimage/__main__.py", line 119, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1137, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1062, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1668, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/olimage/olimage/image/__init__.py", line 28, in build_image
    ctx.invoke(olimage.filesystem.build_filesystem, **kwargs)
  File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 763, in invoke
    return __callback(*args, **kwargs)
  File "/olimage/olimage/filesystem/__init__.py", line 80, in build_filesystem
    method()
  File "/olimage/olimage/filesystem/decorators.py", line 137, in wrapper
    ret = func(*args, **kwargs)
  File "/olimage/olimage/filesystem/decorators.py", line 22, in wrapper
    ret = func(*args, **kwargs)
  File "/olimage/olimage/filesystem/decorators.py", line 91, in wrapper
    return func(*args, **kwargs)
  File "/olimage/olimage/filesystem/variants/minimal.py", line 66, in configure
    self._install_packages()
  File "/olimage/olimage/filesystem/base.py", line 70, in _install_packages
    raise _e
  File "/olimage/olimage/filesystem/base.py", line 58, in _install_packages
    Utils.shell.chroot('apt-get install -y {}'.format(' '.join(packages)), log_error=False)
  File "/olimage/olimage/core/utils/shell.py", line 97, in chroot
    raise _e
  File "/olimage/olimage/core/utils/shell.py", line 90, in chroot
    Shell.run("chroot {} ".format(path) + command, **kwargs)
  File "/olimage/olimage/core/utils/shell.py", line 46, in run
    raise _e
Exception: Command failed: chroot /olimage/output/a13-olinuxino/filesystem/buster-minimal apt-get install -y alsa-utils bc can-utils cpufrequtils crda debconf-utils device-tree-compiler dialog fake-hwclock gdisk gpiod i2c-tools ifupdown initramfs-tools lsof mmc-utils mtd-utils nano netcat-openbsd net-tools network-manager nocache openssh-server parted psmisc resolvconf rsync ssh sudo sysfsutils sysstat ucf usbutils wget wireless-regdb wireless-tools olinuxino-overlays u-boot-olinuxino u-boot-tools-olinuxino olinuxino-tools firmware-ralink firmware-realtek
E: Command failed: chroot /olimage/output/a13-olinuxino/filesystem/buster-minimal apt-get install -y alsa-utils bc can-utils cpufrequtils crda debconf-utils device-tree-compiler dialog fake-hwclock gdisk gpiod i2c-tools ifupdown initramfs-tools lsof mmc-utils mtd-utils nano netcat-openbsd net-tools network-manager nocache openssh-server parted psmisc resolvconf rsync ssh sudo sysfsutils sysstat ucf usbutils wget wireless-regdb wireless-tools olinuxino-overlays u-boot-olinuxino u-boot-tools-olinuxino olinuxino-tools firmware-ralink firmware-realtek
run external command: [['umount', '/olimage/output/a13-olinuxino/filesystem/buster-minimal/sys']]
run external command: [['umount', '/olimage/output/a13-olinuxino/filesystem/buster-minimal/dev/pts']]
run external command: [['umount', '/olimage/output/a13-olinuxino/filesystem/buster-minimal/dev']]
run external command: [['umount', '/olimage/output/a13-olinuxino/filesystem/buster-minimal/proc']]
Title: Re: Latest images for A13-SOM-256
Post by: LubOlimex on July 01, 2021, 11:47:42 AM
Sorry for this experience! My bad, I wrote without double checking myself or checking with the developers. only A13-SOM-512 is supported by the latest Olimage images. According to the developers the A13-SOM-256 has insufficient RAM memory for smooth Olimage experience and such support is not coming! I apologize, I wrote too soon without checking first.

For A13-SOM-256 you are pretty much stuck with the old releases from here:

https://ftp.olimex.com/Allwinner_Images/A13-SOM/

Alternatively, consider switching to the 512MB RAM version.

I have added it in the FAQ section and removed all references to Olimage of the web-page of A13-SOM-256.