Add swig/host build dependency [Was: Re: [PATCH] uboot-mediatek: clean up build dependencies]

Chuanhong Guo gch981213 at gmail.com
Fri Nov 25 04:37:32 PST 2022


Hi!

On Fri, Nov 18, 2022 at 10:54 PM Peter Naulls <peter at chocky.org> wrote:
> It's been many many years since I did u-boot work, but is there some magic to
> load u-boot image into RAM on mt7621 and run it to try it out before flashing?
> I know there are configuration options for DDR and CPU frequency, etc, but
> tftping the u-boot binaries variously and using 'go' result in an apparently
> stopped system.

After building the upstream u-boot for mt7621 there are u-boot-dtb.img,
u-boot-dtb.img and u-boot-lzma.img. Some of them can be started using
bootm but I forgot which one it is.
You can't test u-boot-spl from memory though, because you can't
initialize ram when the code itself is in ram.

-- 
Regards,
Chuanhong Guo



More information about the openwrt-devel mailing list