SoPine SPI booting
#31
(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

Hi jcw,

I have been trying to do sopine network boot, but stuck without much help and then i hit your release page. I had managed to do u-boot flashing to spi and trying to boot from network (tftp+nfs) still on sopine baseboard. The commands provided were really useful in the release page.

With the provided commands i managed to load files, (trying armbian 5.19.10). however once kernel loads, i get the nfs error message in a loop:
Can you please suggest which distribution were you trying which shows examples in the release page?
-boot commands-
setenv prefix sopine-1
setenv serverip 10.1.1.76
setenv bootargs console=${console} earlyprintk rw root=/dev/nfs rootfstype=nfs nfsroot=10.1.1.76:/mnt/data/nfs/device-files/sopine-1 rootwait

tftpboot ${kernel_addr_r} ${prefix}/Image
tftpboot ${ramdisk_addr_r} ${prefix}/uInitrd
tftpboot ${fdt_addr_r} ${prefix}/dtb/allwinner/sun50i-a64-sopine-baseboard.dtb

booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
--
-boot message-
rootserver: 10.1.1.76 rootpath:
filename  :
[  16.948639] FS-Cache: Loaded
[  16.971922] nfs: Unknown symbol rpc_put_task (err -2)
[  16.977157] nfs: Unknown symbol rpc_proc_register (err -2)
...
[  17.160441] nfs: Unknown symbol nfs_debug (err -2)
mount: the kernel lacks NFS v3 support
Begin: Retrying nfs mount ... [  18.222214] nfs: Unknown symbol rpc_put_task (err -2)
--
  Reply
#32
(02-05-2023, 10:17 PM)mundey 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

Hi jcw,

I have been trying to do sopine network boot, but stuck without much help and then i hit your release page. I had managed to do u-boot flashing to spi and trying to boot from network (tftp+nfs) still on sopine baseboard. The commands provided were really useful in the release page.

With the provided commands i managed to load files, (trying armbian 5.19.10). however once kernel loads, i get the nfs error message in a loop:
Can you please suggest which distribution were you trying which shows examples in the release page?
-boot commands-
setenv prefix sopine-1
setenv serverip 10.1.1.76
setenv bootargs console=${console} earlyprintk rw root=/dev/nfs rootfstype=nfs nfsroot=10.1.1.76:/mnt/data/nfs/device-files/sopine-1 rootwait

tftpboot ${kernel_addr_r} ${prefix}/Image
tftpboot ${ramdisk_addr_r} ${prefix}/uInitrd
tftpboot ${fdt_addr_r} ${prefix}/dtb/allwinner/sun50i-a64-sopine-baseboard.dtb

booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
--
-boot message-
rootserver: 10.1.1.76 rootpath:
filename  :
[  16.948639] FS-Cache: Loaded
[  16.971922] nfs: Unknown symbol rpc_put_task (err -2)
[  16.977157] nfs: Unknown symbol rpc_proc_register (err -2)
...
[  17.160441] nfs: Unknown symbol nfs_debug (err -2)
mount: the kernel lacks NFS v3 support
Begin: Retrying nfs mount ... [  18.222214] nfs: Unknown symbol rpc_put_task (err -2)
--

I managed to boot armbian debian bullseye. Had to compile the kernel with nfs-root support.

Reference:
https://forum.armbian.com/topic/5935-nfs-boot-from-spi/
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) SOPINE A64 (aarch64) mara 6 5,025 09-24-2023, 11:43 AM
Last Post: mara
  Sopine Fedora 32 on clusterboard w/networking revoman 7 11,667 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,990 07-13-2022, 03:14 PM
Last Post: tderensis
  Volumio (PINE A64-LTS / SOPINE) pineadmin 7 11,512 02-17-2021, 03:47 AM
Last Post: roel
  SOPINE Network boot Ninazu 1 4,356 05-11-2020, 12:40 PM
Last Post: lbruno
  LibreELEC(KODI) for LTS/ SOPine pineadmin 2 6,945 12-27-2019, 11:09 PM
Last Post: tllim
  Armbian - Xenial (SOPINE) pineadmin 6 16,232 08-05-2019, 01:17 AM
Last Post: pineadmin
  Sopine baseboard / A64 base board as OTG mixotricha 0 2,960 07-08-2019, 07:11 PM
Last Post: mixotricha
  NEMS Linux for LTS/ SOPine Luke 1 5,100 05-09-2019, 05:46 PM
Last Post: pineadmin

Forum Jump:


Users browsing this thread: 1 Guest(s)