Welcome! Log In Create A New Profile

Advanced

Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...

Posted by davidalfa 
Re: Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...
December 05, 2021 06:15AM
David, congratulation on a nicely done RAM upgrade.
Re: Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...
December 14, 2021 04:31PM
FYI,

> But I also have to enable
> CONFIG_SUPPORT_RAW_INITRD or it'll show the initrd
> format error.

In fact, the Initrd error is a regression recently introduced during the u-boot 2022.01-rc development cycles. I spent a couple hours fixing this, but then found that somebody already submitted a patch :))

The stable version 2021.10 should work fine without CONFIG_SUPPORT_RAW_INITRD workaround.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...
December 14, 2021 04:58PM
Thanks, nice to know.
I don't work with U-boot, so it was a real pita to figure it out.

The system has been working great since, no issues with the RAM.

By the way, could you share the kernel defconfigs?
Kirwood architecture seems to be "mvebu_v5_defconfig".
Got it to boot, but almost nothing worked, I guess it was missing a lot of options!
Re: Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...
December 14, 2021 05:51PM
> By the way, could you share the kernel
> defconfigs?
> Kirwood architecture seems to be
> "mvebu_v5_defconfig".
> Got it to boot, but almost nothing worked, I guess
> it was missing a lot of options!

It is in the release thread:

https://forum.doozan.com/read.php?2,12096

Quote

This tarball contains 6 files:
linux-image-5.15.5-kirkwood-tld-1_1.0_armel.deb
linux-headers-5.15.5-kirkwood-tld-1_1.0_armel.deb
config-5.15.5-kirkwood-tld-1
zImage-5.15.5-kirkwood-tld-1
linux-dtb-5.15.5-kirkwood-tld-1.tar
linux-5.15.5-kirkwood-tld-1.patch

So you would get the kernel source -5.15.5 from the kernel source tree, and then copy the config-5.15.5-kirkwood-tld-1, apply the patch linux-5.15.5-kirkwood-tld-1.patch and build the kernel.

For a specific box like the Dockstar, a vanilla Kirkwood Debian kernel would work fine with your own DTS/DTB. See the specific code patches in the patch file linux-5.15.5-kirkwood-tld-1.patch (not much for the Dockstar). For other Kirkwood boxes, there are more substantial patches.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Dockstar mods: SATA, SD, 256MB RAM, Compiling/Modding U-boot; kernel DTB...
January 01, 2022 03:35PM
Added to the Wiki thread:

Quote

Unbricking with Serial Console & JTAG console

How to unbrick your box using serial console with kwboot
Repair Pogo E02 with Raspberry PI (JTAG) and OpenOCD
Serial Port connector - what are people using to make it work
Serial Console hookup - GoFlex Net (external link)
Serial Console hookup - Pogoplug E02 and Pogoplug Pro V3 (external link)
OSX Serial/Net Console
Use Phone Jack - Phone Jack Serial Console Pics
Adding serial connector to Pogoplug Mobile (external link)
WD Mycloud EX2100/4100 Serial Console pic1, also pic2, pic3
Dreamplug Serial Console
kwboot on Mac OSX 10
Unbrick a Pogoplug Pro v3 OXNAS by flashing u-boot in serial console
Unbricking Synology Diskstation DS414 - See also the working thread for this unbricking session
Restore Netgear Stora FW
Unbricking Netgear Stora using chainload method
Unbricking the Netgear Ready NAS Duo v2
Unbricking (Restore Factory Firmware) Netgear ReadyNAS RN102/104
Unbricking Dockstar with JTAG and OpenOCD

Thanks David!

-bodhi
===========================
Forum Wiki
bodhi's corner
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: