Hi shermbug, I do rely on joerg to provide helps on this subject. I'm very rusty about JTAG. I played with it at my job more than 10 years ago, and probably need to relearn it like you are doing!by bodhi - uBoot
ksuszka has info about recovery here: https://forum.doozan.com/read.php?2,134563,137486#msg-137486by bodhi - Debian
mmm has tried here: https://forum.doozan.com/read.php?2,134563,136711#msg-136711 Gravelrash has tried here: https://forum.doozan.com/read.php?2,134563,135491#msg-135491 That is how you flash boot loader to SPI (with flashcp). But unfortunately it did not work.by bodhi - Debian
Phaze Henot, > Has any > progress been made on flashing the SPI from within > Linux? I would like to attempt flashing one of > Ksuszka's firmware dumps to see if this solves the > issue. I have not looked into how to flash this boot loader in Linux. I need a recovery mechanism before I'd try flashing Ksuszka's firmware dumps. Not sure if we've figuredby bodhi - Debian
Attached here is the June 02 build. This build has some PCIe debug output intended for the DS112. Tests: Large HDD >2TB and 2nd SATA bay. uboot.2024.10-tld-1.ds211.bodhi.250602.tar md5: 1d76463da262910dc1601564be97dd77 sha256: e030248e75ee021b566b1e4ce83d15494b3b33aa939682064342cc99523b1bb1 This tarball contains 5 files. Ony the image uboot.2024.10-tld-1.ds211.kwb is different frby bodhi - uBoot
> I was confused by "stock u-boot" as I thought that > was referring to original bootloader (aka not > u-boot :) ). Now re-reading instructions it makes > sense! These ARM boxes use u-boot as boot loader. "Stock u-boot" means to say what the manufacturer installed, usually very old (circa 2012 ) and very limited in capability. Some ARM boxes also use barebby bodhi - Debian
Man, > I installed ksmb instead of smb/samba, and it's > MUCH faster, saturating my AC wifi at 70MB (and > possibly close to Gb on ethernet, which I can't > test atm since I'm about to leave for vacay). > Maybe you should start including this module in > your kernels Bodhi? A lot of devices will see a > great speed increase. Sounds good! I'llby bodhi - Debian
shadowpho, It's a classic problem when you are booting with stock u-boot envs vs with the env image that comes with the new u-boot. When you installed new u-boot 2023.04-tld-1, you are supposed to boot with the separate DTB, as its default envs are set up to do so. But, since you set up the boot with OpenWrt, you treated it like OpenWrt and successfully booted. Now when you are switby bodhi - Debian
Attached here is the new u-boot build for Synology DS112. This is a PCIe debug build. I could not see where the bug is, so I need to get some info at the most likely place. uboot.2024.10-tld-1.ds112.bodhi.250601.tar md5: 08a288d75acc667bed535cc973416eef sha256: 2580ea7cb873b7425e3da3a786648cc541ac9fd5a22d5d538cb2ef1c6ea6c851 This tarball includes 5 files uboot.2024.10-tld-1.ds112by bodhi - Debian
Navi , > > busybox-syslogd > > was also automatically installed during the > upgrade. Yes. It's already installed in the basic rootfs. > Used > apt-get install dphys-swapfile > > command and then adjusted the swap factor in > > /etc/dphys-swapfile > > to 4. > CONF_SWAPFACTOR=4 > This box is too low in memory, only 128MBby bodhi - Debian
BayPanard, > Again sorry for the delay i'm struggling finding > time to test and answer :-( Don't worry, what we do here is not high priority, take your time :) > I'll take a look at the sources and i'll share any > findings here. The issue is why the PCIe links are down. And your test was pretty good, it gave me some clue: U-Boot 2024.10-tld-1by bodhi - Debian
Koinin, > I'm installing the latest Debian rootfs > (Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2) > on my GoFlex Home, and everything seems to boot > successfully from USB > sudo tar -xjf > Debian-6.5.7-kirkwood-tld-1-rootfs-bodhi.tar.bz2 > -C /mnt/usb You must be root, sudo won't work. https://forum.doozan.com/read.php?2,12096 QuoteNote: alby bodhi - Debian
And remember to do this so the USB rootfs will not wear out prematurely. https://forum.doozan.com/read.php?2,13702,13704#msg-13704by bodhi - Debian
Hi Navi, Welcome back, hope all is well too! > 2) This time I plan to keep booting from USB pen > drive and use the new HDD just for DATA. I will > also make a clone copy of the USB pen drive for > emergency use. That's how I run my GF Homes for many years. > Therefore the Questions I have are: > > (1) Since I already have your UBoot (2017-07) > inby bodhi - Debian
BayPanard, > > # GPIO for internal HDD power on > #################################### > static void > KW_6282_112_GPIO_init(SYNO_KW_GENERIC_GPIO > *global_gpio) > { > KW_6282_211_GPIO_init(global_gpio); > global_gpio->hdd_pm.hdd1_pm = 30; > } > > > # Global GPIO > ##################### > static void > KW_6282_211_GPIO_iby bodhi - Debian
BayPanard, In case you want to look in the GPL source, the board ID is SYNO_DS212_ID. u-boot-mv-3.5.9/board/mv_feroceon/mv_kw/kw_family/boardEnv/mvBoardEnvSpec.h: #define BOARD_ID_BASE 0x0 #define SYNO_DS212_ID (BOARD_ID_BASE+0x1B) Your stock dmesg [ 0.000000] Synology Board ID: 27by bodhi - Debian
> Btw I just use a generic initrd, as it seems you > don't even need an initrd? What do people use the > initrd for? As long as the ext4 module is > built-in, everything should work, no? It's true, as long as the kernel config includes all necessary drivers (eg. linux-6.14.6-mvebu-tld-1), you don't need it. However, you need Initrd if: - you want to load some modby bodhi - Debian
BayPanard, Thanks for testing. Looks like there is no power to the USB 3.0 port.by bodhi - Debian
Man. > After a few tries I came to the conclusion that > the max size of the uImage can't go above about > 3510-3515ish kb. (I haven't yet got serial access > so I can't see what excatly is the problem, and I > don't have any deeper knowledge or understanding > of this soc, so this is just meant as face value) Original stock u-boot for this box limby bodhi - Debian
Man, I was looking into rolling new u-boot for this and the Synology 215j. However, this Armada 375 SoC only has minimal support in mainline u-boot and Linux. It will be quite time consuming to write a lot of new code, also there is no publicly available datasheet for this SoC, so I am hesitate to start the effort. The Armada 385/388 based NAS are much easier to deal with since I've roby bodhi - Debian
Man, > Thanks for answering. I have not soldered a serial > connector to it. I have not messed with any uboot > envs. (I thought any envs weren't persistent > anyways?) It's now running pretty much bog > standard Debian Trixie, standard uboot/envs. I > would agreee root=LABEL=rootfs is more idiot > proof, but I guess this is good enough for me. OK. &by bodhi - Debian
Man, > So i cloned the rootfs partition to a new drive > and now it works, so probably there might be a > fault with the original drive or something else > (there were som IO errors when I moved things > around with Gparted so I might have to redo it > from scratch, just have to backup about 2.5TB data > first). > You did not post the boot log so it's noby bodhi - Debian
Hi Ivan, Here is the new May 21 build. Let's see if the 2nd HDD will work! uboot.2024.10-tld-1.ds211.bodhi.250521.tar md5: a6c370cd210a0099bc3fc2535f31be5f sha256: 13b0720eb4c7a7c2bcc63d16b1b9eb3d76d365aa707cf1bd6bebab1db53c0fb3 This tarball contains 5 files. uboot.2024.10-tld-1.ds211.kwb uboot.2024.10-tld-1.ds211.environment.img uboot.2024.10-tld-1.ds211.environment uby bodhi - uBoot
Attached here is the new u-boot build for Synology DS112. uboot.2024.10-tld-1.ds112.bodhi.250521.tar md5: 0486eeb249ac3f9382074f3df9d6b804 sha256: c7953a9b2e6ed8aa64666c237b0c22420e995d011989c577d18f0ba19704a6ec This tarball includes 5 files uboot.2024.10-tld-1.ds112.kwb uboot.2024.10-tld-1.ds112.environment.img uboot.2024.10-tld-1.ds112.environment uboot.2024.10-tld-1.ds112.bootby bodhi - Debian
Hold on. It seems was a bad build. I will reupload!by bodhi - Debian
@shermbug, Not sure why. I've PMed joerg.by bodhi - uBoot
adrien60, Thanks for the feedback!by bodhi - Debian
Kernel linux-6.14.6-mvebu-370xp-tld-1-bodhi.tar.bz2 package has been uploaded. Please see 1st post for download link.by bodhi - Debian
BayPanard, > I was thinking debian would work its way to > activate USB ports. Right! > I will test again Give it a try, but don't spend too much time. I'll have a new build soon!by bodhi - Debian
shermbug, Please post in joerg's thread for Pogo E02.by bodhi - uBoot