Thank you very much! :-) I still update my LG N1T1 NAS with new Kirkwood versions, and it works great! I have it off location and every night it opens a VPN connection to my home and make a backup of new documents, photos and other important files.Thanks for your work! <3by raffe - Debian
Thanks for the cp option -a info! OK, here is my test log. I start with cd /boot cp -a uImage uInitrd ./backup/2018-03-12/ I try "Boot with DTB file" as you suggest in the post mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-4.15.2-kirkwood-tld-1 -d vmlinuz-4.15.2-kirkwood-tld-1 uImage I get Image Name: Linux-4.15.2-kirkwood-tld-1 Creaby raffe - Debian
Wow, you have good eyes! It would have taken me a long time before I had seen that. THANKS! 1. Booted up with USB 2. Login with root root and did this just in case su - 3. Connect to hdd / and Go to hdd boot mount /dev/sda1 /mnt/start cd /mnt/start/boot 4. Try to fix my mistake cat dts/kirkwood-n1t1.dtb >> zImage.fdt 5. Reboot shutdown -r now 6. It still don'by raffe - Debian
Back again :) I tried to do an upgrade of my 4.12.1-kirkwood to 4.15.2-kirkwood. But it does not boot up. I think it get stuck at U-boot, and I just realized that my USB-serial adapter is probably at home as can't find it anywhere here. So I can't see what it is doing until tomorrow. But what would you guess I did wrong? I did it like this: ROOTFS 1. I find the latest kernel at hby raffe - Debian
Fan control Hi again! After a honey moon period, our relationships is still good. But I have recognized that the LG N1T1 sounds a lot. The fan sound as it is going full speed all the time. I tried to install lm-sensors and fancontrol and then run root@debian:~# pwmconfig # pwmconfig revision 6243 (2014-03-20) This program will search your sensors for pulse width modulation (pwm) coby raffe - Debian
On the back I have a red power button. One push to start and looong push to cut of power. On front a "back-up" button and a eject button for the DVD. I would be nice to find the red button. Then I can use same button for start and a shutdown.by raffe - Debian
Thanks for the info! I used /usr/bin/keytest A program from esekeyd that reports names of pressed key. Later checked with tail /var/log/user.log Thats where /usr/bin/logger -s -i "COPY Button pushed" writes stuff on my LG T1N1 Only key that the LG N1T1 showed for esekeyd was the back-up button (KEY_133), no other button did anything. So I use the "red power buttoby raffe - Debian
I only have one color on my LEDs, white. The settings as standard look like this cat /sys/class/leds/status:white:usb/trigger kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock f1072004.mdio-bus-mii:08:1Gbps f1072004.mdio-bus-mii:08:100Mbps f1072004.mdio-bus-mii:08:10Mbps usbportby raffe - Debian
Thanks for all help bodhi! This is what I have done so far I generate new SSH key to make it my own unique rootfs rm /etc/ssh/ssh_host* ssh-keygen -A I made an apt-get update script that tells me if there is any change on initramfs apt-get update apt-get upgrade | tee apt-get-upgrade.log echo ' ' echo '**** CHECKING FOR UPDATE-INITRAMFS! **********' echo &by raffe - Debian
Here are some results root@debian:~# fdisk -l Disk /dev/mtdblock0: 512 KiB, 524288 bytes, 1024 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk /dev/sda: 5.5 TiB, 6001175126016 bytes, 11721045168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bby raffe - Debian
Whaaaaat!!!!! It worked at the first try! 8-) With Gparted I made on the new 6TB hdd a GTP partition table with 91 GB ext3 (name rootfs) ~5,9TB ext4 (name data) 512 MB swap Then I did the stuff from 1 to 7 here https://forum.doozan.com/read.php?2,26671,42569#msg-42569 (but on the hdd ;). Then I connected it to the LG and did this (exactly same as the USB, but I changet usb to ide)by raffe - Debian
Hmm, why do I want a GTP partition? I don't remember :/ Why not just do On the 6TB hdd create a smaller 50GB ext3 partition for u-boot to recognize On that 50GB partition install the same rootfs as on the USB When Linux debian 4.12.1-kirkwood-tld-1 has started up on the 50GB partition, I create (or maybe I create already when I create the 50GB partition) for us a 512MB swap and a ~5,9by raffe - Debian
bodhi, > 3TB. That means this LG stock u-boot has been > patched with that capability (older u-boot does > not have >2TB capability) Hmm, do you mean it will maybe not be possible with a 6TB hdd? I was planing to do this (don't know exactly how to do it yet, but I hope Google will be able to help me) On the 6TB hdd create a smaller 50GB ext3 partition for u-boot to rby raffe - Debian
You are right, in the end it is my fault :/ Noobs are that way, running around and pushing all big red buttons they find ;) The only time I saved envs was when I did this :( setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial' setenv mainlineLinux yes setenv bootcmd 'run usb_bootby raffe - Debian
Thanks! OK, this looks nice (and much better then mine ;) setenv bootcmd 'if run usb_boot; then ; else setenv mainlineLinux no; run bootcmd_hdd; fi' I read at http://www.compulab.co.il/utilite-computer/wiki/index.php/U-Boot_Scripts and I understand it as a "normal" if syntax that says If run_boot works OK (USB is there), then just do it. Else, but it run_boot dont&by raffe - Debian
To make it boot from the USB automatically, I did this setenv bootargs 'console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi_flash:0x78000@0(uboot),0x1000@0x78000(env) earlyprintk=serial' setenv mainlineLinux yes setenv bootcmd 'run usb_boot' setenv start_myusb 'usb start' setenv run_mw 'mw 0x800000 0 1' setenv load_uimage 'extby raffe - Debian
YES, it booted to Debian :-D This is what worked (if anyone needs this in the future) ======================== === PART 1 on Ubuntu === ======================== 0. I format a 8 GB USB drive as ext3. I use Ubuntu and I opened Disks as normal user (gnome-disk-utility 3.18.3.1, UDisks 2.1.7 (built against 2.1.6)). Plugged in the USB drive Unmounted the USB drive in Disks. Selected Foby raffe - Debian
Thanks! But it is still stubborn. This is what I did ======================== === PART 1 on Ubuntu === ======================== 0. I format a 8 GB USB drive as ext3. I use Ubuntu and I opened Disks as normal user (gnome-disk-utility 3.18.3.1, UDisks 2.1.7 (built against 2.1.6)). Plugged in the USB drive Unmounted the USB drive in Disks. Selected Format Partition... Selected > Erby raffe - Debian
Btw, I just went to bodhi's corner ( https://mibodhi.blogspot.com/ ). So I have now "bought you a beer :)" for €50. Respect and thumbs up for advertising Doctors Without Borders/Médecins Sans Frontières (MSF) this way!by raffe - Debian
I have tried with mainlineLinux=yes but the LG is still stubborn and stops with "Uncompressing Linux... done, booting the kernel." I tried it like this (note that I've changed the numbering) 28. On LG. printenv I get 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=yeby raffe - Debian
OK, I got this 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 imby raffe - Debian
Thank you bodhi! I tried your suggestions (without changing or doing anything else), but it still stops after it tries boot the kernel LGE-NAS>> usb start (Re)start USB... USB: scanning bus for devices... 2 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found LGE-NAS>> ext2load usb 0:1 0x800000 /boot/uImage .... . 3860410 byteby raffe - Debian
OK, almost there, but near the goal... nothing. What I have done this time I have a LG N1D1DD1 I read Ron's mini howto: http://forum.doozan.com/read.php?2,26671,30371#msg-30371 bernd's additions: http://forum.doozan.com/read.php?2,26671,30643#msg-30643 I should use Bodhi's latest kernel from: http://forum.doozan.com/read.php?2,12096,12096#msg-12096 So I did this: Iby raffe - Debian
I have a LG N1D1DD1 and have tried this... EDIT Now I read in https://forum.doozan.com/read.php?2,12096 that "Note: all steps below must be done while logging in as root user (not sudo). If you are not the root user then don't continue, because the rootfs will not work.". This I have not done when I worked on Ubuntu. Could that be the problem? EDIT2 Yes, that was it. Butby raffe - Debian
Hi! I will try the stuff at https://forum.doozan.com/read.php?2,26671 and I understand I will need a serial port connector. What do you think about this one? https://www.ebay.com/itm/1pcs-USB-2-0-to-TTL-UART-6PIN-Module-Serial-Converter-CP2102-STC-PRGMR-Cable-BE-/201709769604?_trksid=p2385738.m4383.l4275.c10 Or maybe this? https://www.kjell.com/no/produkter/elektro-og-verktoy/arduino/modby raffe - Off-Topic