El 29/03/16 a las 10:04, Yann Sionneau escribió: > Hi Sergio, > > Thanks for your help! > Answers inline: > > Le 03/28/2016 03:32 PM, Sergio Schvezov a écrit : > > > > El 24/03/16 a las 13:47, Yann Sionneau escribió: > >> Hi, > >> > >> I'm trying to generate a snappy image and it fails, I tried to > strace it > >> but I'm a bit flooded by the strace logs and don't understand what's > >> going wrong. > >> > >> yann@imperium:~/dev/snappy/1604/packages/images$ sudo > >> ./ubuntu-device-flash -v core -o paros.img > >> --gadget=$PWD/../paros_gadget/paros_1.0_all.snap > >> --kernel=$PWD/../paros_kernel/paros-kernel_3.10.67_arm64.snap > >> --os=../../xenial-preinstalled-core-armhf.os.snap rolling > > Can you try adding --developer-mode here? > > Yes, It produces the same output. > > > And where did you grab this ubuntu-device-flash you are using? > I took it from there: > http://people.canonical.com/~mvo/all-snaps/ubuntu-device-flash > > > > >> Determining gadget configuration > >> Partitioning... > >> Formatting... > >> Mounting... > >> Provisioning... > >> Installing > >> > /home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap > >> Unmounting... > >> > */home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap > >> failed to install: exit status 2** > >> * > >> yann@imperium:~/dev/snappy/1604/packages/paros_kernel$ ls > >> linux-x1 linux.config paros-kernel_3.10.67_arm64.snap parts snap > >> snapcraft.yaml squashfs-root stage > >> yann@imperium:~/dev/snappy/1604/packages/paros_kernel$ cat > snapcraft.yaml > >> name: paros-kernel > >> version: 3.10.67 > >> summary: A Paros kernel built from source > >> description: This is the reference kernel for Paros > >> type: kernel > >> > >> parts: > >> kernel: > >> plugin: kernel > >> source: ./linux-x1 > >> kconfigfile: ./linux.config > >> kconfigs: > >> - CONFIG_LOCALVERSION="-paros" > >> - CONFIG_DEBUG_INFO=n > >> - CONFIG_SQUASHFS=y > >> kernel-image-target: Image > >> kernel-image-path: arch/arm64/boot/Image > >> kernel-device-tree: > >> - tegra210-mk4-hw00 > >> - tegra210-paros-hw00 > >> - tegra210-paros360-hw00 > >> - tegra210-jetson-tx1-p2597-2180-a01-devkit > >> - tegra210-jetson-tx1-mk4 > >> - tegra210-jetson-tx1-paros > >> - tegra210-jetson-e-base-p2595-0000-a00 > >> build-packages: [bc] > > Just for the kicks, can I see the file listing for the resulting snap? > > Either by running `unsquashfs -l` for the snap or running `find snap` > > from the project directory. > > yann@imperium:~/dev/snappy/1604/packages/paros_gadget$ unsquashfs -l > paros_1.0_all.snap > Parallel unsquashfs: Using 8 processors > 3 inodes (4 blocks) to write > > squashfs-root > squashfs-root/boot-assets > squashfs-root/boot-assets/uboot.env > squashfs-root/meta > squashfs-root/meta/snap.yaml > squashfs-root/tegra210-paros-hw00.dtb > > > >> yann@imperium:~/dev/snappy/1604/packages/paros_gadget$ find .
Of the kernel snap, not the gadget ;-) > >> . > >> ./uboot.env > >> ./tegra210-paros-hw00.dtb > >> ./meta > >> ./meta/snap.yaml > >> ./paros_1.0_all.snap > >> yann@imperium:~/dev/snappy/1604/packages/paros_gadget$ cat > meta/snap.yaml > >> name: paros > >> version: 1.0 > >> summary: Paros support package > >> description: Support files for booting Paros > >> type: gadget > >> > >> branding: > >> name: Paros drone > >> > >> gadget: > >> hardware: > >> platform: tegra210-paros-hw00 > >> architecture: armhf > >> partition-layout: minimal > >> bootloader: u-boot > >> boot-assets: > >> files: > >> - path: uboot.env > >> > >> > >> Any idea? > > I have some, but need more info :-) > > > >> Thanks! > >> > >> -- > >> Yann > >> > >> > > Cheers > > Sergio > > > > > > >
signature.asc
Description: OpenPGP digital signature
-- snappy-devel mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snappy-devel
