Well, all is well that ends well! uBoot and environment has been flashed, and although it was hinted at, I wasn't explicitly told to move uImage.orig and uInitrd.old to their original names, I realized I should before rebooting! Later on, I'll try updating the rootfs to the latest version. I also need to find where I put the plastic shell for this thing and try to snap it back togby aaronouthier - uBoot
Well, sleep and I are having a love-hate relationship right now, heh-heh. I am happy to report that we now have liftoff! I had to modify 2 of the environment variables, since there is a maximum of 16 arguments per line, and because stock fw's search for flashware.img causes USB to be already started, and USB START borks usb functionality. Here is what I have: setenv usb_set_bootaby aaronouthier - uBoot
Oh! I'm embarrassed now. This is like the 3rd time that I'm being told to read the instructions better. I actually had those lines in there at one point, but used resetenv a few weeks ago, thinking I had something wrong. I of course then had to chainload AMD's uboot again to fix. I actually do try to figure things out on my own, I swear it. I'm sure this will come as a cby aaronouthier - uBoot
When it rains, it pours. Still something amiss: Marvell>> bootm 0x800000 0x2100000 ## Booting image at 00800000 ... Image Name: 4.12.1-kirkwood-tld-1 Created: 2021-08-19 22:29:13 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3833397 Bytes = 3.7 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OKby aaronouthier - uBoot
Small issue, but easy to figure out ;p cd /boot mv uImage uImage.orig mv uInitrd uInitrd.orig cp -a zImage-5.13.6-kirkwood-tld-1 zImage.fdt cat dts/kirkwood-netgear_stora_ms2000.dtb >> zImage.fdt mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n 5.13.6-kirkwood-tld-1 -d zImage.fdt uImage mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000by aaronouthier - uBoot
I said in my post last night that I was running stock uBoot. I haven't yet been able to boot to USB, so I can't update uBoot, if I understand correctly. I never executed just "boot". I used the "bootm" command that you referenced. System hangs, at the aforementioned spot, shortly after bootm command. I realize you're helping many different folks, in your fby aaronouthier - uBoot
@Bodhi, Please read my previous post above, in addition to this one. aaronouthier Wrote: ------------------------------------------------------- > Bootlog: > > __ __ _ _ > | \/ | __ _ _ ____ _____| | | > | |\/| |/ _` | '__\ \ / / _ \ | | > | | | | (_| | | \ V / __/ | | > |_| |_|\__,_|_|by aaronouthier - uBoot
I fixed the inability to load the USB by backing up the stick and reformatting as ext3. I originally used ext4. The following was from August 14th: aaronouthier Wrote: ------------------------------------------------------- > Autoboot is failing with: > > Hit any key to stop autoboot: 0 > Unknown command 'isL2Prefetch=yes' - try 'help' > > > Tby aaronouthier - uBoot
I made 4 posts in a row. That same info was in the posts right above the one you answered, and is up-to-the-minute also, as of last night.by aaronouthier - uBoot
bodhi Wrote: ------------------------------------------------------- > aaronouthier, > > > Getting stuck after booting: > > Uncompressing Linux... done, booting the > kernel. > > > > Error: unrecognized/unsupported machine ID (r1 > = > > 0x0000020f). > > It means you're missing the DTB. If you installed > my latest u-boot theby aaronouthier - uBoot
Environment: Marvell>> printenv baudrate=115200 loads_echo=0 CASset=min MALLOC_len=1 ethprime=egiga0 bootargs_end=:::DB88FXX81:eth0:none ethmtu=1500 mvPhoneConfig=mv_phone_config=dev0:fxs,dev1:fxs mvNetConfig=mv_net_config=(00:11:88:0f:62:81,0:1:2:3),mtu=1500 usb0Mode=host yuk_ethaddr=00:00:00:EE:51:81 nandEcc=1bit netretry=no loadaddr=0x02000000 autoload=no eth1mtu=1500by aaronouthier - uBoot
Bootlog: __ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \by aaronouthier - uBoot
This is stock uboot, with the old debian install (I forgot what date, but it was the one mentioned in the wiki for use with stock uboot). Also, I did specify the dtb fie. Unit doesn't autoboot, so I specified the boot commands by hand. My Stora is powered off at the moment. I will power it up a bit later and post the requested logs/boot transcript and envs.by aaronouthier - uBoot
Thanks AMD, but I don't need it. I'd rather do this my own way. Getting stuck after booting: ## Booting image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MB Load Address: 00008000 Entry Point: 00008000 Verifying Chby aaronouthier - uBoot
Yeah, so looking at the Wiki again, I realized step 3 requires me to run dpkg from with stock os in order to create the correct uimage and uninitrd to boot old uboot, since I am on old uboot, but have no bootable OS, I may need to try and flash envs and new uboot from serial console. How safe is this? I realize if I mess up, I have a brick that is bootable ONLY by jtag, but will the system "by aaronouthier - uBoot
Autoboot is failing with: Hit any key to stop autoboot: 0 Unknown command 'isL2Prefetch=yes' - try 'help' Trying to boot manually with: ext2load usb 0:1 0x1c00000 /boot/dts/kirkwood-netgear_stora_ms2000.dtb ext2load usb 0:1 0x1100000 /boot/uInitrd ext2load usb 0:1 0x800000 /boot/uImage bootm 0x800000 0x1100000 0x1c00000 gives: ## Booting image at 00800000 ..by aaronouthier - uBoot
That was my thought as well. I have 3 Kirkwood devices, so if I could have just 1 rescue device for all 3, so much the better. The real trick will be not bricking any of them in the process. Although I am a mid-level Linux user, I am a bit new to Embedded systems.by aaronouthier - uBoot
Bodhi and AMD, Thank you for your help. I plan to put Debian rootFS on initially, and then move to OpenWRT on my Stora and 2 Goflex Models. The CPU speed, RAM and storage is similar to what my Netgear R8000 has. I would prefer to have the USB ports open and available. As far as file sharing, a simple NFS server will certainly suffice. Eventually I may add CIFS, but it's overkill now.by aaronouthier - uBoot
Ok, so... I don't understand how that helps me go from old uboot to being able to boot USB? The instructions already presented assume the stock OS is present. Mine isn't, so I need help getting there solely from serial console and stock uboot.by aaronouthier - uBoot
Unfortunately, I don't know what mtdparts means.by aaronouthier - uBoot
Ok! So following AMD's instructions, I managed to write a basic, but working (default) environment. Uboot now completes. However, uimage and uinitd are corrupt now. I have the required files on my ext3 formatted USB stick. I think I forgot to label it rootfs, but that's an easy fix. I have the entire USB debian rootfs on the USB drive. @bodhi, etc. How would I go about loading and thenby aaronouthier - uBoot
AMD Wrote: ------------------------------------------------------- > Hi gays > > I am work this problem use uboot 3.14.16 and start > good and write env Awesome! I'll have to try this after the sun comes up. @AMD, I'm a guy, not a gay. I realize this was a typo, but you might want to fix that - some might be offended.by aaronouthier - uBoot
Do you suppose it would be possible to load the environment image to a temporary memory address, and then nand write it to the correct place? I hope this would correct the overflow errors. If so, where is a "safe" place to load 128k of arbitrary data?by aaronouthier - uBoot
Startup log ** MARVELL BOARD: RD-88F6281A LE U-Boot 1.1.4 (Sep 4 2009 - 09:36:11) Marvell version: 3.4.14 U-Boot code: 00600000 -> 0067FFF0 BSS: -> 006CEE60 Soc: 88F6281 A0 (DDR2) CPU running @ 1000Mhz L2 running @ 333Mhz SysClock = 333Mhz , TClock = 200Mhz DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6 DRAM CS[0] base 0x00000000 size 64MB DRAM CS[1] base 0x04000by aaronouthier - uBoot
I tried the following excerpt from Stormy's thread: usb reset ext2load usb 0:1 0x800000 /u-boot_mtd0 go 0x800200 However, it said no storage devices, after the first entry. However, if I skip the first line, the new uboot file loads into memory. Although the go line appears to execute at first, it was clear that it actually hangs after sitting there for 20 minutes. Of course, I didnby aaronouthier - uBoot
Serial console works fine.by aaronouthier - uBoot
Correct on both counts.by aaronouthier - uBoot
Jtag should work, but It'll be a hassle to accomplish. I've never soldered before, and I would need to solder 5 separate wires to 5 separate spots. I have a friend who could do it, but he's a good 8 miles away, and I don't have a car. All-in-all, it is definitely doable, but for me, it'll be difficult at best. That's why I'm looking for other options.by aaronouthier - uBoot
There is actually not an unpopulated pin header for jtag on these boxes. Access jtag via the testpoints on the board: https://sigri44.github.io/OpenStora/wiki/index_Jtag_Pinout.htmlby aaronouthier - uBoot
Update: It appears I was off on one item - there is jtag capability. Using the testpoints (tp# 2,3,4,5,&7) on the board. https://sigri44.github.io/OpenStora/wiki/index_Jtag_Pinout.htmlby aaronouthier - uBoot