Bug#858572: [Pkg-raspi-maintainers] Bug#858572: raspi3-firmware: Typo in config.txt's initramfs directive prevents boot

2017-03-24 Thread Val Lorentz
Nevermind.
Any combination of {.deb's firmware,
https://github.com/Hexxeh/rpi-firmware} and {space, equal sign} work; I
must have messed up somewhere when doing my tests yesterday.

Could you close this bug report?



signature.asc
Description: OpenPGP digital signature


Bug#858572: [Pkg-raspi-maintainers] Bug#858572: raspi3-firmware: Typo in config.txt's initramfs directive prevents boot

2017-03-23 Thread Val Lorentz


On 23/03/2017 23:14, Michael Stapelberg wrote:
> Not sure I understand the reasoning. You’re maintaining a build script
> (which isn’t packaged in Debian, I assume) so that you don’t have to use
> the result of our build script (which aims to be packaged in Debian
> eventually)?

Yes, because your build script was not public when I started working on
mine.

> Most of the files in
> https://people.debian.org/~stapelberg/raspberrypi3/2017-03-22/ are not yet
> packaged (but will eventually be), so yes.

Oh, that's new. I did not know about that subdir when I opened the bug.
And it has a build script now, so I will likely use yours from now on.

> The package hasn’t been built yet, if I interpret
> https://buildd.debian.org/status/package.php?p=raspi3-firmware=experimental
> correctly. You can get a pre-built version from
> https://people.debian.org/~stapelberg/raspberrypi3/2017-03-22/, or build
> one yourself (the source is in experimental).

Cool, thanks.



signature.asc
Description: OpenPGP digital signature


Bug#858572: [Pkg-raspi-maintainers] Bug#858572: raspi3-firmware: Typo in config.txt's initramfs directive prevents boot

2017-03-23 Thread Michael Stapelberg
On Thu, Mar 23, 2017 at 11:04 PM, Val Lorentz  wrote:

>
>
> On 23/03/2017 22:42, Michael Stapelberg wrote:
> > • The space is intentional. This is how the option is parsed.
>
> Why is it an equal sign for other options, but not for this one?
>

Don’t ask me :). This is just how the proprietary firmware works.


>
> > • The preview image referenced at https://wiki.debian.org/RaspberryPi3
> boots
> > for me. Are you using the preview image?
>
> No, because I prefer to limit the number of binary downloads outside
> Debian's repo.
> So instead I'm writing my own build script based on
> https://github.com/niklasf/build-raspbian-image


Not sure I understand the reasoning. You’re maintaining a build script
(which isn’t packaged in Debian, I assume) so that you don’t have to use
the result of our build script (which aims to be packaged in Debian
eventually)?


>
>
> > Are you using it on a Raspberry Pi 3 (no other version is supported)?
>
> Yes.
>
> > The raspi3-firmware package is supposed to be used with the preview
> image.
>
> Is there anything in the preview image that is not available in a Debian
> package in the official repos?
>

Most of the files in
https://people.debian.org/~stapelberg/raspberrypi3/2017-03-22/ are not yet
packaged (but will eventually be), so yes.


>
> > • You’re reporting a bug against an older version of the firmware
> package.
> > Why? The latest 2017-03-22 preview image uses the 1.20170317-3 firmware
> > package.
>
> The version in Debian's repos is 1.20161123-2, and I can't find
> 1.20170317-3 anywhere
> (https://packages.debian.org/experimental/raspi3-firmware is a 404).
>

The package hasn’t been built yet, if I interpret
https://buildd.debian.org/status/package.php?p=raspi3-firmware=experimental
correctly. You can get a pre-built version from
https://people.debian.org/~stapelberg/raspberrypi3/2017-03-22/, or build
one yourself (the source is in experimental).


>
> However, bootcode.bin, fixup*.dat, and start*.elf are installed using
> https://github.com/Hexxeh/rpi-update after raspi3-firmware, so the issue
> may come from them being are newer than those in raspi3-firmware.
>
> I will try soon to build an image without rpi-update and tell you what
> happens.
>

Better yet: try comparing the boot partition contents of the preview image
and your result. I can’t spend too much time on non-supported
configurations, so any step you take to diagnosing this issue will result
in a higher chance of it actually getting fixed.


-- 
Best regards,
Michael


Bug#858572: [Pkg-raspi-maintainers] Bug#858572: raspi3-firmware: Typo in config.txt's initramfs directive prevents boot

2017-03-23 Thread Val Lorentz


On 23/03/2017 22:42, Michael Stapelberg wrote:
> • The space is intentional. This is how the option is parsed.

Why is it an equal sign for other options, but not for this one?

> • The preview image referenced at https://wiki.debian.org/RaspberryPi3 boots
> for me. Are you using the preview image?

No, because I prefer to limit the number of binary downloads outside
Debian's repo.
So instead I'm writing my own build script based on
https://github.com/niklasf/build-raspbian-image

> Are you using it on a Raspberry Pi 3 (no other version is supported)?

Yes.

> The raspi3-firmware package is supposed to be used with the preview image.

Is there anything in the preview image that is not available in a Debian
package in the official repos?

> • You’re reporting a bug against an older version of the firmware package.
> Why? The latest 2017-03-22 preview image uses the 1.20170317-3 firmware
> package.

The version in Debian's repos is 1.20161123-2, and I can't find
1.20170317-3 anywhere
(https://packages.debian.org/experimental/raspi3-firmware is a 404).

However, bootcode.bin, fixup*.dat, and start*.elf are installed using
https://github.com/Hexxeh/rpi-update after raspi3-firmware, so the issue
may come from them being are newer than those in raspi3-firmware.

I will try soon to build an image without rpi-update and tell you what
happens.



signature.asc
Description: OpenPGP digital signature


Bug#858572: [Pkg-raspi-maintainers] Bug#858572: raspi3-firmware: Typo in config.txt's initramfs directive prevents boot

2017-03-23 Thread Michael Stapelberg
On Thu, Mar 23, 2017 at 9:07 PM, Valentin Lorentz 
wrote:

> Package: raspi3-firmware
> Version: 1.20161123-2
>
> Hi,
>
> postinst.d/raspi3-firmware fills config.txt with this template:
>
> device_tree=${latest_dtb_basename}
> kernel=${latest_kernel_basename}
> # For details on the initramfs directive, see
> # https://www.raspberrypi.org/forums/viewtopic.php?f=63=10532
> initramfs ${latest_initrd_basename}
>
> in the last line, there is a space between initramfs and the actual
> value, which prevents the bootloader from loading Linux, resulting in
> the Rainbow Screen.


I’m not sure what to make of this report:

• The space is intentional. This is how the option is parsed.

• The preview image referenced at https://wiki.debian.org/RaspberryPi3 boots
for me. Are you using the preview image? If yes, did you change anything?
Are you using it on a Raspberry Pi 3 (no other version is supported)? If
not, why not? The raspi3-firmware package is supposed to be used with the
preview image.

• You’re reporting a bug against an older version of the firmware package.
Why? The latest 2017-03-22 preview image uses the 1.20170317-3 firmware
package.

-- 
Best regards,
Michael