<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi, <br>
<br>
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.<br>
<br>
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<br>
Determining gadget configuration<br>
Partitioning...<br>
Formatting...<br>
Mounting...<br>
Provisioning...<br>
Installing
/home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap<br>
Unmounting...<br>
<font color="#ff0000"><b>/home/yann/dev/snappy/1604/packages/images/../paros_gadget/paros_1.0_all.snap
failed to install: exit status 2</b></font><b><br>
</b><br>
yann@imperium:~/dev/snappy/1604/packages/paros_kernel$ ls<br>
linux-x1 linux.config paros-kernel_3.10.67_arm64.snap parts
snap snapcraft.yaml squashfs-root stage<br>
yann@imperium:~/dev/snappy/1604/packages/paros_kernel$ cat
snapcraft.yaml <br>
name: paros-kernel<br>
version: 3.10.67<br>
summary: A Paros kernel built from source<br>
description: This is the reference kernel for Paros<br>
type: kernel<br>
<br>
parts:<br>
kernel:<br>
plugin: kernel<br>
source: ./linux-x1<br>
kconfigfile: ./linux.config<br>
kconfigs:<br>
- CONFIG_LOCALVERSION="-paros"<br>
- CONFIG_DEBUG_INFO=n<br>
- CONFIG_SQUASHFS=y<br>
kernel-image-target: Image<br>
kernel-image-path: arch/arm64/boot/Image<br>
kernel-device-tree:<br>
- tegra210-mk4-hw00<br>
- tegra210-paros-hw00<br>
- tegra210-paros360-hw00<br>
- tegra210-jetson-tx1-p2597-2180-a01-devkit<br>
- tegra210-jetson-tx1-mk4<br>
- tegra210-jetson-tx1-paros<br>
- tegra210-jetson-e-base-p2595-0000-a00<br>
build-packages: [bc]<br>
<br>
yann@imperium:~/dev/snappy/1604/packages/paros_gadget$ find .<br>
.<br>
./uboot.env<br>
./tegra210-paros-hw00.dtb<br>
./meta<br>
./meta/snap.yaml<br>
./paros_1.0_all.snap<br>
yann@imperium:~/dev/snappy/1604/packages/paros_gadget$ cat
meta/snap.yaml <br>
name: paros<br>
version: 1.0<br>
summary: Paros support package<br>
description: Support files for booting Paros<br>
type: gadget<br>
<br>
branding:<br>
name: Paros drone<br>
<br>
gadget:<br>
hardware:<br>
platform: tegra210-paros-hw00<br>
architecture: armhf<br>
partition-layout: minimal<br>
bootloader: u-boot<br>
boot-assets:<br>
files:<br>
- path: uboot.env<br>
<br>
<br>
Any idea?<br>
<br>
Thanks!<br>
<br>
-- <br>
Yann<br>
</body>
</html>