Skip to content

Instantly share code, notes, and snippets.

Created November 19, 2021 03:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
// SPDX-License-Identifier: GPL-2.0
* Andrew Lunn <>
* Ben Peddell <>
#include "kirkwood.dtsi"
#include "kirkwood-6281.dtsi"
#include "kirkwood-synology.dtsi"
/ {
model = "Synology DS212j v10, v20";
compatible = "synology,ds212jv10", "synology,ds212jv20",
memory {
device_type = "memory";
reg = <0x00000000 0x8000000>;
chosen {
bootargs = "console=ttyS0,115200n8";
stdout-path = &uart0;
gpio-fan-150-32-35 {
status = "okay";
gpio-leds-hdd-21-2 {
status = "okay";
regulators-hdd-29 {
status = "okay";
&s35390a {
status = "okay";
Copy link

Ykidia commented Feb 20, 2023

Came from here:

  1. Any kind of initramfs not needed at all. We can totally disable it in kernel settings.
  2. We have to make an uImage, it is possible at least for kernels before 6.0. uImage is a compressed kernel image with a decompressor inside, so bootloader don't bother about it at all.
  3. For now, I want to run on the DS-212j latest possible Linux (Debian, for example, perhaps with kernel 6.2 or at least 5.15). But if I will find fast method to recover it to manufacturer's state, I'll do that, and then the device will gone...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment