Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-05-28 Thread Reco
Hi.

On Thu, May 28, 2020 at 12:48:47AM -0500, Gunnar Wolf wrote:
> Reco dijo [Sun, Apr 26, 2020 at 01:29:13PM +0300]:
> > > There is a very minor issue with the 0/1 image (which I intend to fix 
> > > now).
> > 
> > There are two, actually:
> > 
> > 1) /etc/network/interfaces.d/eth0 has a hook to load netfilter rules,
> > but the appropriate files are missing:
> > 
> > pre-up iptables-restore < /etc/iptables/rules.v4
> > pre-up ip6tables-restore < /etc/iptables/rules.v6
> 
> I have fixed this, current images will not have this issue anymore.

Thank you, I appreciate the work you're doing.

> 
> > 2) An attempt to launch agetty on ttyS1 (which should be uart console
> > according to /proc/cmdline) fails with:
> > 
> > agetty[655]: /dev/ttyS1: not a tty
> 
> G... I have to fix this one soon! I'm too tired right now,
> but... Will fix it soon. Promise.

That one's tricky. For the kernel, it's actually AMA0, but
rapsi3-firmware sets it to ttyS1 in the kernel postinst kernel script.
Currently I rely on my own hackish postinst kernel script that sets
ttyAMA0 back in /boot/firmware/cmdline.txt.

Reco



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-05-27 Thread Gunnar Wolf
Yves Caniou dijo [Sat, Apr 25, 2020 at 04:55:01PM +0200]:
> Hello Gunnar
> 
> Thank you for your answer.
> I'm wondering: how do you check the image? SDCard burned and PI2 booted,
> or via virt-manager or similar?
> 
> I've tried your image, and I have the exact experience than previously:
> both leds are lighted, nothing on the screen, nothing on minicom, no
> light for the network if :/

Nope, I test on the real hardware. Plus, one of my machines (Pi2) is
slightly broken (bent mmc connector), so it's quite flaky...

That is the main reason I am making two sets of images available --
The daily built ones are _not_ tested on real hardware, and the tested
ones are.



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-05-27 Thread Gunnar Wolf
Reco dijo [Sun, Apr 26, 2020 at 01:29:13PM +0300]:
> > There is a very minor issue with the 0/1 image (which I intend to fix now).
> 
> There are two, actually:
> 
> 1) /etc/network/interfaces.d/eth0 has a hook to load netfilter rules,
> but the appropriate files are missing:
> 
> pre-up iptables-restore < /etc/iptables/rules.v4
> pre-up ip6tables-restore < /etc/iptables/rules.v6

I have fixed this, current images will not have this issue anymore.

> 2) An attempt to launch agetty on ttyS1 (which should be uart console
> according to /proc/cmdline) fails with:
> 
> agetty[655]: /dev/ttyS1: not a tty

G... I have to fix this one soon! I'm too tired right now,
but... Will fix it soon. Promise.



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-05-01 Thread Gunnar Wolf
Yves Caniou dijo [Fri, May 01, 2020 at 07:32:58PM +0200]:
> Hi
> 
> The image 20200430 is booting and goes to the prompt.
> Yet a minicom doesn't show anything.
> Network is not up at login, root has to make "dhclient -v eth0" to get
> registered.

I understand it _does_ start the network, will check... At least, I
added a configuration much like eth0 to my RPi3's wlan0, and it does
get an IP. Wait - It does refer some nonexistent files I deprecated as
they are not needed. I will... look into it.

> Would it be possible to have things like console-setup directly
> installed? -- all people don't have a qwerty keyboard.
> And things like bash-completion would be nice.

I prefer to keep it as minimal as possible. Installing those packages
is trivial, and... well, every user will want "just" a package or two
more. So I'll stick to keeping it as minimal as possible.



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-05-01 Thread Yves Caniou
Hi

The image 20200430 is booting and goes to the prompt.
Yet a minicom doesn't show anything.
Network is not up at login, root has to make "dhclient -v eth0" to get
registered.

Would it be possible to have things like console-setup directly
installed? -- all people don't have a qwerty keyboard.
And things like bash-completion would be nice.

Glad to have a debian up. Thanks!

.Y

Le 26/04/2020 à 09:44, Yves Caniou a écrit :
> Le 26/04/2020 à 05:23, Gunnar Wolf a écrit :
>> Yves Caniou dijo [Sat, Apr 25, 2020 at 04:55:01PM +0200]:
>>> Hello Gunnar
>>>
>>> Thank you for your answer.
>>> I'm wondering: how do you check the image? SDCard burned and PI2 booted,
>>> or via virt-manager or similar?
>>
>> Short answer is -- I don't. That's why I want to save and report
>> a set of GPG-signed known-good images. I just build them with a setup
>> I know that has worked, and... have to check often.
>>
>> I have my time currently time-limited due to being quarantined; I have
>> my Raspberries of different generations, but have not been able to
>> test as I would like. I did test and boot my RPi2, but have not
>> checked on its hardware support.
>>
>>> I've tried your image, and I have the exact experience than previously:
>>> both leds are lighted, nothing on the screen, nothing on minicom, no
>>> light for the network if :/
>>
>> Oh, that's worrying - Either for me (bad images) or for you (bad
>> hardware) ☹
> 
> True. Yet, as I mentionned in my first message, "Same
> hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
> images are working.". So I'm puzzled with this line "I did test and boot
> my RPi2, but have not checked on its hardware support.".
> I have troubles to understand how the same image would make one Pi2 boot
> and not an other one, but I'm not a u-boot pro.
> 
> I tried the 18.04 LTS before my first message, but Ubuntu released the
> 20.04 LTS a few days ago. I might get along with it.
> 
> Thanks, and courage with quarantine (same here).
> Cheers,
> 
> .Y
> 



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-27 Thread Gilles Risch

On 4/26/20 12:29, Reco wrote:

Hi.

On Fri, Apr 24, 2020 at 10:21:04AM -0500, Gunnar Wolf wrote:

There is a very minor issue with the 0/1 image (which I intend to fix now).

There are two, actually:

1) /etc/network/interfaces.d/eth0 has a hook to load netfilter rules,
but the appropriate files are missing:

 pre-up iptables-restore < /etc/iptables/rules.v4
 pre-up ip6tables-restore < /etc/iptables/rules.v6

2) An attempt to launch agetty on ttyS1 (which should be uart console
according to /proc/cmdline) fails with:

agetty[655]: /dev/ttyS1: not a tty

Reco





Autopedestres__Roedgen(1).gpx
Description: application/gpx


Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-26 Thread Reco
Hi.

On Fri, Apr 24, 2020 at 10:21:04AM -0500, Gunnar Wolf wrote:
> There is a very minor issue with the 0/1 image (which I intend to fix now).

There are two, actually:

1) /etc/network/interfaces.d/eth0 has a hook to load netfilter rules,
but the appropriate files are missing:

pre-up iptables-restore < /etc/iptables/rules.v4
pre-up ip6tables-restore < /etc/iptables/rules.v6

2) An attempt to launch agetty on ttyS1 (which should be uart console
according to /proc/cmdline) fails with:

agetty[655]: /dev/ttyS1: not a tty

Reco



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-26 Thread Yves Caniou
Le 26/04/2020 à 05:23, Gunnar Wolf a écrit :
> Yves Caniou dijo [Sat, Apr 25, 2020 at 04:55:01PM +0200]:
>> Hello Gunnar
>>
>> Thank you for your answer.
>> I'm wondering: how do you check the image? SDCard burned and PI2 booted,
>> or via virt-manager or similar?
> 
> Short answer is -- I don't. That's why I want to save and report
> a set of GPG-signed known-good images. I just build them with a setup
> I know that has worked, and... have to check often.
> 
> I have my time currently time-limited due to being quarantined; I have
> my Raspberries of different generations, but have not been able to
> test as I would like. I did test and boot my RPi2, but have not
> checked on its hardware support.
> 
>> I've tried your image, and I have the exact experience than previously:
>> both leds are lighted, nothing on the screen, nothing on minicom, no
>> light for the network if :/
> 
> Oh, that's worrying - Either for me (bad images) or for you (bad
> hardware) ☹

True. Yet, as I mentionned in my first message, "Same
hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
images are working.". So I'm puzzled with this line "I did test and boot
my RPi2, but have not checked on its hardware support.".
I have troubles to understand how the same image would make one Pi2 boot
and not an other one, but I'm not a u-boot pro.

I tried the 18.04 LTS before my first message, but Ubuntu released the
20.04 LTS a few days ago. I might get along with it.

Thanks, and courage with quarantine (same here).
Cheers,

.Y



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-25 Thread Gunnar Wolf
Yves Caniou dijo [Sat, Apr 25, 2020 at 04:55:01PM +0200]:
> Hello Gunnar
> 
> Thank you for your answer.
> I'm wondering: how do you check the image? SDCard burned and PI2 booted,
> or via virt-manager or similar?

Short answer is -- I don't. That's why I want to save and report
a set of GPG-signed known-good images. I just build them with a setup
I know that has worked, and... have to check often.

I have my time currently time-limited due to being quarantined; I have
my Raspberries of different generations, but have not been able to
test as I would like. I did test and boot my RPi2, but have not
checked on its hardware support.

> I've tried your image, and I have the exact experience than previously:
> both leds are lighted, nothing on the screen, nothing on minicom, no
> light for the network if :/

Oh, that's worrying - Either for me (bad images) or for you (bad
hardware) ☹

Greetings,



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-25 Thread Freek de Kruijf
Op vrijdag 24 april 2020 01:37:42 CEST schreef Yves Caniou:
> Hi,
> 
> I've been trying to install debian using debian-10.3.0-armhf-netinst.iso
> for a Pi2. The image is burned on the SDCard with a dd. The leds of the
> Pi2 show access to the SDCard, but nothing shows up on screen and minicom.
> Same hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
> images are working.
> It seems there is a problem with the image itself.
> 
> Cheers.
> 
> .Y

Hi Yves,

Burning an iso image on a SD card with dd gives a SD card with an iso 
filesystem on that card. The RPi2 however requires a SD card with a small 
partition with a FAT16 file system as a primary boot partition and another 
partition with a linux type file system for the main system. 

-- 
fr.gr.

Freek de Kruijf





Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-25 Thread Yves Caniou
Le 24/04/2020 à 17:21, Gunnar Wolf a écrit :
> Yves Caniou dijo [Fri, Apr 24, 2020 at 01:37:42AM +0200]:
>> Hi,
>>
>> I've been trying to install debian using debian-10.3.0-armhf-netinst.iso
>> for a Pi2. The image is burned on the SDCard with a dd. The leds of the
>> Pi2 show access to the SDCard, but nothing shows up on screen and minicom.
>> Same hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
>> images are working.
>> It seems there is a problem with the image itself.
> 
> Hello Yves,
> 
> I have made available installed, bootable images for the RPi family
> in:
> 
> https://raspi.debian.net/
> 
> I have not yet commented on it, but the image for the RPi 2 *is*
> checked, and works fine. There is a very minor issue with the 0/1
> image (which I intend to fix now).
> 

Hello Gunnar

Thank you for your answer.
I'm wondering: how do you check the image? SDCard burned and PI2 booted,
or via virt-manager or similar?

I've tried your image, and I have the exact experience than previously:
both leds are lighted, nothing on the screen, nothing on minicom, no
light for the network if :/



Re: Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-24 Thread Gunnar Wolf
Yves Caniou dijo [Fri, Apr 24, 2020 at 01:37:42AM +0200]:
> Hi,
> 
> I've been trying to install debian using debian-10.3.0-armhf-netinst.iso
> for a Pi2. The image is burned on the SDCard with a dd. The leds of the
> Pi2 show access to the SDCard, but nothing shows up on screen and minicom.
> Same hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
> images are working.
> It seems there is a problem with the image itself.

Hello Yves,

I have made available installed, bootable images for the RPi family
in:

https://raspi.debian.net/

I have not yet commented on it, but the image for the RPi 2 *is*
checked, and works fine. There is a very minor issue with the 0/1
image (which I intend to fix now).



Pi2 does not boot with debian-10.3.0-armhf-netinst.iso on SDCard

2020-04-23 Thread Yves Caniou
Hi,

I've been trying to install debian using debian-10.3.0-armhf-netinst.iso
for a Pi2. The image is burned on the SDCard with a dd. The leds of the
Pi2 show access to the SDCard, but nothing shows up on screen and minicom.
Same hardware/SDCard/ElectricSupply/method used with Raspbian and Ubuntu
images are working.
It seems there is a problem with the image itself.

Cheers.

.Y