My bad, I think I directed you at something that doesn't exist for that one. looking at the dts files in the mainline kernel I see the following options: kirkwood-blackarmor-nas220.dts kirkwood-laplug.dts kirkwood-ns2lite.dts kirkwood-ns2mini.dts kirkwood-pogoplug-series-4.dts kirkwood-rd88f6192.dts you could try the lacie ns2 files as a start: https://d-i.debian.org/daily-imaby 1000001101000 - Debian
i'd recommend doing it from a hard drive to start, we know it will boot from that. @bohdi might have some advice for getting it to work if you want to pursue that route. also it looks like this has a different SoC than the N4B1 did, rather than trying the kurobox image you'd want to try the ls-xl installer image instead to start.by 1000001101000 - Debian
it's been a while since I worked on this one, sadly I didn't keep the greatest notes. You shouldn't have to replace uboot to get this working. as I recall the serial console feels pretty laggy which is fine. I'd recommend starting by trying to boot into that debian installer I linked to earlier. The main advantage being that if sata doesn't work right away you'llby 1000001101000 - Debian
I had an N4B1 that I did a lot of work with ~ 2010 - 2014 and know quite a bit about that device, I suspect the N2B1 is basically the same. if that's the case it should have a pretty easily accessible serial header on the board. I was able to boot the device using the device-tree for the "kurobox pro" which got network and some other things working. I believe if you enable pcieby 1000001101000 - Debian
Yeah, usually by the time I can narrow down the issue to the specific patch/commit that caused the problem I find that some has reported it. By then you usually understand the problem well enough to search for it effectively.by 1000001101000 - Debian
QuoteSo you have the same problem as mine - it looks, that the newer kernel isn't perfect. Nobody noticed that besides us yet? I couldn't find noone with this problem in the whole google. Weird... 4.20.x is right at the bleeding edge, it hasn't worked its way into much yet. Even debian testing only moved to 4.19 about a month ago though I beleive there is a 4.20 experimental packby 1000001101000 - Debian
sounds like a good start. sometimes if you have hardware defined in the dtb that doesn't actually exist it will reserve the pins that you need which will keep you from changing them. I just had that with a device where the drive power pin was one of the i2c pins, the device I copied the original dts from was using i2c for the rtc but the device I was working with didn't use i2c at aby 1000001101000 - Debian
Typically what I do at this point is pull up the gpio binding documentation for the SoC and determine what range of GPIO pins are likely to be the power pins for the drives (ie not reserved for the ethernet controller/uart/etc) and loop through them with a script enabling each while watching dmesg for the drive being detected. Once I've identified all the pins I create the appropriate deviceby 1000001101000 - Debian
looks like progress, the drive is still accessible with SoC sata disabled. is this a typo? pcie@3,0 { /* Port 2, Lane 0 */ status = "okay"; }; pcie@3,0 { /* Port 3, Lane 0 */ status = "okay"; };by 1000001101000 - Debian
Quoteso this means one drive accessible through pcie and another accessible via soc sata I guess ? look like it. That matches what I've seen before, the soc sata taking priority over the pcie when both are enabled (only the one drive since the device-tree only enables one sata via soc). You should be able to remove the soc sata entry from the dtb so that pcie takes over for that one too:by 1000001101000 - Debian
I might not be the best person to ask when it comes to these devices. These logs might be disabled to reduce disk activity or something like that (I'm guessing if you can run apt-get install it's not a read only filesystem). If you have any logs in /var/log they may be a good place to start. there are a bunch of options you can pursue but someone with more experience troubleshootingby 1000001101000 - Debian
If you've got access to the device when it happens running dmesg for the kernel output is a good first step. /var/log/messages and /var/log/syslog are also good places to start.by 1000001101000 - Debian
While you're working though this, keep an eye on /dev/disk/by-path. That'll let you see whether it's accessing the drive via the soc or the pcie controller. I think your/bohdi's next steps will be to try disabling the soc sata and confirm you're accessing those disks via sata then work on enabling the other disks, though you can do it the other way around. sorry toby 1000001101000 - Debian
That's also probably why using the stock dtb is failing, the new kernel doesn't like that older style binding for pcie (and possibly others). looking again at @bohdi 's dts it looks like that's already covered, the pcie errors are probably from the extra entry he has in there, maybe. I'd guess the drives aren't showing up because they aren't being poweredby 1000001101000 - Debian
more or less. most of that is covered in armada-385.dtsi which you are including at the top of your dts file, most likely all you need to do is override the status from "disabled" to "okay". It's probably something like: &pciec { pcie@2,0 { status = "okay"; }; };by 1000001101000 - Debian
I had a virtually identical experience with the Linkstation 441de, Though it's a different SoC the same situation seems to apply. If I'm reading the right specs the armada-385 has 2x sata ports built in just like the armada-370, for the 4+ bay model buffalo uses a seperate sata chip connected via pcie, I'm guessing it's the same for this synology device. If so enabling pcie inby 1000001101000 - Debian
The model I’m working with (TS3400D) helpfully has a serial port on the front which outputs the console, but they disconnect or otherwise inhibit the RX pin. Most other models don’t have any easily accessible UART header (or if they do it’s disconnected). One of these days I’ll put more effort into working around those issues but so far I’ve just lived without being able to directly accby 1000001101000 - Debian
I forgot you're out of town, I can probably try builing against your source. I've got your patch and config, which version of the source are you currently using? The device I'm using doesn't permit input on the console ( I beleive I need to remove/bypass a diode to re-enable it). It'll be a while before I get a chance to try out that operation. I suppose I could make tby 1000001101000 - Debian
fortunately these devices don't have that issue, in my previous testing I confirmed they can handle kernels up to 11mb (I only tested up to 6mb) and initrd > 75mb. I hooked up the serial console and tried again, unfortunately I didnt get anything past "Starting Kernel ...". most of the times I've had that problem have been an issue with the dtb I was testing, consideby 1000001101000 - Debian
Fortunately Debian has now moved to kernel 4.19 which includes all the fixes required to boot armada-370 devices again and even fixes the temperature sensor issue. I've created new device trees for the 4.19 kernel which can be found at https://github.com/1000001101000/Debian_on_Buffalo/tree/master/Buster/device_trees I attempted to install your linux-4.19.1-mvebu-tld-1 kernel on a deviceby 1000001101000 - Debian
Someone who's actually worked with that device can probably give you better info, but I did a quick search and found a few things. The device is running an SoC that works with that kernel and the kernel package includes a dtb for the device but I didn't find anyone claiming to have actually tried to use that kernel with this device anywhere I've been successful getting thatby 1000001101000 - Debian
Looks like the issue with the temperature sensor was due to a bug that was introduced when they made the binding changes rather than the changes themselves. a patch was recently accepted into the mainline kernel to fix it: https://github.com/torvalds/linux/commit/70bb27b79adf63ea39e37371d09c823c7a8f93ceby 1000001101000 - uBoot
I should have probably mentioned that the /etc/fstab would be found inside the rootfs once you manage to mount it. bodhi or someone familiar with these specific images might chime in with a best practice for this situation (I haven't gotten around to trying them out yet). But I've been at this point before and think I know what you need. I'm thinking you should be able to gby 1000001101000 - Debian
admittedly I'm making a few assumptions. If you post the output of "ls /sys/block", "cat /etc/fstab" from that recovery shell and the output of "printenv" from uboot I can probably be more specific.by 1000001101000 - Debian
Quotedrakul mount: can't find /root in /etc/fstab done. Begin: Running /scripts/local-bottom ... done. Begin: Running /scripts/init-bottom ... mount: mounting /dev on /root/dev failed: No such file or directory mount: mounting /dev on /root/dev failed: No such file or directory done. I'd guess the location of your rootfs doesn't match what your passing from uboot (root=xxxxby 1000001101000 - Debian
In the change for armada-38x.dtsi the status register stayed the same: https://github.com/torvalds/linux/commit/568cc2f07c8ea5f71a0486464bd9703e4671045f#diff-6dccd1fec72d6153447441ecf6ae2ce7 I wonder if either of these would work: reg = <0x18300 0x4 0x18300 0x8>; reg = <0x18300 0x4 0x18304 0x8>; They both seem problematic to me for different reaby 1000001101000 - uBoot
@bodhi Definitely in 4.16, I believe it worked in 4.17/4.18 but I'm not certain. My testing on those was mainly limited to figuring out why the debian versions wouldn't boot at all for me. For the record this was because they enabled CONFIG_FORTIFY_SOURCE which triggered a panic at boot because of an underlying issue with MVEBU code: https://salsa.debian.org/kernel-team/linux/commby 1000001101000 - uBoot
There were a bunch of changes in July which seem to have broken things in the name of adding support for newer SoCs It might have been this one but I'm not entirely sure: https://github.com/torvalds/linux/commit/f7c2068a1728c1b2aed9416b071a3e2f8f887786#diff-b5e932bc729b070c9b8e17b642aeffae I found a thread where it was being discussed: https://patchwork.kernel.org/patch/10486613/by 1000001101000 - uBoot
Right on. I'm currently working on making some adjustment to the Stretch (4.9.XX) device trees to address some hardware differences that have come up in testing. Once I get those changes finished I'll make the adjustments needed to account for the binding changes needed for the 4.18 kernel and try them out with your kernel. I'll plan on using that for my testing while I wait forby 1000001101000 - Debian
QuoteBastler I append zImage + ox820-kd20.dtb to the new file uImage. Did you create uboot images for your kernel/initrd? You should have a step where you generate them before moving them to your TFTP folder, similar to what's listed in the instructions: QuoteBodhi mkimage -A arm -O linux -T kernel -C none -a 0x60008000 -e 0x60008000 -n Linux-4.4.133-oxnas-tld-1 -d vmlinuz-4.4.133-by 1000001101000 - uBoot