FLASHINIT
Initialize on board flash as a file system
- FLASHINIT
Prepare an on-board flash disk on the embedded systems this SDK also runs on. SONiC switches have no such flash support, so the command has no useful effect:
Format=yeswarnsFormatting flash will destroy all files, asksOK to continue (yes/no)?(which blocksbcmcmd), and then fails withUnable to Initialize flash file system.Loader=<file>fails withUnable to flash loader image.OS=<file>copies the file to a file namedflash:bcminsyncd’s working directory.
With no argument it prints the usage.
Unvalidated
drivshell> flashinit Format=noBuilt-in help
Parameters: [format=yes|no] [loader=<os-loader>] [OS=<os_file>] Format (clear) the flash disk contents if a flash disk is available The command ALWAYS prompts for confirmation from the console.Further reading
SDK-6.5.20 HSDK Getting Started Guide (GS-SDK6520-R), plus SDK-6.5.20/21/22 Release Notes (RN-SDK65xx-R), BCM-SDK命令的使用.pdf, BCM_SDK命令.