diff --git a/szl/src/main.rs b/szl/src/main.rs index b21e581..ca3e243 100644 --- a/szl/src/main.rs +++ b/szl/src/main.rs @@ -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, + ) } }; }