bodhi Wrote: ------------------------------------------------------- > dmb4312, > > Try installing the new kernel 6.5.7. The DTB comes > with this kernel is the latest one in this thread. Bodhi, I will definitely try it when I get time some time next month. thanks alotby dmb4312 - uBoot
> To incorporate the Power LED commands, to indicated the kernel has finish booting, you can add them to the end of /etc/rc.local before exit 0. > echo 6 > /dev/ttyS1 > echo 4 > /dev/ttyS1 > exit 0 > Thanks Bodhi.by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > Normally don't do power off this way. It should be > handled by the kernel driver (which will be > invoked by the shutdown process). But it does not > hurt to try at this point, because there is > nothing important yet on your HDDs. > > In Debian, test each of the itemsby dmb4312 - uBoot
> No, we need to find it in /sys/class. See my post > immediately above. >find /sys/class -name '*fan*' Bodhi, this is what I get: root@debian:~# find /sys/class -name '*fan*' /sys/class/devlink/platform:f1010000.pin-controller--platform:gpio-fan-150-15 /sys/class/devlink/platform:f1010100.gpio--platform:gpio-fan-150-15 root@debian:~# ls -la /sys/clby dmb4312 - uBoot
That's good to know. I'll take a look. That Power LED blinking chirping is likely to be GPIO 12, which was set when u-boot starts. You can also use the echo method to set the triger to turn it off, too. if you mean like this: root@debian:~# /bin/echo 12 > /sys/class/gpio/export root@debian:~# /bin/echo "out" > /sys/class/gpio/gpio12/direction root@debian:~# /binby dmb4312 - uBoot
just noticed that shutdown command produced the sata errors when halting the box. as we talked about earlier I now used the shutdown and not init command to bring box to the halt. not sure if this is intended or some kind of error in context with sata problems in uboot. root@debian:~# shutdown -h now INIT: Sending proUsing makefile-style concurrent boot in runlevel 0. Stopping hotplugby dmb4312 - uBoot
Bodhi, here you go: root@debian:~# ls -1 /sys/class/leds/*/trigger | xargs tail -n +1 ==> /sys/class/leds/synology:alarm/trigger <== usb-gadget usb-host kbd-scrolllock kbd-numlock kbd-capslock kbd-kanalock kbd-shiftlock kbd-altgrlock kbd-ctrllock kbd-altlock kbd-shiftllock kbd-shiftrlock kbd-ctrlllock kbd-ctrlrlock f1072004.mdio-bus-mii:08:link f1072004.mdio-bus-mii:08:1Gbps f1072004by dmb4312 - uBoot
Im just doing this testing for the sake of testing, this does not bother me at all I just notice things and report here for you/community being able to track the progress. If at any time you need to stop testing and do something else please let me know. when I find time I'm more than happy to help if there are particular thing you want me to check or test please specify As of nowby dmb4312 - uBoot
Bodhi, this works but amber and green should be switched around. amber gives green led and visa-versa as of now. for HDD1 to 4 that is. tried on hdd5, this does not do anything.by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > > the clock is alive just wrong. > > It will be set by NTP eventually sometime after > the system has booted, or you can manually set it > with the date command. > > > not sure about the fanncontrol though: > > > /usr/sbin/pwmconfig: There are no > > temperature-capable sby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > Hi dmb4312, > > > sata test didn't return anything new. > > The output of dm tree is interresting. It showed > some block devices were detected. And some were > removed in the 2nd test, which is a good sign. > > - Does each of these disks have a single > partition, or any ofby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > I've uploaded the Oct 14 u-boot version in the > first post. > > With this Oct 14 version DTB name change, you'll > need to edit the uEnv.txt to add > > > devices=usb > ethaddr=ba:e8:e7:09:2b:f4 > dtb_file=kirkwood-ds411jv10.dtb > Hi bodhi, saby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > booted with new uboot and dtb, I think you > fixed > > the RTC and the fan: > > > > > > [ 12.503678][ T162] rtc-rs5c372 0-0032: > > rs5c372a found, am/pm > > [ 12.555438][ T162] rtc-rs5c372 0-0032: > > registered as rtc0 > > [by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > I've uploaded the Oct 11 version in the first > post. Update in this version: Fan and RTC. > > Copy the new DTB to your rootfs. > > kwboot with this new u-boot. And boot straigth > into Debian. Observe the kernel boot log to see if > there is any change in RTC and Fan. Hi Bodhi,by dmb4312 - uBoot
Bodhi, so the sata didn't react now either. DS411J> mw.l 0xF1010140 0x00000aaf DS411J> sata init DS411J> sata info DS411J> dm tree Class Index Probed Driver Name ----------------------------------------------------------- root 0 [ + ] root_driver root_driver simple_busby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > I was just trying to check if the leds would > react > > by disabling 4th nibble in the row which did > > nothing > > I then just activated its corresponding values > and > > fan reacted but not the leds. > > so lucky I would say. > > Thatby dmb4312 - uBoot
led status when nothing is done: lan - nothing hdd 1-4 - all lit orange power - blinks/chiping blue status - nothingby dmb4312 - uBoot
> What GPIOs are you setting in these pokes? is > there a reason for each or just hacking? I was just trying to check if the leds would react by disabling 4th nibble in the row which did nothing I then just activated its corresponding values and fan reacted but not the leds. so lucky I would say. still cannot understand why and how sata should react. have seen that if I issue &by dmb4312 - uBoot
found an interesting page which I guess you already seen: https://lore.kernel.org/all/52F48EC8.9020306@killerwolves.net/ The Ricoh RTC seems to be only used in the pre-2010 units. Everything else uses the Seiko RTC. Most of the 1-bay and 2-bay units use the GPIOs that are multiplexed with the built-in SATA interface activity/presence pins on mpp 20-23, while the 4-bay units use ge0by dmb4312 - uBoot
after some playing around with GPIOs for FAN: lowest possible speed in percent, 25: DS411J> mw.l 0xF1010100 0x00008000 normal speed, 50 DS411J> mw.l 0xF1010100 0x00010000 75: DS411J> mw.l 0xF1010100 0x00018000 100: DS411J> mw.l 0xF1010100 0x00028000by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > I've uploaded the Oct 09 version in the first > post. > > Please try the SATA GPIO tests again. I would do > GPIO 30 and capture the log (I want to see how the > dm tree looks like). > > And then do GPIO 29, and GPIO 31. here we go: DS411J> dm tree Class Index Probedby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > > How many wires are connecting to each of your > > fan? > > > > I'm almost certain that there are three wires > for > > each fan. > > black, red and white > > Good to confirm that. > > I also looked a bit in the GPL source, no siby dmb4312 - uBoot
bodhi, > How many wires are connecting to each of your fan? I'm almost certain that there are three wires for each fan. black, red and whiteby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > nothing happened when these commands are ran, > then > > when I issued shutdown: > > > root@debian:~# init 0 > > Don't do that. Run the standard shutdown > procedure, so each device will received a proper > shutdown. > > > shutdown -h nby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > do you mean to add 29 and then 31 in turns in > > addition to the 12 and 16? > > Yes. Either individually or both at the same time > is OK. > > I'm not sure how and what 12 and 16 do, are > these > > generic to enable sata and then we need to add >by dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > > Please try this test for fan alarm. > > > > > nothing happens when I issue the commands, no > > sound, no speed change, no output on the > screen. > > Ok let's try this test in Debian. > > Export > > /bin/echo 18 > /sys/class/gby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312 , > > Let me explain how I do these hacks, and you can > use the example to play with it. > > > Quotebodhi Wrote: > ------------------------------------------------------- > > Please do this test for HDD 1. > > > > Kwboot the Oct 5 u-boot (if you have not >by dmb4312 - uBoot
Bodhi, please see output below. bodhi Wrote: ------------------------------------------------------- > Please do this test for HDD 1. > > Kwboot the Oct 5 u-boot (if you have not flashed > it). Interrupt the countdown and, > > > dm tree > mw.l 0xF1010100 0x40011000 > sleep 3 > sata init > sata info > sata part > dm tree > DSby dmb4312 - uBoot
Bodhi, bodhi Wrote: ------------------------------------------------------- > dmb4312 , > > > > > the fans are running fine now. > > > > at uboot they lowered to low/normal speed. > :) > > > > no changes when booting into debian, still > > > running > > > > normal/low speed after login. > > Please try this tesby dmb4312 - uBoot
bodhi Wrote: ------------------------------------------------------- > dmb4312, > > > the fans are running fine now. > > at uboot they lowered to low/normal speed. :) > > no changes when booting into debian, still > running > > normal/low speed after login. > > Cool! > > > log attached > > NIC is physically connected at the proby dmb4312 - uBoot