OK good to know. I thought it was failing. I'll try tomorrow with usb and hddby BillyIT - Debian
root@rasp2:~/tools# kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2017.07-tld-1.nsa325.mtd0.kwb -p Sending boot message. Please reboot the target...\ Sending boot image... 0 % [......................................................................] 1 % [......................................................................] 3 % [...........................................................by BillyIT - Debian
not working... i can't boot on my sda. Wednesday it was working :( ** MARVELL BOARD: Synology Disk Station LE U-Boot 1.1.4 (May 22 2012 - 19:52:31) Marvell version: 3.5.9 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 0068B3D4 Soc: 88F6282 A1CPU running @ 1600Mhz L2 running @ 533Mhz SysClock = 533Mhz , TClock = 200Mhz DRAM (DDR3) CAS Latency = 7 tRP = 7 tRAS = 20 tRCD=7by BillyIT - Debian
> Try setting the bootargs with mtdpart coded in: > > > setenv bootargs console=ttyS0,115200 > root=LABEL=rootfs rootdelay=10 > mtdparts=spi0.0:0x80000@0(uboot,0x700000@0x100000(root) > earlyprintk=serial > > if you have trouble with the above format, do > > setenv bootargs "console=ttyS0,115200 > root=LABEL=rootfs rootdelay=10 > mtdparts=by BillyIT - Debian
> ====== > > So now for HDD rootfs, go ahead, pick any SATA > slot and put in the disk that you had partition > with the first one is 100GB. > > By the way, use these commands to make the format > look nicer than fdisk -l > > > lsblk > df -h > mount | grep sd > > > Boot with USB rootfs, and follow the instruction > to create rby BillyIT - Debian
I'll try that maybe only on Friday. Let me know if I can do anything to help make a better u-boot. Thanks for all your passion.by BillyIT - Debian
i tried picocom, it's better for the break of line but i can't copy/paste my command when i do i have this : Marvell>> setenv mtdparts 'mtdparts=spi0.0:0x80000@0(uboot,0x700000@0x100000(root)' Unknown command 'setenv' - try 'help' i tried to launch picocom like that : root@rasp2:~# picocom -b 115200 /dev/ttyUSB0 --omap crcrlfby BillyIT - Debian
root@debian:~# fw_printenv Cannot read environment, using default Cannot read default environment from file root@debian:~# cat /proc/mtd dev: size erasesize name mtd0: 00080000 00001000 "RedBoot" mtd1: 00200000 00001000 "zImage" mtd2: 00140000 00001000 "rd.gz" mtd3: 00010000 00001000 "vendor" mtd4: 00020000 00001000 "RedBoot config&by BillyIT - Debian
Marvell>> setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial Unknown command 'setenv' - try 'help' Marvell>> setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial Unknown command 'setenv' - try 'help' Marvell>> setenv bootargs console=ttyS0,115200 root=LABEL=rootfsby BillyIT - Debian
root@debian:~# ls /dev/sd* /dev/sdc /dev/sdc1 /dev/sdc2 /dev/sdd /dev/sdd1 /dev/sdd2 /dev/sdd3 root@debian:~# dmesg [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.13.6-kirkwood-tld-1 (root@tldDebian) (gcc (Debia1 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=000539f [ 0.000000] CPU: VIVT data cache, VIVT instruction cachby BillyIT - Debian
Hi > It should be (no backslash before $2): > > root@tldDebian:~# ifconfig | grep "inet "| grep > -v '127.0.0.1' | cut -d: -f2 | awk '{ print $2}' > 192.168.0.224 > Without the backslash it's not working inside the alias myip=... I'll do test and the two commands you asked tomorrow. Minicom cut lines. How to configure itby BillyIT - Debian
Hi Bodhi, i found a "bug" on the motd when i'm connecting as root, i have the motd that displayed my ip but the ip wasn't accurate root@debian:~# ifconfig | grep "inet "| grep -v '127.0.0.1' | cut -c14-26 192.168.10.20 root@debian:~# ifconfig | grep "inet "| grep -v '127.0.0.1' | cut -c14-27 192.168.10.200 root@debian:~#by BillyIT - Debian
Oh you are a GOD !!! Thanks for this step Bodhi ! We are close to finish to install debian on it ! Marvell>> bootm 0x800000 0x2100000 ## Booting image at 00800000 ... Image Name: Linux-5.13.6-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5457676 Bytes = 5.2 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksumby BillyIT - Debian
Hi Bodhi, After my fear to not be able to go to u-boot again, here it is : we have the first disk well detected ! I'll try to boot inside it (normally i make in from the usb key Marvell>> bootm 0x800000 0x2100000 ## Booting image at 00800000 ... Image Name: Linux-5.13.6-kirkwood-tld-1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5457676 Bytesby BillyIT - Debian
Hi Bodhi, I'm having trouble. No more minicom to my synology ! I tried to quit minicom, try to check cables in case it moved, try to unplug/plug usb serial cable, try to reboot nas, reboot my linux that connected to nas... Nothing work from now. Yesterday i have the same problem but at sometimes i was ablet to have minicom working again. Edit Stupid audio cable... a little bitby BillyIT - Debian
I found how to decompile. I should learn how to compile now :) Love learning everything. Frustrating sometimes but so happy at the endby BillyIT - Debian
OK I'll do that tomorrow thanks. Do you have a ressource to help me decompile DTB ? Either if I'll not be able to do it by myself I can try to learn. I don't think that there is something on wiki. Thanks to be by my side with that.by BillyIT - Debian
bodhi Wrote: ------------------------------------------------------- > When you boot with stock u-boot, which is very old > and does not support device tree, the DTB mustb > embbeded in uImage. When you boot with newer > u-boot, the DTB can be separate, and should be. So > that's why in the new u-boots I have that dtb_file > env to point to where the DTB during bootiby BillyIT - Debian
OK What to do next ? I think we are a little stuck. I don't find how to test for sata with my u-boot like ide reset. I'm waiting for your asks.by BillyIT - Debian
Hi Bodhi, For next time, someone with u-boot stock you have this command to find the physical address of network : Marvell>> sg PHY 0 mvBoardPhyAddrGet(port) 1: --------- Auto negotiation: Enabled Speed: 1000 Mbps Duplex: Full Link: up PHY 1 mvBoardPhyAddrGet(port) 108: ---------by BillyIT - Debian
Hi Bodhi, Trying to find : > See Reference Manual > Marvell_FS_88F6180_9x_6281_OpenSource.pdf. no way to find it on google My nas has this cpu : Marvell 88F6282by BillyIT - Debian
i have stupid question... i'm reading other topics to learn and maybe i made a mistake.... do i need to put the dtb in the /boot/dts/.. or is it there just to make the uImage ? Because i put it in /boot to make the uImage .... I'll give it a try... so confused if it's that the problem ! Quotesetenv dtb_file /boot/dts/kirkwood-ds212.dtbby BillyIT - Debian
See you tomorrow, i'm tired for today :) i'll try other disks if i found one. Stay tuned, thanks for your time and patience. Please point me to ressources, i really want to learn the stuff not only doing copy/paste things or explain me.by BillyIT - Debian
SSD (no small hd for test) Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> mw.l 0xF1010100 0x40008000 Marvell>> mw.l 0xF1010140 0x00003AA4 boot : Uncompressing Linux... done, booting the kernel. [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux versionby BillyIT - Debian
i have ssd or small hdd... i'll do a testby BillyIT - Debian
on DSM stock, this is what i've had : [ 2.170000] ata1: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00220009 [ 2.180000] ata2: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00240009 [ 2.190000] ata3: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00260009 [ 2.200000] ata4: SATA max UDMA/133 mmio m1048576@0xe0000000 port 0xe00280009by BillyIT - Debian
I did the same with the last one : Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010140 1 f1010140: 00000aa0 .... Marvell>> mw.l 0xF1010100 0x40008000 Marvell>> mw.l 0xF1010140 0x00003AA4 and then i boot : [ 0.000000][ T0] Booting Linux on physical CPU 0x0 [ 0.000000][ T0] Linux version 5.13.6-kirkwood-tld-1 (root@tlby BillyIT - Debian
Bodhi, can you explain why we are doing this 4 commands ? What are we trying to do or determine ? I would like to learn. > And repeat the test with a single HDD in the 2nd > slot. Bad Magic Number Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010140 1 f1010140: 00000aa0 .... Marvell>> mw.l 0xF1010100 0x40008000 Marvell>>by BillyIT - Debian
> And repeat the test with a single HDD in the 2nd > slot. Bad Magic Number Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010140 1 f1010140: 00000aa0 .... Marvell>> mw.l 0xF1010100 0x40008000 Marvell>> mw.l 0xF1010140 0x00003AA4 and then i did the boot sequence on usb : [ 11.380482][ T110] sd 6:0:0:0: 60751872 512-bby BillyIT - Debian
When booting DSM : [ 102.460000] eth0: mac address changed maybe it's why i don't have the same mac address :) So test 1 - HDD from top to bottom : Marvell>> md.l 0xF1010100 1 f1010100: 00008000 .... Marvell>> md.l 0xF1010140 1 f1010140: 00000aa0 .... Marvell>> mw.l 0xF1010100 0x40008000 Marvell>> mw.l 0xF1010140 0x00003AA4 And then, if i uby BillyIT - Debian