bodhi, the fans are running fine now. at uboot they lowered to low/normal speed. :) DS411J> md.l 0xF1010000 8 f1010000: 01002222 03303311 33330000 33003333 ""...30...3333.3 f1010010: 00005533 00000000 00000000 00000000 3U.............. DS411J> md.l 0xF1010100 1 f1010100: 00011000 .... DS411J> md.l 0xF1010140 1 f1010140: 0000baa3by dmb4312 - uBoot
Hi, the fans are running full-speed, no change., both in uboot and past. just spin full speed at start with no behavior changes under boot. DS411J> md.l 0xF1010000 8 f1010000: 01002222 03303311 00000000 00100000 ""...30......... f1010010: 00000000 00000000 00000000 00000000 ................ DS411J> md.l 0xF1010100 1 f1010100: 00010000 ...by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > Fan issue - get some info from stock u-boot. > > Please kwboot with the backup mtd0. Interrupt the > count down. > > Are the fans running? are they running at full > speed? > > And do > > > md.l 0xF1010000 8 > md.l 0xF1010100 1 > md.l 0xF1010140 1 > The fans aby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > Congrat :) > > > Im attaching log-files for reference > > The u-boot phase looks great! except for SPI envs, > which we worked around using uEnv.txt. So it's > fine for now. > > Kernel looks good, except 2 minor issues. Now that > your box is fully functby dmb4312 - uBoot
bodhi, Success, or I think it is. :) after flashing and reboot the console didn't output anything so I hard-booted it. console output again and the box autobooted with your uboot. (oct 2) Im attaching log-files for reference 1. I see that the fans are going full-speed, so I had this single 150mm connected to have some airflow over the board without an airplane beside me. 2.by dmb4312 - uBoot
bodhi, that didn't work very well, same error. check the attached log.by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > Reboot without kwboot, does it still boot into > stock u-boot? if it does, interrupt the countdown > and > > > help > flinfo > yes, it does start with stock uboot: OPTIONS: I18n Port /dev/ttyUSB0, 21:1by dmb4312 - uBoot
Hi bodhi, followed the instructions but the verification of written mtd0 is failing. >1. In Debian, verify the mtds definition as following >cat /proc/mtd >dev: size erasesize name >mtd0: 00080000 00010000 "u-boot" >mtd1: 00010000 00010000 "u-boot-env" >mtd2: 00300000 00010000 "data" root@debian:~# cat /proc/mtd dev: size eby dmb4312 - uBoot
bodhi, here you go, log attached.by dmb4312 - uBoot
Bodhi, flinfo does not return anything, please see attached log.by dmb4312 - uBoot
the "flinfo" command is missing: sudo kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2023.04-tld-1.ds411j.kwb -p kwboot version 2022.01+dfsg-2ubuntu2.4 Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...- Waiting 2s and flushing tty Sending boot image header (512 bytes)... 25 % [....by dmb4312 - uBoot
Bodhi, looks like there is a change in behavior, check the bootlog. here are the commands you've asked for >cat /etc/fw_env.config root@debian:~# cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors /dev/mtd0 0xc0000 0x20000 0x20000 root@debian:~# >cat /proc/mtd root@debian:~# cat /proc/mtd dev: size erasesize nameby dmb4312 - uBoot
Thanks for the explanation.by dmb4312 - uBoot
Hi Bodhi, so I tested with new dtb you had attached with 26sep version by copying to /boot/dts didn't do anything with dts file as Im unsure if and where it should be used. booted using 26sep uboot version looks like there is same warning regarding spi flash. log attachedby dmb4312 - uBoot
bodhi > Fantastic! we no longer see the conflict between > SATA and Ethernet GPIOs. Thats awesome. > Note that you did not extract the DTB tarball when > you upgraded the kernel. > > tar -xf linux-dtb-6.4.11-kirkwood-tld-1.tar > > > So the DTB should be the Sep 24 > uboot.2023.04-tld-1.ds411j.bodhi.tar version: > > -rw-r--r-- 1 root root 212by dmb4312 - uBoot
bodhi > Fantastic! we no longer see the conflict between > SATA and Ethernet GPIOs. Thats awesome. > Note that you did not extract the DTB tarball when > you upgraded the kernel. > > tar -xf linux-dtb-6.4.11-kirkwood-tld-1.tar > > > So the DTB should be the Sep 24 > uboot.2023.04-tld-1.ds411j.bodhi.tar version: > > -rw-r--r-- 1 root root 212by dmb4312 - uBoot
Hi Again, I found some time to go through the kernel-upgrade followed everyting and choose 4a step it booted to 6.4.11 and network seems to work, I got logged in over ssh. dtb used: root@debian:/boot/dts# md5sum kirkwood-ds411j.dtb 41690f9e69155b04939c46bd958cf47e kirkwood-ds411j.dtb please see the files attached thanks.by dmb4312 - uBoot
Bodhi, 1. rolled back to original DTB and booted off with sep24 uboot, ethernet works fine as it seems, bootlog attached. 2. when you say upgrade the kernel to 6.4.11, I assume you mean going through the update instructions in the link you posted. I will have to do this another sitting as I unfortunately dont have time right now. I will read and follow it and be back with the results soby dmb4312 - uBoot
addition: 24-sep.bodhi.uboot-autoboot-2.txt shows another outcome, this is when I had activated an ip and pinged the gateway in uboot. so not the same when just letting the box boot on it's own Edit: I let it run and at the end the login prompt appeared: see attached rest-boot-log Edit2: Attached dmesgby dmb4312 - uBoot
Hi Bodhi, did the test and the nic worked in uboot, not sure why it says Sep 23 2023 here, Im certain that I used correct kwb from Sep 24 uboot version. 508681b544cfbd1ea6a7e7007769d40f uboot.2023.04-tld-1.ds411j.kwb U-Boot 2023.04-tld-1 (Sep 23 2023 - 15:48:15 -0700) Synology DS411j SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB Core: 13 devices, 11 uclasses, devicetree: sepby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > Cool! that told me exactly which ethernet should > work. PHY 9 is not the one. The mainline Linux DTS > is wrong. Will fix this. > So you've confirmed that the PHY addr is 8 for > this box. Nice! > That fdisk and lshw commands might choke. I think > it is probably related to Ethernet proby dmb4312 - uBoot
Bodhi, It lost the NIC with 23sep version. here is the process: sudo kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2023.04-tld-1.ds411j.kwb -p kwboot version 2022.01+dfsg-2ubuntu2.4 Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...- Waiting 2s and flushing tty Sending boot image header (512 bytes)... 25by dmb4312 - uBoot
Cool, looks like uEnv.txt works Loading envs from usb 0... 38 bytes read in 904 ms (0 Bytes/s) ... envs loaded importing envs ... see attached boot-log.by dmb4312 - uBoot
Bodhi, I seemed to had deleted the uImage.orig file while testing earlier. So I extracted it from the 3414d7ad038b402836f232a575d3433f Debian-5.13.6-kirkwood-tld-1-rootfs-bodhi.tar.bz2 and copied the uImage to the /boot/ of the USB previously having renamed dtb-containing uImage, all done logged in as root. so it should be fine now root@debian:~# ls -la /boot total 57696 drwxr-xby dmb4312 - uBoot
Hi Bodhi, please see attached photo: it looks like its ST Microelectronics M25P32V6P SOP16 chip I cant seems to find matching datasheet anywhere I found this which is ST m25p32 datasheet. I hope this can be useful link to full image: m25p32v6pby dmb4312 - uBoot
Bodhi, strange that it kernel sees one chip and expects another: [ 10.337020][ T1] spi-nor spi0.0: found m25p32, expected m25p80 [ 10.343316][ T1] spi-nor spi0.0: m25p32 (4096 Kbytes) this might be the m25p32 m25p32 and m25p80 Im at work for at least 8 more hours, I will check the flash imprint and report back later. I have access to the system though, let me knowby dmb4312 - uBoot
boot: kwboot version 2022.01+dfsg-2ubuntu2.4 Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...- Waiting 2s and flushing tty Sending boot image header (512 bytes)... 25 % [.... ] Done Sending boot image data (479820 bytes)... 0 % [......by dmb4312 - uBoot
Bodhi, initial uboot-load: remote some unecessary procentage load line. sudo kwboot -t -B 115200 /dev/ttyUSB0 -b uboot.2023.04-tld-1.ds411j.kwb -p kwboot version 2022.01+dfsg-2ubuntu2.4 Patching image boot signature to UART Aligning image header to Xmodem block size Sending boot message. Please reboot the target...- Waiting 2s and flushing tty Sending boot image header (512 bytes)by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > It's up in the new thread. > > https://forum.doozan.com/read.php?3,135762 > > It'll be a bit rough. I only spent a couple hours > to roll it, and have not done any testing. > Hopefuly USB and SATA will work. Thanks Bodhi, I will test it in couple of days and be backby dmb4312 - Debian