|
256 | 256 | "fdt_high=0x20000000\0" \ |
257 | 257 | "initrd_high=0x20000000\0" \ |
258 | 258 | "bootenv=uEnv.txt\0" \ |
| 259 | + "maxcpus=1\0" \ |
259 | 260 | "clear_reset_cause=mw f8000008 df0d && mw f8000258 00400000 && mw f8000004 767b\0" \ |
260 | 261 | "loadbootenv=load mmc 0 ${loadbootenv_addr} ${bootenv}\0" \ |
261 | 262 | "importbootenv=echo Importing environment from SD ...; " \ |
|
288 | 289 | "if run adi_loadvals; then " \ |
289 | 290 | "echo Loaded AD936x refclk frequency and model into devicetree; " \ |
290 | 291 | "fi; " \ |
291 | | - "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=1 rootfstype=ramfs root=/dev/ram0 rw earlyprintk uboot=\"${uboot-version}\" && " \ |
| 292 | + "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=${maxcpus} rootfstype=ramfs root=/dev/ram0 rw earlyprintk uboot=\"${uboot-version}\" && " \ |
292 | 293 | "bootm ${fit_load_address}#${fit_config}\0" \ |
293 | 294 | "qspiboot_verbose=adi_hwref;echo Copying Linux from QSPI flash to RAM... && " \ |
294 | 295 | "run read_sf && " \ |
295 | 296 | "if run adi_loadvals; then " \ |
296 | 297 | "echo Loaded AD936x refclk frequency and model into devicetree; " \ |
297 | 298 | "fi; " \ |
298 | | - "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=1 rootfstype=ramfs root=/dev/ram0 rw earlyprintk uboot=\"${uboot-version}\" && " \ |
| 299 | + "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=${maxcpus} rootfstype=ramfs root=/dev/ram0 rw earlyprintk uboot=\"${uboot-version}\" && " \ |
299 | 300 | "bootm ${fit_load_address}#${fit_config} || echo BOOT failed entering DFU mode ... && run dfu_sf \0" \ |
300 | 301 | "qspiboot=set stdout nulldev;adi_hwref;test -n $PlutoRevA || gpio input 14 && set stdout serial@e0001000 && run dfu_sf; " \ |
301 | 302 | "set stdout serial@e0001000;" \ |
|
305 | 306 | "itest *f8000258 == 480002 && run clear_reset_cause && exit; " \ |
306 | 307 | "echo Booting silently && set stdout nulldev; " \ |
307 | 308 | "run read_sf && run adi_loadvals; " \ |
308 | | - "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=1 rootfstype=ramfs root=/dev/ram0 rw quiet loglevel=4 uboot=\"${uboot-version}\" && " \ |
| 309 | + "envversion;setenv bootargs console=ttyPS0,115200 maxcpus=${maxcpus} rootfstype=ramfs root=/dev/ram0 rw quiet loglevel=4 uboot=\"${uboot-version}\" && " \ |
309 | 310 | "bootm ${fit_load_address}#${fit_config} || set stdout serial@e0001000;echo BOOT failed entering DFU mode ... && run dfu_sf \0" \ |
310 | 311 | "jtagboot=env default -a;sf probe && sf protect unlock 0 100000 && run dfu_sf; \0" \ |
311 | 312 | "uenvboot=" \ |
|
0 commit comments