Hi Bodhi, Thanks in advance. I have made some steps: Created 2 links: ln -s /usr/src/linux-headers-4.10.9-kirkwood-tld1 /usr/src/linux ln -s /usr/src/linux-headers-4.10.9-kirkwood-tld1/ /lib/modules/linux-headers-4.10.9-kirkwood-tld1/build included in Makefile CFLAGS=-I/usr/src/linux-headers-4.10.9-kirkwood-tld-1/include -I/usr/include But still have a file not found: root@Storby Erik - Debian
The package linux-headers-4.10.9-kirkwood-tld-1 is installed. Package 'linux-headers-generic' has no installation candidate root@Stora2:~/r8152-2.08.0# I think i need a source package but if i try i get this root@Stora2:~/r8152-2.08.0# apt-get source linux-image-$(uname -r) Reading package lists... Done Building dependency tree Reading state information... Done Pickingby Erik - Debian
Hi Bodhi, I want to install a new realtek-driver for an usb-ethernetcard It is not in firmware-realtek It's the realtek 8152 driver # lsusb Bus 001 Device 004: ID aaaa:8816 Bus 001 Device 005: ID 0bda:8152 Realtek Semiconductor Corp. Bus 001 Device 003: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB Bus 001by Erik - Debian
Hi JT, Every program has its own background. By some you can change them. Not with all. Sometimes you can use an other program where you can change background or lookings. Erikby Erik - Debian
Hi, I'm writing this using Konqueror on my Pogoplug pro. I have made a few pictures of the vnc-viewer-screen Used ksnapshot for it. The first picture is with LXterminal - running top. The second with LXterminal and Dolphin - showing snapshots The third with LXterminal, Dolphin and Konqueror. Pictures are uploaded directly from pogoplug. (I'm just telling this, so you can sby Erik - Debian
Hi Bodhi, I have also tested with a swap-file. It does not make any difference, when using a swap-file or a swap-partition. See below for the testing part. How to create a swapfile: Make a swapfile of 384 Mb # dd if=/dev/zero of=/swap bs=1024 count=393216 # chown root:root /swap # chmod 0600 /swap # mkswap /swap # swapon /swap Add it to /etc/fstab: /swap none swap sw 0 0by Erik - Debian
Hi Bodhi, I did buy a Pogoplug Pro. I put your U-boot on it. Copied the filestem to usb-stick. and it works fantastic. Thanks for the good work. I have upgraded to the latest kernel: 4.4.54-oxnas-tld-1 Did a dist-upgrade to Debian 8 After that and reading about the mPCI-e possibilities and connectiong a real screen. I thought maybe GUI with vnc4server I did: apt-get install gby Erik - Debian
Hi Bodhi, I want to try to put a new kernel in filesystem in mtd I have mtd1 for uImage and mtd2 for filesystem So i can do 2 things 1- make a new filesystem mtd1 for the total size of 249+6Mb and put a filesystem in with uImage and uInit and dtsfile. But than i have to load the files from the ubifs filesystem. I have to mount the ubifs rootfs and than load the 3 files. Do you have any expeby Erik - uBoot
Bodhi, Thanks !!! Your quite right. After -not using the -l -argument i get, when copying: mtd0-stora1 100% 1024KB 1.0MB/s 00:00 mtd0-stora2 100% 1024KB 1.0MB/s 00:00 mtd1-stora1 100% 6144KB 3.0MB/s 00:02 mtd1-stora2 100% 6144KB 3.0MB/sby Erik - uBoot
Hi Bodhi, I think thats a great idea to backup first the mtd's. So i did follow your advise. root@debian:~# nanddump --noecc --omitoob -l 0x80000 -f mtd0 /dev/mtd0 Block size 131072, page size 2048, OOB size 64 Dumping data starting at 0x00000000 and ending at 0x00080000... root@debian:~# nanddump --noecc --omitoob -s 0x100000 -l 0x600000 -f mtd1 /dev/mtd1 Block size 131072, pagby Erik - uBoot
Hi Bodhi, I tryed to get old firmware started, with different mdtparts, without, different configs, with and without old uboot params, but after decompressing it is not working. There are plenty of errors where the booting can stop and because i don't know the errors - nothing is reported to the console - the changes are slim to get it started. So i want to replace existing md1/md2 parby Erik - uBoot
Hi Bodi, I have another stora - looks the same is a version 1.21. This is the printout of the enviroment. But so as you see, there is nothing after "console=console=ttyS0,115200" __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_|by Erik - uBoot
Hi Bodhi, if i do a run scan_disk run set_bootargs and run bootcmd_exec than usb is starting correctly. FW is not starting. There is a line in console about mtdparts, is this enough? I tryed run bootcmd.... Netgear Stora> printenv CASset=min MALLOC_len=1 arcNumber=2743 autoload=no baudrate=115200 bootargs_end=:::DB88FXX81:eth0:none bootargs_root=ubi.mtd=2,2048 rootby Erik - uBoot
Hi Bodhi, Other question "How do i make this autostart and as last resort start with FW?' Thanks Erikby Erik - uBoot
Hi Bodhi, If i do: run scan_disk setenv bootargs 'rootfstype=ext2 rootdelay=10 root=LABEL=rootfs $(console)' run bootcmd_exec then the box starts I can change the rootdelay in the command from: 10 to $(usb_rootdelay) or to $usb_rootdelay, than the box starts. Any other change and the box hangs. (Uncompressing Linux... done, booting the kernel. -- and nothing). I have re-enteby Erik - uBoot
Hi Bodhi, Thanks ! I have done: >>Interrupt netconsole and >>setenv preboot >>saveenv >>reset >>Let it boot. I have now all my output again on my serial console ! When i try to boot stock Firmware, it gives: U-Boot 2016.05-tld-1 (Jun 12 2016 - 13:45:22 -0700) Netgear-MS2110 SoC: Kirkwood 88F6281_A0 DRAM: 128 MiB WARNING: Caches noby Erik - uBoot
Hi Bodhi, I have also an serial cable (putty on com1) also stops at Starting kernel ... -1- Should i not get info using serial console, or do i have to set envir parameters for that (stdin/stdout/stderr -- otherwords disable nc?) -2- I looked at my router. It gives a green v when a ip adress is used. I could not find a not known ip-address. Tryed all the ip-addresses but get not an answer baby Erik - uBoot
Hi Bodhi, I have installed the new U-boot. Box is booting into U-boot - happy that, that works, pfff. I have copyed all environment-parameters into the new uboot, but i think a lot of them can be skipped and deleted. I want to have the possibility to boot into old Firmware-redhat-linux and to usb. Both do not boot. This are mine uboot-enviroment settings: U-Boot 2016.05-tld-1 (by Erik - uBoot
Hi Bodhi, I have tested on my box version. It is 1.11, so kwboot can not be used. (My box is breakable, so i m extra careful) Before i start i have one question about the /etc/fw_env.config file; has the offset to be 0xc0000 --> __nand_correct_data: uncorrectable ECC error has the offset to be 0x100000 --> Cannot read bad block mark: Invalid argument Thanks Erikby Erik - uBoot
Hi Bodhi, Found this: Partition table Other interesting issue related to the use of MTD devices is that there is no partition table, the layout of the disk (MTD memory I mean), is passed to kernel as parameters (PLEASE McWire explain where you pass it). The original Stora have three partitions: -Original-U-BOOT (1Mb) -Original-Kernel (6Mb) -Original-ROOTFS (249Mb)by Erik - uBoot
Hi Bodhi, Can i install safely U-boot with above error. Do i have to change device-offset in /etc/fw_env.config? Marvell>> Marvell>> printenv console console=console=ttyS0,115200 mtdparts=orion_nand:0x100000@0(uboot),0xff00000@0x100000(root) root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "uboot" mtd1: 0ff00000 00020000 &by Erik - uBoot
Hi Bodhi, I found: http://forum.doozan.com/read.php?2,29259,29285,quote=1 And this, looking at the original boot: ... Using static partition definition Creating 3 MTD partitions on "nand_mtd": 0x00000000-0x00100000 : "u-boot" 0x00100000-0x00700000 : "uImage" 0x00700000-0x10000000 : "root" .. And did this: setenv console 'by Erik - uBoot
Hi Bodhi, I have found the error in this code: setenv usb_set_bootargs 'setenv bootargs console=$(console) root=$(usb_root) root=LABEL=rootfs' It works when i change console=$(console) to $console My usb_set_bootargs looks now like this: Marvell>> setenv usb_root 'LABEL=rootfs' Marvell>> printenv usb_rootfstype usb_rootfstype=ext2 Marvell>>by Erik - uBoot
Hi Bodhi, Maybe important, i did some time ago a resetenv. Because of this i had to startup and load the flashware.img file. I did follow this topic: http://www.openstora.com/forum/viewtopic.php?f=6&t=412&sid=0ec63b563241250366be7c45ed063b61&start=15 1. Apparently u-boot try to load the file "flashware.img" from a usb-stick very early in the booting procedure. Iby Erik - uBoot
Hi Bodhi, In the topic i added the putty.log, in which the commands and output is saved. The only thing before i did, was: download linux-tools-installation-bodhi.tar.gz sha256sum in /root: tar xzvf linux-tools-installation-bodhi.tar.gz cd tools ln -s fw_printenv fw_setenv cp -a fw_env.config /etc/ and cp -a the rest to /usr/sbin cp -a busybox /usr/sbin cp -a e2fsck /usr/sbiby Erik - uBoot
Hi Bodhi, I have started with the instructions of installing new uboot. - First i did unpack the env-tools - did look if kernel did support it Did see this: Updated 05 Sept 2015: Kernel linux-4.2.0-kirkwood-tld-1 package has been uploaded. The following features were updated/added: 1. Incorprate patched nsa3xx-hwmon module for NSA320 and NSA310 (some variant of). This patch allowsby Erik - uBoot
Hi Bodhi, Thanks. I changed the setting, but than its not booting. it stops after uncompressing the kernel. I think for now i can best keep: printenv usb_set_bootargs usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=$usb_rootdelay rootfstype=ext2 this one starts __ __ _ _ | \/ | __ _ _ ____ _____| | |by Erik - uBoot
Hi Bodhi, If i run the usb_bootcmd, everything goes OK, if i use the values. If i use root=$usb_root, or rootfstype=$usb_rootfstype, or console=$console booting stops. root=$usb_root --> (initramfs) console=$console --> done, booting kernel rootfstype=$usb_rootfstype --> (initramfs) rootdey=$usb_rootdelay --> no problem, good booting I think variables are nby Erik - uBoot
Hi Bodhi, It worked. It booted into the logon-screen. I don't understand? Shall i add some more in usb_set_bootargs? So i don't have to have midids and mtdparts, can i delete them. (I'm not sure if the setting are correct). Erikby Erik - uBoot
Hi Bodhi, Thanks for your help. I have changed the addresses. Even now -running usb_set_bootargs, causes a stop after Starting the kernel..... (if i start with run usb_bootcmd) Marvell>> printenv ... usb_load_uimage=ext2load usb 0:1 0x800000 /boot/uImage usb_load_uinitrd=ext2load usb 0:1 0x1100000 /boot/uInitrd usb_boot=run usb_load_uimage; run usb_load_uinitrd; bootm 0x8000by Erik - uBoot