Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

u-boot producing long delay when $serverip is unavailable... (1 reply)

$
0
0
Is it just me, or does u-boot w/ 2017_environment wait a really long time to boot if $serverip can be reach?

Is the best way to speed this up by altering this netconsole related line in the envars?

<<
fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2 3 4 5; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi'


>>
fw_setenv preboot_nc 'setenv nc_ready 0; for pingstat in 1 2; do; sleep 1; if run if_netconsole; then setenv nc_ready 1; fi; done; if test $nc_ready -eq 1; then run start_netconsole; fi'

Or maybe I've missed something super obvious?

TIA,
davy

Viewing all articles
Browse latest Browse all 3178

Trending Articles