| 15:02 | topi` | Artox: do you think it would be possible to have Ubuntu Core on the Cloudfog? |
| 15:02 | topi` | my colleagues want transactional updates; ubuntu core would deliver it today |
| 15:05 | topi` | I found a news article from last May that says "Ubuntu Core runs on NXP/Freescale i.MX 6 at NXP FTF" |
| 15:05 | topi` | Read more: http://news.softpedia.com/news/canonical-to-showcase-ubuntu-core-on-nxp-freescale-i-mx-6-hikey-at-oscon-2016-504157.shtml#ixzz4QeUSUvHH |
| 15:05 | topi` | I wonder what kind of work needs to be done to run that on the Marvell 388? |
| 15:28 | rabeeh | no work? |
| 15:35 | topi` | I guess I have to read up the differences between ubuntu core and regular ubuntu |
| 15:35 | topi` | I know there is a slightly more complicated bootloader |
| 15:36 | bencoh | huh? |
| 15:36 | rabeeh | ? |
| 15:36 | rabeeh | bootloader? |
| 15:36 | rabeeh | i thought you can use uboot and kernel 4.4.8 as-is |
| 15:36 | rabeeh | or upstream if you want |
| 15:42 | wbx | i can confirm that upstream u-boot works. but the config is minimal so no boot.script support by default. |
| 15:43 | wbx | 2016.09, haven't updated yet to 2016.11 |
| 15:43 | agraf | wbx: if you encounter a system that doesn't have a working default boot script, please move it to distro boot in upstream u-boot |
| 15:43 | agraf | wbx: that also gets you efi boot automatically ;) |
| 15:43 | agraf | and boot.scr of course |
| 15:46 | wbx | agraf: yeah, i included the distro headers, but didn't tried yet the results. |
| 15:46 | agraf | wbx: you need to set CONFIG_DISTRO_DEFAULTS too |
| 15:46 | agraf | wbx: preferably automatically via kconfig magic |
| 15:46 | wbx | okay, thx for the hint. will update u-boot first and check. |
| 15:46 | agraf | wbx: let me dig out a patch that enables distro |
| 15:47 | agraf | wbx: https://patchwork.ozlabs.org/patch/695928/ |
| 15:47 | wbx | not sure if there where any changes in clearfog in upstream in the meanwhile. |
| 15:47 | agraf | wbx: just follow the same scheme for whatever board you have there - i didn't quite grasp which one you were talking about :) |
| 15:47 | agraf | ah, clearfog |
| 15:47 | agraf | wbx: I don't know, but that should be easy to find out :) |
| 15:48 | topi` | bencoh: probably there is some kind of UBOOT script that implements the actual kernel switching in Ubuntu Core |
| 15:48 | topi` | but there *is* kernel switching logic, in case the new(updated) kernel fails to boot |
| 15:50 | bencoh | you mean, some script to check if bootm failed? |
| 15:51 | topi` | yeah I remember reading about the actual mechanism |
| 15:51 | agraf | wbx: keep in mind to also set the default variables in the environment |
| 15:51 | topi` | should ask the Ubuntu guys how it works |
| 15:51 | agraf | wbx: otherwise the scripts won't know where to load their binaries |
| 15:52 | wbx | agraf: okay, thx for the hints. i think i will start working on clearfog later tonight. |
| 15:52 | agraf | wbx: awesome :) thanks! |
| 15:53 | agraf | wbx: the main reason I'm interested in pushing people to distro boot is the efi enablement |
| 15:53 | agraf | wbx: we're slowly transitioning to grub2 boot on all arm systems for openSUSE |
| 15:53 | agraf | wbx: that way we can get rid of all the boot.scr mess and use the same logic throughout all architectures |
| 15:55 | wbx | but when you are moving to grub2, why you need u-boot then?! |
| 15:55 | agraf | wbx: because u-boot provides the interface to hardware for grub2 |
| 15:56 | agraf | wbx: https://events.opensuse.org/conference/oSC16/program/proposal/946 |