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
#30
https://pine64.com/product/sopine-a64-compute-module/

Says now: "Note: SOPINE module no longer includes SPI Flash chip"

So if I buy a new Sopine these days I can no longer netboot it without any additional storage?

That is very unfortunate  Confused

Is there some easy way to figure out if a used Sopine still has SPI?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) SOPINE A64 (aarch64) mara 6 5,023 09-24-2023, 11:43 AM
Last Post: mara
  Sopine Fedora 32 on clusterboard w/networking revoman 7 11,645 04-10-2023, 08:49 AM
Last Post: langerma
  Try to boot armbian 22.02 on SoPine baseboard adjivas 1 1,586 01-11-2023, 03:20 PM
Last Post: MNtinkerer
  sopine-a64 yocto build running on SOPine Baseboard tderensis 1 1,987 07-13-2022, 03:14 PM
Last Post: tderensis
  Volumio (PINE A64-LTS / SOPINE) pineadmin 7 11,495 02-17-2021, 03:47 AM
Last Post: roel
  SOPINE Network boot Ninazu 1 4,354 05-11-2020, 12:40 PM
Last Post: lbruno
  LibreELEC(KODI) for LTS/ SOPine pineadmin 2 6,932 12-27-2019, 11:09 PM
Last Post: tllim
  Armbian - Xenial (SOPINE) pineadmin 6 16,211 08-05-2019, 01:17 AM
Last Post: pineadmin
  Sopine baseboard / A64 base board as OTG mixotricha 0 2,959 07-08-2019, 07:11 PM
Last Post: mixotricha
  NEMS Linux for LTS/ SOPine Luke 1 5,086 05-09-2019, 05:46 PM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 2 Guest(s)