=== charles_ is now known as charles | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== doko_ is now known as doko | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
ndec | hi ogra_ ! long time ;-) i was reading about the snappy thing for arm. are there instructions/wiki to create my own snappy images for a custom board? i haven't followed closely the recent 'core' changes, so i might not be familiar with how images are built now. | 12:36 |
---|---|---|
ogra_ | ndec, not yet, i'm workin on that | 12:39 |
ndec | ogra_: ok. good. do you know what 'format' or output we will be able to generate for a custom board? could i build a rootfs and use that only? | 12:42 |
ogra_ | no, you cant modify the rootfs easily | 12:42 |
ogra_ | you use the pre-created rootfs with your own kernel,dtb and modules dir | 12:43 |
ndec | i don't need to modify it, just want to be able to use it with my board. | 12:43 |
ogra_ | right | 12:43 |
ogra_ | http://people.canonical.com/~ogra/snappy/ninjasphere/README | 12:43 |
ndec | ah, nice. do these commands work from a container (systemd-nspwan) or chroot? | 12:44 |
ogra_ | i'm working on a scriopt that allows ypou to easily hand over a kernel, dtb, modules dir and uEnv.txt to it which will then spit out a working device tarball that you can use with the process from the README | 12:44 |
ndec | well i don't even have uboot on my boards ;-0 | 12:44 |
ogra_ | oh, then it wont work | 12:46 |
ogra_ | we dont have support for other bootloaders yet | 12:46 |
ogra_ | only grub and u-boot | 12:47 |
ndec | what do you need from bootloader? | 12:47 |
ogra_ | izt needs to be able to switch the root target back and forth, as well as the storage dir of the kernel and initrd | 12:47 |
ogra_ | for the rollback functionality | 12:47 |
ogra_ | (and upgrades etc etc) | 12:48 |
ndec | izt? | 12:48 |
ogra_ | to achieve that it also needs to be able to touch a file and read from another file | 12:48 |
ogra_ | *it | 12:48 |
ndec | ;) | 12:48 |
ndec | ogra_: can i at least 'get' the rootfs without making an image? | 12:51 |
ogra_ | well | 12:53 |
ogra_ | the whole magic to atually create an image lives inside ubuntu-device-flash | 12:54 |
ogra_ | you can indeed pull the rootfs from systzem-image.ubuntu.com but that wont get you anywhere i fear | 12:54 |
ogra_ | *system-image | 12:54 |
ogra_ | ubuntu-device-flash essantially does all the snappy specific magic when merging rootfs and device tarball | 12:55 |
ogra_ | like the dual partition layout, writable and readonly bits, bootloader setup etc | 12:56 |
ogra_ | does your bootloader support something like uEnv.txt ? | 12:59 |
ogra_ | (and setting/reading variables ... and touching or writing files) | 12:59 |
ndec | ogra_: ok. i will try to use the BBB image and see what i can do with it... | 13:05 |
ndec | thanks! | 13:05 |
=== chihchun is now known as chihchun_afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!