Thanks bohdi and LeggoMyEggo for the info, but if Openwrt can do it all in flash, why can't we? :) Sorry if the questions are dumb, but couldn't the kernel (which would fit in NAND) load rootfs (or 'init') from HDD? The workflow being something like this: the kernel and a "mini" init are on one smaller partition (on HDD or NAND or wherever); the kernel startsby randomDude - Debian
Yes, that is what I was thinking. What changed since then that it is no longer possible? rDby randomDude - Debian
bodhi, . I am wondering how you would copy data (e.g. the kernel) there. Do you have a wiki article for that? Thanks! rDby randomDude - Debian
Hi bodhi, I think I understand what you did with the uboot commands. In the end you load a file called '/boot/uEnv.txt', which was not included in the tar file. Is there more important info in there? rD Never mind, I found the info in uboot article... :)by randomDude - Debian
Hi bodhi, thanks for the tip, but the link describes what I did, too. I dunno why my sensor is reporting these values, but I would guess there is an offset somewhere that could be defined to shift the values to more realistic values. For now I have created fancontrol settings that seem to work... rDby randomDude - Debian
bohdi, sorry for missing the LED info, will check it out right away. Thanks, rDby randomDude - Debian
Hi bodhi, thanks for the answer. Can I use the environment you linked with my stock uboot? I am still reluctant to update uboot doe to the bad blocks... rDby randomDude - Debian
Hi all, I have two issues I am trying to figure out with setting up NSA310 after loading debian. 1. the package lm-sensors was installed to check the temperatures with the 'sensors' command. This reports negative temps! Also, 5V and 12V are incorrect: sensors adt7476-i2c-0-2e Adapter: mv64xxx_i2c adapter in0: 1.22 V (min = +0.00 V, max = +2.24 V) Vcore: 8by randomDude - Debian
Hi bodhi, after reading this informative wiki article on booting from HDD, I do not understand how the switch is done to HDD in detail (after step 10), specifically how uboot is configured to find the boot partition. Is that missing and the info has to be taken from other wiki articles? Thanks, rDby randomDude - Debian
Hi bodhi, thank you for your explanations! I don't really need a new uboot for now, the changes are not important at the moment. Regarding moving the rootfs from USB to HDD. Is there a way to reduce the size (significantly)? As I wrote in an edit, I have only ~500MB on that partition but the USB rootfs is ~800MB... And, yes, for some reason, back when I was a lot younger, I decidby randomDude - Debian
Hi bodhi, sorry, I will include more info next time. Apart from that, your assumption is spot on, I am running Quotebohdi Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 on USB rootfs The problem with uboot is that I cannot upgrade it to a newer version, from stock, due to bad sectors. The tutorials advise against updating uboot if that occurs below block 7, which for me is the case withby randomDude - Debian
Hi all, what would be the steps to get the system installed in the "real" boot partition. E.g. for my NSA310 I want the system to be independent of the usb flash drive and instead have it boot from internal flash/HDD. With my limited understanding, given my partitions: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 1.8T 0 disk |-sda1 8:1by randomDude - Debian
bodhi, I am quite the moron. I had overwritten the MBR by issuing mkfs.ext3 /dev/sdb instead of /dev/sdb1... It works now! Thanks for your help! rDby randomDude - Debian
bodhi, thanks for the suggestion, but I did this already: was root, used mkfs.ext3 from CLI, label is "rootfs". Unpacked Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 with "tar -xjf ...". Copied/Appended data, used mkimage, synced Is there some way to check if the MBR was written correctly? rDby randomDude - Debian
Hi bodhi, thanks for the reply. Here is the requested output: NSA310>>printenv bootargs=console=ttyS0,115200 mtdparts=nand_mtd:0x100000(uboot),0x80000(uboot_env),0x80000(key _store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0 x2FC0000(rootfs2) root=/dev/nfs rw init=/init bootdelay=2 baudrate=115200 loads_echo=0 eth1addr=00:19:CB:00:5by randomDude - Debian
Hello all, after trying for ~4 hours and reading several installation instructions, the installation of Debian is still not working. One stumbling block are bad sectors in the mtd0 partition: / # dmesg | grep -i bad Scanning device for bad blocks Bad eraseblock 2 at 0x000000040000 Bad eraseblock 3 at 0x000000060000 ... So the solution seems to be to keep the stock uboot and proceed fby randomDude - Debian