diff options
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 91089eb..ab3f1c7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -172,6 +172,8 @@ fn write_boot( let fs = fatfs::FileSystem::new(partition, fatfs::FsOptions::new())?; let root_dir = fs.root_dir(); + println!("Installing kernel..."); + let mut buf = BTreeMap::new(); let mut copy = BTreeMap::new(); @@ -189,6 +191,8 @@ fn write_boot( io::copy(&mut buf.get(dst).unwrap().as_slice(), &mut file)?; } + println!("Installing RPi firmware..."); + let fwcopy = [ "bootcode.bin", "fixup.dat", @@ -210,6 +214,8 @@ fn write_boot( ]; for fw in fwcopy { + println!("Installing RPi firmware: {}", fw); + let mut file = root_dir.create_file(fw)?; let mut resp = reqwest::blocking::get(FIRMWARE_BASE.to_owned() + fw)?.error_for_status()?; |