It's a 88E1116R Just in case, I compiled latest official U-Boot (2022.01-00846-g98a90b2730). CONFIG_SUPPORT_RAW_INITRD is no longer required, as you already mentioned. I also tested the GofFlexNet DTB. No changes in performance in any case. root@debian:~# ethtool eth0 Settings for eth0: Supported ports: [ TP MII ] Supported link modes: 10baseT/Half 10basby davidalfa - Debian
The HDD performance was due the use of a diferent 2.5" disk. I switched from a 500GB to 1TB disk. Clean rootfs, kernel 5.15.5 1.2GHz, DDR400 iperf3 -n2000M -i 3 -c 192.168.0.165 Connecting to host 192.168.0.165, port 5201 [ 4] local 192.168.0.100 port 52354 connected to 192.168.0.165 port 5201 [ ID] Interval Transfer Bandwidth [ 4] 0.00-3.00 sec 254 MBytesby davidalfa - Debian
Hmm I'm still on 5.14.9. The results where consistent, tested several times. Maybe some daemon (samba, nfs, transmission) could affect, but everything was idling, 0% CPU usage and no transfers. Will re-test with a clean filesystem. Btw, dd made 110MB/s reading 2GB file from Ext4, didn't do that few months ago, maybe some improvements in the recent kernel?by davidalfa - Debian
Had a boring afternoon today. I wanted to play with the overclocking, but having to solder the resistors every time was a mess. So I added switches to the bootstrap pins, now I can adjust clocks (cpu, ddr, L2 cache ) and boot source on the fly, like in old computers. After some testing, I found that DDR was stable at CPU 1500/3=500MHz. This gave a noticeable 20% bandwidth increase. Networkby davidalfa - Debian
I found these guides to use the wrong ECC algorithm, it kinda works but you won't be able to read the nand from uboot. That's why I made another cfg file. Btw, the USBasp has few jtag firmwares, but I don't know the actual functionality and if OpenOCD supports them.by davidalfa - Debian
You can get te usb blaster for 3€: https://a.aliexpress.com/_veAQPjby davidalfa - Debian
Sadly, no USB boot for this SOC. UART booting doesn't work with this soc version(A0). Later revisions(A1) do work. Anyways, the bootrom doesn't automatically test every boot source, it's the bootstrap resistors which config this, they would need to be modified to change the boot source, like I did to boot from sata. droidbox, if you're getting a stm32 board, ensure it'by davidalfa - Debian
Edit: Oh, it was already bricked. I didn't read the last message before writing that! Phew... Was exactly what you already did, looks good shouldn't have bricked it... Was the kwb for the dockstar? Strange... I've done that few times without any problem... JTAG... I'll help you in what I can. It's easy, but not as simple as you'd probably wish, requiring solderby davidalfa - Debian
Does wget from https work at all? ex.: cd /tmp wget https://ftp.debian.org/debian/README Check my thread, I was unable to install openssl from the default US repo mirror: https://forum.doozan.com/read.php?2,127079,127224#msg-127224by davidalfa - Debian
If you feel brave enough, you can directly upgrade u-boot from uboot itself. Download uboot.2017.07-tld-1.dockstar.bodhi.tar from here: Extract it, rename the kwb file to "uboot.kwb", copy it to a usb drive, plug it into the Dockstar and boot into u-boot: usb start ls usb 0 If you see the files of the usb root folder including "uboot.kwb", proceed with next step. loby davidalfa - Debian
What's the benefit of Alpine Linux over standard Debian?by davidalfa - Debian
It seems Uboot requires modification to enable the 512MB ;) There're plenty of cheap devices like these in the US, ex. lots of pogoplugs under $20. But living in the EU, shipping costs are crazy... I've been searching something like the dockstar, but most today's cheap SBC lack sata, USB3, pcie, although some have gigabit. These crappy Allwinner SOCs...2GB RAM, quad core, buby davidalfa - Debian
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!by davidalfa - Debian
Finally, the RAM arrived! At first nothing worked, it was completely dead. Reballed and soldered the ram few times, no change. Then I suspected that maybe the A13 addressing pin, although routed in the board, was unused for 128MB, and maybe there was some unpopulated jumper/resistor. After removing the ram for 4th time, I checked and definitely, A13 pin was unconnected. Tracing the pin I fouby davidalfa - Debian
Sata is "easy", because although it's very high frequency, there're only 2 differential pairs (Rx, TX), so only 2 signals to take care of. So as long as the mod wires are short and similar in lenght, it's easy to make it work. However DDR2 has 40+ signals..heheh Is It possible? Sure. Easy? Absolutely not. And not cheap either. Routing a custom 4-layer PCB that couldby davidalfa - Debian
It would be pretty complicated. The soc supports 1GB max, divided in 4 RAM memories (4 chip select), and uses a 16-bit bus. Computer DDR2 modules are very different: they use 64-bit bus and only 2 chip select inputs, so in the best case, you will only access 512MB. And remember the connections, which are a lot. Wiring 400MHz signals is no joke, it's a very complex thing, not like conneby davidalfa - Debian
The RAM is unmodified, running the default 128MB settings...by davidalfa - Debian
Yep, current uboot works perfectly fine too. Nice to see it's supported correctly in the main repo. But I also have to enable CONFIG_SUPPORT_RAW_INITRD or it'll show the initrd format error. Not a big issue though. The ram delivery is delaying a lot...by davidalfa - Debian
For sure, compiling 30 uboots must not be a funny experience! You got everything working, that's what matters! I don't think new u-boots are required, it's just for what it is, booting... Until something changes in newer kernels. The box will boot, load the kernel, end of story! I just entered the game for the mods.... Well, actually it was like rodeo, with a very angry bullby davidalfa - Debian
I finally was able to boot using the latest u-boot version (2022.01-rc1 from the marvel repo I posted earlier) with your kernel. It seems the kernel image format is now deprecated? I have no idea... There were some really hidden and badly documented configs that had to be enabled. Turns out it's easily seen in menuconfig, but I figured out in the hard way In defconfig CONFIG_LEGACby davidalfa - Debian
I was finally able to debug the kernel crash when setting the ram to 64MB . A stupid environment varable was overwriting my bootargs, Duh! I attached the log. It seems it's getting out of memory when decompressing stuff. Today I decided to remove the nand, and use SATA for booting, making it unbrickable, no more JTAG mess! For that, GE_TXD[0...2] bootstrap resistors need to be mby davidalfa - Debian
I must say, my hate for Linux intensifies every time I have to build something...! Most of the time it just won't work, there're always issues, requiring hours investigating to compiling a simple thing. Arghh... I was able to build the DTB. But it was no easy! In the end I used this repo, which includes all required dts files: https://github.com/ARM-software/u-boot Then I modifby davidalfa - Debian
Making a custom board profile (To avoid messing up the existing dockstar code) Edit arch/arm/mach-kirkwood/Kconfig (This is the only existing file file that needs to be modified) config TARGET_DOCKSTAR_MOD bool "Dockstar_mod Board" source "board/Seagate/dockstar_mod/Kconfig" Copy: board/Seagate/dockstar folder to board/Seagate/dockstar_mod Edit board/Seagate/doby davidalfa - Debian
Will have to try that. I wanted to add SDcard support, so a quick way to test it was: - Take pogo v4 uboot. - Patch header with DRAM config from dockstar. - Use DTB from pogo v4. The serial output is broken in u-boot, but starts working when the kernel boots. LAN and netconsole work, so I could use u-boot cmd line anyways. Led gpios are different so they don't work. SD worked...by davidalfa - Debian
I don't see how, there's no input device, no gpio-keys-polled, and esekeyd also needs a script... This is the part I hate so much about linux, needing to recompile the whole thing, usually dealing with obscure and weird details. For a simple button and a led, this script does the job, not going through another compiling nightmare... there's no need of speed or performance that juby davidalfa - Debian
Huh...this is becoming a Dockstar modding thread, else than just adding sata! I was tired of few issues: - The date was always lost on power removal, NTP taking minutes to update. - There was no easy way to turn it off, needing ssh, etc.... unplugging it usually damaged the filesystem. So I: - Made the RTC mod. - Wired a led button to gpio36(button) and gpio49(led). Made a small daemby davidalfa - Debian
I know, I know! But from my point of view, there isn't a 64MB kirkwood device on earth, so why spend hours on that? I made a small JTAG adapter, modded the Dockstar's top USB hole, adding a small header that fits perfectly on it. No more flying wires, simply plug it and run openocd, recovering takes 7 minutes. Anything you want to try, it's easy now. Everything is my Dockstby davidalfa - Debian
Oh yeah, I know that feeling where you just want to know why something happens, even if useless, heheby davidalfa - Debian
If the kernel recognizes 256MB automatically, there's no need to do any work on this, else than the header bytes. Nobody is going to downgrade the ram to 64M, so why waste your time on making the kernel working with 64M? Don't spend more time on this! At least until the 256MB memory chips arrive and I try them :) Tested the DTB: - With >=128MB setting, it boots normally. - Wby davidalfa - Debian
bootargs console=ttyS0,115200 earlyprintk=serial ignore_loglevel memblock=debug initcall_debug bootmem_debug root=LABEL=rootfs rootdelay=1 orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data)(data) 64MB SoC: Kirkwood 88F6281_A0 DRAM: 64 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit anyby davidalfa - Debian