We are testing the new Synology DS216 u-boot here: https://forum.doozan.com/read.php?2,137280,137377#msg-137377by bodhi - uBoot
Hi Robin, Please try kwboot this initial version for the DS216 u-boot. But don't flash it yet. If all goes well, you can boot with the current envs. However, I have not finalized the default envs yet, so it will be posted later. Download at Dropbox uboot.2024.04-tld-1.ds216.bodhi.tar md5: a226ad573b3981d0f84bd42635b419b4 sha256: 712f71d706bdd397c5f1412e1a86a21cf012c2020f82df37by bodhi - Debian
> that is most like due to the fact that both my > units came without wifi modules. As I gathered > from images of the inside of various versions of > those terminals from the internet there is no wifi > builtin on the main board but it is provided in > some units by an extension card. See this picture: > wyse > 3020 with wifi adapter. My units don't have >by bodhi - Debian
@ksuszka et al, Please try: modprobe rt2800usb dmesg ifconfig -aby bodhi - Debian
@ksuszka, > Here is the boot log for reference I did not see Wifi in the log. Perhaps I need to do more configuration for it. UPDATE: It seems already configured RT2800USB_RT35XX [=y] QuoteWI1 module IF: USB (nonby bodhi - Debian
> @bodhi yes, I've installed it on the usb stick and it seems to be booting just fine. Great job! Cool! Thanks!by bodhi - Debian
@ksuszka, Please try the new kernel 6.8.7-mvebu-tld-1: https://forum.doozan.com/read.php?2,32146by bodhi - Debian
Please try the new kernel 6.8.7-mvebu-tld-1: https://forum.doozan.com/read.php?2,32146by bodhi - Debian
Kernel 6.8.7-mvebu-tld-1 package has been uploaded. See 1st post for download link. Please create a new thread for any installation problem or questions.by bodhi - Debian
> Those GPIOs turn their respective SATA bays > properly under the stock u-boot. However, even > though both drives are powered, only drives in the > Disk 2 bay will be detected by u-boot and thus be > bootable. Have you tried to check and see if these are on? 39 GPIO1 7 INPUT LOW HDD 1 present. 40 GPIO1 8 INPUTby bodhi - Debian
Kernel linux-6.8.7-kirkwood-tld-1 package has been uploaded. See 1st post for download link. And please create a new thread for any installation problem or question.by bodhi - Debian
> I'm currently preparing a complete guide that I > will post here in a few days. There are few other > minor quirks > I didn't mention previously that I will sum up in > it, such as the fact that the stock u-boot only > detects drives in the DISK 2 bay, even with an > appropriate config. 26 GPIO0 26 OUTPUT HIGH HDD1 power enable.by bodhi - Debian
@primuspaul, > Is there a comprehensive guide, step 1 to end, on > how to install a Linux distribution on a 3020? No we don't, atm. This is where you should start reading: https://forum.doozan.com/read.php?2,134563,137251#msg-137251by bodhi - Debian
> Will this work? > https://www.ebay.com/itm/355519965973 That looks OK, it's the right chip. But as with any cheap serial converter module from eBay, you'd have to try to know for sure. If it does not work, see in the Wiki thread: Quote Unbricking with Serial Console & JTAG console How to unbrick your box using serial console with kwboot .... Serial Port connby bodhi - Debian
@Robin, > It just works > > I followed your procedure with the stock kwboot of > my debian 12 PC and it worked fine. I had to keep > the power button pressed until kwboot stated > loading. Any other way to power on the NAS ended > up in a normal boot, ignoring kwboot. Cool! that's a quirk worth knowing, will save people time trying to run kwboot. I'mby bodhi - Debian
Kwboot with stock mtd0 1. Dumping mtds dd if=/dev/mtd0 of=mtd0.ds216 bs=1024k conv=sync dd if=/dev/mtd1 of=mtd1.ds216 bs=7040k conv=sync dd if=/dev/mtd2 of=mtd2.ds216 bs=64k conv=sync dd if=/dev/mtd3 of=mtd3.ds216 bs=64k conv=sync 2. kwboot - Here is an example of running kwboot. - Download the latest kwboot here. Eventhough the kwboot comes with your Linux host distro is adequatby bodhi - Debian
> It works perfectly. > We can check if kwboot works indeed. But as I have > the required tools to dump or flash the SPI NOR in > place, it's not that risky for me to edit things > to oblivion. Cool! Let's dump the mtds first to back it up and use for kwboot.by bodhi - Debian
Looks like you are using a wrong tutorial. This is what we are using here: https://linux-mmp.docs.kernel.org/dell-wyse-3020.html And in this thread, this is the post you should start from: https://forum.doozan.com/read.php?2,137328,137330#msg-137330by bodhi - Debian
u-boot envs in Linux. Power up, interrupt u-boot countdown and, setenv mtdparts 'mtdparts=spi0.0:1m(u-boot),7040k(kernel),64k(u-boot-env),-(data)' Boot into Debian and - Check the mtd layout cat /proc/mtd - modify /etc/fw_env.config cat /etc/fw_env.config # MTD device name Device offset Env. size Flash sector size Number of sectors # DS216 /dev/mtd2 0x000by bodhi - Debian
Severuspiton99, > I tried but when i tried to get to kwboot nothing > happens. What could It be? There are a few reasons. It could be that your serial connection is wrong (which is not the case here because you've used serial console before), or the kwboot version you are using is old and cannot handshake with this box BootROM successfully. Post what is the u-boot image (wheby bodhi - Debian
@Robin, > Just a quick message to say that I dug a bit into > the DS214 DTS and found several issues. The most > important one probably being the RAM set to 1GB > instead of 512MB. While it's good to fix that RAM size, what's in the DTS should not impact how the kernel determines the RAM size. The RAM size is determined by u-boot and the kernel use that info, and igby bodhi - Debian
@Robin, Thanks for the envs and boot log. And I've looked at the DTS. Looks very good! The only nit I have is the indentations, some are spaces where they should be tabs (not relevant for our purpose here, though). I'll be back tomorrow to post more details about u-boot envs.by bodhi - Debian
primuspaul, See this thread, beggining here: https://forum.doozan.com/read.php?2,134563,137251#msg-137251 And post your questions there too.by bodhi - Debian
Robin, Sorry I was not clear. What I'd like to see is your current envs and how it boots. But the stock envs are also good to have, too. ==== These are how the USB 3.0 ports were activated in stock u-boot (no need to poke the memory). usbActive=0 usbType=2 So, setenv usbActive 1 setenv usbType 3 But your finding about what GPIOs to set is great info.by bodhi - Debian
> Just a question: the image i used Is not in .kwv, > like i saw in the other post. Why? Should ut be? No matter, currently you only want to be able to try to load and run with kwboot over UART (it's a non-destructive test). But when you flash it, it must be a flash-ready format. Sometime it is .bin, sometime it is .kwb, depending on who built the u-boot image.by bodhi - Debian
> I made a lot of minor edits to my DTS file, the > latest one is attached to this post. > I listened to your advice and tested the fan > speeds carefully, LSB and MSB were swapped so I > fixed it in no time. > Everything seems to work fine when it comes to > hwmon, and even though the LED config is not the > way we would like it to be, it's probably the mostby bodhi - Debian
Hi Robin, > There is absolutely no EEPROM chip on this board > whatsoever, and the i2c-0 bus is most likely > unused. The bus experiencing locks all the time, I > decided to remove the whole i2c-0 + EEPROM node. Cool! > This is something that is more related to u-boot > than the core subject of this topic, but I prefer > to write a small paragraph about it withby bodhi - Debian
HDD LEDs Since you have found this in the GPL: 9 GPIO0 9 OUTPUT HIGH Enable HDD LEDs. But there is no GPIO for HDD1 or HDD2. It looks like the HDD LEDs are not individually controlled. As I recalled (badly), some Synology boxes are like this (it's how the board layout was designed, not that they could not do it). So add another led node similar to what you did foby bodhi - Debian
Severuspiton99, Quotei don't think i did, it's my first time with this kinda things. Should be something with kwb extension? is the backup unique for any machine or maybe i could take the backup for the ex2 ultra from someone? Yes, you can use the mtd0 backup for the EX2 Ultra from other box. Or use the same binary that you use for the bubt command. Quotei just used bubt commanby bodhi - Debian
Hi Robin, Great job with the DTS! > Here are my current DTS and > bootlog, if you find something i may have missed > i'm all ears ;-) The boot log looks very good! Here is my comment on the DTS so far. FAN The new binding for fan speed now has each speed in the map inside brackets. This is a recent change in the DT binding (old style still work, though). For examby bodhi - Debian