Getting alpine image to boot

Hi,

I am trying to get alpine linux to boot on my omnia but it gets stuck at Starting kernel ... and then resets after about a minute.

This is how I am trying to boot it:

=> setenv bootargs earlyprintk console=ttyS0,115200
=> load mmc 0:1 ${fdt_addr_r} armada-385-turris-omnia.dtb
19617 bytes read in 21 ms (912.1 KiB/s)
=> load usb 0:1 ${kernel_addr_r} boot/vmlinuz-lts
6251008 bytes read in 480 ms (12.4 MiB/s)
=> load usb 0:1 ${ramdisk_addr_r} boot/initramfs-lts
6743161 bytes read in 525 ms (12.2 MiB/s)
=> bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr_r}
## Flattened Device Tree blob at 02000000
   Booting using the fdt blob at 0x2000000
   Loading Ramdisk to 0f991000, end 0ffff479 ... OK
   Loading Device Tree to 0f989000, end 0f990ca0 ... OK

Starting kernel ...

The dtb file is loaded from mmc where I have openwrt installed.

I have never used u-boot before so I am stuggling to debug why this does not work.

u-boot version: U-Boot 2019.07 (Feb 25 2021 - 00:53:21 +0000)

1 Like

But this si not Alpine for Omnia.

There were some tries with Debian:
https://wiki.debian.org/InstallingDebianOn/Turris/Omnia

But I am almost sure you cant run anything else than TurrisOS or OpenWRT on bare metal

1 Like

Trust me, you can. :wink:

1 Like

Any pointers on how to get alpine to run?

Prepare your own modification for Omnia?

I just tried it, the kernel included in debian-installer-11-netboot-armhf boots just fine.

2 Likes

Debian on Omnia, I was not aware of that. It looks advanced. Does anyone have tar.gz snapshot backup that could be easily imported into omnia btrfs filesystem ? That would be supercool.

It seems like the alpine kernel does not have the required kconfig options set.

@Pepe where can I find which kernel config options are required to get the omnia to work?

Booting is not same as working.

1 Like

OpenSuse on Omnia

https://en.opensuse.org/HCL:Turris_Omnia

1 Like

Does the new uboot (TOS6.0) support USB boot?

Most of the online instructions mentioned USB boot as not available.

USB boot works fine on U-Boot 2019.07

1 Like

No, it’s been postponed again, but you can update it manually. Check your u-boot version first.