edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

edison-image: generate hddimg #14

Closed htot closed 6 years ago

htot commented 6 years ago

flashall expects hddimg containin boot (live) image

Signed-off-by: Ferry Toth ftoth@exalondelft.nl

htot commented 6 years ago

@alext-mkrs Would you have time to look at this? I does not exactly do what I expected, possible I deleted to many var's in the recipe. At least it does generate a hddimg. To the files inside (this is a note to self):

sudo losetup --partscan --find --show edison-image-edison.hddimg
sudo mount /dev/loop3 /mnt

(to remote, umount and losetup -d /dev/loop3)

It contains:

ferry@delfion:~/tmp/edison-intel/my/edison-morty/meta-intel-edison$ ls -l /mnt
totaal 10358
-rw-r--r-- 1 ferry ferry 2984828 dec 24 15:10 initrd
-r--r--r-- 1 ferry ferry  122308 dec 24 15:10 ldlinux.c32
-r--r--r-- 1 ferry ferry   69632 dec 24 15:10 ldlinux.sys
-rw-r--r-- 1 ferry ferry  186500 dec 24 15:10 libcom32.c32
-rw-r--r-- 1 ferry ferry   24148 dec 24 15:10 libutil.c32
-rw-r--r-- 1 ferry ferry     652 dec 24 15:10 syslinux.cfg
-rw-r--r-- 1 ferry ferry   27104 dec 24 15:10 vesamenu.c32
-rw-r--r-- 1 ferry ferry 7183184 dec 24 15:10 vmlinuz

I expected a kernel with built-in initramfs, but this gives vmlinuz with initrd. Not sure if this works.

alext-mkrs commented 6 years ago

I'll try to take a look tomorrow and if that doesn't work out, then the next opportunity would be Saturday as I'll be away from my dev host for several days.

htot commented 6 years ago

No rush. Also tried to add you as collaborator, gh waiting for response

alext-mkrs commented 6 years ago

So I've analyzed this one and as I didn't want to push directly to this PR's branch, to avoid losing history of your proposal, here's a separate PR for the hddimg part: https://github.com/htot/meta-intel-edison/pull/15. The bluetoothctl one LGTM.

htot commented 6 years ago

Taking yours and closing this one. Thanks.