The reason why I hope to boot from nand is about the case that the disk systems crash, in actual situation I need a serial connection to reach the device again , so a minimal debian kernel or other linux minimal flavour will be useful as emergency aid. Anyway I will try to create a "boot from hardisk" system , i have 0.5 Tb of music to store :). Thanks for your help and support bby gigirock - uBoot
Thank you , I will study the case in the next days but I'm too busy at work...... Anyway I don't understand if at the end the os will be loaded in nand , yes I will boot from nand but the further modification will be written in nand , so we will use nand as a disk ?by gigirock - uBoot
Thank you Bodhi, Yes please if you have something to 'test' now please try to send me and I will make some tests for you. I have no 'production' files to store on nas220 by now , so I want to test btrfs now. But now in order to boot from nand i have to load zImage in mtd2 and zInitrd in mtd3 ?by gigirock - uBoot
Hello again , I think you are interested about this news : debian login: root Password: Linux debian 5.13.6-kirkwood-tld-1 #1.0 PREEMPT Sat Jul 31 22:10:39 PDT 2021 armv5tel The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux coby gigirock - uBoot
Bodhi: nas220> setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial' nas220> setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage' nas220> setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd' nas220> setenv usb_boot 'mw 0x800000 0 1; run load_uimage; run load_uinitrd;by gigirock - uBoot
Ok I will do as you request , in the meantime: printenv give me back this parameter: fdtcontroladdr=7b55608 What is it ? can I disable it with "set fdtcontroladdr" ? ( tonight I will check the contents of that address )by gigirock - uBoot
I'm replying myself, ;) Ok I can boot from hardisk using ext3 filesystem , seems also ext4 fs is recognized, but it is difficult to have a raid 1 for example and boot the device from there. Maty be I have to create a /boot partition in only one disk and boot from there then create raid 1 on another partiton ( /sda2 for example ) and have raid 1 only on sda2 sdb2 partitions.... but Iby gigirock - uBoot
Thank you bodhi, I'm sorry about my delayed answer , but I'm in trouble with internet connection at home and so I can't be online at night. Many thanks for your special version of the kwb file for my nas220 , also your version doesn't find hard disks , or better the contents of the filesystem. I'm back to the 11.2017 version of u-boot: ( U-Boot 2017.11 (Dec 18 2018by gigirock - uBoot
i tried full disk ext3 or ext4 partition mbr with/without boot flag and 5Gb ext3 or ext4 partition mbr with/without boot flag but from consolle never saw the ext2ls or ext4ls command to work also ide info never gave me some result. Ony ide reset works as expected i want to test an old u-boot , i think the issue is about there. GiGiRoCkby gigirock - uBoot
No chance to start from hdd , because hdd is not seen by u-boot , is the disk gpt or mbr ? note some examples here , the only command that has an answer is ide reset No chance to boot from nand, no chance to come back to original firmware ... do I throw away ? nas220> ide reset Reset IDE: Bus 0: OK Bus 1: OK Device 0: Model: ST32000542AS Firm: CC95 Ser#: 5XW0M7ZQ Tby gigirock - uBoot
I have : nas220> nand bad Device 0 bad blocks: 0127c000 01284000 0128c000 but the help system said: nand markbad off [...] - mark bad block(s) at offset (UNSAFE) are this 3 blocks already marked as bad ? Is it a good idea markbad the 3 bad blocks ?by gigirock - uBoot
Hi Bodhi, just like always you are right. :) Ok now I have a kind of boot , also openwrt starts as expected, but I prefer to have a pure Debian enviroment No way to start from nand, How to check if I have some bad blocks ? Can I test to start from hdd ? I guess to create a partition etx3 named rootfs with the same files I have in actual SD ( boot from USB/SD is ok now) , I can createby gigirock - uBoot
something is moving..... I changed SD card with an old one about 4Gb and something happens: How to create the right image for my Seagate nas220 ? mkimage in /boot ? nas220> run usb_bootcmd 5435888 bytes read in 313 ms (16.6 MiB/s) 9671091 bytes read in 536 ms (17.2 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.13.6-kirkwood-tld-1 Createby gigirock - uBoot
Yes thank you but with ext3 ( called by ext2load ?) filesystem , my linux box ( the pc from I'm writing now) has strange behaviour like take some minutes to complete the 'sync' command to flush all the files to the SD, that is very hot when I unplug it from the PC, I also saw a note about the version 20.x of the u-boot is able to load rootfs from ext4 filesystems https://github.cby gigirock - uBoot
nothing to do i have u-boot new version i used your Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 files on usb/SD I tried ext3 or ext4 fs The results is always kernel "wrong image format" nas220> printenv autoload=no autostart=no baudrate=115200 bootargs=console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial bootargs_base=console=ttyS0,115200 bootcby gigirock - uBoot
Hi all, Proud to be in this forum where a lot of experts are. I have a seagate nas220 bricked as someone starts an (official) upgrade and tried to stop it disconnecting power supply connector. I have a 3.3V rs232 connection to the device and a stable connection , following https://github.com/hn/seagate-blackarmor-nas I tried several times and ways to get debian installed but the point wheby gigirock - uBoot