Did that, works just fine! Serial log here (before it changes serial port speed, crap on the screen ) ... https://paste.ubuntu.com/p/TSQcq8wmrH/
It's from the CLI in u-boot ... I can load to memory, try to boot from there. Or even flash, boot SPI flash or memory. Basically, u-boot, pretty flexible, works well!
And this is where I'm pulling my hair out. Cannot get back to where I get the image to boot . I tell it to read from 0x80000000 - it just hangs (which I have figured out means it's not really calling the code). I admit, I'm confused by RAM vs. flash addresses, and virtual addressing is not helping. Any guidance you have would be greatly appreciated! My sysupgrade.bin file looks OK, headers, content, etc. But when I try to boot it, it either hangs, or I get this error message,
- hanging case (sysupgrade stored in flash)
raspi_read: from:50000 len:180000
## Booting image at 80500000 ...
Image Name: MIPS OpenWrt Linux-4.14.180
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3310 Bytes = 3.2 kB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
- error message (manually load file to 80000000, tftp ... boot 80000000)
MT7620 # bootm 80000000
## Booting image at 80000000 ...
Image Name: MIPS OpenWrt Linux-4.14.180
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3310 Bytes = 3.2 kB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... LZMA ERROR 1 - must RESET board to recover
BTW, a tidbit perhaps? In u-boot, I see,
KSEG1ADDR(NetTxPacket) = 0xA3FE3F00
And one more, u-boot gives me the option to boot from RAM, it loads the sysupgrade.bin file over tftp. I get (hangs! But loaded to 0x80500000, booting from 0x80000000 ... code not there?),
Loading: Got ARP REPLY, set server/gtwy eth addr (d8:eb:97:b8:40:28)
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
######################################################
done
Bytes transferred = 3932938 (3c030a hex)
NetBootFileXferSize= 003c030a
## Booting image at 80500000 ...
Image Name: MIPS OpenWrt Linux-4.14.180
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3310 Bytes = 3.2 kB
Load Address: 80000000
Entry Point: 80000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 64
Starting kernel ...
Thoughts? Thanks! Going crazy trying to get this booting again .