PINE64
SoPine SPI booting - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64-LTS / SOPINE Compute Module (https://forum.pine64.org/forumdisplay.php?fid=66)
+--- Forum: Linux on PINE A64-LTS / SOPINE (https://forum.pine64.org/forumdisplay.php?fid=69)
+--- Thread: SoPine SPI booting (/showthread.php?tid=5581)

Pages: 1 2 3 4


RE: SoPine SPI booting - mundey - 02-05-2023

(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/releases/tag/v2019.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)
--


RE: SoPine SPI booting - mundey - 02-13-2023

(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/releases/tag/v2019.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/