Welcome! Log In Create A New Profile

Advanced

Need a rootfs with Kernel 3.17

Posted by dippes 
Re: Need a rootfs with Kernel 3.17
January 13, 2018 12:50PM
dippes,

> How can you saved it permanently?

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial'
setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm'
setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'
saveenv

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Need a rootfs with Kernel 3.17
January 13, 2018 12:55PM
Hello bodhi,

In every reboot I need to give this command.
How can you saved this command permanently?

setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data) earlyprintk=serial'
setenv dt_bootm 'bootm $uimage_addr $uinitrd_addr $dtb_addr'
setenv dt_usb_boot 'run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm'
setenv dt_load_dtb 'ext2load usb 0:1 $dtb_addr /boot/dts/ox820-pogoplug-classic.dtb'


Edit



root@Pogoplug-Pro:~# reboot

The system is going down for reboot NOW! (ttyS0) (Sat Jan 13 10:51:38 2018):
INIT: Sending processe[info] Using makefile-style concurrent boot in runlevel 6.
[....] Stopping busybox' klogd implementation: klogd1281 (klogd)
Stopped klogd (pid 1281).
. ok
[ ok ] Stopping Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[....] Stopping busybox' syslogd implementation: syslogd1275 (syslogd)
. ok
[ ok ] Stopping NFS kernel daemon: mountd nfsd.
[ ok ] Unexporting directories for NFS kernel daemon....
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 1 seconds...done.
[ ok ] Stopping RPC port mapper daemon: rpcbind.
[ ok ] Stopping NFS common utilities: idmapd statd.
[....] Deconfiguring network interfaces...Removed stale PID file
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/

Listening on LPF/eth0/5e:2b:15:71:ec:b6
Sending on   LPF/eth0/5e:2b:15:71:ec:b6
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
invoke-rc.d: -----------------------------------------------------
invoke-rc.d: WARNING: 'invoke-rc.d ntp try-restart' called
invoke-rc.d: during shutdown sequence.
invoke-rc.d: enabling safe mode: initscript policy layer disabled
invoke-rc.d: -----------------------------------------------------
done.
[ ok ] Unmounting temporary filesystems...done.
[ ok ] Deactivating swap...done.
[ 2360.161743] EXT4-fs (sda1): re-mounted. Opts: (null)
[info] Will now restart.
[ 2362.302056] reboot: Restarting system

U-Boot SPL 2013.10 (Apr 27 2014 - 19:08:27)
  Boot device: NAND
Attempting to set PLLA to 800 MHz ...
  plla_ctrl0 : 0000030a
  plla_ctrl1 : 00400000
  plla_ctrl2 : 007f0068
  plla_ctrl3 : 00000193

PLLA Set


U-Boot 2013.10-tld-3 (May 15 2014 - 14:54:14) for OXNAS

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:
Led:    GREEN
mii0
Main Loop
Hit any key to stop autoboot:  0
(Re)start USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found
4621824 bytes read in 376 ms (11.7 MiB/s)
4594376 bytes read in 348 ms (12.6 MiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4621760 Bytes = 4.4 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-4.4.54-oxnas-tld-1
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    4594312 Bytes = 4.4 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Led:    GREEN

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000480).

Available machine support:

ID (hex)        NAME
ffffffff        PLXTECH NAS782X SoC (Flattened Device Tree)

Please check your kernel config and/or bootloader.


Re: Need a rootfs with Kernel 3.17
January 13, 2018 02:44PM
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: