SoPine SPI booting
#21
Let me know if you get that built. I have switched to working on other projects in my spare time as I am a _bit_ frustrated with the Sopine clusterboard and how much it is a pain to do anything.
  Reply
#22
(05-17-2018, 03:14 PM)aww Wrote: Let me know if you get that built. I have switched to working on other projects in my spare time as I am a _bit_ frustrated with the Sopine clusterboard and how much it is a pain to do anything.

Same here... it's sat on the other side of the room in disgrace until either the issue is resolved or I have time to poke around and hopefully get it working... I don't have enough spare time to waste on it atm Sad
  Reply
#23
I've a working v2019.01 u-boot with SPI and network here if anyone is interested: https://github.com/janwillies/u-boot/rel...19.01-cb-1
  Reply
#24
(01-22-2019, 03:34 AM)jcw Wrote: I've a working v2019.01 u-boot with SPI and network here if anyone is interested: https://github.com/janwillies/u-boot/rel...19.01-cb-1

Thank-you for this!

Is there a good reference for setting up the BOOTP server side of this?  I'm pretty green with netboot and looking for a place to get started.
  Reply
#25
https://wiki.archlinux.org/index.php/PXE#DHCP_+_TFTP is one way, but that's the mechanism that uses TFTP.

I see @aww mentioning iSCSI in comment #15, of which I haven't found much docs myself. I've been reading https://www.xypron.de/projects/u-boot/iscsi.html.
  Reply
#26
(01-17-2020, 03:55 PM)jgullickson Wrote:
(01-22-2019, 03:34 AM)jcw Wrote: I've a working v2019.01 u-boot with SPI and network here if anyone is interested: https://github.com/janwillies/u-boot/rel...19.01-cb-1

Thank-you for this!

Is there a good reference for setting up the BOOTP server side of this?  I'm pretty green with netboot and looking for a place to get started.

Did you succeed in BOOTP/PXE booting your SOPINEs?
  Reply
#27
Has anyone built an iPXE chainloading binary for the SOPINE? I'm using a Docker repo to perform the build on the mainline iPXE repo, but serial console is unresponsive when I try to enable it. Has anyone had success?

Ref: https://github.com/omi-uulm/arm64_ipxe_netboot
  Reply
#28
Hey @Pine I was indeed successful. Have only tested with a single Sopine but I have stored both U-Boot and iPXE in the SPI flash, and I have chainloaded iPXE. I've then tried to chain http://boot.alpinelinux.org/boot.ipxe (without HTTPS*), but failed to boot: requests are going over the wire though, and kernel images are being downloaded. Something else failed in the boot process.

When you say "unresponsive", what do you mean? There's a well-known issue with iPXE and U-Boot, in which iPXE tries to put the processor to sleep -- and relies on an interrupt to wake it up as needed (2sec timer, or keyboard input) -- but U-Boot has no interrupt support, so the processor never wakes up again. If you see the iPXE banner, and then it's unresponsive, then that's probably the bug. To fix, search for NAP_NULL in this page and follow the instructions:

https://u-boot.readthedocs.io/en/v2020.1....html#ipxe

If it's something else, you'll need to be more precise -- I'm not sure I understood what problem you are seeing.

* due to imcompatible crypto between iPXE and that website's config -- whole different story.
  Reply
#29
(12-15-2020, 05:12 PM)lbruno Wrote: Hey @Pine I was indeed successful. Have only tested with a single Sopine but I have stored both U-Boot and iPXE in the SPI flash, and I have chainloaded iPXE. I've then tried to chain http://boot.alpinelinux.org/boot.ipxe (without HTTPS*), but failed to boot: requests are going over the wire though, and kernel images are being downloaded. Something else failed in the boot process.

When you say "unresponsive", what do you mean? There's a well-known issue with iPXE and U-Boot, in which iPXE tries to put the processor to sleep -- and relies on an interrupt to wake it up as needed (2sec timer, or keyboard input) -- but U-Boot has no interrupt support, so the processor never wakes up again. If you see the iPXE banner, and then it's unresponsive, then that's probably the bug. To fix, search for NAP_NULL in this page and follow the instructions:

https://u-boot.readthedocs.io/en/v2020.1....html#ipxe

If it's something else, you'll need to be more precise -- I'm not sure I understood what problem you are seeing.

* due to imcompatible crypto between iPXE and that website's config -- whole different story.

That NAP_NULL was just the thread I needed to pull on. All is well now. Thanks again, my friend.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) SOPINE A64 (aarch64) mara 0 185 07-30-2021, 12:12 PM
Last Post: mara
  Volumio (PINE A64-LTS / SOPINE) pineadmin 7 4,404 02-17-2021, 03:47 AM
Last Post: roel
  Sopine Fedora 32 on clusterboard w/networking revoman 1 2,804 01-17-2021, 08:50 AM
Last Post: maya.b
  SOPINE Network boot Ninazu 1 1,735 05-11-2020, 12:40 PM
Last Post: lbruno
  LibreELEC(KODI) for LTS/ SOPine pineadmin 2 2,770 12-27-2019, 11:09 PM
Last Post: tllim
  Armbian - Xenial (SOPINE) pineadmin 6 9,116 08-05-2019, 01:17 AM
Last Post: pineadmin
  Sopine baseboard / A64 base board as OTG mixotricha 0 1,209 07-08-2019, 07:11 PM
Last Post: mixotricha
  NEMS Linux for LTS/ SOPine Luke 1 2,002 05-09-2019, 05:46 PM
Last Post: pineadmin
  SoPine/Pine64 LTS: Ubuntu Mate is not booting jaganteki 0 1,514 11-20-2018, 10:49 PM
Last Post: jaganteki
  Arch Linux mainline XFCE (PINE A64-LTS / SOPINE) pineadmin 1 3,994 11-09-2018, 03:07 AM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 1 Guest(s)