> What do you want to achieve with this?
I want the most minimalistic uboot bianry to boot from SPI flash, then boot from bootp/tftp and save the environment in the SPI flash.
For now, uboot takes many seconds to enumerate the (for me useless) USB EHCIs, and I cannot save the u-boot environment to the SPI dataflash, so the OrangePiZero device cannot boot w/o MMC or command sent to the serial port.
> You add changes to the basic config with a patch.
Ok. It is only possible through a patch.
It seems need to skim all the MMC/USB/... off the default config, and add the SPI write feature for the u-boot environment.
The patch should be generated against the .config file that can be found in the u-boot source directory after an initial build, shouldn't it?
Thanks for your help,
Emmanuel.