I've been compiling my own image for a Raspberry Pi 4 for a couple months with no problem.
Lately, "make" has been stopping at a particular phase of the build process. It hangs with no error message. I've tried "make clean", "make distclean" and recloning via git.
The last couple lines from the log file are below.
Is there a way that I can debug this further?
* Restart config...
* Hardware Random Number Generator Core support
Hardware Random Number Generator Core support (HW_RANDOM) [Y/n/m/?] y
Timer IOMEM HW Random Number Generator support (HW_RANDOM_TIMERIOMEM) [N/m/y/?] n
Broadcom BCM2835/BCM63xx Random Number Generator support (HW_RANDOM_BCM2835) [Y/n/m/?] (NEW)
I suspect you might be using your own kernel config and have changed the target's default config. Then an update to the kernel in openwrt has introduced new symbols or suchlike, but your kernel config doesn't have them, so this is why it's prompting you.
If this is what you're doing, I generally find, for me at least, that it's easiest to manage a custom kernel config by leaving the target's kernel config alone and running
make kernel_menuconfig CONFIG_TARGET=env
It then puts any changes you make to the base config in env/kernel-config, adds them whenever you compile, and you won't have these problems again if the base kernel configuration adds new symbols.
This worked. I think there is a symbol missing from the default kernel configuration file /target/linux/bcm27xx/bcm2711/config-5.4. There was a new line (just one) added to the file after I ran make kernel_menuconfig