<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-raspberrypi.git/classes, branch warrior</title>
<subtitle>Mirror of http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi</subtitle>
<id>https://git.enea.com/cgit/linux/meta-raspberrypi.git/atom?h=warrior</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/atom?h=warrior'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/'/>
<updated>2019-08-14T11:56:20+00:00</updated>
<entry>
<title>sdcard_image-rpi.bbclass: use -v for all mcopy calls and add bbfatal in case mcopy fails</title>
<updated>2019-08-14T11:56:20+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2019-07-30T19:41:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=eebcfc1ecaa0227d8125ab03f287f3c3bc1cb32d'/>
<id>urn:sha1:eebcfc1ecaa0227d8125ab03f287f3c3bc1cb32d</id>
<content type='text'>
* I have this in our layer for some time:
  RPI_KERNEL_DEVICETREE_OVERLAYS_append = " overlays/vc4-fkms-v3d.dtbo"
  because we're using vc4graphics also on raspberrypi3 and it was
  working fine until recently.

* now the default rpi-base.inc in warrior and master branch includes the same since:
  https://github.com/agherzan/meta-raspberrypi/commit/37aa050d5a44eb797540ef50408c2ca8e3da6fa0
  and do_image_rpi_sdimg started failing with a bit useless log:
  ...
  Partition Table: msdos
  Disk Flags:

  Number  Start   End     Size    Type     File system  Flags
   1      4194kB  46.1MB  41.9MB  primary               boot, lba
   2      46.1MB  1145MB  1099MB  primary

  mkfs.fat: warning - lowercase labels might not work properly with DOS or
  Windows
  mkfs.fat 4.1 (2017-01-24)
  WARNING: exit code 1 from a shell command.

* after adding -v to mcopy calls I got slightly better log:
  ...
  Copying w1-gpio-pullup.dtbo
  Copying w1-gpio.dtbo
  WARNING: exit code 1 from a shell command.

* the issue is that mcopy behavior in non-interactive shell is to fail
  when the target file already exists (sometimes it seems to cause mcopy
  to hang forever), but when you execute the run.do_image_rpi_sdimg
  script manually in interactive shell it will nicely show this prompt
  on stderr:
  $ dtb=vc4-fkms-v3d.dtbo recipe-sysroot-native/usr/bin/mcopy  -i boot.img -s BUILD/deploy/images/raspberrypi3/$dtb ::overlays/$dtb
    Long file name "vc4-fkms-v3d.dtbo" already exists.
    a)utorename A)utorename-all r)ename R)ename-all o)verwrite O)verwrite-all
    s)kip S)kip-all q)uit (aArRoOsSq): o

* with the bbfatal the log is finally a bit more useful:
  ...
  Copying w1-gpio-pullup.dtbo
  Copying w1-gpio.dtbo
  ERROR: mcopy cannot copy TOPDIR/BUILD/deploy/images/raspberrypi3/vc4-fkms-v3d.dtbo into boot.img
  WARNING: exit code 1 from a shell command.

