Saving environment variables in u-boot
- Reply: Mark Millard via freebsd-arm : "Re: Saving environment variables in u-boot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 16 Dec 2021 18:07:04 UTC
How does one go about saving environment variables in u-boot on Raspberry Pi 3? For example, Bus usb@7e980000: USB DWC2 scanning bus usb@7e980000 for devices... 6 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found U-Boot> editenv usb_pgood_delay edit: 2 U-Boot> usb reset resetting USB... Bus usb@7e980000: USB DWC2 scanning bus usb@7e980000 for devices... 6 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found U-Boot> saveenv Saving Environment to FAT... Failed (1) U-Boot> It appears that setting usb_pgood_delay to 2 helped, so I'd like to try it without manual intervention. It must be admitted that repeated manual tries of this experiment yield inconsistent results, so this particular test case is mostly an example. Still, how does one change and save settings in u-boot? Thanks for reading, bob prohaska