szl: fallback to netboot if boot mode not supported
This commit is contained in:
parent
c4c52c33b4
commit
dc1ca3d3d0
@ -136,7 +136,14 @@ pub fn main_core0() {
|
||||
}
|
||||
}
|
||||
v => {
|
||||
panic!("Boot mode {:?} not supported", v);
|
||||
log::error!("Boot mode {:?} not supported", v);
|
||||
log::info!("Fall back on netboot");
|
||||
netboot::netboot(
|
||||
&mut bootgen_file,
|
||||
config,
|
||||
&mut __runtime_start as *mut usize as *mut u8,
|
||||
max_len,
|
||||
)
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user