Re: LG N1T1 NAS October 13, 2020 03:22AM |
Registered: 3 months ago Posts: 13 |
Re: LG N1T1 NAS October 13, 2020 06:33PM |
Admin Registered: 9 years ago Posts: 14,879 |
Re: LG N1T1 NAS October 15, 2020 02:15AM |
Registered: 3 months ago Posts: 13 |
Re: LG N1T1 NAS October 15, 2020 04:11PM |
Admin Registered: 9 years ago Posts: 14,879 |
Re: LG N1T1 NAS October 16, 2020 01:50AM |
Registered: 3 months ago Posts: 13 |
Re: LG N1T1 NAS October 16, 2020 04:06PM |
Admin Registered: 9 years ago Posts: 14,879 |
Re: LG N1T1 NAS October 21, 2020 12:47AM |
Registered: 3 months ago Posts: 13 |
S
Re: LG N1T1 NAS October 28, 2020 01:21PM |
Re: LG N1T1 NAS October 29, 2020 07:24AM |
Registered: 3 months ago Posts: 13 |
S
Re: LG N1T1 NAS November 01, 2020 01:23PM |
Re: LG N1T1 NAS November 02, 2020 01:24AM |
Registered: 3 months ago Posts: 13 |
baudrate=115200 loads_echo=0 rootpath=/opt/Orion-SDK/armel-2.0/rootfs run_diag=yes console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_nfs=root=/dev/nfs rw image_name=uImage boot_name=u-boot.bin up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize) root_path=root=/dev/md0 rw read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name); mem-clear=mw.l 1000000 0x00000000 1000000 bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; bootargs_usb=root=/dev/sdc2 rw rootdelay=10 bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000 bootargs_ram=root=/dev/ram0 rw tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000 uImage-ram=uImage-2.6.30-nt1_11_ramdisk bootcmd=run bootcmd_hdd bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 ethact=egiga0 ethaddr=00:E0:91:81:15:DC nas_type=0x00000110 firmware=firmware.tar.gz bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000 bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000 hdd_off_delay=4000000 arcNumber=1681 bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; bootargs_deb=console=ttyS0,115200 root=LABEL=debfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial autoload=no ipaddr=10.177.190.59 netmask=netmask=255.255.254.0 bootargs_end=:::DB88FXX81:eth0:none stdin=serial stdout=serial stderr=serial mainlineLinux=no enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=1 disaMvPnp=no hddPowerCtrl=no enaAutoRecovery=no pcieTune=no serverip=10.177.191.39
S
Re: LG N1T1 NAS November 08, 2020 03:47PM |
Re: LG N1T1 NAS January 11, 2021 03:04PM |
Registered: 8 days ago Posts: 3 |
Re: LG N1T1 NAS January 11, 2021 04:57PM |
Admin Registered: 9 years ago Posts: 14,879 |
Linux HomeBackup 5.9.12-kirkwood-tld-1 #1.0 PREEMPT Sat Dec 5 14:05:39 PST 2020 armv5tel GNU/Linux
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009 Report errors and bugs to cpufreq@vger.kernel.org, please. analyzing CPU 0: driver: kirkwood-cpufreq CPUs which run at the same hardware frequency: 0 CPUs which need to have their frequency coordinated by software: 0 maximum transition latency: 5.0 us. hardware limits: 533 MHz - 1.60 GHz available frequency steps: 1.60 GHz, 533 MHz available cpufreq governors: ondemand, conservative, userspace, powersave, performance current policy: frequency should be within 533 MHz and 1.60 GHz. The governor "ondemand" may decide which speed to use within this range. current CPU frequency is 533 MHz (asserted by call to hardware).
Re: LG N1T1 NAS January 16, 2021 08:11AM |
Registered: 8 days ago Posts: 3 |
�Normal mode boot start! _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** LGE-NAS BOARD: NT1 LE U-Boot 1.1.4 (May 21 2011 - 03:56:55)NT1 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CDEE0 Soc: 88F6281 A1 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 15 tRCD=5 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 16bit width [512kB@f8000000] Flash: 512 kB Addresses 8M - 0M are saved for the U-Boot usage. Mem malloc Initialization (8M - 7M): Done CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode PEX 0: interface detected no Link. Net: egiga0 [PRIME] Normal mode : lg_bootmode = 0 Hit any key to stop autoboot: 0 LGE-NAS>> printenv baudrate=115200 loads_echo=0 ipaddr=10.177.190.59 serverip=10.177.191.39 rootpath=/opt/Orion-SDK/armel-2.0/rootfs netmask=255.255.254.0 run_diag=yes console=console=ttyS0,115200 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_nfs=root=/dev/nfs rw bootargs_end=:::DB88FXX81:eth0:none image_name=uImage boot_name=u-boot.bin up-boot=tftp 2000000 nt/$(boot_name); sflash protect off; sflash erase all; sflash write 2000000 0 $(filesize) root_path=root=/dev/md0 rw read-kern=ide reset; ext2load ide 0 2000000 /boot/$(image_name); mem-clear=mw.l 1000000 0x00000000 1000000 bootcmd_nfs=tftpboot 0x2000000 $(image_name); setenv bootargs $(console) $(bootargs_root) nfsroot=$(serverip):$(rootpath) ip=$(ipaddr):$(serverip)$(bootargs_end) $(mvNetConfig) $(mvPhoneConfig); bootm 0x2000000; bootcmd_hdd=run read-kern; setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; bootcmd_enc=run mem-clear; set bootargs $(console) $(bootargs_ram) enclosure; ide res; ide load; bootm 1000000 2000000 bootargs_ram=root=/dev/ram0 rw tftp-ram=tftp 1000000 nt/$(uImage-ram); tftp 2000000 nt/ramdisk_image; set bootargs $(console) $(bootargs_ram); bootm 1000000 2000000 uImage-ram=uImage-2.6.30-nt1_11_ramdisk bootcmd_tftp=tftp 0x2000000 $(image_name); setenv bootargs $(console) $(root_path) lpj=4964352; bootm 0x2000000; ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 netretry=no rcvrip=169.254.100.100 loadaddr=0x02000000 autoload=no ethact=egiga0 ethaddr=00:E0:91:80:FF:E6 nas_type=0x00000110 firmware=firmware.tar.gz bootcmd_netenc=set bootargs $(console) $(bootargs_ram) netenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000 bootcmd_usbenc=set bootargs $(console) $(bootargs_ram) usbenc nas_type=$(nas_type) IP=$(ipaddr) SIP=$(serverip) FW=$(firmware); bootm 1000000 2000000 arcNumber=1681 set_mw=mw 0x800000 0 1 load_bootm=bootm 0x800000 0x2100000 load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs_usb rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm bootcmd=run bootcmd_usb; run bootcmd_myhdd; reset stdin=serial stdout=serial stderr=serial mainlineLinux=yes enaMonExt=no enaCpuStream=no enaWrAllo=no pexMode=RC disL2Cache=no setL2CacheWT=yes disL2Prefetch=yes enaICPref=yes enaDCPref=yes sata_dma_mode=yes netbsd_en=no vxworks_en=no bootdelay=1 disaMvPnp=no hddPowerCtrl=no enaAutoRecovery=no pcieTune=no Environment size: 2999/4092 bytes LGE-NAS>> setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial' LGE-NAS>> saveenv Saving Environment to Flash... Error: start and/or end address not on sector boundary LGE-NAS>>
setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial' setenv run_mw 'mw 0x800000 0 1' setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' setenv load_initrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' setenv bootargs_usb 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial'
Re: LG N1T1 NAS January 16, 2021 03:57PM |
Admin Registered: 9 years ago Posts: 14,879 |
load_bootm=bootm 0x800000 0x2100000 load_usbuimage=ext2load usb 0:1 0x800000 /boot/uImage load_usbuinitrd=ext2load usb 0:1 0x2100000 /boot/uInitrd bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs_usb rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial bootcmd_usb=run bootargs_usb; usb start; run set_mw; run load_usbuimage; run load_usbuinitrd; run load_bootm load_myhdduimage=ext2load ide 0:1 0x800000 /boot/uImage load_myhdduinitrd=ext2load ide 0:1 0x2100000 /boot/uInitrd bootcmd_myhdd=ide reset; run set_mw; run load_myhdduimage; run load_myhdduinitrd; run load_bootm bootcmd=run bootcmd_usb; run bootcmd_myhdd; reset
Re: LG N1T1 NAS January 17, 2021 11:51PM |
Registered: 8 days ago Posts: 3 |
root@debian:~# fw_printenv Warning: Bad CRC, using default environment bootcmd=run distro_bootcmd bootdelay=2 baudrate=115200 stdin=serial,cros-ec-keyb,usbkbd stdout=serial,vidconsole stderr=serial,vidconsole ethaddr=00:00:11:22:33:44 eth1addr=00:00:11:22:33:45 eth3addr=00:00:11:22:33:46 eth5addr=00:00:11:22:33:47 ipaddr=1.2.3.4 host_boot=if host dev ${devnum}; then setenv devtype host; run scan_dev_for_boot_part; fi sata_boot=if sata dev ${devnum}; then setenv devtype sata; run scan_dev_for_boot_part; fi scsi_init=if ${scsi_need_init}; then setenv scsi_need_init false; scsi scan; fi scsi_boot=run scsi_init; if scsi dev ${devnum}; then setenv devtype scsi; run scan_dev_for_boot_part; fi virtio_boot=if virtio dev ${devnum}; then setenv devtype virtio; run scan_dev_for_boot_part; fi boot_prefixes=/ /boot/ boot_scripts=boot.scr.uimg boot.scr boot_script_dhcp=boot.scr.uimg boot_targets=host1 host0 boot_syslinux_conf=extlinux/extlinux.conf boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf} scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr} scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done; scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done bootcmd_host1=setenv devnum 1; run host_boot bootcmd_host0=setenv devnum 0; run host_boot distro_bootcmd=setenv scsi_need_init; for target in ${boot_targets}; do run bootcmd_${target}; done bootm_size=0x10000000 kernel_addr_r=0x1000000 fdt_addr_r=0xc00000 ramdisk_addr_r=0x2000000 scriptaddr=0x1000 pxefile_addr_r=0x2000 root@debian:~#
GNU nano 3.2 /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size $ /dev/mtd0 0xc0000 0x20000 0x20000
root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00001000 "u-boot" root@debian:~#
Re: LG N1T1 NAS January 18, 2021 05:27PM |
Admin Registered: 9 years ago Posts: 14,879 |
Quote
If I operate the device with a USB stick and HDD at the same time, "Linux-5.2.9-kirkwood-tld-1" and "initramfs-5.2.9-kirkwood-tld-1" are loaded from the USB.
The operating system is then reloaded from the HDD and Debian works from the HDD. But I want to stay on the USB to put the HDD to sleep.
bootargs_usb=console=ttyS0,115200 root=LABEL=rootfs_usb rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial