Re: Boot your Dockstar by TFTP/NFS July 27, 2018 07:29PM |
Admin Registered: 13 years ago Posts: 19,107 |
setenv console ‘ttyS0,115200’ boot
Re: Boot your Dockstar by TFTP/NFS July 27, 2018 08:34PM |
Registered: 6 years ago Posts: 16 |
> setenv console ‘ttyS0,115200’ > boot >
INIT: version 2.88 booting [info] Using makefile-style concurrent boot in runlevel S. [ ok ] Setting hostname to 'debian'...done. [....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232 . ok [ ok ] Synthesizing the initial hotplug events...done. [....] Waiting for /dev to be fully populated...[ 20.533151] marvell-cesa f1030000.crypto: CESA device successfully registered [ 20.576417] orion_wdt: Initial timeout 21 sec done. [ ok ] Activating swap:. mount.nfs: remote share not in 'host:dir' format [ ok ] Will now activate lvm and md swap:done. [info] Will now check all file systems. fsck from util-linux 2.29.2 /dev/nfs: nonexistent device ("nofail" fstab option may be used to skip this device) Checking all file systems. [ ok ] Done checking file systems. A log is being saved in /var/log/fsck/checkfs if that location is writable.. rm: cannot remove '/tmp/.clean': Operation not permitted [ ok ] Cleaning up temporary files.... [ 25.013839] random: crng init done [ ok ] Will now mount local filesystems:. [ ok ] Will now activate swapfile swap:done. [ ok ] Checking minimum space in /tmp...done. [ ok ] Cleaning up temporary files.... [ ok ] Setting kernel variables...done. [....] Initializing random number generator...cat: /var/lib/urandom/random-seed: Permission denied failed. [....] Configuring network interfaces...Internet Systems Consortium DHCP Client 4.3.5 Copyright 2004-2016 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ can't create /var/lib/dhcp/dhclient.eth0.leases: Permission denied Listening on LPF/eth0/00:25:31:02:e6:9e Sending on LPF/eth0/00:25:31:02:e6:9e Sending on Socket/fallback DHCPREQUEST of 192.168.0.14 on eth0 to 255.255.255.255 port 67 DHCPNAK from 192.168.1.1 [ 34.325144] nfs: server 192.168.1.204 not responding, still trying
Re: Boot your Dockstar by TFTP/NFS July 29, 2018 04:08AM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Boot your Dockstar by TFTP/NFS July 29, 2018 04:41AM |
Registered: 6 years ago Posts: 16 |
[....] Initializing random number generator...cat: /var/lib/urandom/random-seed: Permission denied failed. [ ok ] Configuring network interfaces...done. [ 28.891467] NET: Registered protocol family 10 [ 28.899354] Segment Routing with IPv6 [ ok ] Starting RPC port mapper daemon: rpcbind. [ ok ] Starting NFS common utilities: statd idmapd. [ ok ] Cleaning up temporary files.... INIT: Entering runlevel: 2 [info] Using makefile-style concurrent boot in runlevel 2. /etc/init.d/bootlogs: 23: /etc/init.d/bootlogs: cannot create /var/log/dmesg: Permission denied chgrp: cannot access '/var/log/dmesg': No such file or directory [....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd... 1196 (syslogd) . ok [ ok ] Starting NFS common utilities: statd idmapd. [warn] Not starting NFS kernel daemon: no exports. ... (warning). [ ok ] Starting system message bus: dbus. [....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd... 1195 (klogd) . ok [ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon. [ ok ] Starting NTP server: ntpd. [....] Starting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_ecdsa_key Could not load host key: /etc/ssh/ssh_host_ed25519_key . ok [ ok ] Running local boot scripts (/etc/rc.local). Debian GNU/Linux 9 debian ttyS0 debian login: root
Re: Boot your Dockstar by TFTP/NFS July 30, 2018 05:53AM |
Admin Registered: 13 years ago Posts: 19,107 |
[....] Initializing random number > generator...cat: /var/lib/urandom/random-seed: > Permission denied > failed. > [ ok ] Configuring network interfaces...done. > [ 28.891467] NET: Registered protocol family 10 > [ 28.899354] Segment Routing with IPv6 > [ ok ] Starting RPC port mapper daemon: rpcbind. > [ ok ] Starting NFS common utilities: statd > idmapd. > [ ok ] Cleaning up temporary files.... > INIT: Entering runlevel: 2 > [info] Using makefile-style concurrent boot in > runlevel 2. > /etc/init.d/bootlogs: 23: /etc/init.d/bootlogs: > cannot create /var/log/dmesg: Permission denied > chgrp: cannot access '/var/log/dmesg': No such > file or directory > [....] Starting busybox' syslogd implementation : > syslogdStarting /sbin/syslogd... > 1196 (syslogd) > . ok > [ ok ] Starting NFS common utilities: statd > idmapd. > [warn] Not starting NFS kernel daemon: no exports. > ... (warning). > [ ok ] Starting system message bus: dbus. > [....] Starting busybox' klogd implementation : > klogdStarting /sbin/klogd... > 1195 (klogd) > . ok > [ ok ] Starting Avahi mDNS/DNS-SD Daemon: > avahi-daemon. > [ ok ] Starting NTP server: ntpd. > [....] Starting OpenBSD Secure Shell server: > sshdCould not load host key: > /etc/ssh/ssh_host_rsa_key > Could not load host key: > /etc/ssh/ssh_host_ecdsa_key > Could not load host key: > /etc/ssh/ssh_host_ed25519_key > . ok > [ ok ] Running local boot scripts > (/etc/rc.local). > > Debian GNU/Linux 9 debian ttyS0 > > debian login: root >>
Re: Boot your Dockstar by TFTP/NFS July 30, 2018 06:20AM |
Registered: 6 years ago Posts: 16 |
[....] Initializing random number > > generator...cat: /var/lib/urandom/random-seed: > > Permission denied > > failed. > > [ ok ] Configuring network interfaces...done. > > [ 28.891467] NET: Registered protocol family > 10 > > [ 28.899354] Segment Routing with IPv6 > > [ ok ] Starting RPC port mapper daemon: > rpcbind. > > [ ok ] Starting NFS common utilities: statd > > idmapd. > > [ ok ] Cleaning up temporary files.... > > INIT: Entering runlevel: 2 > > [info] Using makefile-style concurrent boot in > > runlevel 2. > > /etc/init.d/bootlogs: 23: /etc/init.d/bootlogs: > > cannot create /var/log/dmesg: Permission denied > > chgrp: cannot access '/var/log/dmesg': No such > > file or directory > > [....] Starting busybox' syslogd implementation > : > > syslogdStarting /sbin/syslogd... > > 1196 (syslogd) > > . ok > > [ ok ] Starting NFS common utilities: statd > > idmapd. > > [warn] Not starting NFS kernel daemon: no > exports. > > ... (warning). > > [ ok ] Starting system message bus: dbus. > > [....] Starting busybox' klogd implementation : > > klogdStarting /sbin/klogd... > > 1195 (klogd) > > . ok > > [ ok ] Starting Avahi mDNS/DNS-SD Daemon: > > avahi-daemon. > > [ ok ] Starting NTP server: ntpd. > > [....] Starting OpenBSD Secure Shell server: > > sshdCould not load host key: > > /etc/ssh/ssh_host_rsa_key > > Could not load host key: > > /etc/ssh/ssh_host_ecdsa_key > > Could not load host key: > > /etc/ssh/ssh_host_ed25519_key > > . ok > > [ ok ] Running local boot scripts > > (/etc/rc.local). > > > > Debian GNU/Linux 9 debian ttyS0 > > > > debian login: root > >> >
Re: Boot your Dockstar by TFTP/NFS July 30, 2018 07:16AM |
Admin Registered: 13 years ago Posts: 19,107 |
fw_printenv
Re: Boot your Dockstar by TFTP/NFS July 30, 2018 08:04AM |
Registered: 6 years ago Posts: 16 |
bootcmd_exec=run load_uimage; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi bootdelay=10 bootdev=usb device=0:1 devices=usb ide mmc disks=0 1 2 3 ethact=egiga0 if_netconsole=ping $serverip led_error=orange blinking led_exit=green off led_init=green blinking dtb_file=/boot/dts/kirkwood-pogo_e02.dtb load_dtb_addr=0x1c00000 load_initrd_addr=0x1100000 load_uimage_addr=0x800000 load_dtb=echo loading DTB $dtb_file ...; load $bootdev $device $load_dtb_addr $dtb_file load_initrd=echo loading uInitrd ...; load $bootdev $device $load_initrd_addr /boot/uInitrd load_uimage=echo loading uImage ...; load $bootdev $device $load_uimage_addr /boot/uImage mainlineLinux=yes mtdids=nand0=orion_nand partition=nand0,2 scan_disk=echo running scan_disk ...; scan_done=0; setenv scan_usb "usb start"; setenv scan_ide "ide reset"; setenv scan_mmc "mmc rescan"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if load $dev $disknum:1 $load_uimage_addr /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done set_bootargs=setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 $mtdparts $custom_params start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version; stderr=serial stdin=serial stdout=serial uenv_addr=0x810000 uenv_import=echo importing envs ...; env import -t $uenv_addr $filesize uenv_init_devices=setenv init_usb "usb start"; setenv init_ide "ide reset"; setenv init_mmc "mmc rescan"; for devtype in $devices; do run init_$devtype; done; uenv_load=run uenv_init_devices; setenv uenv_loaded 0; for devtype in $devices; do for disknum in 0; do run uenv_read_disk; done; done; uenv_read_disk=if test $devtype -eq mmc; then if $devtype part; then run uenv_read; fi; else if $devtype part $disknum; then run uenv_read; fi; fi uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 $uenv_addr /boot/uEnv.txt; then setenv uenv_loaded 1; fi usb_ready_retry=15 arcNumber=3542 machid=dd6 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) ethaddr=00:25:31:02:E6:9E preboot_nc=setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi preboot=run preboot_nc ipaddr=192.168.1.153 serverip=192.168.1.162 net_dhcp_c=1 net_nfs_server=192.168.1.204 net_nfs_path=/srv/nfs4/pogo net_boot=nfs 0x1c00000 ${net_nfs_server}:${net_nfs_path}${net_nfs_dtb}; nfs 0x800000 ${net_nfs_server}:${net_nfs_path}${net_nfs_kernel}; echo; echo ** Kernel Boot Arguments: $bootargs; echo;if nfs 0x1100000 ${net_nfs_server}:${net_nfs_path}${net_nfs_initrd}; then bootm 0x800000 0x1100000 0x1c00000;else bootm 0x800000 - 0x1c00000;fi autoload=no net_check_dhcp_c=if test $net_dhcp_c -eq 1 ; then run net_set_c_ip_dhcp; else run net_set_c_ip_stat; fi;echo ** IP Address: $ipaddr; echo ** Subnet Mask: $netmask; echo ** Def Gateway: $gatewayip net_set_c_ip_dhcp=dhcp; echo; echo ** Getting IP Settings by DHCP (net_dhcp_c = 1): net_set_c_ip_stat=setenv ipaddr $net_c_ipaddr; setenv netmask $net_c_netmask; setenv gatewayip $net_c_gatewayip; echo; echo ** Using static IP Settings (net_dhcp_c = 0): net_check_dhcp_s=if test $net_dhcp_s -eq 1 && test $net_dhcp_c -eq 1 ; then run net_set_s_ip_dhcp; else run net_set_s_ip_stat; fi; echo ** NFS Boot Server: $net_nfs_server; echo net_set_s_ip_dhcp=setenv net_nfs_server $serverip;echo; echo ** Getting NFS Boot Server by DHCP (net_dhcp_s and net_dhcp_c = 1): net_set_s_ip_stat=echo; echo ** Using static NFS Boot Server (net_dhcp_s or net_dhcp_c = 0) : net_load_dtb=echo NFS loading DTB :$net_nfs_server:$net_nfs_path/$net_nfs_dtb ... ; nfs $load_dtb_addr $net_nfs_server:$net_nfs_path/$net_nfs_dtb; echo net_load_initrd=echo NFS loading uInitrd :$net_nfs_server:$net_nfs_path/$net_nfs_initrd ...; nfs $load_initrd_addr $net_nfs_server:$net_nfs_path/$net_nfs_initrd; echo net_load_uimage=echo NFS loading uImage :$net_nfs_server:$net_nfs_path/$net_nfs_kernel ...; nfs $load_uimage_addr $net_nfs_server:$net_nfs_path/$net_nfs_kernel; echo net_bootcmd=run net_check_dhcp_c; run net_check_dhcp_s; run net_set_bootargs; run net_bootcmd_exec net_set_bootargs=setenv serverip $net_nfs_server; setenv bootargs console=$console root=/dev/nfs rw rootfstype=nfs rootwait nfsroot=$net_nfs_server:$net_nfs_path/,rsize=32768,wsize=32768,hard,intr,udp,v3 ip=$ipaddr:$net_nfs_server:$gatewayip:$netmask:dockstar:eth0:off $mtdparts $custom_params; echo ** Kernel Boot Arguments:; echo ** $bootargs; echo net_bootcmd_exec=run net_load_uimage; if run net_load_initrd; then if run net_load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; finet_dhcp_s=0 net_nfs_initrd=boot/uInitrd net_nfs_dtb=boot/dts/kirkwood-pogo_e02.dtb net_nfs_kernel=boot/uImage console=ttyS0,115200 bootcmd=run bootcmd_uenv; run scan_disk; run net_bootcmd; run set_bootargs; run bootcmd_exec
Re: Boot your Dockstar by TFTP/NFS July 31, 2018 08:54AM |
Admin Registered: 13 years ago Posts: 19,107 |
setenv bootcmd_exec 'if run load_uimage; then; if run load_initrd; then if run load_dtb; then bootm $load_uimage_addr $load_initrd_addr $load_dtb_addr; else bootm $load_uimage_addr $load_initrd_addr; fi; else if run load_dtb; then bootm $load_uimage_addr - $load_dtb_addr; else bootm $load_uimage_addr; fi; fi; fi' setenv bootcmd 'run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run net_bootcmd'
Re: Boot your Dockstar by TFTP/NFS November 26, 2018 01:26PM |
Registered: 13 years ago Posts: 26 |
## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.9.0-8-marvell Created: 2018-11-26 18:33:47 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2056160 Bytes = 2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.9.0-8-marvell Created: 2018-11-26 18:33:54 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 11627464 Bytes = 11.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC
load_uimage_addr=0x800000 load_initrd_addr=0x1100000 load_dtb_addr=0x1c00000
0x1c00000 - 0x1100000 = 0xB00000 = 11534336 (avail loadspace) < 11627464 (initramfs size)
0x1d00000 - 0x1100000 = 0xC00000 = 12582912 > 11627464
setenv load_dtb_addr 0x1d00000 saveenv reset
## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.9.0-8-marvell Created: 2018-11-26 18:56:30 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2056160 Bytes = 2 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.9.0-8-marvell Created: 2018-11-26 18:56:30 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 11628809 Bytes = 11.1 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 01d00000 Booting using the fdt blob at 0x1d00000 Loading Kernel Image ... OK Loading Ramdisk to 06ff8000, end 07b0f109 ... OK Loading Device Tree to 06ff2000, end 06ff78b1 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel.
Re: Boot your Dockstar by TFTP/NFS November 26, 2018 04:55PM |
Admin Registered: 13 years ago Posts: 19,107 |
load_initrd_addr=0x2100000
Re: Boot your Dockstar by TFTP/NFS July 25, 2019 10:21AM |
Registered: 13 years ago Posts: 26 |
-rw-r--r-- 1 root root 15163991 2019-07-25 14:04 initrd.img-4.19.0-5-marvell (Buster) -rw-r--r-- 1 root root 13500968 2019-07-25 10:28 initrd.img-4.9.0-8-marvell (Stretch)
setenv load_dtb_addr 0x02000000
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 10:50AM |
Registered: 12 years ago Posts: 27 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 12:33PM |
Registered: 7 years ago Posts: 375 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 02:55PM |
Registered: 12 years ago Posts: 27 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 03:50PM |
Registered: 12 years ago Posts: 27 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 04:29PM |
Admin Registered: 13 years ago Posts: 19,107 |
auto lo iface lo inet loopback iface eth0 inet dhcp
bootcmd_nfs=setenv nfs_server "192.168.0.224"; setenv nfs_path "/srv/nfs/hosts/tldDebian2"; setenv nfs_bootcmd "run nfs_set_bootargs; run nfs_boot"; setenv nfs_ipconfig "192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off"; setenv nfs_set_bootargs "setenv bootargs console=ttyS0,115200 root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait ip=$nfs_ipconfig $mtdparts"; setenv nfs_load_uimage "nfs 0x800000 $nfs_server:$nfs_path/boot/uImage"; setenv nfs_load_uinitrd "nfs 0x1100000 $nfs_server:$nfs_path/boot/uInitrd"; setenv nfs_load_dtb "nfs 0x1c00000 $nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb"; setenv nfs_bootm "bootm 0x800000 0x1100000 0x1c00000"; setenv nfs_boot "run nfs_load_uimage; run nfs_load_uinitrd; run nfs_load_dtb; run nfs_bootm"; echo "Booting NFS root…"; run nfs_bootcmd
Quote
bootcmd_nfs=setenv nfs_server "192.168.0.224"; setenv nfs_path "/srv/nfs/hosts/tldDebian2"; setenv nfs_bootcmd "run nfs_set_bootargs; run nfs_boot"; setenv nfs_ipconfig "192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off"; setenv nfs_set_bootargs "setenv bootargs console=ttyS0,115200 root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait ip=$nfs_ipconfig $mtdparts"; setenv nfs_load_uimage "nfs 0x800000 $nfs_server:$nfs_path/boot/uImage"; setenv nfs_load_uinitrd "nfs 0x1100000 $nfs_server:$nfs_path/boot/uInitrd"; setenv nfs_load_dtb "nfs 0x1c00000 $nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb"; setenv nfs_bootm "bootm 0x800000 0x1100000 0x1c00000"; setenv nfs_boot "run nfs_load_uimage; run nfs_load_uinitrd; run nfs_load_dtb; run nfs_bootm"; echo "Booting NFS root…"; run nfs_bootcmd
bootcmd=run bootcmd_uenv; run scan_disk; run set_bootargs; run bootcmd_exec; run bootcmd_nfs; run pogo_bootcmd; reset
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 10:01PM |
Registered: 7 years ago Posts: 375 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 10:18PM |
Registered: 12 years ago Posts: 27 |
fw_setenv nfs_server "192.168.8.245" fw_setenv nfs_path "/srv/nfs/rootfs/e02" fw_setenv nfs_bootcmd "run nfs_set_bootargs; run nfs_boot" fw_setenv nfs_ipconfig "192.168.8.50:192.168.8.245:192.168.8.1:255.255.255.0:tldDebian2::off" fw_setenv nfs_set_bootargs "setenv bootargs console=ttyS0,115200 root=/dev/nfs nfsroot=$nfs_server:$nfs_path,v3 rootfstype=nfs rootwait ip=$nfs_ipconfig $mtdparts" fw_setenv nfs_load_uimage "nfs 0x800000 $nfs_server:$nfs_path/boot/uImage" fw_setenv nfs_load_uinitrd "nfs 0x1100000 $nfs_server:$nfs_path/boot/uInitrd" fw_setenv nfs_load_dtb "nfs 0x1c00000 $nfs_server:$nfs_path/boot/dts/kirkwood-pogo_e02.dtb" fw_setenv nfs_bootm "bootm 0x800000 0x1100000 0x1c00000" fw_setenv nfs_boot "run nfs_load_uimage; run nfs_load_uinitrd; run nfs_load_dtb; run nfs_bootm"
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 10:42PM |
Registered: 7 years ago Posts: 375 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 10:57PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: Boot your Dockstar by TFTP/NFS May 02, 2020 11:09PM |
Admin Registered: 13 years ago Posts: 19,107 |
tldDebian2 192.168.0.229 CloudEngines Pogoplug E02 Linux version 5.6.5-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Fri Apr 17 19:27:48 PDT 2020 Debian 10.0 console=ttyS0,115200 root=/dev/nfs nfsroot=192.168.0.224:/srv/nfs/hosts/tldDebian2,v3 rootfstype=nfs rootwait ip=192.168.0.229:192.168.0.224:192.168.0.1:255.255.0.0:tldDebian2::off mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) uboot_version=U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:13:18 -0700) --- System Stats: Sat 02 May 2020 08:58:50 PM PDT up 2 weeks, 2 hours, 21 minutes
Re: Boot your Dockstar by TFTP/NFS May 03, 2020 07:14AM |
Registered: 12 years ago Posts: 27 |
Re: Boot your Dockstar by TFTP/NFS May 03, 2020 04:08PM |
Admin Registered: 13 years ago Posts: 19,107 |
/srv/nfs/hosts/tldDebian2 192.168.0.229(rw,sync,no_root_squash,no_subtree_check)
Quote
tsunulukai
To re-enable NFSv2 in Debian 9 Stretch, you just need to add the following lines to /etc/default/nfs-kernel-server:
# Enable NFSv2
RPCNFSDOPTS="-V 2"
Re: Boot your Dockstar by TFTP/NFS May 03, 2020 07:26PM |
Registered: 12 years ago Posts: 27 |
tsunulukai July 31, 2021 09:33AM |
Registered: 13 years ago Posts: 26 |
Begin: Retrying nfs mount ... mount: Invalid argument done. Begin: Retrying nfs mount ... mount: Invalid argument done. ...
fw_setenv net_set_bootargs 'setenv serverip $net_nfs_server; setenv bootargs console=$console root=/dev/nfs rw rootfstype=nfs rootwait nfsroot=$net_nfs_server:$net_nfs_path,rsize=32768,wsize=32768,hard,intr,v3 ip=$ipaddr:$net_nfs_server:$gatewayip:$netmask:dockstar:eth0:off $mtdparts'
# cat etc/apt/sources.list # Debian Repositories deb http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://security.debian.org/debian-security bullseye-security main contrib non-free
apt update apt upgrade --without-new-pkgs apt full-upgrade
fw_setenv net_set_bootargs 'setenv serverip $net_nfs_server; setenv bootargs console=$console root=/dev/nfs rw rootfstype=nfs rootwait nfsroot=$net_nfs_server:$net_nfs_path,rsize=32768,wsize=32768,hard,intr,v3 ip=$ipaddr:$net_nfs_server:$gatewayip:$netmask:dockstar:eth0:off $mtdparts'
Re: tsunulukai July 31, 2021 04:18PM |
Admin Registered: 13 years ago Posts: 19,107 |
Re: tsunulukai June 17, 2023 07:04AM |
Registered: 13 years ago Posts: 26 |
No. Time L3Proto Source SrcPort Destination DstPort Protocol Len Info 3 0.177599 UDP 0.0.0.0 68 255.255.255.255 67 DHCP 342 DHCP Discover - Transaction ID 0x751a9e2d 5 0.190444 UDP 0.0.0.0 68 255.255.255.255 67 DHCP 342 DHCP Request - Transaction ID 0x751a9e2d 8 0.252969 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 12) MOUNT(100005) V:1 UDP 12 0.253377 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 8) Port:32767 13 0.253468 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 14) NFS(100003) V:2 UDP 14 0.253709 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 13) PROGRAM_NOT_AVAILABLE 15 0.253817 UDP 192.168.10.11 1000 192.168.10.1 32767 MOUNT 142 V2 MNT Call (Reply In 16) /srv/nfs/hosts/dockstar-1A8AAA/boot 16 0.258365 UDP 192.168.10.1 32767 192.168.10.11 1000 MOUNT 102 V2 MNT Reply (Call In 15) 17 0.258468 UDP 192.168.10.11 1000 192.168.10.1 0 NFS 146 V2 LOOKUP Call, DH: 0x5cfcf659/uImage 18 0.258554 ICMP,UDP 192.168.10.1 1000 192.168.10.11 0 ICMP 174 Destination unreachable (Port unreachable) 31 2.253643 UDP 192.168.10.11 1000 192.168.10.1 0 NFS 146 V2 LOOKUP Call, DH: 0x5cfcf659/uImage 32 2.253713 ICMP,UDP 192.168.10.1 1000 192.168.10.11 0 ICMP 174 Destination unreachable (Port unreachable) 51 6.255210 UDP 192.168.10.11 1000 192.168.10.1 0 NFS 146 V2 LOOKUP Call, DH: 0x5cfcf659/uImage 52 6.255295 ICMP,UDP 192.168.10.1 1000 192.168.10.11 0 ICMP 174 Destination unreachable (Port unreachable)
User Datagram Protocol, Src Port: 111, Dst Port: 1000 Remote Procedure Call, Type:Reply XID:0x00000002 XID: 0x00000002 (2) Message Type: Reply (1) [Program: Portmap (100000)] [Program Version: 2] [Procedure: GETPORT (3)] Reply State: accepted (0) [This is a reply to a request in frame 13] [Time from request: 0.000241000 seconds] Verifier Flavor: AUTH_NULL (0) Length: 0 Accept State: RPC executed successfully (0) Portmap GETPORT Reply Port:0 PROGRAM_NOT_AVAILABLE [Program Version: 2] [V2 Procedure: GETPORT (3)] Port: 0
# cat /etc/nfs.conf.d/nfs-udp.conf [nfsd] udp = y #vers2 = y
systemctl restart nfs-kernel-server
No. Time L3Proto Source SrcPort Destination DstPort Protocol Len Info 15 2.454368 UDP 0.0.0.0 68 255.255.255.255 67 DHCP 342 DHCP Discover - Transaction ID 0x751a9e2c 16 2.484983 UDP 0.0.0.0 68 255.255.255.255 67 DHCP 342 DHCP Request - Transaction ID 0x751a9e2c 19 2.537546 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 20) MOUNT(100005) V:1 UDP 20 2.537908 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 19) Port:32767 21 2.537983 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 22) NFS(100003) V:2 UDP 22 2.538255 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 21) Port:2049 23 2.538355 UDP 192.168.10.11 1000 192.168.10.1 32767 MOUNT 142 V2 MNT Call (Reply In 24) /srv/nfs/hosts/dockstar-1A8AAA/boot 24 2.542859 UDP 192.168.10.1 32767 192.168.10.11 1000 MOUNT 102 V2 MNT Reply (Call In 23) 25 2.542951 UDP 192.168.10.11 1000 192.168.10.1 2049 NFS 146 V2 LOOKUP Call (Reply In 26), DH: 0x5cfcf659/uImage 26 2.545253 UDP 192.168.10.1 2049 192.168.10.11 1000 NFS 74 V2 LOOKUP Reply (Call In 25) 27 2.545351 UDP 192.168.10.11 1000 192.168.10.1 32767 MOUNT 102 V2 UMNTALL Call (Reply In 33) 28 2.545352 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 29) MOUNT(100005) V:3 UDP 29 2.545671 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 28) Port:32767 30 2.545754 UDP 192.168.10.11 1000 192.168.10.1 111 Portmap 98 V2 GETPORT Call (Reply In 31) NFS(100003) V:3 UDP 31 2.545942 UDP 192.168.10.1 111 192.168.10.11 1000 Portmap 70 V2 GETPORT Reply (Call In 30) Port:2049 32 2.546044 UDP 192.168.10.11 1000 192.168.10.1 32767 MOUNT 142 V2 MNT Call (Reply In 34) /srv/nfs/hosts/dockstar-1A8AAA/boot 33 2.556613 UDP 192.168.10.1 32767 192.168.10.11 1000 MOUNT 66 V2 UMNTALL Reply (Call In 27) 34 2.557323 UDP 192.168.10.1 32767 192.168.10.11 1000 MOUNT 102 V2 MNT Reply (Call In 32) 35 2.557412 UDP 192.168.10.11 1000 192.168.10.1 2049 NFS 150 V3 LOOKUP Call (Reply In 36), DH: 0x5cfcf659/uImage 36 2.562397 UDP 192.168.10.1 2049 192.168.10.11 1000 NFS 274 V3 LOOKUP Reply (Call In 35), FH: 0xfee760ec 37 2.562501 UDP 192.168.10.11 1000 192.168.10.1 2049 NFS 146 V3 READ Call (Reply In 38), FH: 0xfee760ec Offset: 0 Len: 1024 38 2.562680 UDP 192.168.10.1 2049 192.168.10.11 1000 NFS 1194 V3 READ Reply (Call In 37) Len: 1024 ...
Re: tsunulukai June 17, 2023 02:56PM |
Admin Registered: 13 years ago Posts: 19,107 |
> # cat /etc/nfs.conf.d/nfs-udp.conf > [nfsd] > udp = y > #vers2 = y >
Re: tsunulukai June 17, 2023 03:28PM |
Admin Registered: 13 years ago Posts: 19,107 |
Quote
NFS
....
Boot your Dockstar (and other plugs) using NFS rootfs, see also Debian 12 (bookworm) settings
....