Hi Guys, We're now porting Ubuntu Core to an ARM64 on-chip computer, Bubblegum-96 board. (http://www.96boards.org/product/bubblegum-96/) Here are some issues we got.
When using ubuntu-image (tag:0.10+real 1 stable), *$ sudo /snap/bin/ubuntu-image --channel stable --image-size 2G --extra-snaps bubblegum96-gadget_16.04-1.1_arm64.snap --extra-snaps bubblegum96-kernel_3.10.0_arm64.snap -o bubblegum96.img bubblegum96.model* it could make valid image,bubblegum96.img. After update ubuntu-image using command *$ sudo snap refresh --beta --devmode ubuntu-image*, the ubuntu-image will be updated to beta (tag: 0.12+real 1). We using command $ sudo /snap/bin/ubuntu-image --channel beta --image-size 2G --extra-snaps bubblegum96-gadget_16.04-1.1_arm64.snap --extra-snaps bubblegum96-kernel_3.10.0_arm6*4.snap -o bubblegum96.img bubblegum96.model *again, and it will report failure. It shows "gadget.yaml parse error: mbr structures cannot be larger than 446 bytes." The gadget.yaml file is the same before and after update ubuntu-image. Here it is: $ cat gadget.yaml device-tree: s900-96board.dtb volumes: lemaker-guitar: schema: mbr bootloader: u-boot structure: - name: Bootstrap type: mbr size: 8M content: - image: bootloader.bin offset: 2097664 - image: u-boot.bin offset: 3145728 - type: 0C filesystem: vfat filesystem-label: system-boot offset: 8388608 size: 128M content: - source: boot-assets/ target: / If we change the size: 8M directly to size:440, the image we made will be useless. Actually I don't know how to config offset after change the size. If we change the schema: mbr directly to schema: gpt, and change the type: mbr to type: gpt, it will fail again, and shows "gadget.yaml parse error: Invalid gadget.yaml @ volumes:lemaker-guitar:structure:0:type" I'd appreciate it a lot if there is anyone could help us with this. Thanks&&Best Regards -- 董波 uCRobotic Mobile: +86 15624957162 http://www.ucrobotics.com.cn/
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft