[opensuse-arm] pxe

hay opensuse arm team/mailing list i have 3 raspberry pi's 1 b and 2 b+. i am running rasbian on 2 of those true pxe nfs boot without sd card... i woud love to run the 3e one on opensuse. i now there is now out of the box solution and for now i diddent find a way to get it gowing. starting kernel and then the divice hangs is how far i got. so my quistion is how can i help and how far are we whit pxe arm opensuse... and a more importend cuastion is how and where can i join in to help/test etc.... thanks for the all the work Grts Thierry Reijnhout NL http://openhoofd.nl trijenhout@hotmail.com N�����r��y隊Z)z{.�櫛맲��r��z�^�ˬz��N�(�֜��^� ޭ隊Z)z{.�櫛�0�����Ǩ�

Hi Thierry, On 07/06/2019 18:10, Thierry Reijnhout wrote:
the opensuse boot flow is a bit different to raspbian. We first boot u-boot, then we boot grub and grub boots the kernel + initrd. I'm not sure if you tried to PXE boot from u-boot or from grub (or from the boot ROM?). Anyway it would be helpfull if you provide more information about what you did and what happened. E.g. PXE boot configuration you are using, pastebin the kernel log to show us what happened etc. My first guess is, that you just loaded the kernel, but not the initrd, so you are missing half of it. Regards, Matthias
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

On Fri, 14 Jun 2019 21:25:57 +0200 Matthias Brugger <mbrugger@suse.com> wrote:
Boot without SD card needs PXE from boot rom. u-boot and grub is on the SD card otherwise. I suspect our u-boot would need to be reconfigured to load grub from network. Thanks Michal -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

Am 14.06.19 um 21:46 schrieb Michal Suchánek:
I suspect our u-boot would need to be reconfigured to load grub from network.
Upstream U-Boot is already configured to fall back to network if there's no bootable files on SD or USB. Yes, we can construct situations where that would break, but let's start easy... For the 3B+ it may be necessary to use an updated u-boot-rpi3 binary from the :Update channel rather than from original Leap 15.0 release. Symptoms would be unreliable TFTP transmissions. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

On Fri, 14 Jun 2019 23:36:53 +0200 Andreas Färber <afaerber@suse.de> wrote:
Yes, it is possible to enforce PXE network boot even when an SD card is inserted. The firmware continues booting from the network in that case. FWIW the boot ROM indicates the chosen boot method by storing some status values in the mailbox registers (totally undocumented, of course), but I'm not sure whether the firmware makes use of them, or if they re-implement the boot ROM logic. So, yes, let's start easy. Petr T

Hi Thierry, On 07/06/2019 18:10, Thierry Reijnhout wrote:
the opensuse boot flow is a bit different to raspbian. We first boot u-boot, then we boot grub and grub boots the kernel + initrd. I'm not sure if you tried to PXE boot from u-boot or from grub (or from the boot ROM?). Anyway it would be helpfull if you provide more information about what you did and what happened. E.g. PXE boot configuration you are using, pastebin the kernel log to show us what happened etc. My first guess is, that you just loaded the kernel, but not the initrd, so you are missing half of it. Regards, Matthias
-- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

On Fri, 14 Jun 2019 21:25:57 +0200 Matthias Brugger <mbrugger@suse.com> wrote:
Boot without SD card needs PXE from boot rom. u-boot and grub is on the SD card otherwise. I suspect our u-boot would need to be reconfigured to load grub from network. Thanks Michal -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

Am 14.06.19 um 21:46 schrieb Michal Suchánek:
I suspect our u-boot would need to be reconfigured to load grub from network.
Upstream U-Boot is already configured to fall back to network if there's no bootable files on SD or USB. Yes, we can construct situations where that would break, but let's start easy... For the 3B+ it may be necessary to use an updated u-boot-rpi3 binary from the :Update channel rather than from original Leap 15.0 release. Symptoms would be unreliable TFTP transmissions. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Mary Higgins, Sri Rasiah HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org

On Fri, 14 Jun 2019 23:36:53 +0200 Andreas Färber <afaerber@suse.de> wrote:
Yes, it is possible to enforce PXE network boot even when an SD card is inserted. The firmware continues booting from the network in that case. FWIW the boot ROM indicates the chosen boot method by storing some status values in the mailbox registers (totally undocumented, of course), but I'm not sure whether the firmware makes use of them, or if they re-implement the boot ROM logic. So, yes, let's start easy. Petr T
participants (6)
-
Andreas Färber
-
Matthias Brugger
-
Michal Suchánek
-
Per Jessen
-
Petr Tesarik
-
Thierry Reijnhout