* the only exception is FATPAYLOAD where it was ignoring mcopy with || true
  before, I've added bbwarn, because even issues like mentioned there
  "vfat issues like not supporting .~lock files" are probably worth
  reporting as warning (why would people add .~lock to FATPAYLOAD if
  it cannot be copied into boot.img)

Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi: Check for armstub based on machine feature</title>
<updated>2019-07-20T20:56:21+00:00</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2019-07-19T18:32:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=95d528b07a1a646f8a18407fbbb2ce5b57c49a00'/>
<id>urn:sha1:95d528b07a1a646f8a18407fbbb2ce5b57c49a00</id>
<content type='text'>
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi.bbclass: Use armstub machine feature</title>
<updated>2019-07-20T20:56:21+00:00</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2019-07-03T16:23:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=210cbd8f8f8f0efc2a71cdee81eca25e880b46ba'/>
<id>urn:sha1:210cbd8f8f8f0efc2a71cdee81eca25e880b46ba</id>
<content type='text'>
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi.bbclass: Fix typo</title>
<updated>2019-07-20T20:56:21+00:00</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2019-07-03T14:01:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=d3b780f941e1eea11ddad1e586096dcced65ae4e'/>
<id>urn:sha1:d3b780f941e1eea11ddad1e586096dcced65ae4e</id>
<content type='text'>
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi.bbclass: Include in the SD card image the armstub file</title>
<updated>2019-07-20T20:56:21+00:00</updated>
<author>
<name>Andrei Gherzan</name>
<email>andrei@gherzan.ro</email>
</author>
<published>2019-07-02T14:18:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=d15e62704999ebd4209128327efb31ec7257b0eb'/>
<id>urn:sha1:d15e62704999ebd4209128327efb31ec7257b0eb</id>
<content type='text'>
Signed-off-by: Andrei Gherzan &lt;andrei@gherzan.ro&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi : minor bug in use of FATPAYLOAD</title>
<updated>2019-07-20T20:56:21+00:00</updated>
<author>
<name>malus-brandywine</name>
<email>51343135+malus-brandywine@users.noreply.github.com</email>
</author>
<published>2019-06-04T22:07:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=510f7c8672d6502d9be9eae2551c6f9373e1e355'/>
<id>urn:sha1:510f7c8672d6502d9be9eae2551c6f9373e1e355</id>
<content type='text'>
Double quotation marks were added around FATPAYLOAD to prevent parsing error when FATPAYLOAD contains list of file names

Signed-off-by: Nataliya Korovkina &lt;malus.brandywine@gmail.com&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi: Format boot partition as FAT32</title>
<updated>2019-02-19T13:41:28+00:00</updated>
<author>
<name>Richard Osterloh</name>
<email>richard.osterloh@gmail.com</email>
</author>
<published>2019-02-14T12:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=ba54962bcee3dc6064961d378790e532688c31e7'/>
<id>urn:sha1:ba54962bcee3dc6064961d378790e532688c31e7</id>
<content type='text'>
Closes: #382

Signed-off-by: Richard Osterloh &lt;richard.osterloh@gmail.com&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi.bbclass: Remove SDIMG_COMPRESSION</title>
<updated>2018-12-12T16:23:32+00:00</updated>
<author>
<name>Iurii Lunev</name>
<email>koolkhel@mail.ru</email>
</author>
<published>2018-12-11T10:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=7f10b74dc8ecb71671c60e8cdc14674519399a90'/>
<id>urn:sha1:7f10b74dc8ecb71671c60e8cdc14674519399a90</id>
<content type='text'>
Using SDIMG_COMPRESSION variable to choose compression type for
produced images is deprecated. IMAGE_FSTYPES should be used instead.
This patch removes any response to SDIMG_COMPRESSION within
sdcard_image-rpi.bbclass

Signed-off-by: Iurii Lunev &lt;koolkhel@mail.ru&gt;
</content>
</entry>
<entry>
<title>sdcard_image-rpi: fix kernel artifacts variables</title>
<updated>2018-09-07T12:01:51+00:00</updated>
<author>
<name>Laurent Bonnans</name>
<email>laurent.bonnans@here.com</email>
</author>
<published>2018-09-03T16:21:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=165bdf89749c89a542593d3f859ef460124ba40f'/>
<id>urn:sha1:165bdf89749c89a542593d3f859ef460124ba40f</id>
<content type='text'>
${INITRAMFS_SYMLINK_NAME} has been changed to ${INITRAMFS_LINK_NAME} in
poky's commit f09947586c5c2c05368651838fea970808ab161d
</content>
</entry>
<entry>
<title>sdcard_image-rpi.bbclass: allow to easily deploy vfat partition even for non u-boot case</title>
<updated>2018-07-16T15:54:32+00:00</updated>
<author>
<name>Martin Jansa</name>
<email>Martin.Jansa@gmail.com</email>
</author>
<published>2018-07-11T14:05:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-raspberrypi.git/commit/?id=52255ae3afa2d6720aceb4b20130f126768920ef'/>
<id>urn:sha1:52255ae3afa2d6720aceb4b20130f126768920ef</id>
<content type='text'>
Signed-off-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
</content>
</entry>
</feed>
